pub fn make_loft(
model: &mut Model,
bottom: &Shape,
top: &Shape,
tol: Tolerances,
) -> OgeomResult<Built>Expand description
Loft two parallel closed sections into a solid, ruled.
Two coaxial circles give the cylinder or the cone frustum; two polygons with the same corner count give planar walls. The sections pair edge by edge in traversal order.
A wall between two segments that are not coplanar is the bilinear patch through its four corners (the ruled surface between them, exact), so sections may be turned against each other or differ in shape.
ยงErrors
OgeomError::Construction if the sections
are not both circles or both polygons of the same count, or are not on
parallel planes.