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
Forums: 

Hi,

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 ?

Regards,
Denis

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 (http://www.opencascade.org/support/products/emesh/).

Best regards,
Forum Supervisor