Changes between Version 48 and Version 49 of PythonOcc


Ignore:
Timestamp:
Oct 7, 2015, 9:49:40 AM (5 years ago)
Author:
Leon Kos
Comment:

Test kocke

Legend:

Unmodified
Added
Removed
Modified
  • PythonOcc

    v48 v49  
    1212 4. [https://www.jetbrains.com/pycharm/download/download_thanks.jsp?edition=comm&os=win PyCharm] urejevalnik.
    1313 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
     17from OCC.Display.SimpleGui import init_display
     18from OCC.BRepPrimAPI import BRepPrimAPI_MakeBox
     19
     20display, start_display, add_menu, add_function_to_menu = init_display()
     21my_box = BRepPrimAPI_MakeBox(10., 20., 30.).Shape()
     22
     23display.DisplayShape(my_box, update=True)
     24start_display()
     25}}}
    1426
    1527{{{