Improve snapshot testing (#5856)
* Improve snapshot testing Signed-off-by: Nick Cameron <nrc@ncameron.org> * A snapshot a day keeps the bugs away! 📷🐛 * A snapshot a day keeps the bugs away! 📷🐛 --------- Signed-off-by: Nick Cameron <nrc@ncameron.org> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@ -5,11 +5,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
[
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "edge_lines_visible",
|
||||
"hidden": false
|
||||
@ -17,11 +13,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "set_scene_units",
|
||||
"unit": "mm"
|
||||
@ -29,11 +21,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "object_visible",
|
||||
"object_id": "[uuid]",
|
||||
@ -42,11 +30,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "object_visible",
|
||||
"object_id": "[uuid]",
|
||||
@ -55,11 +39,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
12,
|
||||
31,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "make_plane",
|
||||
"origin": {
|
||||
@ -84,11 +64,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
37,
|
||||
64,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "enable_sketch_mode",
|
||||
"entity_id": "[uuid]",
|
||||
@ -104,22 +80,14 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
37,
|
||||
64,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "start_path"
|
||||
}
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
37,
|
||||
64,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "move_path_pen",
|
||||
"path": "[uuid]",
|
||||
@ -132,22 +100,14 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
37,
|
||||
64,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "sketch_mode_disable"
|
||||
}
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
70,
|
||||
89,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "extend_path",
|
||||
"path": "[uuid]",
|
||||
@ -164,11 +124,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
95,
|
||||
131,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "extend_path",
|
||||
"path": "[uuid]",
|
||||
@ -185,11 +141,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
137,
|
||||
171,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "extend_path",
|
||||
"path": "[uuid]",
|
||||
@ -206,11 +158,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
177,
|
||||
233,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "extend_path",
|
||||
"path": "[uuid]",
|
||||
@ -227,11 +175,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
239,
|
||||
246,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "close_path",
|
||||
"path_id": "[uuid]"
|
||||
@ -239,11 +183,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "enable_sketch_mode",
|
||||
"entity_id": "[uuid]",
|
||||
@ -259,11 +199,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "extrude",
|
||||
"target": "[uuid]",
|
||||
@ -273,22 +209,14 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "sketch_mode_disable"
|
||||
}
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "object_bring_to_front",
|
||||
"object_id": "[uuid]"
|
||||
@ -296,11 +224,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_extrusion_face_info",
|
||||
"object_id": "[uuid]",
|
||||
@ -309,11 +233,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_opposite_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -323,11 +243,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_next_adjacent_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -337,11 +253,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_opposite_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -351,11 +263,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_next_adjacent_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -365,11 +273,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_opposite_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -379,11 +283,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_next_adjacent_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -393,11 +293,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_opposite_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -407,11 +303,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_next_adjacent_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -421,11 +313,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
298,
|
||||
332,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_fillet_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -437,11 +325,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
383,
|
||||
410,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "enable_sketch_mode",
|
||||
"entity_id": "[uuid]",
|
||||
@ -453,22 +337,14 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
383,
|
||||
410,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "start_path"
|
||||
}
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
383,
|
||||
410,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "move_path_pen",
|
||||
"path": "[uuid]",
|
||||
@ -481,22 +357,14 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
383,
|
||||
410,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "sketch_mode_disable"
|
||||
}
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
416,
|
||||
434,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "extend_path",
|
||||
"path": "[uuid]",
|
||||
@ -513,11 +381,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
440,
|
||||
459,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "extend_path",
|
||||
"path": "[uuid]",
|
||||
@ -534,11 +398,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
465,
|
||||
521,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "extend_path",
|
||||
"path": "[uuid]",
|
||||
@ -555,11 +415,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
527,
|
||||
534,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "close_path",
|
||||
"path_id": "[uuid]"
|
||||
@ -567,11 +423,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
548,
|
||||
578,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "enable_sketch_mode",
|
||||
"entity_id": "[uuid]",
|
||||
@ -583,11 +435,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
548,
|
||||
578,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "extrude",
|
||||
"target": "[uuid]",
|
||||
@ -597,22 +445,14 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
548,
|
||||
578,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "sketch_mode_disable"
|
||||
}
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
548,
|
||||
578,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "object_bring_to_front",
|
||||
"object_id": "[uuid]"
|
||||
@ -620,11 +460,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
548,
|
||||
578,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_extrusion_face_info",
|
||||
"object_id": "[uuid]",
|
||||
@ -633,11 +469,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
548,
|
||||
578,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_opposite_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -647,11 +479,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
548,
|
||||
578,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_next_adjacent_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -661,11 +489,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
548,
|
||||
578,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_opposite_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -675,11 +499,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
548,
|
||||
578,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_next_adjacent_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -689,11 +509,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
548,
|
||||
578,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_opposite_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -703,11 +519,7 @@ description: Artifact commands artifact_graph_example_code1.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
548,
|
||||
578,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_next_adjacent_edge",
|
||||
"object_id": "[uuid]",
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -10,19 +10,11 @@ description: Operations executed artifact_graph_example_code1.kcl
|
||||
"type": "String",
|
||||
"value": "XY"
|
||||
},
|
||||
"sourceRange": [
|
||||
26,
|
||||
30,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"name": "startSketchOn",
|
||||
"sourceRange": [
|
||||
12,
|
||||
31,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": null
|
||||
},
|
||||
@ -42,19 +34,11 @@ description: Operations executed artifact_graph_example_code1.kcl
|
||||
}
|
||||
}
|
||||
},
|
||||
"sourceRange": [
|
||||
288,
|
||||
291,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"name": "extrude",
|
||||
"sourceRange": [
|
||||
260,
|
||||
292,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": {
|
||||
"value": {
|
||||
@ -63,11 +47,7 @@ description: Operations executed artifact_graph_example_code1.kcl
|
||||
"artifactId": "[uuid]"
|
||||
}
|
||||
},
|
||||
"sourceRange": [
|
||||
268,
|
||||
277,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -86,11 +66,7 @@ description: Operations executed artifact_graph_example_code1.kcl
|
||||
}
|
||||
}
|
||||
},
|
||||
"sourceRange": [
|
||||
314,
|
||||
315,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"tags": {
|
||||
"value": {
|
||||
@ -103,19 +79,11 @@ description: Operations executed artifact_graph_example_code1.kcl
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRange": [
|
||||
324,
|
||||
331,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"name": "fillet",
|
||||
"sourceRange": [
|
||||
298,
|
||||
332,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": {
|
||||
"value": {
|
||||
@ -124,11 +92,7 @@ description: Operations executed artifact_graph_example_code1.kcl
|
||||
"artifactId": "[uuid]"
|
||||
}
|
||||
},
|
||||
"sourceRange": [
|
||||
298,
|
||||
332,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -140,11 +104,7 @@ description: Operations executed artifact_graph_example_code1.kcl
|
||||
"artifactId": "[uuid]"
|
||||
}
|
||||
},
|
||||
"sourceRange": [
|
||||
359,
|
||||
369,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"tag": {
|
||||
"value": {
|
||||
@ -152,19 +112,11 @@ description: Operations executed artifact_graph_example_code1.kcl
|
||||
"value": "seg02",
|
||||
"artifact_id": "[uuid]"
|
||||
},
|
||||
"sourceRange": [
|
||||
371,
|
||||
376,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"name": "startSketchOn",
|
||||
"sourceRange": [
|
||||
345,
|
||||
377,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": null
|
||||
},
|
||||
@ -184,19 +136,11 @@ description: Operations executed artifact_graph_example_code1.kcl
|
||||
}
|
||||
}
|
||||
},
|
||||
"sourceRange": [
|
||||
576,
|
||||
577,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"name": "extrude",
|
||||
"sourceRange": [
|
||||
548,
|
||||
578,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": {
|
||||
"value": {
|
||||
@ -205,11 +149,7 @@ description: Operations executed artifact_graph_example_code1.kcl
|
||||
"artifactId": "[uuid]"
|
||||
}
|
||||
},
|
||||
"sourceRange": [
|
||||
556,
|
||||
565,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
}
|
||||
]
|
||||
|
@ -13,22 +13,14 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
70,
|
||||
89,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": null,
|
||||
"type": "extrudePlane"
|
||||
},
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
95,
|
||||
131,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": {
|
||||
"end": 130,
|
||||
"start": 124,
|
||||
@ -40,11 +32,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
137,
|
||||
171,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": {
|
||||
"end": 170,
|
||||
"start": 164,
|
||||
@ -56,11 +44,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
177,
|
||||
233,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": null,
|
||||
"type": "extrudePlane"
|
||||
}
|
||||
@ -72,11 +56,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
70,
|
||||
89,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
-5.0,
|
||||
@ -95,11 +75,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
95,
|
||||
131,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
-5.0,
|
||||
@ -123,11 +99,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
137,
|
||||
171,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
5.55,
|
||||
@ -151,11 +123,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
177,
|
||||
233,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
5.55,
|
||||
@ -174,11 +142,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
239,
|
||||
246,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
-5.0,
|
||||
@ -239,11 +203,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
"tag": null,
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
37,
|
||||
64,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
@ -289,33 +249,21 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
416,
|
||||
434,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": null,
|
||||
"type": "extrudePlane"
|
||||
},
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
440,
|
||||
459,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": null,
|
||||
"type": "extrudePlane"
|
||||
},
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
465,
|
||||
521,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": null,
|
||||
"type": "extrudePlane"
|
||||
}
|
||||
@ -327,11 +275,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
416,
|
||||
434,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
-2.0,
|
||||
@ -350,11 +294,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
440,
|
||||
459,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
0.0,
|
||||
@ -373,11 +313,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
465,
|
||||
521,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
2.0,
|
||||
@ -396,11 +332,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
527,
|
||||
534,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
-2.0,
|
||||
@ -445,22 +377,14 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
70,
|
||||
89,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": null,
|
||||
"type": "extrudePlane"
|
||||
},
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
95,
|
||||
131,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": {
|
||||
"end": 130,
|
||||
"start": 124,
|
||||
@ -472,11 +396,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
137,
|
||||
171,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": {
|
||||
"end": 170,
|
||||
"start": 164,
|
||||
@ -488,11 +408,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
177,
|
||||
233,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": null,
|
||||
"type": "extrudePlane"
|
||||
}
|
||||
@ -504,11 +420,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
70,
|
||||
89,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
-5.0,
|
||||
@ -527,11 +439,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
95,
|
||||
131,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
-5.0,
|
||||
@ -555,11 +463,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
137,
|
||||
171,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
5.55,
|
||||
@ -583,11 +487,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
177,
|
||||
233,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
5.55,
|
||||
@ -606,11 +506,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
239,
|
||||
246,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
-5.0,
|
||||
@ -671,11 +567,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
"tag": null,
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
37,
|
||||
64,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
@ -729,11 +621,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
"tag": null,
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
383,
|
||||
410,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"artifactId": "[uuid]",
|
||||
@ -769,11 +657,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
70,
|
||||
89,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
-5.0,
|
||||
@ -792,11 +676,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
95,
|
||||
131,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
-5.0,
|
||||
@ -820,11 +700,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
137,
|
||||
171,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
5.55,
|
||||
@ -848,11 +724,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
177,
|
||||
233,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
5.55,
|
||||
@ -871,11 +743,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
239,
|
||||
246,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
-5.0,
|
||||
@ -936,11 +804,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
"tag": null,
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
37,
|
||||
64,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
@ -969,11 +833,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
416,
|
||||
434,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
-2.0,
|
||||
@ -992,11 +852,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
440,
|
||||
459,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
0.0,
|
||||
@ -1015,11 +871,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
465,
|
||||
521,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
2.0,
|
||||
@ -1038,11 +890,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
527,
|
||||
534,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
-2.0,
|
||||
@ -1087,22 +935,14 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
70,
|
||||
89,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": null,
|
||||
"type": "extrudePlane"
|
||||
},
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
95,
|
||||
131,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": {
|
||||
"end": 130,
|
||||
"start": 124,
|
||||
@ -1114,11 +954,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
137,
|
||||
171,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": {
|
||||
"end": 170,
|
||||
"start": 164,
|
||||
@ -1130,11 +966,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
177,
|
||||
233,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": null,
|
||||
"type": "extrudePlane"
|
||||
}
|
||||
@ -1146,11 +978,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
70,
|
||||
89,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
-5.0,
|
||||
@ -1169,11 +997,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
95,
|
||||
131,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
-5.0,
|
||||
@ -1197,11 +1021,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
137,
|
||||
171,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
5.55,
|
||||
@ -1225,11 +1045,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
177,
|
||||
233,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
5.55,
|
||||
@ -1248,11 +1064,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
239,
|
||||
246,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
-5.0,
|
||||
@ -1313,11 +1125,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
"tag": null,
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
37,
|
||||
64,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
@ -1371,11 +1179,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
|
||||
"tag": null,
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
383,
|
||||
410,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"artifactId": "[uuid]",
|
||||
|
@ -0,0 +1,20 @@
|
||||
---
|
||||
source: kcl-lib/src/simulation_tests.rs
|
||||
description: Result of unparsing artifact_graph_example_code1.kcl
|
||||
---
|
||||
sketch001 = startSketchOn('XY')
|
||||
|> startProfileAt([-5, -5], %)
|
||||
|> line(end = [0, 10])
|
||||
|> line(end = [10.55, 0], tag = $seg01)
|
||||
|> line(end = [0, -10], tag = $seg02)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -10)
|
||||
|> fillet(radius = 5, tags = [seg01])
|
||||
sketch002 = startSketchOn(extrude001, seg02)
|
||||
|> startProfileAt([-2, -6], %)
|
||||
|> line(end = [2, 3])
|
||||
|> line(end = [2, -3])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> close()
|
||||
extrude002 = extrude(sketch002, length = 5)
|
Reference in New Issue
Block a user