Skip to main content

screw

Function screw 

Source
pub fn screw(
    model: &mut NamedModel,
    namer: &Namer,
    solid: &str,
    axes: &CoordinateSystem,
    helix: &Helix,
    loops: &[SweepLoop],
) -> GeopResult<SolidId>
Expand description

Sweeps loops — in (r, z) as for revolve, the first the outer loop counter-clockwise, the rest holes in it, clockwise — along the screw motion of screw_path into a solid named solid, its faces pointing outwards: a thread, for a profile at most a pitch wide. The profile must stay clear of the axis, and narrower along it than the pitch, or the turns run into each other.

Named after the profiles’ curves X and joints P: N(X,q) the face X sweeps through span q, N(X,a) the edge X is at station a, N(P,q) the helical edge P sweeps through q, and the caps N(start) and N(end).