Skip to content

Commit f3849c9

Browse files
Update KCL docs (#610)
YOYO NEW KCL DOCS!! Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 8629609 commit f3849c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/pages/docs/kcl-std/functions/std-sketch-rectangle.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ rectangle(
1717
): Sketch
1818
```
1919

20-
20+
A rectangle can be defined by its width, height, and location. Either the center or corner must be provided, but not both, to specify its location.
2121

2222
### Arguments
2323

@@ -26,8 +26,8 @@ rectangle(
2626
| `sketchOrSurface` | [`Sketch`](/docs/kcl-std/types/std-types-Sketch) or [`Plane`](/docs/kcl-std/types/std-types-Plane) or [`Face`](/docs/kcl-std/types/std-types-Face) | Sketch to extend, or plane or surface to sketch on. | Yes |
2727
| `width` | [`number(Length)`](/docs/kcl-std/types/std-types-number) | Rectangle's width along X axis. | Yes |
2828
| `height` | [`number(Length)`](/docs/kcl-std/types/std-types-number) | Rectangle's height along Y axis. | Yes |
29-
| `center` | [`Point2d`](/docs/kcl-std/types/std-types-Point2d) | The center of the rectangle. Incompatible with `corner`. | No |
30-
| `corner` | [`Point2d`](/docs/kcl-std/types/std-types-Point2d) | The corner of the rectangle. Incompatible with `center`. This will be the corner which is most negative on both X and Y axes. | No |
29+
| `center` | [`Point2d`](/docs/kcl-std/types/std-types-Point2d) | The center of the rectangle. Either `corner` or `center` is required, but not both. | No |
30+
| `corner` | [`Point2d`](/docs/kcl-std/types/std-types-Point2d) | The corner of the rectangle. Either `corner` or `center` is required, but not both. This will be the corner which is most negative on both X and Y axes. | No |
3131

3232
### Returns
3333

0 commit comments

Comments
 (0)