You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/pages/docs/kcl-std/arc.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ arc(
13
13
angleStart?: number,
14
14
angleEnd?: number,
15
15
radius?: number,
16
+
diameter?: number,
16
17
interiorAbsolute?: Point2d,
17
18
endAbsolute?: Point2d,
18
19
tag?: TagDeclarator,
@@ -30,7 +31,8 @@ Unless this makes a lot of sense and feels like what you're looking for to const
30
31
|`sketch`|[`Sketch`](/docs/kcl-std/types/std-types-Sketch)| Which sketch should this path be added to? | Yes |
31
32
|`angleStart`|[`number`](/docs/kcl-std/types/std-types-number)| Where along the circle should this arc start? | No |
32
33
|`angleEnd`|[`number`](/docs/kcl-std/types/std-types-number)| Where along the circle should this arc end? | No |
33
-
|`radius`|[`number`](/docs/kcl-std/types/std-types-number)| How large should the circle be? | No |
34
+
|`radius`|[`number`](/docs/kcl-std/types/std-types-number)| How large should the circle be? Incompatible with `diameter`. | No |
35
+
|`diameter`|[`number`](/docs/kcl-std/types/std-types-number)| How large should the circle be? Incompatible with `radius`. | No |
34
36
|`interiorAbsolute`|[`Point2d`](/docs/kcl-std/types/std-types-Point2d)| Any point between the arc's start and end? Requires `endAbsolute`. Incompatible with `angleStart` or `angleEnd`| No |
35
37
|`endAbsolute`|[`Point2d`](/docs/kcl-std/types/std-types-Point2d)| Where should this arc end? Requires `interiorAbsolute`. Incompatible with `angleStart` or `angleEnd`| No |
36
38
|[`tag`](/docs/kcl-std/types/std-types-tag)|[`TagDeclarator`](/docs/kcl-lang/types#TagDeclarator)| Create a new tag which refers to this line | No |
0 commit comments