Skip to content

Commit c95c333

Browse files
committed
Tweak test
1 parent cec083d commit c95c333

File tree

9 files changed

+861
-495
lines changed

9 files changed

+861
-495
lines changed

rust/kcl-lib/tests/tag_inner_face/artifact_commands.snap

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -106,23 +106,6 @@ description: Artifact commands tag_inner_face.kcl
106106
}
107107
}
108108
},
109-
{
110-
"cmdId": "[uuid]",
111-
"range": [],
112-
"command": {
113-
"type": "extend_path",
114-
"path": "[uuid]",
115-
"segment": {
116-
"type": "line",
117-
"end": {
118-
"x": -25.4,
119-
"y": -29.463999999999995,
120-
"z": 0.0
121-
},
122-
"relative": false
123-
}
124-
}
125-
},
126109
{
127110
"cmdId": "[uuid]",
128111
"range": [],
@@ -208,23 +191,6 @@ description: Artifact commands tag_inner_face.kcl
208191
}
209192
}
210193
},
211-
{
212-
"cmdId": "[uuid]",
213-
"range": [],
214-
"command": {
215-
"type": "extend_path",
216-
"path": "[uuid]",
217-
"segment": {
218-
"type": "line",
219-
"end": {
220-
"x": 3.556,
221-
"y": -21.336,
222-
"z": 0.0
223-
},
224-
"relative": false
225-
}
226-
}
227-
},
228194
{
229195
"cmdId": "[uuid]",
230196
"range": [],

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

Lines changed: 55 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -7,91 +7,85 @@ flowchart LR
77
%% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
88
4["Segment<br>[152, 191, 0]"]
99
%% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
10-
5["Segment<br>[197, 253, 0]"]
10+
5["Segment<br>[197, 204, 0]"]
1111
%% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
12-
6["Segment<br>[259, 266, 0]"]
13-
%% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
14-
7[Solid2d]
12+
6[Solid2d]
1513
end
16-
subgraph path8 [Path]
17-
8["Path<br>[280, 323, 0]"]
14+
subgraph path7 [Path]
15+
7["Path<br>[218, 261, 0]"]
1816
%% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
19-
9["Segment<br>[329, 353, 0]"]
17+
8["Segment<br>[267, 291, 0]"]
2018
%% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
21-
10["Segment<br>[359, 397, 0]"]
19+
9["Segment<br>[297, 335, 0]"]
2220
%% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
23-
11["Segment<br>[403, 459, 0]"]
21+
10["Segment<br>[341, 348, 0]"]
2422
%% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
25-
12["Segment<br>[465, 472, 0]"]
26-
%% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
27-
13[Solid2d]
23+
11[Solid2d]
2824
end
2925
1["Plane<br>[47, 65, 0]"]
3026
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit]
31-
14["Sweep Extrusion<br>[535, 559, 0]"]
27+
12["Sweep Extrusion<br>[411, 435, 0]"]
3228
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit]
33-
15[Wall]
29+
13[Wall]
3430
%% face_code_ref=Missing NodePath
35-
16[Wall]
31+
14[Wall]
3632
%% face_code_ref=Missing NodePath
37-
17[Wall]
33+
15[Wall]
3834
%% face_code_ref=Missing NodePath
39-
18["Cap Start"]
35+
16["Cap Start"]
4036
%% face_code_ref=Missing NodePath
41-
19["Cap End"]
37+
17["Cap End"]
4238
%% face_code_ref=Missing NodePath
39+
18["SweepEdge Opposite"]
40+
19["SweepEdge Adjacent"]
4341
20["SweepEdge Opposite"]
4442
21["SweepEdge Adjacent"]
4543
22["SweepEdge Opposite"]
4644
23["SweepEdge Adjacent"]
47-
24["SweepEdge Opposite"]
48-
25["SweepEdge Adjacent"]
4945
1 --- 2
50-
1 --- 8
46+
1 --- 7
5147
2 --- 3
5248
2 --- 4
5349
2 --- 5
5450
2 --- 6
55-
2 --- 7
56-
2 ---- 14
57-
3 --- 15
58-
3 x--> 18
59-
3 --- 20
60-
3 --- 21
61-
4 --- 16
62-
4 x--> 18
63-
4 --- 22
64-
4 --- 23
65-
5 --- 17
66-
5 x--> 18
67-
5 --- 24
68-
5 --- 25
69-
8 --- 9
70-
8 --- 10
71-
8 --- 11
72-
8 --- 12
73-
8 --- 13
74-
14 --- 15
75-
14 --- 16
76-
14 --- 17
77-
14 --- 18
78-
14 --- 19
51+
2 ---- 12
52+
3 --- 13
53+
3 x--> 16
54+
3 --- 18
55+
3 --- 19
56+
4 --- 14
57+
4 x--> 16
58+
4 --- 20
59+
4 --- 21
60+
5 --- 15
61+
5 x--> 16
62+
5 --- 22
63+
5 --- 23
64+
7 --- 8
65+
7 --- 9
66+
7 --- 10
67+
7 --- 11
68+
12 --- 13
69+
12 --- 14
70+
12 --- 15
71+
12 --- 16
72+
12 --- 17
73+
12 --- 18
74+
12 --- 19
75+
12 --- 20
76+
12 --- 21
77+
12 --- 22
78+
12 --- 23
79+
13 --- 18
80+
13 --- 19
81+
23 <--x 13
82+
19 <--x 14
7983
14 --- 20
8084
14 --- 21
81-
14 --- 22
82-
14 --- 23
83-
14 --- 24
84-
14 --- 25
85-
15 --- 20
86-
15 --- 21
87-
25 <--x 15
88-
21 <--x 16
89-
16 --- 22
90-
16 --- 23
91-
23 <--x 17
92-
17 --- 24
93-
17 --- 25
94-
20 <--x 19
95-
22 <--x 19
96-
24 <--x 19
85+
21 <--x 15
86+
15 --- 22
87+
15 --- 23
88+
18 <--x 17
89+
20 <--x 17
90+
22 <--x 17
9791
```

0 commit comments

Comments
 (0)