Skip to main content

read_iges_assembly

Function read_iges_assembly 

Source
pub fn read_iges_assembly(text: &str) -> Result<Option<StepAssembly>, String>
Expand description

The file’s subfigure structure, the IGES counterpart of crate::read_step_assembly: one product for the file itself holding the solids that stand on their own, one per instanced subfigure (308) holding its own solids in its own frame, and one occurrence per instance (408) with its placement in millimetres. Ok(None) when the file places no subfigures, so the caller takes the flat import as for STEP.

Every solid is built once, as in the flat import, and a file the flat import refuses is refused here with the same words: an assembly never comes in short.