185 KiB
185 KiB
title, excerpt, layout
title | excerpt | layout |
---|---|---|
helixRevolutions | Create a helix on a cylinder. | manual |
Create a helix on a cylinder.
helixRevolutions(data: HelixRevolutionsData, solid: Solid) -> Solid
Arguments
Name | Type | Description | Required |
---|---|---|---|
data |
HelixRevolutionsData |
Data for helix revolutions. | 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(length = 10)
|> helixRevolutions({
angleStart = 0,
ccw = true,
revolutions = 16
}, %)