Replace plane strings with literals (#6592)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
@ -1,26 +1,26 @@
|
||||
```mermaid
|
||||
flowchart LR
|
||||
subgraph path3 [Path]
|
||||
3["Path<br>[37, 64, 0]"]
|
||||
5["Segment<br>[70, 89, 0]"]
|
||||
6["Segment<br>[95, 131, 0]"]
|
||||
7["Segment<br>[137, 171, 0]"]
|
||||
8["Segment<br>[177, 233, 0]"]
|
||||
9["Segment<br>[239, 246, 0]"]
|
||||
3["Path<br>[35, 62, 0]"]
|
||||
5["Segment<br>[68, 87, 0]"]
|
||||
6["Segment<br>[93, 129, 0]"]
|
||||
7["Segment<br>[135, 169, 0]"]
|
||||
8["Segment<br>[175, 231, 0]"]
|
||||
9["Segment<br>[237, 244, 0]"]
|
||||
15[Solid2d]
|
||||
end
|
||||
subgraph path4 [Path]
|
||||
4["Path<br>[390, 417, 0]"]
|
||||
10["Segment<br>[423, 441, 0]"]
|
||||
11["Segment<br>[447, 466, 0]"]
|
||||
12["Segment<br>[472, 528, 0]"]
|
||||
13["Segment<br>[534, 541, 0]"]
|
||||
4["Path<br>[388, 415, 0]"]
|
||||
10["Segment<br>[421, 439, 0]"]
|
||||
11["Segment<br>[445, 464, 0]"]
|
||||
12["Segment<br>[470, 526, 0]"]
|
||||
13["Segment<br>[532, 539, 0]"]
|
||||
14[Solid2d]
|
||||
end
|
||||
1["Plane<br>[12, 31, 0]"]
|
||||
2["StartSketchOnFace<br>[345, 384, 0]"]
|
||||
16["Sweep Extrusion<br>[260, 292, 0]"]
|
||||
17["Sweep Extrusion<br>[555, 585, 0]"]
|
||||
1["Plane<br>[12, 29, 0]"]
|
||||
2["StartSketchOnFace<br>[343, 382, 0]"]
|
||||
16["Sweep Extrusion<br>[258, 290, 0]"]
|
||||
17["Sweep Extrusion<br>[553, 583, 0]"]
|
||||
18[Wall]
|
||||
19[Wall]
|
||||
20[Wall]
|
||||
@ -45,7 +45,7 @@ flowchart LR
|
||||
39["SweepEdge Adjacent"]
|
||||
40["SweepEdge Adjacent"]
|
||||
41["SweepEdge Adjacent"]
|
||||
42["EdgeCut Fillet<br>[298, 332, 0]"]
|
||||
42["EdgeCut Fillet<br>[296, 330, 0]"]
|
||||
1 --- 3
|
||||
21 x--> 2
|
||||
3 --- 5
|
||||
|
||||
@ -22,13 +22,20 @@ description: Result of parsing artifact_graph_example_code1.kcl
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"abs_path": false,
|
||||
"commentStart": 0,
|
||||
"end": 0,
|
||||
"raw": "'XY'",
|
||||
"name": {
|
||||
"commentStart": 0,
|
||||
"end": 0,
|
||||
"name": "XY",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": "XY"
|
||||
"type": "Name",
|
||||
"type": "Name"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
sketch001 = startSketchOn('XY')
|
||||
sketch001 = startSketchOn(XY)
|
||||
|> startProfile(at = [-5, -5])
|
||||
|> line(end = [0, 10])
|
||||
|> line(end = [10.55, 0], tag = $seg01)
|
||||
|
||||
@ -7,8 +7,8 @@ description: Operations executed artifact_graph_example_code1.kcl
|
||||
"labeledArgs": {
|
||||
"planeOrSolid": {
|
||||
"value": {
|
||||
"type": "String",
|
||||
"value": "XY"
|
||||
"type": "Plane",
|
||||
"artifact_id": "[uuid]"
|
||||
},
|
||||
"sourceRange": []
|
||||
}
|
||||
|
||||
@ -22,9 +22,9 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [],
|
||||
"tag": {
|
||||
"commentStart": 124,
|
||||
"end": 130,
|
||||
"start": 124,
|
||||
"commentStart": 122,
|
||||
"end": 128,
|
||||
"start": 122,
|
||||
"type": "TagDeclarator",
|
||||
"value": "seg01"
|
||||
},
|
||||
@ -35,9 +35,9 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [],
|
||||
"tag": {
|
||||
"commentStart": 164,
|
||||
"end": 170,
|
||||
"start": 164,
|
||||
"commentStart": 162,
|
||||
"end": 168,
|
||||
"start": 162,
|
||||
"type": "TagDeclarator",
|
||||
"value": "seg02"
|
||||
},
|
||||
@ -84,9 +84,9 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
5.0
|
||||
],
|
||||
"tag": {
|
||||
"commentStart": 124,
|
||||
"end": 130,
|
||||
"start": 124,
|
||||
"commentStart": 122,
|
||||
"end": 128,
|
||||
"start": 122,
|
||||
"type": "TagDeclarator",
|
||||
"value": "seg01"
|
||||
},
|
||||
@ -109,9 +109,9 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
5.0
|
||||
],
|
||||
"tag": {
|
||||
"commentStart": 164,
|
||||
"end": 170,
|
||||
"start": 164,
|
||||
"commentStart": 162,
|
||||
"end": 168,
|
||||
"start": 162,
|
||||
"type": "TagDeclarator",
|
||||
"value": "seg02"
|
||||
},
|
||||
@ -404,9 +404,9 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [],
|
||||
"tag": {
|
||||
"commentStart": 124,
|
||||
"end": 130,
|
||||
"start": 124,
|
||||
"commentStart": 122,
|
||||
"end": 128,
|
||||
"start": 122,
|
||||
"type": "TagDeclarator",
|
||||
"value": "seg01"
|
||||
},
|
||||
@ -417,9 +417,9 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [],
|
||||
"tag": {
|
||||
"commentStart": 164,
|
||||
"end": 170,
|
||||
"start": 164,
|
||||
"commentStart": 162,
|
||||
"end": 168,
|
||||
"start": 162,
|
||||
"type": "TagDeclarator",
|
||||
"value": "seg02"
|
||||
},
|
||||
@ -466,9 +466,9 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
5.0
|
||||
],
|
||||
"tag": {
|
||||
"commentStart": 124,
|
||||
"end": 130,
|
||||
"start": 124,
|
||||
"commentStart": 122,
|
||||
"end": 128,
|
||||
"start": 122,
|
||||
"type": "TagDeclarator",
|
||||
"value": "seg01"
|
||||
},
|
||||
@ -491,9 +491,9 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
5.0
|
||||
],
|
||||
"tag": {
|
||||
"commentStart": 164,
|
||||
"end": 170,
|
||||
"start": 164,
|
||||
"commentStart": 162,
|
||||
"end": 168,
|
||||
"start": 162,
|
||||
"type": "TagDeclarator",
|
||||
"value": "seg02"
|
||||
},
|
||||
@ -719,9 +719,9 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
5.0
|
||||
],
|
||||
"tag": {
|
||||
"commentStart": 124,
|
||||
"end": 130,
|
||||
"start": 124,
|
||||
"commentStart": 122,
|
||||
"end": 128,
|
||||
"start": 122,
|
||||
"type": "TagDeclarator",
|
||||
"value": "seg01"
|
||||
},
|
||||
@ -744,9 +744,9 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
5.0
|
||||
],
|
||||
"tag": {
|
||||
"commentStart": 164,
|
||||
"end": 170,
|
||||
"start": 164,
|
||||
"commentStart": 162,
|
||||
"end": 168,
|
||||
"start": 162,
|
||||
"type": "TagDeclarator",
|
||||
"value": "seg02"
|
||||
},
|
||||
@ -984,9 +984,9 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [],
|
||||
"tag": {
|
||||
"commentStart": 124,
|
||||
"end": 130,
|
||||
"start": 124,
|
||||
"commentStart": 122,
|
||||
"end": 128,
|
||||
"start": 122,
|
||||
"type": "TagDeclarator",
|
||||
"value": "seg01"
|
||||
},
|
||||
@ -997,9 +997,9 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [],
|
||||
"tag": {
|
||||
"commentStart": 164,
|
||||
"end": 170,
|
||||
"start": 164,
|
||||
"commentStart": 162,
|
||||
"end": 168,
|
||||
"start": 162,
|
||||
"type": "TagDeclarator",
|
||||
"value": "seg02"
|
||||
},
|
||||
@ -1046,9 +1046,9 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
5.0
|
||||
],
|
||||
"tag": {
|
||||
"commentStart": 124,
|
||||
"end": 130,
|
||||
"start": 124,
|
||||
"commentStart": 122,
|
||||
"end": 128,
|
||||
"start": 122,
|
||||
"type": "TagDeclarator",
|
||||
"value": "seg01"
|
||||
},
|
||||
@ -1071,9 +1071,9 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
5.0
|
||||
],
|
||||
"tag": {
|
||||
"commentStart": 164,
|
||||
"end": 170,
|
||||
"start": 164,
|
||||
"commentStart": 162,
|
||||
"end": 168,
|
||||
"start": 162,
|
||||
"type": "TagDeclarator",
|
||||
"value": "seg02"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user