Skip to main content

loft_profile_brep_on_loose_guide_chains

Function loft_profile_brep_on_loose_guide_chains 

Source
pub fn loft_profile_brep_on_loose_guide_chains(
    sections: &[Vec<NurbsCurve>],
    guides: &[Vec<NurbsCurve>],
) -> Result<(BrepSolid, Vec<GuideLoftWall>), KernelRefusal>
Expand description

loft_profile_brep_on_guide_chains for sections and guides that are not yet matched: the guides in any order, and every section after the first starting at any of its corners and run either way round. The first section is taken as given; each guide is given to the corner of it that it passes through, and every later section is turned (and reversed if need be) until its corners lie on the guides of the first section’s corners. A last section at one point is left as it is.

Returns the solid and, for its side faces in order, which wall each is. Refuses as the matched loft does, and by name a corner of the first section that no guide, or more than one, passes through (guide_for_corner) and a later section none of whose turns puts its corners on the guides (section_off_guides).