OCCBrep.to_stl

OCCBrep.to_stl(filepath, linear_deflection=0.001, angular_deflection=0.5)

Write the BRep shape to a STL file.

Parameters:
filepathstr

Location of the file.

linear_deflectionfloat, optional

Allowable deviation between curved geometry and mesh discretisation.

angular_deflectionfloat, optional

Maximum angle between two adjacent facets.

Returns:
None