Skip to main content

import_step

Function import_step 

Source
pub fn import_step(text: &str) -> Result<Vec<BrepSolid>, String>
Expand description

Public entry: parse a STEP Part 21 document and return one BrepSolid per MANIFOLD_SOLID_BREP, FACETED_BREP, or certified BREP_WITH_VOIDS. Every returned solid passes validate() and closes its shells’ vector area to the import’s bar; a file with a body the closure gate refuses is refused as a whole (see import_step_bodies).