Skip to main content

write_iges

Function write_iges 

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

Write a document’s solids and sheets as an IGES file.

A solid becomes a manifold solid B-rep object (186). A sheet’s faces become independent trimmed surfaces (144), which a reader sews back into the sheet they were; a sheet that closes reads back as a solid. A wire or edge outside every face is wireframe, written as its curve (an edge’s own, a composite curve (102) of a wire’s edges in the order the wire walks them) standing independent. A vertex outside every edge is a point (116) standing independent. The document’s construction geometry goes out too; write_iges_reported says which items had no IGES spelling and were left out.

§Errors

As write_iges_reported.