Skip to main content

extrude_profile_with_holes

Function extrude_profile_with_holes 

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

Extrude a planar profile with holes along direction by distance: an outer loop and any number of inner loops (holes, inside it and apart from each other), each a closed chain of curves (end to start) in either winding. Walls are the curves extruded (exact), the two caps planes with the outer loop round the holes, every hole a through-hole. The direction may be oblique to the profile but not in its plane. Faces are named W<i> (outer walls), H<h>_<i> (hole walls), B (the profile’s cap) and T (the far cap).