OCCT live Draw Harness examples

XDE / Import / STL

Sample shows reading of STL model into TopoDS_Shape using RWStl_Reader.


pload XDE OCAF VISUALIZATION MODELING

# read STL file into single shape using RWStl_Reader
jsupload /models/skull/skull_w_jaw.stl
readstl s skull_w_jaw.stl
trinfo s

# display the shape in 3D viewer using AIS_Shape
vinit View1
vdisplay -dispMode 1 s
vfit









 

Copyright © Kirill Gavrilov Tartynskih, 2021