Changes between Version 48 and Version 49 of PythonOcc
- Timestamp:
- Oct 7, 2015, 9:49:40 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PythonOcc
v48 v49 12 12 4. [https://www.jetbrains.com/pycharm/download/download_thanks.jsp?edition=comm&os=win PyCharm] urejevalnik. 13 13 5. Novo [raw-attachment:qtDisplay.py] prepišemo preko datoteke {{{C:\Python34\Lib\site-packages\OCC\Display\qtDisplay.py}}}. 14 6. Ustvarite datoteko core-hello.py z naslednjo vsebino in preverite ali vam prikaže kocko. 15 {{{ 16 #!python 17 from OCC.Display.SimpleGui import init_display 18 from OCC.BRepPrimAPI import BRepPrimAPI_MakeBox 19 20 display, start_display, add_menu, add_function_to_menu = init_display() 21 my_box = BRepPrimAPI_MakeBox(10., 20., 30.).Shape() 22 23 display.DisplayShape(my_box, update=True) 24 start_display() 25 }}} 14 26 15 27 {{{