Files
modeling-app/docs/kcl/patternCircular3d.md
Jess Frazelle 790af3842c Recusive docs (#4023)
updates



updates



updates



updates



updates



updates



better



updates



array of



updates



updates



updates



updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>
2024-09-27 19:50:44 -07:00

135 KiB

title, excerpt, layout
title excerpt layout
patternCircular3d Repeat a 3-dimensional solid some number of times along a partial or manual

Repeat a 3-dimensional solid some number of times along a partial or

complete circle some specified number of times. Each object may additionally be rotated along the circle, ensuring orentation of the solid with respect to the center of the circle is maintained.

patternCircular3d(data: CircularPattern3dData, solid_set: SolidSet) -> [Solid]

Arguments

Name Type Description Required
data CircularPattern3dData Data for a circular pattern on a 3D model. Yes
solid_set SolidSet A solid or a group of solids. Yes

Returns

[Solid]

Examples

const exampleSketch = startSketchOn('XZ')
  |> circle({ center: [0, 0], radius: 1 }, %)

const example = extrude(-5, exampleSketch)
  |> patternCircular3d({
       axis: [1, -1, 0],
       center: [10, -20, 0],
       repetitions: 10,
       arcDegrees: 360,
       rotateDuplicates: true
     }, %)

Rendered example of patternCircular3d 0