Skip to content

Commit c50391c

Browse files
committed
Update output after rebase
1 parent fb079d8 commit c50391c

File tree

14 files changed

+755
-9
lines changed

14 files changed

+755
-9
lines changed

rust/kcl-lib/tests/execute_engine_error_return/artifact_graph_flowchart.snap.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22
flowchart LR
33
subgraph path2 [Path]
44
2["Path<br>[33, 69, 0]"]
5+
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
56
3["Segment<br>[75, 107, 0]"]
7+
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
68
4["Segment<br>[113, 144, 0]"]
9+
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
710
5["Segment<br>[150, 182, 0]"]
11+
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
812
6["Segment<br>[188, 220, 0]"]
13+
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
914
end
1015
1["Plane<br>[10, 27, 0]"]
16+
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
1117
1 --- 2
1218
2 --- 3
1319
2 --- 4

rust/kcl-lib/tests/fillet_duplicate_tags/artifact_graph_flowchart.snap.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,21 @@
22
flowchart LR
33
subgraph path2 [Path]
44
2["Path<br>[0, 44, 0]"]
5+
%% [ProgramBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
56
3["Segment<br>[50, 84, 0]"]
7+
%% [ProgramBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
68
4["Segment<br>[90, 124, 0]"]
9+
%% [ProgramBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 2 }]
710
5["Segment<br>[130, 183, 0]"]
11+
%% [ProgramBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 3 }]
812
6["Segment<br>[189, 210, 0]"]
13+
%% [ProgramBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 4 }]
914
7[Solid2d]
1015
end
1116
1["Plane<br>[13, 30, 0]"]
17+
%% [ProgramBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
1218
8["Sweep Extrusion<br>[216, 236, 0]"]
19+
%% [ProgramBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 5 }]
1320
9[Wall]
1421
10[Wall]
1522
11[Wall]

rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/artifact_graph_flowchart.snap.md

Lines changed: 80 additions & 0 deletions
Large diffs are not rendered by default.

rust/kcl-lib/tests/kcl_samples/countersunk-plate/artifact_graph_flowchart.snap.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,60 @@
22
flowchart LR
33
subgraph path4 [Path]
44
4["Path<br>[812, 876, 0]"]
5+
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
56
8["Segment<br>[882, 939, 0]"]
7+
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
68
9["Segment<br>[945, 1004, 0]"]
9+
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
710
10["Segment<br>[1010, 1067, 0]"]
11+
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
812
11["Segment<br>[1073, 1126, 0]"]
13+
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
914
12["Segment<br>[1132, 1190, 0]"]
15+
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
1016
13["Segment<br>[1196, 1255, 0]"]
17+
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
1118
14["Segment<br>[1261, 1317, 0]"]
19+
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
1220
15["Segment<br>[1323, 1388, 0]"]
21+
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
1322
16["Segment<br>[1394, 1401, 0]"]
23+
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
1424
23[Solid2d]
1525
end
1626
subgraph path5 [Path]
1727
5["Path<br>[1425, 1487, 0]"]
28+
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }, CallKwArg { index: 0 }]
1829
17["Segment<br>[1425, 1487, 0]"]
30+
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }, CallKwArg { index: 0 }]
1931
20[Solid2d]
2032
end
2133
subgraph path6 [Path]
2234
6["Path<br>[1650, 1726, 0]"]
35+
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
2336
18["Segment<br>[1650, 1726, 0]"]
37+
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
2438
21[Solid2d]
2539
end
2640
subgraph path7 [Path]
2741
7["Path<br>[1650, 1726, 0]"]
42+
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
2843
19["Segment<br>[1650, 1726, 0]"]
44+
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
2945
22[Solid2d]
3046
end
3147
1["Plane<br>[700, 717, 0]"]
48+
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
3249
2["StartSketchOnFace<br>[1606, 1642, 0]"]
50+
%% Missing NodePath
3351
3["StartSketchOnFace<br>[1606, 1642, 0]"]
52+
%% Missing NodePath
3453
24["Sweep Extrusion<br>[1494, 1529, 0]"]
54+
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
3555
25["Sweep Extrusion<br>[1734, 1767, 0]"]
56+
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 2 }]
3657
26["Sweep Extrusion<br>[1734, 1767, 0]"]
58+
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 2 }]
3759
27[Wall]
3860
28[Wall]
3961
29[Wall]
@@ -67,7 +89,9 @@ flowchart LR
6789
57["SweepEdge Adjacent"]
6890
58["SweepEdge Adjacent"]
6991
59["EdgeCut Chamfer<br>[1830, 1877, 0]"]
92+
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 3 }]
7093
60["EdgeCut Chamfer<br>[1830, 1877, 0]"]
94+
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 3 }]
7195
1 --- 4
7296
1 --- 5
7397
38 x--> 2

rust/kcl-lib/tests/kcl_samples/countersunk-plate/program_memory.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ description: Variables in memory after executing countersunk-plate.kcl
162162
],
163163
"tag": null,
164164
"to": [
165-
2.7737,
165+
2.7738,
166166
-0.6983
167167
],
168168
"type": "TangentialArc",
@@ -176,7 +176,7 @@ description: Variables in memory after executing countersunk-plate.kcl
176176
"sourceRange": []
177177
},
178178
"from": [
179-
2.7737,
179+
2.7738,
180180
-0.6983
181181
],
182182
"tag": null,
@@ -196,7 +196,7 @@ description: Variables in memory after executing countersunk-plate.kcl
196196
},
197197
"ccw": false,
198198
"center": [
199-
-0.0,
199+
0.0,
200200
-0.0
201201
],
202202
"from": [

0 commit comments

Comments
 (0)