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)`
This commit is contained in:
@ -3,23 +3,23 @@ flowchart LR
|
||||
subgraph path2 [Path]
|
||||
2["Path<br>[799, 824, 0]"]
|
||||
3["Segment<br>[832, 854, 0]"]
|
||||
4["Segment<br>[862, 921, 0]"]
|
||||
5["Segment<br>[929, 956, 0]"]
|
||||
6["Segment<br>[964, 1023, 0]"]
|
||||
7["Segment<br>[1031, 1038, 0]"]
|
||||
4["Segment<br>[862, 906, 0]"]
|
||||
5["Segment<br>[914, 941, 0]"]
|
||||
6["Segment<br>[949, 993, 0]"]
|
||||
7["Segment<br>[1001, 1008, 0]"]
|
||||
8[Solid2d]
|
||||
end
|
||||
subgraph path28 [Path]
|
||||
28["Path<br>[799, 824, 0]"]
|
||||
29["Segment<br>[832, 854, 0]"]
|
||||
30["Segment<br>[862, 921, 0]"]
|
||||
31["Segment<br>[929, 956, 0]"]
|
||||
32["Segment<br>[964, 1023, 0]"]
|
||||
33["Segment<br>[1031, 1038, 0]"]
|
||||
30["Segment<br>[862, 906, 0]"]
|
||||
31["Segment<br>[914, 941, 0]"]
|
||||
32["Segment<br>[949, 993, 0]"]
|
||||
33["Segment<br>[1001, 1008, 0]"]
|
||||
34[Solid2d]
|
||||
end
|
||||
1["Plane<br>[1124, 1162, 0]"]
|
||||
9["Sweep Extrusion<br>[1111, 1205, 0]"]
|
||||
1["Plane<br>[1094, 1132, 0]"]
|
||||
9["Sweep Extrusion<br>[1081, 1175, 0]"]
|
||||
10[Wall]
|
||||
11[Wall]
|
||||
12[Wall]
|
||||
@ -37,8 +37,8 @@ flowchart LR
|
||||
24["SweepEdge Adjacent"]
|
||||
25["SweepEdge Opposite"]
|
||||
26["SweepEdge Adjacent"]
|
||||
27["Plane<br>[1618, 1656, 0]"]
|
||||
35["Sweep Revolve<br>[1605, 1687, 0]"]
|
||||
27["Plane<br>[1588, 1626, 0]"]
|
||||
35["Sweep Revolve<br>[1575, 1657, 0]"]
|
||||
36[Wall]
|
||||
37[Wall]
|
||||
38[Wall]
|
||||
|
||||
Reference in New Issue
Block a user