pub struct SweepLoop {
pub profile: Profile,
pub poles: Vec<bool>,
pub on_axis: Vec<bool>,
pub apex: bool,
}Expand description
One profile loop or chain to sweep, and which of its joints are poles and which of its curves lie on the axis (see the module docs). A curve on the axis runs between two poles.
Fields§
§profile: Profile§poles: Vec<bool>Per joint: whether it lies on the axis.
on_axis: Vec<bool>Per curve: whether it lies along the axis.
apex: boolWhether the loop is collapsed to one point, every curve degenerate
there: the apex a loft to a point comes to (see [skin]).
Implementations§
Source§impl SweepLoop
impl SweepLoop
Sourcepub fn reversed(&self) -> Self
pub fn reversed(&self) -> Self
The same loop traversed the other way; every flag stays with its
curve or joint (see Profile::reversed).
Sourcepub fn at_corners(&self) -> GeopResult<Self>
pub fn at_corners(&self) -> GeopResult<Self>
The same loop with every curve cut at its corners: the knots inside
it where the curve is only C0 and turns, its tangent coming in
definitely not along the one going out — a polyline given as one
curve, a curve a STEP file gives with a kink. Swept whole, such a
curve makes a wall creased inside one face, which every question
about a face’s normal — an offset, a blend, a silhouette — takes
for one smooth surface. Cut, the crease is an edge. The pieces of a
curve X are X, X#k1, X#k2, …, the joints between them
X@k1, X@k2, …; each piece is an exact piece of the curve, on
[0, 1]. A joint inside a curve on the axis is a pole.