Skip to main content

sew_step

Function sew_step 

Source
pub fn sew_step(text: &str, tolerance: f64) -> Result<BrepSolid, KernelRefusal>
Expand description

The faces of a STEP file sewn into one solid where their edges lie within tolerance (mm) of each other: every body the file holds, an open shell or a face set read as a sheet, joined and sewn by crate::solid_from_sheets. Refuses a file with nothing to sew, a body that did not reconstruct, and sheets that leave an edge open (saying how many) or do not close a valid solid.