Skip to main content

write_step

Function write_step 

Source
pub fn write_step(document: &Document, tol: Tolerances) -> OgeomResult<String>
Expand description

Write a document as a STEP exchange file.

Products become PRODUCT trees; parts carry their solids as MANIFOLD_SOLID_BREPs; assemblies become usage occurrences with their placements; colours become styled items over the written solids and faces.

§Errors

OgeomError::Construction if a shape’s structure cannot be expressed: a non-rigid instance placement, a solid with no shell.