Replace plane strings with literals (#6592)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
```mermaid
|
||||
flowchart LR
|
||||
subgraph path2 [Path]
|
||||
2["Path<br>[71, 96, 0]"]
|
||||
3["Segment<br>[102, 137, 0]"]
|
||||
2["Path<br>[69, 94, 0]"]
|
||||
3["Segment<br>[100, 135, 0]"]
|
||||
end
|
||||
1["Plane<br>[46, 65, 0]"]
|
||||
4["Helix<br>[151, 257, 0]"]
|
||||
1["Plane<br>[46, 63, 0]"]
|
||||
4["Helix<br>[149, 255, 0]"]
|
||||
1 --- 2
|
||||
2 --- 3
|
||||
3 <--x 4
|
||||
|
||||
@ -22,13 +22,20 @@ description: Result of parsing helix_simple.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": {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
// Create a helix around an edge.
|
||||
helper001 = startSketchOn('XZ')
|
||||
helper001 = startSketchOn(XZ)
|
||||
|> startProfile(at = [0, 0])
|
||||
|> line(end = [0, 10], tag = $edge001)
|
||||
|
||||
|
||||
@ -7,8 +7,8 @@ description: Operations executed helix_simple.kcl
|
||||
"labeledArgs": {
|
||||
"planeOrSolid": {
|
||||
"value": {
|
||||
"type": "String",
|
||||
"value": "XZ"
|
||||
"type": "Plane",
|
||||
"artifact_id": "[uuid]"
|
||||
},
|
||||
"sourceRange": []
|
||||
}
|
||||
|
||||
@ -38,9 +38,9 @@ description: Variables in memory after executing helix_simple.kcl
|
||||
0.0
|
||||
],
|
||||
"tag": {
|
||||
"commentStart": 128,
|
||||
"end": 136,
|
||||
"start": 128,
|
||||
"commentStart": 126,
|
||||
"end": 134,
|
||||
"start": 126,
|
||||
"type": "TagDeclarator",
|
||||
"value": "edge001"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user