STL File

Hi all,
Could you please give me an example on how to make a stl file in opencascade? I have no idea where to begin.

Forum supervisor's picture

Hi Gishara,
OCCT includes a module for translating OCCT shapes to STL format.
You may find corresponding services at the StlAPI package.
A some kind of example you can find at the XSDRAWSTLVRML.cxx file
of OCCT distribution.
Hope it will help.

gishara's picture

Thanks a lot. I tried to use StlAPI package, but was unable to find a sample since I am a beginner in OCC.
Thanks again for the help.