Hi Peter, With version 0.2 pythonOCC comes with a lot of examples ( which work standalone, and do not rely on the interactive viewer ). It uses a simple patter ( from OCC.Display.wxSamplesGUI import display,start_display ) which creates a basic interface.
>From there on the samples & Bryan's previous response should help you get >going. Thanks for your interest in pythonOCC, Cheers, -jelle On Wed, Apr 15, 2009 at 11:22 PM, Peter Grolsch <petergrol...@ymail.com> wrote: > > Hello, > I have discovered pythonocc recently. Thank you so much for making > Opencascade usable! > > Please answer one question for making my start easier. I found examples how > to create parts and write them to files, which can be opened in the > InteractiveViewer. This works great. > > But is it possible to work really interactively? So that creating a sphere in > the interactive python shell causes the shape to be displayed immediately? > Please provide a short example how to get for example this cylinder "cyl1 = > OCC.BRepPrimAPI.BRepPrimAPI_MakeCylinder(50,200)" into the viewer without > saving it to a file. > > Thanks > Peter > > > > > > > _______________________________________________ > Pythonocc-users mailing list > Pythonocc-users@gna.org > https://mail.gna.org/listinfo/pythonocc-users > _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users