Add files via upload (#7429)
* Add files via upload * Update snapshots * Update snapshots * Update snapshots --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Jace Browning <jacebrowning@gmail.com>
This commit is contained in:
1126
rust/kcl-lib/tests/kcl_samples/mug/artifact_commands.snap
Normal file
1126
rust/kcl-lib/tests/kcl_samples/mug/artifact_commands.snap
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,6 @@
|
||||
---
|
||||
source: kcl-lib/src/simulation_tests.rs
|
||||
description: Artifact graph flowchart mug.kcl
|
||||
extension: md
|
||||
snapshot_kind: binary
|
||||
---
|
||||
@ -0,0 +1,437 @@
|
||||
```mermaid
|
||||
flowchart LR
|
||||
subgraph path6 [Path]
|
||||
6["Path<br>[406, 448, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
10["Segment<br>[454, 487, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||
11["Segment<br>[493, 561, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||
12["Segment<br>[567, 634, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||
13["Segment<br>[640, 675, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||
14["Segment<br>[681, 745, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
|
||||
15["Segment<br>[751, 790, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
||||
16["Segment<br>[796, 850, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
17["Segment<br>[856, 908, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
|
||||
18["Segment<br>[914, 965, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
|
||||
19["Segment<br>[971, 1007, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
|
||||
20["Segment<br>[1013, 1049, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
|
||||
21["Segment<br>[1055, 1062, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 13 }]
|
||||
48[Solid2d]
|
||||
end
|
||||
subgraph path7 [Path]
|
||||
7["Path<br>[1158, 1212, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
22["Segment<br>[1218, 1266, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||
23["Segment<br>[1272, 1324, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||
24["Segment<br>[1330, 1373, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||
25["Segment<br>[1379, 1445, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||
26["Segment<br>[1451, 1522, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
|
||||
end
|
||||
subgraph path8 [Path]
|
||||
8["Path<br>[1638, 1736, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
27["Segment<br>[1742, 1907, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||
28["Segment<br>[1913, 1955, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||
29["Segment<br>[1961, 1999, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||
30["Segment<br>[2005, 2048, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||
31["Segment<br>[2054, 2061, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
|
||||
47[Solid2d]
|
||||
end
|
||||
subgraph path9 [Path]
|
||||
9["Path<br>[2173, 2215, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
32["Segment<br>[2221, 2254, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||
33["Segment<br>[2260, 2328, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||
34["Segment<br>[2334, 2401, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||
35["Segment<br>[2407, 2442, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||
36["Segment<br>[2448, 2512, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
|
||||
37["Segment<br>[2518, 2557, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
||||
38["Segment<br>[2563, 2617, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
39["Segment<br>[2623, 2675, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
|
||||
40["Segment<br>[2681, 2733, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
|
||||
41["Segment<br>[2739, 2778, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
|
||||
42["Segment<br>[2784, 2837, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
|
||||
43["Segment<br>[2843, 2879, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 13 }]
|
||||
44["Segment<br>[2885, 2921, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 14 }]
|
||||
45["Segment<br>[2927, 2934, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
|
||||
46[Solid2d]
|
||||
end
|
||||
1["Plane<br>[383, 400, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||
2["Plane<br>[1135, 1152, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||
3["Plane<br>[1590, 1631, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
|
||||
4["Plane<br>[2150, 2167, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||
5["StartSketchOnPlane<br>[1576, 1632, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||
49["Sweep Revolve<br>[1068, 1085, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 14 }]
|
||||
50["Sweep Sweep<br>[2067, 2091, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
||||
51["Sweep Revolve<br>[2940, 2957, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
|
||||
52["CompositeSolid Subtract<br>[2097, 2112, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
53[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
54[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
55[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
56[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
57[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
58[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
59[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
60[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
61[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
62[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
63[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
64[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
65[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
66[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
67[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
68[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
69[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
70[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
71[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
72[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
73[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
74[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
75[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
76[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
77[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
78[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
79["Cap End"]
|
||||
%% face_code_ref=Missing NodePath
|
||||
80["Cap End"]
|
||||
%% face_code_ref=Missing NodePath
|
||||
81["SweepEdge Opposite"]
|
||||
82["SweepEdge Opposite"]
|
||||
83["SweepEdge Opposite"]
|
||||
84["SweepEdge Opposite"]
|
||||
85["SweepEdge Adjacent"]
|
||||
86["SweepEdge Adjacent"]
|
||||
87["SweepEdge Adjacent"]
|
||||
88["SweepEdge Adjacent"]
|
||||
89["SweepEdge Adjacent"]
|
||||
90["SweepEdge Adjacent"]
|
||||
91["SweepEdge Adjacent"]
|
||||
92["SweepEdge Adjacent"]
|
||||
93["SweepEdge Adjacent"]
|
||||
94["SweepEdge Adjacent"]
|
||||
95["SweepEdge Adjacent"]
|
||||
96["SweepEdge Adjacent"]
|
||||
97["SweepEdge Adjacent"]
|
||||
98["SweepEdge Adjacent"]
|
||||
99["SweepEdge Adjacent"]
|
||||
100["SweepEdge Adjacent"]
|
||||
101["SweepEdge Adjacent"]
|
||||
102["SweepEdge Adjacent"]
|
||||
103["SweepEdge Adjacent"]
|
||||
104["SweepEdge Adjacent"]
|
||||
105["SweepEdge Adjacent"]
|
||||
106["SweepEdge Adjacent"]
|
||||
107["SweepEdge Adjacent"]
|
||||
108["SweepEdge Adjacent"]
|
||||
1 --- 6
|
||||
2 --- 7
|
||||
3 <--x 5
|
||||
3 --- 8
|
||||
4 --- 9
|
||||
6 --- 10
|
||||
6 --- 11
|
||||
6 --- 12
|
||||
6 --- 13
|
||||
6 --- 14
|
||||
6 --- 15
|
||||
6 --- 16
|
||||
6 --- 17
|
||||
6 --- 18
|
||||
6 --- 19
|
||||
6 --- 20
|
||||
6 --- 21
|
||||
6 --- 48
|
||||
6 ---- 49
|
||||
6 --- 52
|
||||
7 --- 22
|
||||
7 --- 23
|
||||
7 --- 24
|
||||
7 --- 25
|
||||
7 --- 26
|
||||
8 --- 27
|
||||
8 --- 28
|
||||
8 --- 29
|
||||
8 --- 30
|
||||
8 --- 31
|
||||
8 --- 47
|
||||
8 ---- 50
|
||||
8 --- 52
|
||||
9 --- 32
|
||||
9 --- 33
|
||||
9 --- 34
|
||||
9 --- 35
|
||||
9 --- 36
|
||||
9 --- 37
|
||||
9 --- 38
|
||||
9 --- 39
|
||||
9 --- 40
|
||||
9 --- 41
|
||||
9 --- 42
|
||||
9 --- 43
|
||||
9 --- 44
|
||||
9 --- 45
|
||||
9 --- 46
|
||||
9 ---- 51
|
||||
49 <--x 10
|
||||
10 --- 72
|
||||
10 --- 96
|
||||
49 <--x 11
|
||||
11 --- 69
|
||||
11 --- 97
|
||||
49 <--x 12
|
||||
12 --- 68
|
||||
12 --- 98
|
||||
49 <--x 13
|
||||
13 --- 70
|
||||
13 --- 99
|
||||
49 <--x 14
|
||||
14 --- 67
|
||||
14 --- 100
|
||||
49 <--x 15
|
||||
15 --- 66
|
||||
15 --- 101
|
||||
49 <--x 16
|
||||
16 --- 71
|
||||
16 --- 102
|
||||
49 <--x 17
|
||||
17 --- 74
|
||||
17 --- 103
|
||||
49 <--x 18
|
||||
18 --- 73
|
||||
18 --- 104
|
||||
49 <--x 19
|
||||
19 --- 65
|
||||
27 --- 77
|
||||
27 x--> 80
|
||||
27 --- 81
|
||||
27 --- 105
|
||||
28 --- 78
|
||||
28 x--> 80
|
||||
28 --- 82
|
||||
28 --- 106
|
||||
29 --- 76
|
||||
29 x--> 80
|
||||
29 --- 83
|
||||
29 --- 107
|
||||
30 --- 75
|
||||
30 x--> 80
|
||||
30 --- 84
|
||||
30 --- 108
|
||||
51 <--x 32
|
||||
32 --- 53
|
||||
32 --- 85
|
||||
51 <--x 33
|
||||
33 --- 55
|
||||
33 --- 86
|
||||
51 <--x 34
|
||||
34 --- 62
|
||||
34 --- 87
|
||||
51 <--x 35
|
||||
35 --- 64
|
||||
35 --- 88
|
||||
51 <--x 36
|
||||
36 --- 56
|
||||
36 --- 89
|
||||
51 <--x 37
|
||||
37 --- 57
|
||||
37 --- 90
|
||||
51 <--x 38
|
||||
38 --- 54
|
||||
38 --- 91
|
||||
51 <--x 39
|
||||
39 --- 58
|
||||
39 --- 92
|
||||
51 <--x 40
|
||||
40 --- 61
|
||||
40 --- 93
|
||||
51 <--x 41
|
||||
41 --- 60
|
||||
41 --- 94
|
||||
51 <--x 42
|
||||
42 --- 63
|
||||
42 --- 95
|
||||
51 <--x 43
|
||||
43 --- 59
|
||||
49 --- 65
|
||||
49 --- 66
|
||||
49 --- 67
|
||||
49 --- 68
|
||||
49 --- 69
|
||||
49 --- 70
|
||||
49 --- 71
|
||||
49 --- 72
|
||||
49 --- 73
|
||||
49 --- 74
|
||||
49 --- 96
|
||||
49 --- 97
|
||||
49 --- 98
|
||||
49 --- 99
|
||||
49 --- 100
|
||||
49 --- 101
|
||||
49 --- 102
|
||||
49 --- 103
|
||||
49 --- 104
|
||||
50 --- 75
|
||||
50 --- 76
|
||||
50 --- 77
|
||||
50 --- 78
|
||||
50 --- 79
|
||||
50 --- 80
|
||||
50 --- 81
|
||||
50 --- 82
|
||||
50 --- 83
|
||||
50 --- 84
|
||||
50 --- 105
|
||||
50 --- 106
|
||||
50 --- 107
|
||||
50 --- 108
|
||||
51 --- 53
|
||||
51 --- 54
|
||||
51 --- 55
|
||||
51 --- 56
|
||||
51 --- 57
|
||||
51 --- 58
|
||||
51 --- 59
|
||||
51 --- 60
|
||||
51 --- 61
|
||||
51 --- 62
|
||||
51 --- 63
|
||||
51 --- 64
|
||||
51 --- 85
|
||||
51 --- 86
|
||||
51 --- 87
|
||||
51 --- 88
|
||||
51 --- 89
|
||||
51 --- 90
|
||||
51 --- 91
|
||||
51 --- 92
|
||||
51 --- 93
|
||||
51 --- 94
|
||||
51 --- 95
|
||||
53 --- 85
|
||||
90 <--x 54
|
||||
54 --- 91
|
||||
85 <--x 55
|
||||
55 --- 86
|
||||
88 <--x 56
|
||||
56 --- 89
|
||||
89 <--x 57
|
||||
57 --- 90
|
||||
91 <--x 58
|
||||
58 --- 92
|
||||
95 <--x 59
|
||||
93 <--x 60
|
||||
60 --- 94
|
||||
92 <--x 61
|
||||
61 --- 93
|
||||
86 <--x 62
|
||||
62 --- 87
|
||||
94 <--x 63
|
||||
63 --- 95
|
||||
87 <--x 64
|
||||
64 --- 88
|
||||
104 <--x 65
|
||||
100 <--x 66
|
||||
66 --- 101
|
||||
99 <--x 67
|
||||
67 --- 100
|
||||
97 <--x 68
|
||||
68 --- 98
|
||||
96 <--x 69
|
||||
69 --- 97
|
||||
98 <--x 70
|
||||
70 --- 99
|
||||
101 <--x 71
|
||||
71 --- 102
|
||||
72 --- 96
|
||||
103 <--x 73
|
||||
73 --- 104
|
||||
102 <--x 74
|
||||
74 --- 103
|
||||
75 --- 84
|
||||
105 <--x 75
|
||||
75 --- 108
|
||||
76 --- 83
|
||||
76 --- 107
|
||||
108 <--x 76
|
||||
77 --- 81
|
||||
77 --- 105
|
||||
106 <--x 77
|
||||
78 --- 82
|
||||
78 --- 106
|
||||
107 <--x 78
|
||||
81 <--x 79
|
||||
82 <--x 79
|
||||
83 <--x 79
|
||||
84 <--x 79
|
||||
```
|
||||
4561
rust/kcl-lib/tests/kcl_samples/mug/ast.snap
Normal file
4561
rust/kcl-lib/tests/kcl_samples/mug/ast.snap
Normal file
File diff suppressed because it is too large
Load Diff
731
rust/kcl-lib/tests/kcl_samples/mug/ops.snap
Normal file
731
rust/kcl-lib/tests/kcl_samples/mug/ops.snap
Normal file
@ -0,0 +1,731 @@
|
||||
---
|
||||
source: kcl-lib/src/simulation_tests.rs
|
||||
description: Operations executed mug.kcl
|
||||
---
|
||||
{
|
||||
"public/kcl-samples/mug/main.kcl": [
|
||||
{
|
||||
"type": "VariableDeclaration",
|
||||
"name": "mugDiameter",
|
||||
"value": {
|
||||
"type": "Number",
|
||||
"value": 80.0,
|
||||
"ty": {
|
||||
"type": "Default",
|
||||
"len": {
|
||||
"type": "Mm"
|
||||
},
|
||||
"angle": {
|
||||
"type": "Degrees"
|
||||
}
|
||||
}
|
||||
},
|
||||
"visibility": "default",
|
||||
"nodePath": {
|
||||
"steps": [
|
||||
{
|
||||
"type": "ProgramBodyItem",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationDeclaration"
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationInit"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclaration",
|
||||
"name": "mugHeight",
|
||||
"value": {
|
||||
"type": "Number",
|
||||
"value": 95.0,
|
||||
"ty": {
|
||||
"type": "Default",
|
||||
"len": {
|
||||
"type": "Mm"
|
||||
},
|
||||
"angle": {
|
||||
"type": "Degrees"
|
||||
}
|
||||
}
|
||||
},
|
||||
"visibility": "default",
|
||||
"nodePath": {
|
||||
"steps": [
|
||||
{
|
||||
"type": "ProgramBodyItem",
|
||||
"index": 1
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationDeclaration"
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationInit"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclaration",
|
||||
"name": "wallThickness",
|
||||
"value": {
|
||||
"type": "Number",
|
||||
"value": 6.0,
|
||||
"ty": {
|
||||
"type": "Default",
|
||||
"len": {
|
||||
"type": "Mm"
|
||||
},
|
||||
"angle": {
|
||||
"type": "Degrees"
|
||||
}
|
||||
}
|
||||
},
|
||||
"visibility": "default",
|
||||
"nodePath": {
|
||||
"steps": [
|
||||
{
|
||||
"type": "ProgramBodyItem",
|
||||
"index": 2
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationDeclaration"
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationInit"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclaration",
|
||||
"name": "handleWidth",
|
||||
"value": {
|
||||
"type": "Number",
|
||||
"value": 18.0,
|
||||
"ty": {
|
||||
"type": "Default",
|
||||
"len": {
|
||||
"type": "Mm"
|
||||
},
|
||||
"angle": {
|
||||
"type": "Degrees"
|
||||
}
|
||||
}
|
||||
},
|
||||
"visibility": "default",
|
||||
"nodePath": {
|
||||
"steps": [
|
||||
{
|
||||
"type": "ProgramBodyItem",
|
||||
"index": 3
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationDeclaration"
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationInit"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclaration",
|
||||
"name": "handleThickness",
|
||||
"value": {
|
||||
"type": "Number",
|
||||
"value": 5.0,
|
||||
"ty": {
|
||||
"type": "Default",
|
||||
"len": {
|
||||
"type": "Mm"
|
||||
},
|
||||
"angle": {
|
||||
"type": "Degrees"
|
||||
}
|
||||
}
|
||||
},
|
||||
"visibility": "default",
|
||||
"nodePath": {
|
||||
"steps": [
|
||||
{
|
||||
"type": "ProgramBodyItem",
|
||||
"index": 4
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationDeclaration"
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationInit"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
{
|
||||
"type": "StdLibCall",
|
||||
"name": "startSketchOn",
|
||||
"unlabeledArg": {
|
||||
"value": {
|
||||
"type": "Plane",
|
||||
"artifact_id": "[uuid]"
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
"labeledArgs": {},
|
||||
"nodePath": {
|
||||
"steps": [
|
||||
{
|
||||
"type": "ProgramBodyItem",
|
||||
"index": 5
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationDeclaration"
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationInit"
|
||||
},
|
||||
{
|
||||
"type": "PipeBodyItem",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
{
|
||||
"type": "StdLibCall",
|
||||
"name": "revolve",
|
||||
"unlabeledArg": {
|
||||
"value": {
|
||||
"type": "Sketch",
|
||||
"value": {
|
||||
"artifactId": "[uuid]"
|
||||
}
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
"labeledArgs": {
|
||||
"axis": {
|
||||
"value": {
|
||||
"type": "Object",
|
||||
"value": {
|
||||
"direction": {
|
||||
"type": "Array",
|
||||
"value": [
|
||||
{
|
||||
"type": "Number",
|
||||
"value": 0.0,
|
||||
"ty": {
|
||||
"type": "Default",
|
||||
"len": {
|
||||
"type": "Mm"
|
||||
},
|
||||
"angle": {
|
||||
"type": "Degrees"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Number",
|
||||
"value": 1.0,
|
||||
"ty": {
|
||||
"type": "Default",
|
||||
"len": {
|
||||
"type": "Mm"
|
||||
},
|
||||
"angle": {
|
||||
"type": "Degrees"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"origin": {
|
||||
"type": "Array",
|
||||
"value": [
|
||||
{
|
||||
"type": "Number",
|
||||
"value": 0.0,
|
||||
"ty": {
|
||||
"type": "Default",
|
||||
"len": {
|
||||
"type": "Mm"
|
||||
},
|
||||
"angle": {
|
||||
"type": "Degrees"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Number",
|
||||
"value": 0.0,
|
||||
"ty": {
|
||||
"type": "Default",
|
||||
"len": {
|
||||
"type": "Mm"
|
||||
},
|
||||
"angle": {
|
||||
"type": "Degrees"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"nodePath": {
|
||||
"steps": [
|
||||
{
|
||||
"type": "ProgramBodyItem",
|
||||
"index": 5
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationDeclaration"
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationInit"
|
||||
},
|
||||
{
|
||||
"type": "PipeBodyItem",
|
||||
"index": 14
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
{
|
||||
"type": "StdLibCall",
|
||||
"name": "startSketchOn",
|
||||
"unlabeledArg": {
|
||||
"value": {
|
||||
"type": "Plane",
|
||||
"artifact_id": "[uuid]"
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
"labeledArgs": {},
|
||||
"nodePath": {
|
||||
"steps": [
|
||||
{
|
||||
"type": "ProgramBodyItem",
|
||||
"index": 6
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationDeclaration"
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationInit"
|
||||
},
|
||||
{
|
||||
"type": "PipeBodyItem",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
{
|
||||
"type": "StdLibCall",
|
||||
"name": "offsetPlane",
|
||||
"unlabeledArg": {
|
||||
"value": {
|
||||
"type": "Plane",
|
||||
"artifact_id": "[uuid]"
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
"labeledArgs": {
|
||||
"offset": {
|
||||
"value": {
|
||||
"type": "Number",
|
||||
"value": 26.667,
|
||||
"ty": {
|
||||
"type": "Default",
|
||||
"len": {
|
||||
"type": "Mm"
|
||||
},
|
||||
"angle": {
|
||||
"type": "Degrees"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"nodePath": {
|
||||
"steps": [
|
||||
{
|
||||
"type": "ProgramBodyItem",
|
||||
"index": 7
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationDeclaration"
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationInit"
|
||||
},
|
||||
{
|
||||
"type": "PipeBodyItem",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"type": "CallKwUnlabeledArg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
{
|
||||
"type": "StdLibCall",
|
||||
"name": "startSketchOn",
|
||||
"unlabeledArg": {
|
||||
"value": {
|
||||
"type": "Plane",
|
||||
"artifact_id": "[uuid]"
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
"labeledArgs": {},
|
||||
"nodePath": {
|
||||
"steps": [
|
||||
{
|
||||
"type": "ProgramBodyItem",
|
||||
"index": 7
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationDeclaration"
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationInit"
|
||||
},
|
||||
{
|
||||
"type": "PipeBodyItem",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
{
|
||||
"type": "StdLibCall",
|
||||
"name": "sweep",
|
||||
"unlabeledArg": {
|
||||
"value": {
|
||||
"type": "Sketch",
|
||||
"value": {
|
||||
"artifactId": "[uuid]"
|
||||
}
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
"labeledArgs": {
|
||||
"path": {
|
||||
"value": {
|
||||
"type": "Sketch",
|
||||
"value": {
|
||||
"artifactId": "[uuid]"
|
||||
}
|
||||
},
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"nodePath": {
|
||||
"steps": [
|
||||
{
|
||||
"type": "ProgramBodyItem",
|
||||
"index": 7
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationDeclaration"
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationInit"
|
||||
},
|
||||
{
|
||||
"type": "PipeBodyItem",
|
||||
"index": 7
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
{
|
||||
"type": "StdLibCall",
|
||||
"name": "subtract",
|
||||
"unlabeledArg": {
|
||||
"value": {
|
||||
"type": "Solid",
|
||||
"value": {
|
||||
"artifactId": "[uuid]"
|
||||
}
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
"labeledArgs": {
|
||||
"tools": {
|
||||
"value": {
|
||||
"type": "Solid",
|
||||
"value": {
|
||||
"artifactId": "[uuid]"
|
||||
}
|
||||
},
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"nodePath": {
|
||||
"steps": [
|
||||
{
|
||||
"type": "ProgramBodyItem",
|
||||
"index": 7
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationDeclaration"
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationInit"
|
||||
},
|
||||
{
|
||||
"type": "PipeBodyItem",
|
||||
"index": 8
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
{
|
||||
"type": "StdLibCall",
|
||||
"name": "startSketchOn",
|
||||
"unlabeledArg": {
|
||||
"value": {
|
||||
"type": "Plane",
|
||||
"artifact_id": "[uuid]"
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
"labeledArgs": {},
|
||||
"nodePath": {
|
||||
"steps": [
|
||||
{
|
||||
"type": "ProgramBodyItem",
|
||||
"index": 8
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationDeclaration"
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationInit"
|
||||
},
|
||||
{
|
||||
"type": "PipeBodyItem",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
{
|
||||
"type": "StdLibCall",
|
||||
"name": "revolve",
|
||||
"unlabeledArg": {
|
||||
"value": {
|
||||
"type": "Sketch",
|
||||
"value": {
|
||||
"artifactId": "[uuid]"
|
||||
}
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
"labeledArgs": {
|
||||
"axis": {
|
||||
"value": {
|
||||
"type": "Object",
|
||||
"value": {
|
||||
"direction": {
|
||||
"type": "Array",
|
||||
"value": [
|
||||
{
|
||||
"type": "Number",
|
||||
"value": 0.0,
|
||||
"ty": {
|
||||
"type": "Default",
|
||||
"len": {
|
||||
"type": "Mm"
|
||||
},
|
||||
"angle": {
|
||||
"type": "Degrees"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Number",
|
||||
"value": 1.0,
|
||||
"ty": {
|
||||
"type": "Default",
|
||||
"len": {
|
||||
"type": "Mm"
|
||||
},
|
||||
"angle": {
|
||||
"type": "Degrees"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"origin": {
|
||||
"type": "Array",
|
||||
"value": [
|
||||
{
|
||||
"type": "Number",
|
||||
"value": 0.0,
|
||||
"ty": {
|
||||
"type": "Default",
|
||||
"len": {
|
||||
"type": "Mm"
|
||||
},
|
||||
"angle": {
|
||||
"type": "Degrees"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Number",
|
||||
"value": 0.0,
|
||||
"ty": {
|
||||
"type": "Default",
|
||||
"len": {
|
||||
"type": "Mm"
|
||||
},
|
||||
"angle": {
|
||||
"type": "Degrees"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"nodePath": {
|
||||
"steps": [
|
||||
{
|
||||
"type": "ProgramBodyItem",
|
||||
"index": 8
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationDeclaration"
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclarationInit"
|
||||
},
|
||||
{
|
||||
"type": "PipeBodyItem",
|
||||
"index": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRange": []
|
||||
}
|
||||
],
|
||||
"std::appearance": [],
|
||||
"std::array": [],
|
||||
"std::math": [
|
||||
{
|
||||
"type": "VariableDeclaration",
|
||||
"name": "PI",
|
||||
"value": {
|
||||
"type": "Number",
|
||||
"value": 3.142,
|
||||
"ty": {
|
||||
"type": "Unknown"
|
||||
}
|
||||
},
|
||||
"visibility": "export",
|
||||
"nodePath": {
|
||||
"steps": []
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclaration",
|
||||
"name": "E",
|
||||
"value": {
|
||||
"type": "Number",
|
||||
"value": 2.718,
|
||||
"ty": {
|
||||
"type": "Known",
|
||||
"type": "Count"
|
||||
}
|
||||
},
|
||||
"visibility": "export",
|
||||
"nodePath": {
|
||||
"steps": []
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclaration",
|
||||
"name": "TAU",
|
||||
"value": {
|
||||
"type": "Number",
|
||||
"value": 6.283,
|
||||
"ty": {
|
||||
"type": "Known",
|
||||
"type": "Count"
|
||||
}
|
||||
},
|
||||
"visibility": "export",
|
||||
"nodePath": {
|
||||
"steps": []
|
||||
},
|
||||
"sourceRange": []
|
||||
}
|
||||
],
|
||||
"std::prelude": [
|
||||
{
|
||||
"type": "VariableDeclaration",
|
||||
"name": "START",
|
||||
"value": {
|
||||
"type": "String",
|
||||
"value": "start"
|
||||
},
|
||||
"visibility": "export",
|
||||
"nodePath": {
|
||||
"steps": []
|
||||
},
|
||||
"sourceRange": []
|
||||
},
|
||||
{
|
||||
"type": "VariableDeclaration",
|
||||
"name": "END",
|
||||
"value": {
|
||||
"type": "String",
|
||||
"value": "end"
|
||||
},
|
||||
"visibility": "export",
|
||||
"nodePath": {
|
||||
"steps": []
|
||||
},
|
||||
"sourceRange": []
|
||||
}
|
||||
],
|
||||
"std::sketch": [],
|
||||
"std::solid": [],
|
||||
"std::sweep": [],
|
||||
"std::transform": [],
|
||||
"std::turns": [],
|
||||
"std::types": [],
|
||||
"std::units": []
|
||||
}
|
||||
1345
rust/kcl-lib/tests/kcl_samples/mug/program_memory.snap
Normal file
1345
rust/kcl-lib/tests/kcl_samples/mug/program_memory.snap
Normal file
File diff suppressed because it is too large
Load Diff
BIN
rust/kcl-lib/tests/kcl_samples/mug/rendered_model.png
Normal file
BIN
rust/kcl-lib/tests/kcl_samples/mug/rendered_model.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 114 KiB |
1846
rust/kcl-lib/tests/kcl_samples/spool/artifact_commands.snap
Normal file
1846
rust/kcl-lib/tests/kcl_samples/spool/artifact_commands.snap
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,6 @@
|
||||
---
|
||||
source: kcl-lib/src/simulation_tests.rs
|
||||
description: Artifact graph flowchart spool.kcl
|
||||
extension: md
|
||||
snapshot_kind: binary
|
||||
---
|
||||
@ -0,0 +1,343 @@
|
||||
```mermaid
|
||||
flowchart LR
|
||||
subgraph path5 [Path]
|
||||
5["Path<br>[377, 417, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
9["Segment<br>[423, 457, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||
10["Segment<br>[463, 516, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||
11["Segment<br>[522, 572, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||
12["Segment<br>[578, 628, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||
13["Segment<br>[634, 670, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
|
||||
14["Segment<br>[676, 712, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
||||
15["Segment<br>[718, 725, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
30[Solid2d]
|
||||
end
|
||||
subgraph path6 [Path]
|
||||
6["Path<br>[983, 1013, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
16["Segment<br>[1021, 1083, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||
19["Segment<br>[1091, 1130, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||
20["Segment<br>[1138, 1258, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||
22["Segment<br>[1266, 1322, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||
24["Segment<br>[1330, 1337, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
|
||||
27[Solid2d]
|
||||
end
|
||||
subgraph path7 [Path]
|
||||
7["Path<br>[983, 1013, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
17["Segment<br>[1021, 1083, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||
18["Segment<br>[1091, 1130, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||
21["Segment<br>[1138, 1258, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||
23["Segment<br>[1266, 1322, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||
25["Segment<br>[1330, 1337, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
|
||||
28[Solid2d]
|
||||
end
|
||||
subgraph path8 [Path]
|
||||
8["Path<br>[2214, 2297, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
26["Segment<br>[2214, 2297, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
29[Solid2d]
|
||||
end
|
||||
1["Plane<br>[354, 371, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||
2["Plane<br>[2191, 2208, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||
3["StartSketchOnFace<br>[937, 975, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||
4["StartSketchOnFace<br>[937, 975, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||
31["Sweep Revolve<br>[731, 748, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
|
||||
32["Sweep Extrusion<br>[1402, 1426, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
33["Sweep Extrusion<br>[1402, 1426, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
34["Sweep Extrusion<br>[1402, 1426, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
35["Sweep Extrusion<br>[1402, 1426, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
36["Sweep Extrusion<br>[1402, 1426, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
37["Sweep Extrusion<br>[1402, 1426, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
38["Sweep Extrusion<br>[1402, 1426, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
39["Sweep Extrusion<br>[1402, 1426, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
40["Sweep Extrusion<br>[1402, 1426, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
41["Sweep Extrusion<br>[1402, 1426, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
42["Sweep Extrusion<br>[1402, 1426, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
43["Sweep Extrusion<br>[1402, 1426, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
44["Sweep Extrusion<br>[1402, 1426, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
45["Sweep Extrusion<br>[1402, 1426, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
46["Sweep Extrusion<br>[1402, 1426, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
47["Sweep Extrusion<br>[1402, 1426, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
48["Sweep Sweep<br>[2303, 2322, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||
49[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
50[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
51[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
52[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
53[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
54[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
55[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
56[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
57[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
58[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
59[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
60[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
61[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
62[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
63[Wall]
|
||||
%% face_code_ref=[ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||
64["Cap Start"]
|
||||
%% face_code_ref=Missing NodePath
|
||||
65["Cap Start"]
|
||||
%% face_code_ref=Missing NodePath
|
||||
66["Cap Start"]
|
||||
%% face_code_ref=Missing NodePath
|
||||
67["Cap End"]
|
||||
%% face_code_ref=Missing NodePath
|
||||
68["SweepEdge Opposite"]
|
||||
69["SweepEdge Opposite"]
|
||||
70["SweepEdge Opposite"]
|
||||
71["SweepEdge Opposite"]
|
||||
72["SweepEdge Opposite"]
|
||||
73["SweepEdge Opposite"]
|
||||
74["SweepEdge Opposite"]
|
||||
75["SweepEdge Opposite"]
|
||||
76["SweepEdge Opposite"]
|
||||
77["SweepEdge Adjacent"]
|
||||
78["SweepEdge Adjacent"]
|
||||
79["SweepEdge Adjacent"]
|
||||
80["SweepEdge Adjacent"]
|
||||
81["SweepEdge Adjacent"]
|
||||
82["SweepEdge Adjacent"]
|
||||
83["SweepEdge Adjacent"]
|
||||
84["SweepEdge Adjacent"]
|
||||
85["SweepEdge Adjacent"]
|
||||
86["SweepEdge Adjacent"]
|
||||
87["SweepEdge Adjacent"]
|
||||
88["SweepEdge Adjacent"]
|
||||
89["SweepEdge Adjacent"]
|
||||
90["SweepEdge Adjacent"]
|
||||
91["SweepEdge Adjacent"]
|
||||
92["Helix<br>[1987, 2153, 0]"]
|
||||
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit]
|
||||
1 --- 5
|
||||
2 --- 8
|
||||
63 x--> 3
|
||||
63 x--> 4
|
||||
5 --- 9
|
||||
5 --- 10
|
||||
5 --- 11
|
||||
5 --- 12
|
||||
5 --- 13
|
||||
5 --- 14
|
||||
5 --- 15
|
||||
5 --- 30
|
||||
5 ---- 31
|
||||
6 --- 16
|
||||
6 --- 19
|
||||
6 --- 20
|
||||
6 --- 22
|
||||
6 --- 24
|
||||
6 --- 27
|
||||
6 ---- 37
|
||||
63 --- 6
|
||||
7 --- 17
|
||||
7 --- 18
|
||||
7 --- 21
|
||||
7 --- 23
|
||||
7 --- 25
|
||||
7 --- 28
|
||||
7 ---- 38
|
||||
63 --- 7
|
||||
8 --- 26
|
||||
8 --- 29
|
||||
8 ---- 48
|
||||
31 <--x 9
|
||||
9 --- 62
|
||||
9 --- 86
|
||||
31 <--x 10
|
||||
10 --- 61
|
||||
10 --- 87
|
||||
31 <--x 11
|
||||
11 --- 60
|
||||
11 --- 88
|
||||
31 <--x 12
|
||||
12 --- 63
|
||||
12 --- 89
|
||||
31 <--x 13
|
||||
13 --- 59
|
||||
13 --- 90
|
||||
31 <--x 14
|
||||
14 --- 58
|
||||
14 --- 91
|
||||
16 --- 51
|
||||
16 x--> 63
|
||||
16 --- 68
|
||||
16 --- 77
|
||||
17 --- 56
|
||||
17 x--> 63
|
||||
17 --- 72
|
||||
17 --- 81
|
||||
18 --- 53
|
||||
18 x--> 63
|
||||
18 --- 73
|
||||
18 --- 82
|
||||
19 --- 50
|
||||
19 x--> 63
|
||||
19 --- 69
|
||||
19 --- 78
|
||||
20 --- 49
|
||||
20 x--> 63
|
||||
20 --- 70
|
||||
20 --- 79
|
||||
21 --- 54
|
||||
21 x--> 63
|
||||
21 --- 74
|
||||
21 --- 83
|
||||
22 --- 52
|
||||
22 x--> 63
|
||||
22 --- 71
|
||||
22 --- 80
|
||||
23 --- 55
|
||||
23 x--> 63
|
||||
23 --- 75
|
||||
23 --- 84
|
||||
26 --- 57
|
||||
26 x--> 64
|
||||
26 --- 76
|
||||
26 --- 85
|
||||
31 --- 58
|
||||
31 --- 59
|
||||
31 --- 60
|
||||
31 --- 61
|
||||
31 --- 62
|
||||
31 --- 63
|
||||
31 --- 86
|
||||
31 --- 87
|
||||
31 --- 88
|
||||
31 --- 89
|
||||
31 --- 90
|
||||
31 --- 91
|
||||
37 --- 49
|
||||
37 --- 50
|
||||
37 --- 51
|
||||
37 --- 52
|
||||
37 --- 66
|
||||
37 --- 68
|
||||
37 --- 69
|
||||
37 --- 70
|
||||
37 --- 71
|
||||
37 --- 77
|
||||
37 --- 78
|
||||
37 --- 79
|
||||
37 --- 80
|
||||
38 --- 53
|
||||
38 --- 54
|
||||
38 --- 55
|
||||
38 --- 56
|
||||
38 --- 65
|
||||
38 --- 72
|
||||
38 --- 73
|
||||
38 --- 74
|
||||
38 --- 75
|
||||
38 --- 81
|
||||
38 --- 82
|
||||
38 --- 83
|
||||
38 --- 84
|
||||
48 --- 57
|
||||
48 --- 64
|
||||
48 --- 67
|
||||
48 --- 76
|
||||
48 --- 85
|
||||
49 --- 70
|
||||
78 <--x 49
|
||||
49 --- 79
|
||||
50 --- 69
|
||||
77 <--x 50
|
||||
50 --- 78
|
||||
51 --- 68
|
||||
51 --- 77
|
||||
80 <--x 51
|
||||
52 --- 71
|
||||
79 <--x 52
|
||||
52 --- 80
|
||||
53 --- 73
|
||||
81 <--x 53
|
||||
53 --- 82
|
||||
54 --- 74
|
||||
82 <--x 54
|
||||
54 --- 83
|
||||
55 --- 75
|
||||
83 <--x 55
|
||||
55 --- 84
|
||||
56 --- 72
|
||||
56 --- 81
|
||||
84 <--x 56
|
||||
57 --- 76
|
||||
57 --- 85
|
||||
90 <--x 58
|
||||
58 --- 91
|
||||
89 <--x 59
|
||||
59 --- 90
|
||||
87 <--x 60
|
||||
60 --- 88
|
||||
86 <--x 61
|
||||
61 --- 87
|
||||
62 --- 86
|
||||
91 <--x 62
|
||||
88 <--x 63
|
||||
63 --- 89
|
||||
72 <--x 65
|
||||
73 <--x 65
|
||||
74 <--x 65
|
||||
75 <--x 65
|
||||
68 <--x 66
|
||||
69 <--x 66
|
||||
70 <--x 66
|
||||
71 <--x 66
|
||||
76 <--x 67
|
||||
```
|
||||
3376
rust/kcl-lib/tests/kcl_samples/spool/ast.snap
Normal file
3376
rust/kcl-lib/tests/kcl_samples/spool/ast.snap
Normal file
File diff suppressed because it is too large
Load Diff
1393
rust/kcl-lib/tests/kcl_samples/spool/ops.snap
Normal file
1393
rust/kcl-lib/tests/kcl_samples/spool/ops.snap
Normal file
File diff suppressed because it is too large
Load Diff
11943
rust/kcl-lib/tests/kcl_samples/spool/program_memory.snap
Normal file
11943
rust/kcl-lib/tests/kcl_samples/spool/program_memory.snap
Normal file
File diff suppressed because it is too large
Load Diff
BIN
rust/kcl-lib/tests/kcl_samples/spool/rendered_model.png
Normal file
BIN
rust/kcl-lib/tests/kcl_samples/spool/rendered_model.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 155 KiB |
1558
rust/kcl-lib/tests/kcl_samples/teapot/artifact_commands.snap
Normal file
1558
rust/kcl-lib/tests/kcl_samples/teapot/artifact_commands.snap
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,6 @@
|
||||
---
|
||||
source: kcl-lib/src/simulation_tests.rs
|
||||
description: Artifact graph flowchart teapot.kcl
|
||||
extension: md
|
||||
snapshot_kind: binary
|
||||
---
|
||||
@ -0,0 +1,439 @@
|
||||
```mermaid
|
||||
flowchart LR
|
||||
subgraph path9 [Path]
|
||||
9["Path<br>[343, 401, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
17["Segment<br>[407, 429, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||
18["Segment<br>[435, 489, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||
19["Segment<br>[495, 550, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||
20["Segment<br>[556, 595, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||
end
|
||||
subgraph path10 [Path]
|
||||
10["Path<br>[699, 759, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
21["Segment<br>[699, 759, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
54[Solid2d]
|
||||
end
|
||||
subgraph path11 [Path]
|
||||
11["Path<br>[783, 849, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
|
||||
22["Segment<br>[783, 849, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
|
||||
58[Solid2d]
|
||||
end
|
||||
subgraph path12 [Path]
|
||||
12["Path<br>[1018, 1043, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
23["Segment<br>[1049, 1085, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||
24["Segment<br>[1091, 1185, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||
25["Segment<br>[1191, 1283, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||
26["Segment<br>[1289, 1354, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||
27["Segment<br>[1360, 1397, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
|
||||
28["Segment<br>[1403, 1438, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
||||
29["Segment<br>[1444, 1451, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
53[Solid2d]
|
||||
end
|
||||
subgraph path13 [Path]
|
||||
13["Path<br>[1545, 1581, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
30["Segment<br>[1587, 1610, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||
31["Segment<br>[1616, 1650, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||
32["Segment<br>[1656, 1691, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||
33["Segment<br>[1697, 1732, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||
34["Segment<br>[1738, 1787, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
|
||||
35["Segment<br>[1793, 1850, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
||||
end
|
||||
subgraph path14 [Path]
|
||||
14["Path<br>[1904, 1948, 0]"]
|
||||
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
36["Segment<br>[1954, 2037, 0]"]
|
||||
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||
37["Segment<br>[2043, 2071, 0]"]
|
||||
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||
38["Segment<br>[2077, 2106, 0]"]
|
||||
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||
39["Segment<br>[2112, 2155, 0]"]
|
||||
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||
40["Segment<br>[2161, 2168, 0]"]
|
||||
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
|
||||
56[Solid2d]
|
||||
end
|
||||
subgraph path15 [Path]
|
||||
15["Path<br>[2308, 2368, 0]"]
|
||||
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
41["Segment<br>[2308, 2368, 0]"]
|
||||
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
57[Solid2d]
|
||||
end
|
||||
subgraph path16 [Path]
|
||||
16["Path<br>[2477, 2502, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||
42["Segment<br>[2508, 2544, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||
43["Segment<br>[2550, 2644, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||
44["Segment<br>[2650, 2742, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||
45["Segment<br>[2748, 2813, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||
46["Segment<br>[2819, 2871, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
|
||||
47["Segment<br>[2877, 2985, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
||||
48["Segment<br>[2991, 3101, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
49["Segment<br>[3107, 3212, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
|
||||
50["Segment<br>[3218, 3255, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
|
||||
51["Segment<br>[3261, 3296, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
|
||||
52["Segment<br>[3302, 3309, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
|
||||
55[Solid2d]
|
||||
end
|
||||
1["Plane<br>[320, 337, 0]"]
|
||||
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||
2["Plane<br>[643, 692, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
|
||||
3["Plane<br>[995, 1012, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||
4["Plane<br>[1522, 1539, 0]"]
|
||||
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||
5["Plane<br>[1881, 1898, 0]"]
|
||||
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||
6["Plane<br>[2285, 2302, 0]"]
|
||||
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||
7["Plane<br>[2454, 2471, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||
8["StartSketchOnPlane<br>[629, 693, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||
59["Sweep Sweep<br>[856, 879, 0]"]
|
||||
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||
60["Sweep Revolve<br>[1457, 1474, 0]"]
|
||||
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
|
||||
61["Sweep Sweep<br>[2174, 2198, 0]"]
|
||||
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
||||
62["Sweep Extrusion<br>[2374, 2413, 0]"]
|
||||
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||
63["Sweep Revolve<br>[3315, 3332, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 13 }]
|
||||
64["CompositeSolid Subtract<br>[3338, 3367, 0]"]
|
||||
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 14 }]
|
||||
65["CompositeSolid Subtract<br>[2204, 2219, 0]"]
|
||||
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||
66[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
67[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
68[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
69[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
70[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
71[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
72[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
73[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
74[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
75[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
76[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
77[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
78[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
79[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
80[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
81[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
82[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
83[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
84[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
85[Wall]
|
||||
%% face_code_ref=Missing NodePath
|
||||
86["Cap Start"]
|
||||
%% face_code_ref=Missing NodePath
|
||||
87["Cap Start"]
|
||||
%% face_code_ref=Missing NodePath
|
||||
88["Cap Start"]
|
||||
%% face_code_ref=Missing NodePath
|
||||
89["Cap End"]
|
||||
%% face_code_ref=Missing NodePath
|
||||
90["Cap End"]
|
||||
%% face_code_ref=Missing NodePath
|
||||
91["Cap End"]
|
||||
%% face_code_ref=Missing NodePath
|
||||
92["SweepEdge Opposite"]
|
||||
93["SweepEdge Opposite"]
|
||||
94["SweepEdge Opposite"]
|
||||
95["SweepEdge Opposite"]
|
||||
96["SweepEdge Opposite"]
|
||||
97["SweepEdge Opposite"]
|
||||
98["SweepEdge Adjacent"]
|
||||
99["SweepEdge Adjacent"]
|
||||
100["SweepEdge Adjacent"]
|
||||
101["SweepEdge Adjacent"]
|
||||
102["SweepEdge Adjacent"]
|
||||
103["SweepEdge Adjacent"]
|
||||
104["SweepEdge Adjacent"]
|
||||
105["SweepEdge Adjacent"]
|
||||
106["SweepEdge Adjacent"]
|
||||
107["SweepEdge Adjacent"]
|
||||
108["SweepEdge Adjacent"]
|
||||
109["SweepEdge Adjacent"]
|
||||
110["SweepEdge Adjacent"]
|
||||
111["SweepEdge Adjacent"]
|
||||
112["SweepEdge Adjacent"]
|
||||
113["SweepEdge Adjacent"]
|
||||
114["SweepEdge Adjacent"]
|
||||
115["SweepEdge Adjacent"]
|
||||
1 --- 9
|
||||
2 <--x 8
|
||||
2 --- 10
|
||||
2 --- 11
|
||||
3 --- 12
|
||||
4 --- 13
|
||||
5 --- 14
|
||||
6 --- 15
|
||||
7 --- 16
|
||||
9 --- 17
|
||||
9 --- 18
|
||||
9 --- 19
|
||||
9 --- 20
|
||||
10 --- 21
|
||||
10 --- 54
|
||||
10 ---- 59
|
||||
11 --- 22
|
||||
11 --- 58
|
||||
12 --- 23
|
||||
12 --- 24
|
||||
12 --- 25
|
||||
12 --- 26
|
||||
12 --- 27
|
||||
12 --- 28
|
||||
12 --- 29
|
||||
12 --- 53
|
||||
12 ---- 60
|
||||
12 --- 65
|
||||
13 --- 30
|
||||
13 --- 31
|
||||
13 --- 32
|
||||
13 --- 33
|
||||
13 --- 34
|
||||
13 --- 35
|
||||
14 --- 36
|
||||
14 --- 37
|
||||
14 --- 38
|
||||
14 --- 39
|
||||
14 --- 40
|
||||
14 --- 56
|
||||
14 ---- 61
|
||||
14 --- 65
|
||||
15 --- 41
|
||||
15 --- 57
|
||||
15 ---- 62
|
||||
15 --- 64
|
||||
16 --- 42
|
||||
16 --- 43
|
||||
16 --- 44
|
||||
16 --- 45
|
||||
16 --- 46
|
||||
16 --- 47
|
||||
16 --- 48
|
||||
16 --- 49
|
||||
16 --- 50
|
||||
16 --- 51
|
||||
16 --- 52
|
||||
16 --- 55
|
||||
16 ---- 63
|
||||
16 --- 64
|
||||
21 --- 80
|
||||
21 x--> 90
|
||||
21 --- 97
|
||||
21 --- 111
|
||||
60 <--x 23
|
||||
23 --- 82
|
||||
23 --- 112
|
||||
60 <--x 24
|
||||
24 --- 83
|
||||
24 --- 113
|
||||
60 <--x 25
|
||||
25 --- 81
|
||||
25 --- 114
|
||||
60 <--x 26
|
||||
26 --- 84
|
||||
26 --- 115
|
||||
60 <--x 27
|
||||
27 --- 85
|
||||
36 --- 68
|
||||
36 x--> 88
|
||||
36 --- 92
|
||||
36 --- 98
|
||||
37 --- 67
|
||||
37 x--> 88
|
||||
37 --- 93
|
||||
37 --- 99
|
||||
38 --- 69
|
||||
38 x--> 88
|
||||
38 --- 94
|
||||
38 --- 100
|
||||
39 --- 66
|
||||
39 x--> 88
|
||||
39 --- 95
|
||||
39 --- 101
|
||||
41 --- 70
|
||||
41 x--> 89
|
||||
41 --- 96
|
||||
41 --- 102
|
||||
63 <--x 42
|
||||
42 --- 79
|
||||
42 --- 103
|
||||
63 <--x 43
|
||||
43 --- 74
|
||||
43 --- 104
|
||||
63 <--x 44
|
||||
44 --- 77
|
||||
44 --- 105
|
||||
63 <--x 45
|
||||
45 --- 76
|
||||
45 --- 106
|
||||
63 <--x 46
|
||||
46 --- 72
|
||||
46 --- 107
|
||||
63 <--x 47
|
||||
47 --- 73
|
||||
47 --- 108
|
||||
63 <--x 48
|
||||
48 --- 71
|
||||
48 --- 109
|
||||
63 <--x 49
|
||||
49 --- 78
|
||||
49 --- 110
|
||||
63 <--x 50
|
||||
50 --- 75
|
||||
59 --- 80
|
||||
59 --- 90
|
||||
59 --- 91
|
||||
59 --- 97
|
||||
59 --- 111
|
||||
60 --- 81
|
||||
60 --- 82
|
||||
60 --- 83
|
||||
60 --- 84
|
||||
60 --- 85
|
||||
60 --- 112
|
||||
60 --- 113
|
||||
60 --- 114
|
||||
60 --- 115
|
||||
61 --- 66
|
||||
61 --- 67
|
||||
61 --- 68
|
||||
61 --- 69
|
||||
61 --- 87
|
||||
61 --- 88
|
||||
61 --- 92
|
||||
61 --- 93
|
||||
61 --- 94
|
||||
61 --- 95
|
||||
61 --- 98
|
||||
61 --- 99
|
||||
61 --- 100
|
||||
61 --- 101
|
||||
62 --- 70
|
||||
62 --- 86
|
||||
62 --- 89
|
||||
62 --- 96
|
||||
62 --- 102
|
||||
63 --- 71
|
||||
63 --- 72
|
||||
63 --- 73
|
||||
63 --- 74
|
||||
63 --- 75
|
||||
63 --- 76
|
||||
63 --- 77
|
||||
63 --- 78
|
||||
63 --- 79
|
||||
63 --- 103
|
||||
63 --- 104
|
||||
63 --- 105
|
||||
63 --- 106
|
||||
63 --- 107
|
||||
63 --- 108
|
||||
63 --- 109
|
||||
63 --- 110
|
||||
66 --- 95
|
||||
98 <--x 66
|
||||
66 --- 101
|
||||
67 --- 93
|
||||
67 --- 99
|
||||
100 <--x 67
|
||||
68 --- 92
|
||||
68 --- 98
|
||||
99 <--x 68
|
||||
69 --- 94
|
||||
69 --- 100
|
||||
101 <--x 69
|
||||
70 --- 96
|
||||
70 --- 102
|
||||
108 <--x 71
|
||||
71 --- 109
|
||||
106 <--x 72
|
||||
72 --- 107
|
||||
107 <--x 73
|
||||
73 --- 108
|
||||
103 <--x 74
|
||||
74 --- 104
|
||||
110 <--x 75
|
||||
105 <--x 76
|
||||
76 --- 106
|
||||
104 <--x 77
|
||||
77 --- 105
|
||||
109 <--x 78
|
||||
78 --- 110
|
||||
79 --- 103
|
||||
80 --- 97
|
||||
80 --- 111
|
||||
113 <--x 81
|
||||
81 --- 114
|
||||
82 --- 112
|
||||
112 <--x 83
|
||||
83 --- 113
|
||||
114 <--x 84
|
||||
84 --- 115
|
||||
115 <--x 85
|
||||
96 <--x 86
|
||||
92 <--x 87
|
||||
93 <--x 87
|
||||
94 <--x 87
|
||||
95 <--x 87
|
||||
97 <--x 91
|
||||
```
|
||||
4963
rust/kcl-lib/tests/kcl_samples/teapot/ast.snap
Normal file
4963
rust/kcl-lib/tests/kcl_samples/teapot/ast.snap
Normal file
File diff suppressed because it is too large
Load Diff
1008
rust/kcl-lib/tests/kcl_samples/teapot/ops.snap
Normal file
1008
rust/kcl-lib/tests/kcl_samples/teapot/ops.snap
Normal file
File diff suppressed because it is too large
Load Diff
1533
rust/kcl-lib/tests/kcl_samples/teapot/program_memory.snap
Normal file
1533
rust/kcl-lib/tests/kcl_samples/teapot/program_memory.snap
Normal file
File diff suppressed because it is too large
Load Diff
BIN
rust/kcl-lib/tests/kcl_samples/teapot/rendered_model.png
Normal file
BIN
rust/kcl-lib/tests/kcl_samples/teapot/rendered_model.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 128 KiB |
Reference in New Issue
Block a user