Files
modeling-app/docs/kcl/helix.md
Nick Cameron 66f6b741c4 Support = in record initialisation (#4519)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2024-11-24 20:21:55 +00: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