Skip to main content

write_iges_reported

Function write_iges_reported 

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

Write a document as write_iges does, saying what it left out.

Each construction item goes out as an independent entity flagged as construction geometry, after every part’s bodies, in the document’s order: a point as a point (116); a line (110), circle or arc (100), an ellipse, hyperbola or parabola (104, the plane ones over a matrix, 124) and anything else as its exact B-spline (126); a surface as a trimmed surface (144) over the whole of the exact B-spline patch (128) of its window, a plane’s and a B-spline’s over their own parameters; an axis as the transformation matrix (124) taking the world frame to it. An item with no exact B-spline form (a helix, an offset of a free-form basis) is left out with a warning, and the rest of the deck is written.

§Errors

OgeomError::Construction if the document holds no part and no construction geometry, a part holds nothing at all, a wire holds only degenerate edges, or a body carries geometry with no IGES spelling here; the error names the entity and the capability row.