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 tangential_arc.kcl
|
||||
[
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "edge_lines_visible",
|
||||
"hidden": false
|
||||
@ -17,11 +13,7 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "set_scene_units",
|
||||
"unit": "mm"
|
||||
@ -29,11 +21,7 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "object_visible",
|
||||
"object_id": "[uuid]",
|
||||
@ -42,11 +30,7 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "object_visible",
|
||||
"object_id": "[uuid]",
|
||||
@ -55,11 +39,7 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
12,
|
||||
29,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "make_plane",
|
||||
"origin": {
|
||||
@ -84,11 +64,7 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
35,
|
||||
60,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "enable_sketch_mode",
|
||||
"entity_id": "[uuid]",
|
||||
@ -104,22 +80,14 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
35,
|
||||
60,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "start_path"
|
||||
}
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
35,
|
||||
60,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "move_path_pen",
|
||||
"path": "[uuid]",
|
||||
@ -132,22 +100,14 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
35,
|
||||
60,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "sketch_mode_disable"
|
||||
}
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
66,
|
||||
85,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "extend_path",
|
||||
"path": "[uuid]",
|
||||
@ -164,11 +124,7 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
91,
|
||||
136,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "extend_path",
|
||||
"path": "[uuid]",
|
||||
@ -184,11 +140,7 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
142,
|
||||
162,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "extend_path",
|
||||
"path": "[uuid]",
|
||||
@ -205,11 +157,7 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
168,
|
||||
188,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "enable_sketch_mode",
|
||||
"entity_id": "[uuid]",
|
||||
@ -225,11 +173,7 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
168,
|
||||
188,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "extrude",
|
||||
"target": "[uuid]",
|
||||
@ -239,22 +183,14 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
168,
|
||||
188,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "sketch_mode_disable"
|
||||
}
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
168,
|
||||
188,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "object_bring_to_front",
|
||||
"object_id": "[uuid]"
|
||||
@ -262,11 +198,7 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
168,
|
||||
188,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_extrusion_face_info",
|
||||
"object_id": "[uuid]",
|
||||
@ -275,11 +207,7 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
168,
|
||||
188,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_opposite_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -289,11 +217,7 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
168,
|
||||
188,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_next_adjacent_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -303,11 +227,7 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
168,
|
||||
188,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_opposite_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -317,11 +237,7 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
168,
|
||||
188,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_next_adjacent_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -331,11 +247,7 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
168,
|
||||
188,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_opposite_edge",
|
||||
"object_id": "[uuid]",
|
||||
@ -345,11 +257,7 @@ description: Artifact commands tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
168,
|
||||
188,
|
||||
0
|
||||
],
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "solid3d_get_next_adjacent_edge",
|
||||
"object_id": "[uuid]",
|
||||
|
||||
@ -7,9 +7,9 @@ description: Result of parsing tangential_arc.kcl
|
||||
"body": [
|
||||
{
|
||||
"declaration": {
|
||||
"end": 188,
|
||||
"end": 0,
|
||||
"id": {
|
||||
"end": 9,
|
||||
"end": 0,
|
||||
"name": "boxSketch",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
@ -19,21 +19,21 @@ description: Result of parsing tangential_arc.kcl
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"end": 28,
|
||||
"end": 0,
|
||||
"name": "XY",
|
||||
"start": 26,
|
||||
"start": 0,
|
||||
"type": "Identifier",
|
||||
"type": "Identifier"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 25,
|
||||
"end": 0,
|
||||
"name": "startSketchOn",
|
||||
"start": 12,
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 29,
|
||||
"start": 12,
|
||||
"end": 0,
|
||||
"start": 0,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
},
|
||||
@ -42,9 +42,9 @@ description: Result of parsing tangential_arc.kcl
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"end": 52,
|
||||
"end": 0,
|
||||
"raw": "0",
|
||||
"start": 51,
|
||||
"start": 0,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -53,9 +53,9 @@ description: Result of parsing tangential_arc.kcl
|
||||
}
|
||||
},
|
||||
{
|
||||
"end": 55,
|
||||
"end": 0,
|
||||
"raw": "0",
|
||||
"start": 54,
|
||||
"start": 0,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -64,26 +64,26 @@ description: Result of parsing tangential_arc.kcl
|
||||
}
|
||||
}
|
||||
],
|
||||
"end": 56,
|
||||
"start": 50,
|
||||
"end": 0,
|
||||
"start": 0,
|
||||
"type": "ArrayExpression",
|
||||
"type": "ArrayExpression"
|
||||
},
|
||||
{
|
||||
"end": 59,
|
||||
"start": 58,
|
||||
"end": 0,
|
||||
"start": 0,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 49,
|
||||
"end": 0,
|
||||
"name": "startProfileAt",
|
||||
"start": 35,
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 60,
|
||||
"start": 35,
|
||||
"end": 0,
|
||||
"start": 0,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
},
|
||||
@ -92,17 +92,17 @@ description: Result of parsing tangential_arc.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"end": 74,
|
||||
"end": 0,
|
||||
"name": "end",
|
||||
"start": 71,
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"elements": [
|
||||
{
|
||||
"end": 79,
|
||||
"end": 0,
|
||||
"raw": "0",
|
||||
"start": 78,
|
||||
"start": 0,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -111,9 +111,9 @@ description: Result of parsing tangential_arc.kcl
|
||||
}
|
||||
},
|
||||
{
|
||||
"end": 83,
|
||||
"end": 0,
|
||||
"raw": "10",
|
||||
"start": 81,
|
||||
"start": 0,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -122,21 +122,21 @@ description: Result of parsing tangential_arc.kcl
|
||||
}
|
||||
}
|
||||
],
|
||||
"end": 84,
|
||||
"start": 77,
|
||||
"end": 0,
|
||||
"start": 0,
|
||||
"type": "ArrayExpression",
|
||||
"type": "ArrayExpression"
|
||||
}
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 70,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"start": 66,
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 85,
|
||||
"start": 66,
|
||||
"end": 0,
|
||||
"start": 0,
|
||||
"type": "CallExpressionKw",
|
||||
"type": "CallExpressionKw",
|
||||
"unlabeled": null
|
||||
@ -144,22 +144,22 @@ description: Result of parsing tangential_arc.kcl
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"end": 132,
|
||||
"end": 0,
|
||||
"properties": [
|
||||
{
|
||||
"end": 117,
|
||||
"end": 0,
|
||||
"key": {
|
||||
"end": 113,
|
||||
"end": 0,
|
||||
"name": "radius",
|
||||
"start": 107,
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"start": 107,
|
||||
"start": 0,
|
||||
"type": "ObjectProperty",
|
||||
"value": {
|
||||
"end": 117,
|
||||
"end": 0,
|
||||
"raw": "5",
|
||||
"start": 116,
|
||||
"start": 0,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -169,19 +169,19 @@ description: Result of parsing tangential_arc.kcl
|
||||
}
|
||||
},
|
||||
{
|
||||
"end": 130,
|
||||
"end": 0,
|
||||
"key": {
|
||||
"end": 125,
|
||||
"end": 0,
|
||||
"name": "offset",
|
||||
"start": 119,
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"start": 119,
|
||||
"start": 0,
|
||||
"type": "ObjectProperty",
|
||||
"value": {
|
||||
"end": 130,
|
||||
"end": 0,
|
||||
"raw": "90",
|
||||
"start": 128,
|
||||
"start": 0,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -191,25 +191,25 @@ description: Result of parsing tangential_arc.kcl
|
||||
}
|
||||
}
|
||||
],
|
||||
"start": 105,
|
||||
"start": 0,
|
||||
"type": "ObjectExpression",
|
||||
"type": "ObjectExpression"
|
||||
},
|
||||
{
|
||||
"end": 135,
|
||||
"start": 134,
|
||||
"end": 0,
|
||||
"start": 0,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 104,
|
||||
"end": 0,
|
||||
"name": "tangentialArc",
|
||||
"start": 91,
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 136,
|
||||
"start": 91,
|
||||
"end": 0,
|
||||
"start": 0,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
},
|
||||
@ -218,17 +218,17 @@ description: Result of parsing tangential_arc.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"end": 150,
|
||||
"end": 0,
|
||||
"name": "end",
|
||||
"start": 147,
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"elements": [
|
||||
{
|
||||
"end": 155,
|
||||
"end": 0,
|
||||
"raw": "5",
|
||||
"start": 154,
|
||||
"start": 0,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -238,9 +238,9 @@ description: Result of parsing tangential_arc.kcl
|
||||
},
|
||||
{
|
||||
"argument": {
|
||||
"end": 160,
|
||||
"end": 0,
|
||||
"raw": "15",
|
||||
"start": 158,
|
||||
"start": 0,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -248,28 +248,28 @@ description: Result of parsing tangential_arc.kcl
|
||||
"suffix": "None"
|
||||
}
|
||||
},
|
||||
"end": 160,
|
||||
"end": 0,
|
||||
"operator": "-",
|
||||
"start": 157,
|
||||
"start": 0,
|
||||
"type": "UnaryExpression",
|
||||
"type": "UnaryExpression"
|
||||
}
|
||||
],
|
||||
"end": 161,
|
||||
"start": 153,
|
||||
"end": 0,
|
||||
"start": 0,
|
||||
"type": "ArrayExpression",
|
||||
"type": "ArrayExpression"
|
||||
}
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 146,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"start": 142,
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 162,
|
||||
"start": 142,
|
||||
"end": 0,
|
||||
"start": 0,
|
||||
"type": "CallExpressionKw",
|
||||
"type": "CallExpressionKw",
|
||||
"unlabeled": null
|
||||
@ -279,15 +279,15 @@ description: Result of parsing tangential_arc.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"end": 182,
|
||||
"end": 0,
|
||||
"name": "length",
|
||||
"start": 176,
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"end": 187,
|
||||
"end": 0,
|
||||
"raw": "10",
|
||||
"start": 185,
|
||||
"start": 0,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -298,34 +298,34 @@ description: Result of parsing tangential_arc.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 175,
|
||||
"end": 0,
|
||||
"name": "extrude",
|
||||
"start": 168,
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 188,
|
||||
"start": 168,
|
||||
"end": 0,
|
||||
"start": 0,
|
||||
"type": "CallExpressionKw",
|
||||
"type": "CallExpressionKw",
|
||||
"unlabeled": null
|
||||
}
|
||||
],
|
||||
"end": 188,
|
||||
"start": 12,
|
||||
"end": 0,
|
||||
"start": 0,
|
||||
"type": "PipeExpression",
|
||||
"type": "PipeExpression"
|
||||
},
|
||||
"start": 0,
|
||||
"type": "VariableDeclarator"
|
||||
},
|
||||
"end": 188,
|
||||
"end": 0,
|
||||
"kind": "const",
|
||||
"start": 0,
|
||||
"type": "VariableDeclaration",
|
||||
"type": "VariableDeclaration"
|
||||
}
|
||||
],
|
||||
"end": 189,
|
||||
"end": 0,
|
||||
"start": 0
|
||||
}
|
||||
}
|
||||
|
||||
@ -10,19 +10,11 @@ description: Operations executed tangential_arc.kcl
|
||||
"type": "Plane",
|
||||
"artifact_id": "[uuid]"
|
||||
},
|
||||
"sourceRange": [
|
||||
26,
|
||||
28,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"name": "startSketchOn",
|
||||
"sourceRange": [
|
||||
12,
|
||||
29,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": null
|
||||
},
|
||||
@ -42,19 +34,11 @@ description: Operations executed tangential_arc.kcl
|
||||
}
|
||||
}
|
||||
},
|
||||
"sourceRange": [
|
||||
185,
|
||||
187,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"name": "extrude",
|
||||
"sourceRange": [
|
||||
168,
|
||||
188,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": {
|
||||
"value": {
|
||||
@ -63,11 +47,7 @@ description: Operations executed tangential_arc.kcl
|
||||
"artifactId": "[uuid]"
|
||||
}
|
||||
},
|
||||
"sourceRange": [
|
||||
168,
|
||||
188,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@ -13,33 +13,21 @@ description: Variables in memory after executing tangential_arc.kcl
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
66,
|
||||
85,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": null,
|
||||
"type": "extrudePlane"
|
||||
},
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
91,
|
||||
136,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": null,
|
||||
"type": "extrudeArc"
|
||||
},
|
||||
{
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
142,
|
||||
162,
|
||||
0
|
||||
],
|
||||
"sourceRange": [],
|
||||
"tag": null,
|
||||
"type": "extrudePlane"
|
||||
}
|
||||
@ -51,11 +39,7 @@ description: Variables in memory after executing tangential_arc.kcl
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
66,
|
||||
85,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
0.0,
|
||||
@ -74,11 +58,7 @@ description: Variables in memory after executing tangential_arc.kcl
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
91,
|
||||
136,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"ccw": true,
|
||||
"center": [
|
||||
@ -102,11 +82,7 @@ description: Variables in memory after executing tangential_arc.kcl
|
||||
{
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
142,
|
||||
162,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
},
|
||||
"from": [
|
||||
-5.0,
|
||||
@ -167,11 +143,7 @@ description: Variables in memory after executing tangential_arc.kcl
|
||||
"tag": null,
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
35,
|
||||
60,
|
||||
0
|
||||
]
|
||||
"sourceRange": []
|
||||
}
|
||||
},
|
||||
"artifactId": "[uuid]",
|
||||
|
||||
10
rust/kcl-lib/tests/tangential_arc/unparsed.snap
Normal file
10
rust/kcl-lib/tests/tangential_arc/unparsed.snap
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
source: kcl-lib/src/simulation_tests.rs
|
||||
description: Result of unparsing tangential_arc.kcl
|
||||
---
|
||||
boxSketch = startSketchOn(XY)
|
||||
|> startProfileAt([0, 0], %)
|
||||
|> line(end = [0, 10])
|
||||
|> tangentialArc({ radius = 5, offset = 90 }, %)
|
||||
|> line(end = [5, -15])
|
||||
|> extrude(length = 10)
|
||||
Reference in New Issue
Block a user