Files
modeling-app/docs/kcl/patternCircular3d.md
Jess Frazelle 6303130e08 kcl std lib docs use handlebars now so making changes should be better (1st pass) (#4007)
* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* start of types docs

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest)

* add types files

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* add links

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* better

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* uodates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest)

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-27 10:37:46 -04: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, extrude_group_set: ExtrudeGroupSet) -> [ExtrudeGroup]

Arguments

Name Type Description Required
data CircularPattern3dData Data for a circular pattern on a 3D model. Yes
extrude_group_set ExtrudeGroupSet A extrude group or a group of extrude groups. Yes

Returns

[ExtrudeGroup]

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