For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

About the generation of a stl model

Denis Teissandier's picture


the API function StlAPI::Write(aShape, aFile, Standard_True)
is working fine.

But, is it possible to control the number of nodes on the plane surfaces with a "depth of cut" parameter ?


Forum supervisor's picture

Hi Denis,

StlAPI::Write function in OCCT 6.8.0 uses BRepMesh_IncrementalMesh to compute triangulations. That class can not let you control the number of nodes on planes. A possible workaround could be in preparing the triangulations using some other meshing algorithm, for example, Express Mesh (

Best regards,
Forum Supervisor

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.