pub fn loft_profile_brep_on_guide_chains(
sections: &[Vec<NurbsCurve>],
guides: &[Vec<NurbsCurve>],
) -> Result<BrepSolid, KernelRefusal>Expand description
The solid lofted through the closed sections sections along guides,
each guide a chain of curves.
Every section has the same number of curves, run the same way round, curve
k of one matched with curve k of the next. guides[k] is a chain of
curves that follow one another head to tail (the chain may be given from
either end) and passes through the start of curve k of every section, in
the sections’ order. The sections may stand anywhere along the guides, at a
joint of a chain or between two; what a guide has before the first section
or after the last is not used. The first and last sections lie in planes
and close the solid; the last may be curves of no length at one point, on
which the loft then closes.
Between two sections each wall is the Coons patch of a side of each and the two guides between them, each guide taken as one curve with its pieces on equal stretches of the parameter. Where the guides have joints between two sections the wall is cut along them into one face for each piece, so a corner in a guide is an edge of the solid and no face has a crease; the two guides of a wall must then have equally many pieces between those sections.
Refuses, by name: counts that do not agree (counts), a section’s corner
off its guide (corner_off_guide), sections out of order along a guide
(stations_order), two neighbouring guides with different numbers of
pieces between two sections (guide_pieces), a chain whose curves do not
meet (guide_chain), an end section off a plane (section_plane), a wall
closing on a point from a side that is not straight (pointed_wall_side),
and a wall the Coons patch refuses (wall).