Skip to main content

read_step

Function read_step 

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

Read a STEP exchange file’s B-rep content.

The geometric sets and axes of its geometrically bounded wireframe and surface representations read as construction geometry, named, under the product each representation belongs to.

§Errors

OgeomError::Construction if the file does not parse, contains no solid, sheet or geometric set, or a solid’s structure is broken in a way topology cannot represent. Faces the reader cannot complete become warnings, not errors; the report says exactly what was compromised.