pub fn screw_profile_brep(
profile: &[NurbsCurve],
axis_origin: Vec3,
axis_direction: Vec3,
rise: f64,
angle: f64,
) -> Result<BrepSolid, KernelRefusal>Expand description
The solid a closed profile sweeps when screwed about an axis it lies beside: the profile,
drawn in a plane through the axis, turned right-handed about axis_direction through angle
(radians, positive) while it rises rise along it per radian (a thread; rise 0 is the
revolution). The walls are the profile carried along the screw, lofted through its sections and
re-carried to high order (the threads’ own construction); a long screw is built a few turns at a
time and stacked. Refused where the profile reaches the axis, leaves the plane through it, or
meets its own next turn (its height along the axis at least the rise of a turn) when the screw
turns more than once.