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
KCL: angledLineThatIntersects migrate to kwargs (KittyCAD#6296)
* KCL: Convert angledLineThatIntersects to use kwargs * Update KCL tests and samples * WIP * Fix tsc and lint errors * Fix missing cases * Fix modifyAst unit tests * Fix sketch unit tests * Fix std unit tests * Fix to not have extra docs * Fix more unit tests * Fix bench test * Fix e2e tests to use new kw args * tiny lint * Fix adding constraint from UI to work * Fix to use labeledArg constraints and use the correct order of args * Fix selections e2e test * Fix e2e test expectation App was working as expected, but the e2e test was expecting the old code, not the new code. * Fix order of constraints in unit test * Update docs * Fix KCL formatting * Update output --------- Co-authored-by: Jonathan Tran <jonnytran@gmail.com>
Copy file name to clipboardExpand all lines: docs/kcl/angledLineThatIntersects.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,10 @@ Draw an angled line from the current origin, constructing a line segment such th
10
10
11
11
```js
12
12
angledLineThatIntersects(
13
-
data: AngledLineThatIntersectsData,
14
13
sketch: Sketch,
14
+
angle: number,
15
+
intersectTag: TagIdentifier,
16
+
offset?: number,
15
17
tag?: TagDeclarator,
16
18
): Sketch
17
19
```
@@ -21,9 +23,11 @@ angledLineThatIntersects(
21
23
22
24
| Name | Type | Description | Required |
23
25
|----------|------|-------------|----------|
24
-
|`data`|[`AngledLineThatIntersectsData`](/docs/kcl/types/AngledLineThatIntersectsData)| Data for drawing an angled line that intersects with a given line. | Yes |
0 commit comments