Replace plane strings with literals (#6592)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
@ -1,15 +1,15 @@
|
||||
```mermaid
|
||||
flowchart LR
|
||||
subgraph path2 [Path]
|
||||
2["Path<br>[166, 193, 0]"]
|
||||
3["Segment<br>[199, 217, 0]"]
|
||||
4["Segment<br>[223, 242, 0]"]
|
||||
5["Segment<br>[248, 267, 0]"]
|
||||
6["Segment<br>[273, 281, 0]"]
|
||||
2["Path<br>[164, 191, 0]"]
|
||||
3["Segment<br>[197, 215, 0]"]
|
||||
4["Segment<br>[221, 240, 0]"]
|
||||
5["Segment<br>[246, 265, 0]"]
|
||||
6["Segment<br>[271, 279, 0]"]
|
||||
7[Solid2d]
|
||||
end
|
||||
1["Plane<br>[141, 160, 0]"]
|
||||
8["Sweep Extrusion<br>[287, 306, 0]"]
|
||||
1["Plane<br>[141, 158, 0]"]
|
||||
8["Sweep Extrusion<br>[285, 304, 0]"]
|
||||
9[Wall]
|
||||
10[Wall]
|
||||
11[Wall]
|
||||
|
||||
@ -457,13 +457,20 @@ description: Result of parsing riddle_small.kcl
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"abs_path": false,
|
||||
"commentStart": 0,
|
||||
"end": 0,
|
||||
"raw": "'XZ'",
|
||||
"name": {
|
||||
"commentStart": 0,
|
||||
"end": 0,
|
||||
"name": "XZ",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": "XZ"
|
||||
"type": "Name",
|
||||
"type": "Name"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
|
||||
@ -8,7 +8,7 @@ xs = 205804
|
||||
ys = 71816
|
||||
ox = 35 - (t(xs) % 70)
|
||||
oy = 35 - (t(ys) % 70)
|
||||
r = startSketchOn('XZ')
|
||||
r = startSketchOn(XZ)
|
||||
|> startProfile(at = [ox, oy])
|
||||
|> line(end = [1, 0])
|
||||
|> line(end = [0, -1])
|
||||
|
||||
@ -29,8 +29,8 @@ description: Operations executed riddle_small.kcl
|
||||
"labeledArgs": {
|
||||
"planeOrSolid": {
|
||||
"value": {
|
||||
"type": "String",
|
||||
"value": "XZ"
|
||||
"type": "Plane",
|
||||
"artifact_id": "[uuid]"
|
||||
},
|
||||
"sourceRange": []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user