From ce6472896dd47394ea6e17c97106da2f139ab1af Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 15 Oct 2024 20:25:21 +0000 Subject: [PATCH] YOYO NEW KCL DOCS!! --- content/pages/docs/kcl/patternCircular2d.md | 2 +- content/pages/docs/kcl/patternCircular3d.md | 2 +- content/pages/docs/kcl/patternLinear2d.md | 2 +- content/pages/docs/kcl/patternLinear3d.md | 2 +- content/pages/docs/kcl/types/CircularPattern2dData.md | 2 +- content/pages/docs/kcl/types/CircularPattern3dData.md | 2 +- content/pages/docs/kcl/types/LinearPattern2dData.md | 2 +- content/pages/docs/kcl/types/LinearPattern3dData.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/content/pages/docs/kcl/patternCircular2d.md b/content/pages/docs/kcl/patternCircular2d.md index 0e909c3..d18a25e 100644 --- a/content/pages/docs/kcl/patternCircular2d.md +++ b/content/pages/docs/kcl/patternCircular2d.md @@ -36,7 +36,7 @@ exampleSketch = startSketchOn('XZ') |> close(%) |> patternCircular2d({ center: [0, 0], - repetitions: 12, + instances: 13, arcDegrees: 360, rotateDuplicates: true }, %) diff --git a/content/pages/docs/kcl/patternCircular3d.md b/content/pages/docs/kcl/patternCircular3d.md index 8bbbc97..fcba7c0 100644 --- a/content/pages/docs/kcl/patternCircular3d.md +++ b/content/pages/docs/kcl/patternCircular3d.md @@ -35,7 +35,7 @@ example = extrude(-5, exampleSketch) |> patternCircular3d({ axis: [1, -1, 0], center: [10, -20, 0], - repetitions: 10, + instances: 11, arcDegrees: 360, rotateDuplicates: true }, %) diff --git a/content/pages/docs/kcl/patternLinear2d.md b/content/pages/docs/kcl/patternLinear2d.md index 4f21dd1..0301965 100644 --- a/content/pages/docs/kcl/patternLinear2d.md +++ b/content/pages/docs/kcl/patternLinear2d.md @@ -32,7 +32,7 @@ exampleSketch = startSketchOn('XZ') |> circle({ center: [0, 0], radius: 1 }, %) |> patternLinear2d({ axis: [1, 0], - repetitions: 6, + instances: 7, distance: 4 }, %) diff --git a/content/pages/docs/kcl/patternLinear3d.md b/content/pages/docs/kcl/patternLinear3d.md index 2d91097..d89134d 100644 --- a/content/pages/docs/kcl/patternLinear3d.md +++ b/content/pages/docs/kcl/patternLinear3d.md @@ -38,7 +38,7 @@ exampleSketch = startSketchOn('XZ') example = extrude(1, exampleSketch) |> patternLinear3d({ axis: [1, 0, 1], - repetitions: 6, + instances: 7, distance: 6 }, %) ``` diff --git a/content/pages/docs/kcl/types/CircularPattern2dData.md b/content/pages/docs/kcl/types/CircularPattern2dData.md index 1e81f73..8077e3d 100644 --- a/content/pages/docs/kcl/types/CircularPattern2dData.md +++ b/content/pages/docs/kcl/types/CircularPattern2dData.md @@ -16,7 +16,7 @@ Data for a circular pattern on a 2D sketch. | Property | Type | Description | Required | |----------|------|-------------|----------| -| `repetitions` |[`Uint`](/docs/kcl/types/Uint)| The number of repetitions. Must be greater than 0. This excludes the original entity. For example, if `repetitions` is 1, the original entity will be copied once. | No | +| `instances` |[`Uint`](/docs/kcl/types/Uint)| The number of total instances. Must be greater than or equal to 1. This includes the original entity. For example, if instances is 2, there will be two copies -- the original, and one new copy. If instances is 1, this has no effect. | No | | `center` |`[number, number]`| The center about which to make the pattern. This is a 2D vector. | No | | `arcDegrees` |`number`| The arc angle (in degrees) to place the repetitions. Must be greater than 0. | No | | `rotateDuplicates` |`boolean`| Whether or not to rotate the duplicates as they are copied. | No | diff --git a/content/pages/docs/kcl/types/CircularPattern3dData.md b/content/pages/docs/kcl/types/CircularPattern3dData.md index bb101b8..a2e7a8f 100644 --- a/content/pages/docs/kcl/types/CircularPattern3dData.md +++ b/content/pages/docs/kcl/types/CircularPattern3dData.md @@ -16,7 +16,7 @@ Data for a circular pattern on a 3D model. | Property | Type | Description | Required | |----------|------|-------------|----------| -| `repetitions` |[`Uint`](/docs/kcl/types/Uint)| The number of repetitions. Must be greater than 0. This excludes the original entity. For example, if `repetitions` is 1, the original entity will be copied once. | No | +| `instances` |[`Uint`](/docs/kcl/types/Uint)| The number of total instances. Must be greater than or equal to 1. This includes the original entity. For example, if instances is 2, there will be two copies -- the original, and one new copy. If instances is 1, this has no effect. | No | | `axis` |`[number, number, number]`| The axis around which to make the pattern. This is a 3D vector. | No | | `center` |`[number, number, number]`| The center about which to make the pattern. This is a 3D vector. | No | | `arcDegrees` |`number`| The arc angle (in degrees) to place the repetitions. Must be greater than 0. | No | diff --git a/content/pages/docs/kcl/types/LinearPattern2dData.md b/content/pages/docs/kcl/types/LinearPattern2dData.md index 1f185ff..aab6492 100644 --- a/content/pages/docs/kcl/types/LinearPattern2dData.md +++ b/content/pages/docs/kcl/types/LinearPattern2dData.md @@ -16,7 +16,7 @@ Data for a linear pattern on a 2D sketch. | Property | Type | Description | Required | |----------|------|-------------|----------| -| `repetitions` |[`Uint`](/docs/kcl/types/Uint)| The number of repetitions. Must be greater than 0. This excludes the original entity. For example, if `repetitions` is 1, the original entity will be copied once. | No | +| `instances` |[`Uint`](/docs/kcl/types/Uint)| The number of total instances. Must be greater than or equal to 1. This includes the original entity. For example, if instances is 2, there will be two copies -- the original, and one new copy. If instances is 1, this has no effect. | No | | `distance` |`number`| The distance between each repetition. This can also be referred to as spacing. | No | | `axis` |`[number, number]`| The axis of the pattern. This is a 2D vector. | No | diff --git a/content/pages/docs/kcl/types/LinearPattern3dData.md b/content/pages/docs/kcl/types/LinearPattern3dData.md index da3ce8d..878a66e 100644 --- a/content/pages/docs/kcl/types/LinearPattern3dData.md +++ b/content/pages/docs/kcl/types/LinearPattern3dData.md @@ -16,7 +16,7 @@ Data for a linear pattern on a 3D model. | Property | Type | Description | Required | |----------|------|-------------|----------| -| `repetitions` |[`Uint`](/docs/kcl/types/Uint)| The number of repetitions. Must be greater than 0. This excludes the original entity. For example, if `repetitions` is 1, the original entity will be copied once. | No | +| `instances` |[`Uint`](/docs/kcl/types/Uint)| The number of total instances. Must be greater than or equal to 1. This includes the original entity. For example, if instances is 2, there will be two copies -- the original, and one new copy. If instances is 1, this has no effect. | No | | `distance` |`number`| The distance between each repetition. This can also be referred to as spacing. | No | | `axis` |`[number, number, number]`| The axis of the pattern. | No |