Skip to main content

read_iges

Function read_iges 

Source
pub fn read_iges(text: &str, tol: Tolerances) -> OgeomResult<IgesImport>
Expand description

Read an IGES file’s geometry.

An external reference (416) needs the file it names, which a deck handed in as text cannot reach; read_iges_file reads a deck from disk and finds them beside it. Here every instance of one is refused by name.

§Errors

OgeomError::Construction if the deck does not parse, its units are unreadable, or it contains nothing this reader translates into shapes. Individual entities that fail to translate become warnings and skipped counts rather than errors; the report says exactly what was compromised.