Files
modeling-app/docs/kcl/helix.md
2024-10-28 11:45:54 -04:00

164 KiB

title, excerpt, layout
title excerpt layout
helix Create a helix on a cylinder. manual

Create a helix on a cylinder.

helix(data: HelixData, solid: Solid) -> Solid

Arguments

Name Type Description Required
data HelixData Data for helices. Yes
solid Solid An 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, %)
  |> helix({
       angleStart: 0,
       ccw: true,
       revolutions: 16
     }, %)

Rendered example of helix 0