Changes between Version 20 and Version 21 of PythonOcc
- Timestamp:
- Nov 4, 2012, 7:29:30 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PythonOcc
v20 v21 57 57 #!python 58 58 def simple_test(event=None): 59 display.EraseAll() 59 60 display.Test() 60 61 def simple_cylinder(event=None): 61 62 from OCC.BRepPrimAPI import BRepPrimAPI_MakeCylinder 63 display.Erase.All() 62 64 s = BRepPrimAPI_MakeCylinder(60, 200) 63 65 display.DisplayShape(s.Shape())