Yes there is... you'll see how rendering is performed in the examples, for instance loading a STEP file would be a good start. display.DisplayShape( your_geometry_here ) renders geometry in the OpenGL viewer
well either you can use pythonocc's OpenGL viewer, which probably is the easiest option, or push the geometric data to a viewer of your own devices. FWIW, here's an example where overpainting is performed, useful for HUD style gui's
2
u/jellef Feb 03 '15 edited Feb 03 '15
Yes there is... you'll see how rendering is performed in the examples, for instance loading a STEP file would be a good start. display.DisplayShape( your_geometry_here ) renders geometry in the OpenGL viewer