kcl

helixRevolutions

Create a helix on a cylinder.

helixRevolutions(data: HelixRevolutionsData, solid: Solid) -> Solid

Arguments

NameTypeDescriptionRequired
dataHelixRevolutionsDataData for helix revolutions.Yes
solidSolidAn solid is a collection of extrude surfaces.Yes

Returns

Solid - An solid is a collection of extrude surfaces.

Examples

part001 = startSketchOn('XY')
  |> circle({ center = [5, 5], radius = 10 }, %)
  |> extrude(10, %)
  |> helixRevolutions({
       angleStart = 0,
       ccw = true,
       revolutions = 16
     }, %)

Rendered example of helixRevolutions 0