Files
modeling-app/rust/kcl-lib/tests/kcl_samples/walkie-talkie/ops.snap

3161 lines
61 KiB
Plaintext
Raw Normal View History

test: Vendor kcl-samples and add simulation tests for them (#5460) * Change to unzip * Download kcl-samples as zip to public dir * Fix fetch:samples, e2e electron still not working * Change error message to be clearer * Refactor so that input and output directories of sim tests can be different * Add kcl samples test implementation * Update output since adding kcl_samples tests * Update kcl-samples branch * Fix git-ignore pattern to only apply to the root * Fix yarn install and yarn fetch:samples to work the first time * Remove unneeded exists check * Change to use kcl-samples in public directory * Add kcl-samples * Update output since updating kcl-samples * Update output files * Change to not fetch samples during yarn install * Update output after merge * Ignore kcl-samples in codespell * WIP: Don't run e2e if only kcl-samples changed * Conditionally run cargo tests * Fix to round floating point values in program memory arrays * Update output since merge and rounding numbers in memory * Fix memory redaction for floating point to find more values * Fix float redaction pattern * Update output since rounding floating point numbers * Add center to floating point pattern * Fix trigger to use picomatch syntax * Update output since rounding center * Remove kcl-samples github workflows * Enable Rust backtrace * Update output after re-running * Update output after changing order of post-extrude commands * Fix to have deterministic order of commands * Update output after reverting ordering changes * Update kcl-samples * Update output after updating samples * Fix error messages to show the names of all samples that failed * Change cargo test command to match current one * Update kcl-samples * Update output since updating kcl-samples * Add generate manifest workflow and yarn script * Fix error check to actually work * Change util function to be what we actually need * Move new files after merge * Fix paths since directory move * Add dependabot updates for kcl-samples * Add GitHub workflow to make PR to kcl-samples repo * Add GitHub workflow to check kcl-samples header comments * Fix worfklow to change to the right directory * Add auto-commit simulation test output changes * Add permissions to workflows * Fix to run git commit step * Install just if needed * Fix directory of justfile * Add installation of cargo-insta * Fix to use underscore * Fix to allow just command failure * Change to always install CLI tools and cache them * Trying to fix overwrite failing * Combine commands * Change reviewer * Change to PR targeting the next branch * Change git commands to not do unnecessary fetch * Comment out trigger for creating a PR * Update kcl-samples from next branch * Update outputs after kcl-samples change * Fix to use bash pipefail * Add rust backtrace * Print full env from sim tests * Change command to use long option name * Fix to use ci profile even when calling through just * Add INSTA_UPDATE=always * Fix git push by using an app token on checkout * Add comments * Fix to use bash options * Change to echo when no changes are found * Fix so that kcl-samples updates don't trigger full run * Fix paths to reflect new crate location * Fix path detection * Fix e2e job to ignore kcl_samples simulation test output * Fix the fetch logic for the KCL samples after vendoring (#5661) Fixes the last 2 E2E tests for #5460. --------- Co-authored-by: Pierre Jacquier <pierre@zoo.dev> Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com> Co-authored-by: Frank Noirot <frank@zoo.dev>
2025-03-06 18:01:24 -05:00
---
source: kcl/src/simulation_tests.rs
description: Operations executed walkie-talkie.kcl
---
[
{
"labeledArgs": {
"data": {
"value": {
"type": "String",
"value": "XZ"
},
"sourceRange": [
287,
291,
3
]
}
},
"name": "startSketchOn",
"sourceRange": [
273,
292,
3
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
512,
521,
3
]
}
},
"name": "extrude",
"sourceRange": [
483,
522,
3
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
491,
501,
3
]
}
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 0.325,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
553,
566,
3
]
},
"tags": {
"value": {
"type": "Array",
"value": [
{
"type": "Uuid",
"value": "[uuid]"
},
{
"type": "Uuid",
"value": "[uuid]"
},
{
"type": "Uuid",
"value": "[uuid]"
},
{
"type": "Uuid",
"value": "[uuid]"
}
]
},
"sourceRange": [
582,
751,
3
]
}
},
"name": "chamfer",
"sourceRange": [
528,
758,
3
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Solid",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
0,
0,
0
]
}
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Solid",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
827,
838,
3
]
},
"tag": {
"value": {
"type": "String",
"value": "END"
},
"sourceRange": [
840,
845,
3
]
}
},
"name": "startSketchOn",
"sourceRange": [
813,
846,
3
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"type": "UserDefinedFunctionCall",
"name": "cos",
"functionSourceRange": [
0,
0,
0
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
947,
965,
3
]
},
{
"type": "UserDefinedFunctionReturn"
},
{
"type": "UserDefinedFunctionCall",
"name": "cos",
"functionSourceRange": [
0,
0,
0
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
1117,
1135,
3
]
},
{
"type": "UserDefinedFunctionReturn"
},
{
"type": "UserDefinedFunctionCall",
"name": "cos",
"functionSourceRange": [
0,
0,
0
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
1342,
1360,
3
]
},
{
"type": "UserDefinedFunctionReturn"
},
{
"type": "UserDefinedFunctionCall",
"name": "cos",
"functionSourceRange": [
0,
0,
0
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
1534,
1552,
3
]
},
{
"type": "UserDefinedFunctionReturn"
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": -0.0625,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
1731,
1738,
3
]
}
},
"name": "extrude",
"sourceRange": [
1703,
1739,
3
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
1711,
1720,
3
]
}
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Solid",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
1803,
1813,
3
]
},
"tag": {
"value": {
"type": "String",
"value": "start"
},
"sourceRange": [
1815,
1822,
3
]
}
},
"name": "startSketchOn",
"sourceRange": [
1789,
1823,
3
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": -0.0625,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
2094,
2105,
3
]
}
},
"name": "extrude",
"sourceRange": [
2066,
2106,
3
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
2074,
2083,
3
]
}
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Solid",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
2160,
2170,
3
]
},
"tag": {
"value": {
"type": "String",
"value": "start"
},
"sourceRange": [
2172,
2179,
3
]
}
},
"name": "startSketchOn",
"sourceRange": [
2146,
2180,
3
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": -0.5,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
2361,
2364,
3
]
}
},
"name": "extrude",
"sourceRange": [
2333,
2365,
3
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
2341,
2350,
3
]
}
},
{
"labeledArgs": {
"offset": {
"value": {
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
382,
383,
5
]
}
},
"name": "offsetPlane",
"sourceRange": [
355,
384,
5
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "String",
"value": "XZ"
},
"sourceRange": [
367,
371,
5
]
}
},
{
"labeledArgs": {
"offset": {
"value": {
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
1346,
1347,
5
]
}
},
"name": "offsetPlane",
"sourceRange": [
1319,
1348,
5
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "String",
"value": "XZ"
},
"sourceRange": [
1331,
1335,
5
]
}
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": [
1319,
1348,
5
]
}
},
"name": "startSketchOn",
"sourceRange": [
1305,
1349,
5
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"type": "UserDefinedFunctionCall",
"name": "cos",
"functionSourceRange": [
0,
0,
0
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
1484,
1502,
5
]
},
{
"type": "UserDefinedFunctionReturn"
},
{
"type": "UserDefinedFunctionCall",
"name": "cos",
"functionSourceRange": [
0,
0,
0
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
1709,
1727,
5
]
},
{
"type": "UserDefinedFunctionReturn"
},
{
"type": "UserDefinedFunctionCall",
"name": "cos",
"functionSourceRange": [
0,
0,
0
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
2025,
2043,
5
]
},
{
"type": "UserDefinedFunctionReturn"
},
{
"type": "UserDefinedFunctionCall",
"name": "cos",
"functionSourceRange": [
0,
0,
0
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
2251,
2269,
5
]
},
{
"type": "UserDefinedFunctionReturn"
},
{
"type": "UserDefinedFunctionCall",
"name": "screenHole",
"functionSourceRange": [
399,
707,
5
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
2449,
2466,
5
]
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": [
443,
454,
5
]
}
},
"name": "startSketchOn",
"sourceRange": [
429,
455,
5
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"type": "UserDefinedFunctionReturn"
},
{
"labeledArgs": {
"holeSketch": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
2449,
2466,
5
]
},
"sketch": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
2468,
2469,
5
]
}
},
"name": "hole",
"sourceRange": [
2444,
2470,
5
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"type": "UserDefinedFunctionCall",
"name": "squareHolePattern",
"functionSourceRange": [
729,
1292,
5
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
2481,
2516,
5
]
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": [
920,
925,
5
]
}
},
"name": "startSketchOn",
"sourceRange": [
906,
926,
5
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"type": "UserDefinedFunctionReturn"
},
{
"labeledArgs": {
"holeSketch": {
"value": {
"type": "Sketches",
"value": [
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
}
]
},
"sourceRange": [
2481,
2516,
5
]
},
"sketch": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
2518,
2519,
5
]
}
},
"name": "hole",
"sourceRange": [
2476,
2520,
5
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"type": "UserDefinedFunctionCall",
"name": "zLogo",
"functionSourceRange": [
69,
1010,
10
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
2531,
2564,
5
]
},
{
"type": "UserDefinedFunctionReturn"
},
{
"labeledArgs": {
"holeSketch": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
2531,
2564,
5
]
},
"sketch": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
2566,
2567,
5
]
}
},
"name": "hole",
"sourceRange": [
2526,
2568,
5
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"type": "UserDefinedFunctionCall",
"name": "oLogo",
"functionSourceRange": [
1068,
1578,
10
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
2579,
2613,
5
]
},
{
"type": "UserDefinedFunctionReturn"
},
{
"labeledArgs": {
"holeSketch": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
2579,
2613,
5
]
},
"sketch": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
2615,
2616,
5
]
}
},
"name": "hole",
"sourceRange": [
2574,
2617,
5
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"type": "UserDefinedFunctionCall",
"name": "oLogo2",
"functionSourceRange": [
1596,
2106,
10
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
2628,
2663,
5
]
},
{
"type": "UserDefinedFunctionReturn"
},
{
"labeledArgs": {
"holeSketch": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
2628,
2663,
5
]
},
"sketch": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
2665,
2666,
5
]
}
},
"name": "hole",
"sourceRange": [
2623,
2667,
5
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"type": "UserDefinedFunctionCall",
"name": "oLogo",
"functionSourceRange": [
1068,
1578,
10
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
2678,
2711,
5
]
},
{
"type": "UserDefinedFunctionReturn"
},
{
"labeledArgs": {
"holeSketch": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
2678,
2711,
5
]
},
"sketch": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
2713,
2714,
5
]
}
},
"name": "hole",
"sourceRange": [
2673,
2715,
5
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"type": "UserDefinedFunctionCall",
"name": "oLogo2",
"functionSourceRange": [
1596,
2106,
10
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
2726,
2760,
5
]
},
{
"type": "UserDefinedFunctionReturn"
},
{
"labeledArgs": {
"holeSketch": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
2726,
2760,
5
]
},
"sketch": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
2762,
2763,
5
]
}
},
"name": "hole",
"sourceRange": [
2721,
2764,
5
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": -0.0625,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
2794,
2801,
5
]
}
},
"name": "extrude",
"sourceRange": [
2766,
2802,
5
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
2774,
2783,
5
]
}
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Object",
"value": {
"plane": {
"type": "Object",
"value": {
"origin": {
"type": "Object",
"value": {
"x": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"y": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"z": {
"type": "Number",
"value": 2.0,
"ty": {
"type": "Unknown"
}
}
}
},
"xAxis": {
"type": "Object",
"value": {
"x": {
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"y": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"z": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
}
}
},
"yAxis": {
"type": "Object",
"value": {
"x": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"y": {
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"z": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
}
}
},
"zAxis": {
"type": "Object",
"value": {
"x": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"y": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"z": {
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
}
}
}
}
}
}
},
"sourceRange": [
573,
585,
4
]
}
},
"name": "startSketchOn",
"sourceRange": [
559,
586,
4
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"offset": {
"value": {
"type": "Number",
"value": 5.0,
"ty": {
"type": "Unknown"
}
},
"sourceRange": [
840,
854,
4
]
}
},
"name": "offsetPlane",
"sourceRange": [
813,
855,
4
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "String",
"value": "XY"
},
"sourceRange": [
825,
829,
4
]
}
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": [
883,
892,
4
]
}
},
"name": "startSketchOn",
"sourceRange": [
869,
893,
4
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"sketches": {
"value": {
"type": "Array",
"value": [
{
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
}
]
},
"sourceRange": [
1202,
1224,
4
]
}
},
"name": "loft",
"sourceRange": [
1197,
1225,
4
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"offset": {
"value": {
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
865,
874,
0
]
}
},
"name": "offsetPlane",
"sourceRange": [
838,
875,
0
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "String",
"value": "XZ"
},
"sourceRange": [
850,
854,
0
]
}
},
{
"type": "UserDefinedFunctionCall",
"name": "button",
"functionSourceRange": [
241,
954,
8
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
771,
876,
0
]
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": [
300,
305,
8
]
}
},
"name": "startSketchOn",
"sourceRange": [
286,
306,
8
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 0.04,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
721,
736,
8
]
}
},
"name": "extrude",
"sourceRange": [
690,
737,
8
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
698,
710,
8
]
}
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 0.05,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
772,
776,
8
]
},
"tags": {
"value": {
"type": "Array",
"value": [
{
"type": "Uuid",
"value": "[uuid]"
},
{
"type": "Uuid",
"value": "[uuid]"
}
]
},
"sourceRange": [
794,
881,
8
]
}
},
"name": "chamfer",
"sourceRange": [
745,
890,
8
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Solid",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
0,
0,
0
]
}
},
{
"type": "UserDefinedFunctionReturn"
},
{
"labeledArgs": {
"offset": {
"value": {
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
992,
1001,
0
]
}
},
"name": "offsetPlane",
"sourceRange": [
965,
1002,
0
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "String",
"value": "XZ"
},
"sourceRange": [
977,
981,
0
]
}
},
{
"type": "UserDefinedFunctionCall",
"name": "button",
"functionSourceRange": [
241,
954,
8
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
877,
1003,
0
]
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": [
300,
305,
8
]
}
},
"name": "startSketchOn",
"sourceRange": [
286,
306,
8
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 0.04,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
721,
736,
8
]
}
},
"name": "extrude",
"sourceRange": [
690,
737,
8
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
698,
710,
8
]
}
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 0.05,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
772,
776,
8
]
},
"tags": {
"value": {
"type": "Array",
"value": [
{
"type": "Uuid",
"value": "[uuid]"
},
{
"type": "Uuid",
"value": "[uuid]"
}
]
},
"sourceRange": [
794,
881,
8
]
}
},
"name": "chamfer",
"sourceRange": [
745,
890,
8
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Solid",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
0,
0,
0
]
}
},
{
"type": "UserDefinedFunctionReturn"
},
{
"labeledArgs": {
"offset": {
"value": {
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
1112,
1121,
0
]
}
},
"name": "offsetPlane",
"sourceRange": [
1085,
1122,
0
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "String",
"value": "XZ"
},
"sourceRange": [
1097,
1101,
0
]
}
},
{
"type": "UserDefinedFunctionCall",
"name": "button",
"functionSourceRange": [
241,
954,
8
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
1004,
1123,
0
]
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": [
300,
305,
8
]
}
},
"name": "startSketchOn",
"sourceRange": [
286,
306,
8
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 0.04,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
721,
736,
8
]
}
},
"name": "extrude",
"sourceRange": [
690,
737,
8
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
698,
710,
8
]
}
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 0.05,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
772,
776,
8
]
},
"tags": {
"value": {
"type": "Array",
"value": [
{
"type": "Uuid",
"value": "[uuid]"
},
{
"type": "Uuid",
"value": "[uuid]"
}
]
},
"sourceRange": [
794,
881,
8
]
}
},
"name": "chamfer",
"sourceRange": [
745,
890,
8
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Solid",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
0,
0,
0
]
}
},
{
"type": "UserDefinedFunctionReturn"
},
{
"labeledArgs": {
"offset": {
"value": {
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
1238,
1247,
0
]
}
},
"name": "offsetPlane",
"sourceRange": [
1211,
1248,
0
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "String",
"value": "XZ"
},
"sourceRange": [
1223,
1227,
0
]
}
},
{
"type": "UserDefinedFunctionCall",
"name": "button",
"functionSourceRange": [
241,
954,
8
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
1124,
1249,
0
]
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": [
300,
305,
8
]
}
},
"name": "startSketchOn",
"sourceRange": [
286,
306,
8
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 0.04,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
721,
736,
8
]
}
},
"name": "extrude",
"sourceRange": [
690,
737,
8
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
698,
710,
8
]
}
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 0.05,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
772,
776,
8
]
},
"tags": {
"value": {
"type": "Array",
"value": [
{
"type": "Uuid",
"value": "[uuid]"
},
{
"type": "Uuid",
"value": "[uuid]"
}
]
},
"sourceRange": [
794,
881,
8
]
}
},
"name": "chamfer",
"sourceRange": [
745,
890,
8
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Solid",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
0,
0,
0
]
}
},
{
"type": "UserDefinedFunctionReturn"
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Object",
"value": {
"plane": {
"type": "Object",
"value": {
"origin": {
"type": "Object",
"value": {
"x": {
"type": "Number",
"value": 1.25,
"ty": {
"type": "Unknown"
}
},
"y": {
"type": "Number",
"value": -0.5,
"ty": {
"type": "Unknown"
}
},
"z": {
"type": "Number",
"value": 0.5,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
}
}
},
"xAxis": {
"type": "Object",
"value": {
"x": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"y": {
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"z": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
}
}
},
"yAxis": {
"type": "Object",
"value": {
"x": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"y": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"z": {
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
}
}
},
"zAxis": {
"type": "Object",
"value": {
"x": {
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"y": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"z": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
}
}
}
}
}
}
},
"sourceRange": [
481,
496,
6
]
}
},
"name": "startSketchOn",
"sourceRange": [
467,
497,
6
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 0.05,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
832,
848,
6
]
}
},
"name": "extrude",
"sourceRange": [
797,
849,
6
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
805,
821,
6
]
}
},
{
"labeledArgs": {
"radius": {
"value": {
"type": "Number",
"value": 0.05,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
879,
884,
6
]
},
"tags": {
"value": {
"type": "Array",
"value": [
{
"type": "Uuid",
"value": "[uuid]"
},
{
"type": "Uuid",
"value": "[uuid]"
},
{
"type": "Uuid",
"value": "[uuid]"
},
{
"type": "Uuid",
"value": "[uuid]"
}
]
},
"sourceRange": [
900,
1053,
6
]
}
},
"name": "fillet",
"sourceRange": [
855,
1060,
6
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Solid",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
0,
0,
0
]
}
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Object",
"value": {
"plane": {
"type": "Object",
"value": {
"origin": {
"type": "Object",
"value": {
"x": {
"type": "Number",
"value": 0.55,
"ty": {
"type": "Unknown"
}
},
"y": {
"type": "Number",
"value": -0.5,
"ty": {
"type": "Unknown"
}
},
"z": {
"type": "Number",
"value": 2.0,
"ty": {
"type": "Unknown"
}
}
}
},
"xAxis": {
"type": "Object",
"value": {
"x": {
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"y": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"z": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
}
}
},
"yAxis": {
"type": "Object",
"value": {
"x": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"y": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"z": {
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
}
}
},
"zAxis": {
"type": "Object",
"value": {
"x": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"y": {
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"z": {
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
}
}
}
}
}
}
},
"sourceRange": [
508,
517,
7
]
}
},
"name": "startSketchOn",
"sourceRange": [
494,
518,
7
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Object",
"value": {
"axis": {
"type": "String",
"value": "Y"
}
}
},
"sourceRange": [
757,
771,
7
]
},
"sketch": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
773,
774,
7
]
}
},
"name": "revolve",
"sourceRange": [
749,
775,
7
],
"type": "StdLibCall",
"unlabeledArg": null
}
]