Skip to main content

extrude_curves_to_sheet

Function extrude_curves_to_sheet 

Source
pub fn extrude_curves_to_sheet(
    curves: &[NurbsCurve],
    direction: Vec3,
    distance: f64,
) -> Result<Vec<BrepSolid>, KernelRefusal>
Expand description

The sheet a chain of curves sweeps as it slides by distance along direction: one face per curve (the curve times the slide), each a sheet of its own, in the chain’s order. Every face’s normal is its curve’s direction crossed with the slide’s, so the faces of a chain run head to tail have their normals on one side of the sheet, as thicken_sheet_faces needs them; run the chain the other way for the other side.