Skip to content

Commit

Permalink
Update kcl snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchalmers committed Feb 21, 2025
1 parent a5ef32f commit 7057410
Show file tree
Hide file tree
Showing 11 changed files with 809 additions and 781 deletions.
96 changes: 49 additions & 47 deletions src/wasm-lib/kcl/tests/artifact_graph_example_code1/ops.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
source: kcl/src/simulation_tests.rs
description: Operations executed artifact_graph_example_code1.kcl
snapshot_kind: text
---
[
{
Expand Down Expand Up @@ -72,63 +73,64 @@ description: Operations executed artifact_graph_example_code1.kcl
},
{
"labeledArgs": {
"data": {
"radius": {
"value": {
"type": "Object",
"value": {
"radius": {
"type": "Number",
"value": 5.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
}
"type": "Number",
"value": 5.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"tags": {
"type": "Array",
"value": [
{
"type": "TagIdentifier",
"value": "seg01",
"artifact_id": "[uuid]"
}
]
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
305,
335,
314,
315,
0
]
},
"solid": {
"tags": {
"value": {
"type": "Solid",
"value": {
"artifactId": "[uuid]"
}
"type": "Array",
"value": [
{
"type": "TagIdentifier",
"value": "seg01",
"artifact_id": "[uuid]"
}
]
},
"sourceRange": [
337,
338,
324,
331,
0
]
}
},
"name": "fillet",
"sourceRange": [
298,
339,
332,
0
],
"type": "StdLibCall",
"unlabeledArg": null
"unlabeledArg": {
"value": {
"type": "Solid",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
0,
0,
0
]
}
},
{
"labeledArgs": {
Expand All @@ -140,8 +142,8 @@ description: Operations executed artifact_graph_example_code1.kcl
}
},
"sourceRange": [
366,
376,
359,
369,
0
]
},
Expand All @@ -152,16 +154,16 @@ description: Operations executed artifact_graph_example_code1.kcl
"artifact_id": "[uuid]"
},
"sourceRange": [
378,
383,
371,
376,
0
]
}
},
"name": "startSketchOn",
"sourceRange": [
352,
384,
345,
377,
0
],
"type": "StdLibCall",
Expand All @@ -184,16 +186,16 @@ description: Operations executed artifact_graph_example_code1.kcl
}
},
"sourceRange": [
583,
584,
576,
577,
0
]
}
},
"name": "extrude",
"sourceRange": [
555,
585,
548,
578,
0
],
"type": "StdLibCall",
Expand All @@ -205,8 +207,8 @@ description: Operations executed artifact_graph_example_code1.kcl
}
},
"sourceRange": [
563,
572,
556,
565,
0
]
}
Expand Down
80 changes: 41 additions & 39 deletions src/wasm-lib/kcl/tests/basic_fillet_cube_close_opposite/ops.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
source: kcl/src/simulation_tests.rs
description: Operations executed basic_fillet_cube_close_opposite.kcl
snapshot_kind: text
---
[
{
Expand Down Expand Up @@ -72,66 +73,67 @@ description: Operations executed basic_fillet_cube_close_opposite.kcl
},
{
"labeledArgs": {
"data": {
"radius": {
"value": {
"type": "Object",
"value": {
"radius": {
"type": "Number",
"value": 2.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
}
"type": "Number",
"value": 2.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"tags": {
"type": "Array",
"value": [
{
"type": "TagIdentifier",
"value": "thing3",
"artifact_id": "[uuid]"
},
{
"type": "Uuid",
"value": "[uuid]"
}
]
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
230,
305,
239,
240,
0
]
},
"solid": {
"tags": {
"value": {
"type": "Solid",
"value": {
"artifactId": "[uuid]"
}
"type": "Array",
"value": [
{
"type": "TagIdentifier",
"value": "thing3",
"artifact_id": "[uuid]"
},
{
"type": "Uuid",
"value": "[uuid]"
}
]
},
"sourceRange": [
307,
308,
249,
282,
0
]
}
},
"name": "fillet",
"sourceRange": [
223,
309,
283,
0
],
"type": "StdLibCall",
"unlabeledArg": null
"unlabeledArg": {
"value": {
"type": "Solid",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
0,
0,
0
]
}
}
]
Loading

0 comments on commit 7057410

Please sign in to comment.