kcl

patternCircular3d

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

NameTypeDescriptionRequired
dataCircularPattern3dDataData for a circular pattern on a 3D model.Yes
solid_setSolidSetA solid or a group of solids.Yes

Returns

[Solid]

Examples

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

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

Rendered example of patternCircular3d 0