2025-01-17 14:34:36 -05:00
|
|
|
```mermaid
|
|
|
|
flowchart LR
|
|
|
|
subgraph path2 [Path]
|
|
|
|
2["Path<br>[37, 69, 0]"]
|
KCL: Angled line should use keyword args (#5803)
We continue migrating KCL stdlib functions to use keyword arguments. Next up is the `angledLine` family of functions (except `angledLineThatIntersects, which will be a quick follow-up).
Before vs. after:
`angledLine({angle = 90, length = 3}, %, $edge)`
=> `angledLine(angle = 90, length = 3, tag = $edge)`
`angledLineOfXLength({angle = 90, length = 3}, %, $edge)`
=> `angledLine(angle = 90, lengthX = 3, tag = $edge)`
`angledLineOfYLength({angle = 90, length = 3}, %, $edge)`
=> `angledLine(angle = 90, lengthY = 3, tag = $edge)`
`angledLineToX({angle = 90, length = 3}, %, $edge)`
=> `angledLine(angle = 90, endAbsoluteX = 3, tag = $edge)`
`angledLineToY({angle = 90, length = 3}, %, $edge)`
=> `angledLine(angle = 90, endAbsoluteY = 3, tag = $edge)`
2025-04-09 14:55:15 -05:00
|
|
|
3["Segment<br>[105, 172, 0]"]
|
|
|
|
4["Segment<br>[178, 262, 0]"]
|
|
|
|
5["Segment<br>[268, 356, 0]"]
|
|
|
|
6["Segment<br>[362, 432, 0]"]
|
|
|
|
7["Segment<br>[438, 446, 0]"]
|
2025-01-17 14:34:36 -05:00
|
|
|
8[Solid2d]
|
|
|
|
end
|
2025-04-26 21:21:26 -07:00
|
|
|
subgraph path27 [Path]
|
|
|
|
27["Path<br>[721, 755, 0]"]
|
|
|
|
28["Segment<br>[761, 827, 0]"]
|
|
|
|
29["Segment<br>[833, 931, 0]"]
|
|
|
|
30["Segment<br>[937, 1054, 0]"]
|
|
|
|
31["Segment<br>[1060, 1116, 0]"]
|
|
|
|
32["Segment<br>[1122, 1130, 0]"]
|
|
|
|
33[Solid2d]
|
2025-01-17 14:34:36 -05:00
|
|
|
end
|
2025-04-26 21:21:26 -07:00
|
|
|
subgraph path34 [Path]
|
|
|
|
34["Path<br>[1188, 1223, 0]"]
|
|
|
|
35["Segment<br>[1229, 1295, 0]"]
|
|
|
|
36["Segment<br>[1301, 1400, 0]"]
|
|
|
|
37["Segment<br>[1406, 1523, 0]"]
|
|
|
|
38["Segment<br>[1529, 1585, 0]"]
|
|
|
|
39["Segment<br>[1591, 1599, 0]"]
|
|
|
|
40[Solid2d]
|
2025-01-17 14:34:36 -05:00
|
|
|
end
|
|
|
|
1["Plane<br>[12, 31, 0]"]
|
KCL: Angled line should use keyword args (#5803)
We continue migrating KCL stdlib functions to use keyword arguments. Next up is the `angledLine` family of functions (except `angledLineThatIntersects, which will be a quick follow-up).
Before vs. after:
`angledLine({angle = 90, length = 3}, %, $edge)`
=> `angledLine(angle = 90, length = 3, tag = $edge)`
`angledLineOfXLength({angle = 90, length = 3}, %, $edge)`
=> `angledLine(angle = 90, lengthX = 3, tag = $edge)`
`angledLineOfYLength({angle = 90, length = 3}, %, $edge)`
=> `angledLine(angle = 90, lengthY = 3, tag = $edge)`
`angledLineToX({angle = 90, length = 3}, %, $edge)`
=> `angledLine(angle = 90, endAbsoluteX = 3, tag = $edge)`
`angledLineToY({angle = 90, length = 3}, %, $edge)`
=> `angledLine(angle = 90, endAbsoluteY = 3, tag = $edge)`
2025-04-09 14:55:15 -05:00
|
|
|
9["Sweep Extrusion<br>[460, 492, 0]"]
|
2025-01-17 14:34:36 -05:00
|
|
|
10[Wall]
|
|
|
|
11[Wall]
|
|
|
|
12[Wall]
|
|
|
|
13[Wall]
|
|
|
|
14["Cap Start"]
|
|
|
|
15["Cap End"]
|
|
|
|
16["SweepEdge Opposite"]
|
2025-04-26 21:21:26 -07:00
|
|
|
17["SweepEdge Adjacent"]
|
2025-01-17 14:34:36 -05:00
|
|
|
18["SweepEdge Opposite"]
|
2025-04-26 21:21:26 -07:00
|
|
|
19["SweepEdge Adjacent"]
|
|
|
|
20["SweepEdge Opposite"]
|
|
|
|
21["SweepEdge Adjacent"]
|
|
|
|
22["SweepEdge Opposite"]
|
|
|
|
23["SweepEdge Adjacent"]
|
|
|
|
24["EdgeCut Fillet<br>[498, 533, 0]"]
|
|
|
|
25["Plane<br>[721, 755, 0]"]
|
|
|
|
26["Plane<br>[1188, 1223, 0]"]
|
|
|
|
41["Sweep Extrusion<br>[1613, 1644, 0]"]
|
|
|
|
42[Wall]
|
|
|
|
43[Wall]
|
|
|
|
44[Wall]
|
|
|
|
45[Wall]
|
|
|
|
46["Cap End"]
|
|
|
|
47["SweepEdge Opposite"]
|
|
|
|
48["SweepEdge Adjacent"]
|
|
|
|
49["SweepEdge Opposite"]
|
|
|
|
50["SweepEdge Adjacent"]
|
|
|
|
51["SweepEdge Opposite"]
|
|
|
|
52["SweepEdge Adjacent"]
|
|
|
|
53["SweepEdge Opposite"]
|
|
|
|
54["SweepEdge Adjacent"]
|
|
|
|
55["StartSketchOnFace<br>[676, 715, 0]"]
|
|
|
|
56["StartSketchOnFace<br>[1143, 1182, 0]"]
|
2025-01-17 14:34:36 -05:00
|
|
|
1 --- 2
|
|
|
|
2 --- 3
|
|
|
|
2 --- 4
|
|
|
|
2 --- 5
|
|
|
|
2 --- 6
|
|
|
|
2 --- 7
|
|
|
|
2 ---- 9
|
|
|
|
2 --- 8
|
|
|
|
3 --- 13
|
2025-04-26 21:21:26 -07:00
|
|
|
3 --- 22
|
|
|
|
3 --- 23
|
2025-04-26 14:00:28 +10:00
|
|
|
3 x--> 14
|
2025-01-17 14:34:36 -05:00
|
|
|
4 --- 12
|
2025-04-26 21:21:26 -07:00
|
|
|
4 --- 20
|
|
|
|
4 --- 21
|
|
|
|
4 --- 24
|
2025-04-26 14:00:28 +10:00
|
|
|
4 x--> 14
|
2025-01-17 14:34:36 -05:00
|
|
|
5 --- 11
|
2025-04-26 21:21:26 -07:00
|
|
|
5 --- 18
|
|
|
|
5 --- 19
|
2025-04-26 14:00:28 +10:00
|
|
|
5 x--> 14
|
2025-01-17 14:34:36 -05:00
|
|
|
6 --- 10
|
2025-04-26 21:21:26 -07:00
|
|
|
6 --- 16
|
|
|
|
6 --- 17
|
|
|
|
6 x--> 25
|
2025-04-26 14:00:28 +10:00
|
|
|
6 x--> 14
|
2025-01-17 14:34:36 -05:00
|
|
|
9 --- 10
|
|
|
|
9 --- 11
|
|
|
|
9 --- 12
|
|
|
|
9 --- 13
|
|
|
|
9 --- 14
|
|
|
|
9 --- 15
|
|
|
|
9 --- 16
|
|
|
|
9 --- 17
|
|
|
|
9 --- 18
|
2025-04-26 21:21:26 -07:00
|
|
|
9 --- 19
|
|
|
|
9 --- 20
|
|
|
|
9 --- 21
|
|
|
|
9 --- 22
|
|
|
|
9 --- 23
|
|
|
|
16 <--x 10
|
2025-04-26 14:00:28 +10:00
|
|
|
16 <--x 15
|
2025-04-26 21:21:26 -07:00
|
|
|
17 <--x 10
|
|
|
|
17 <--x 13
|
|
|
|
18 <--x 11
|
2025-04-26 14:00:28 +10:00
|
|
|
18 <--x 15
|
2025-04-26 21:21:26 -07:00
|
|
|
19 <--x 10
|
|
|
|
19 <--x 11
|
|
|
|
21 <--x 11
|
|
|
|
21 <--x 12
|
|
|
|
22 <--x 13
|
|
|
|
22 <--x 15
|
|
|
|
23 <--x 12
|
|
|
|
23 <--x 13
|
|
|
|
25 --- 27
|
|
|
|
26 --- 34
|
|
|
|
27 --- 28
|
|
|
|
27 --- 29
|
|
|
|
27 --- 30
|
|
|
|
27 --- 31
|
|
|
|
27 --- 32
|
|
|
|
27 --- 33
|
|
|
|
34 --- 35
|
|
|
|
34 --- 36
|
|
|
|
34 --- 37
|
|
|
|
34 --- 38
|
|
|
|
34 --- 39
|
|
|
|
34 ---- 41
|
|
|
|
34 --- 40
|
|
|
|
35 --- 45
|
|
|
|
35 --- 53
|
|
|
|
35 --- 54
|
|
|
|
35 <--x 26
|
2025-01-17 14:34:36 -05:00
|
|
|
36 --- 44
|
2025-04-26 21:21:26 -07:00
|
|
|
36 --- 51
|
|
|
|
36 --- 52
|
|
|
|
36 <--x 26
|
|
|
|
37 --- 43
|
|
|
|
37 --- 49
|
|
|
|
37 --- 50
|
|
|
|
37 <--x 26
|
|
|
|
38 --- 42
|
|
|
|
38 --- 47
|
|
|
|
38 --- 48
|
|
|
|
38 <--x 26
|
|
|
|
41 --- 42
|
|
|
|
41 --- 43
|
|
|
|
41 --- 44
|
|
|
|
41 --- 45
|
|
|
|
41 --- 46
|
|
|
|
41 --- 47
|
|
|
|
41 --- 48
|
|
|
|
41 --- 49
|
|
|
|
41 --- 50
|
|
|
|
41 --- 51
|
|
|
|
41 --- 52
|
|
|
|
41 --- 53
|
|
|
|
41 --- 54
|
|
|
|
47 <--x 42
|
|
|
|
47 <--x 46
|
|
|
|
48 <--x 42
|
|
|
|
48 <--x 45
|
|
|
|
49 <--x 43
|
|
|
|
49 <--x 46
|
|
|
|
50 <--x 42
|
|
|
|
50 <--x 43
|
|
|
|
51 <--x 44
|
|
|
|
51 <--x 46
|
|
|
|
52 <--x 43
|
|
|
|
52 <--x 44
|
|
|
|
53 <--x 45
|
|
|
|
53 <--x 46
|
|
|
|
54 <--x 44
|
|
|
|
54 <--x 45
|
|
|
|
25 <--x 55
|
|
|
|
26 <--x 56
|
2025-01-17 14:34:36 -05:00
|
|
|
```
|