Files
modeling-app/docs/kcl/helix.md
Jess Frazelle 0d48dff151 dont escape the markdown shit (#4049)
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2024-09-30 12:39:24 -07: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

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

Rendered example of helix 0