Changes between Version 5 and Version 6 of occt


Ignore:
Timestamp:
Nov 22, 2018, 8:59:56 AM (6 years ago)
Author:
Leon Kos
Comment:

Malo lepša kocka

Legend:

Unmodified
Added
Removed
Modified
  • occt

    v5 v6  
    1414v = BasicViewer()
    1515v.set_white_background()
    16 shape = BRepPrimAPI_MakeBox(10, 20 ,30)
    17 v.display_shape(shape.Shape(), rgb=(0.8, 0.8, 0.5), material=Graphic3d_NOM_ALUMINIUM)
     16shape = BRepPrimAPI_MakeBox(10, 20, 30).Shape()
     17v.display_shape(shape, rgb=(0.8, 0.8, 0.5), material=Graphic3d_NOM_ALUMINIUM)
    1818v.start()
    1919}}}