--- source: kcl-lib/src/simulation_tests.rs description: Operations executed import_async.kcl --- { "rust/kcl-lib/e2e/executor/inputs/2-5-long-m8-chc-screw.stl": [], "rust/kcl-lib/tests/import_async/input.kcl": [ { "type": "GroupBegin", "group": { "type": "ModuleInstance", "name": "2-5-long-m8-chc-screw.stl", "moduleId": 0 }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 0 } ] }, "sourceRange": [] }, { "type": "GroupEnd" }, { "type": "GroupBegin", "group": { "type": "FunctionCall", "name": "helicalGear", "functionSourceRange": [], "unlabeledArg": null, "labeledArgs": { "gearHeight": { "value": { "type": "Number", "value": 7.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] }, "helixAngle": { "value": { "type": "Number", "value": 35.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] }, "module": { "value": { "type": "Number", "value": 2.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] }, "nTeeth": { "value": { "type": "Number", "value": 21.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] }, "pressureAngle": { "value": { "type": "Number", "value": 20.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] } } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 3 }, { "type": "ExpressionStatementExpr" } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "pitchDiameter", "value": { "type": "Number", "value": 42.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 0 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "addendum", "value": { "type": "Number", "value": 2.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "deddendum", "value": { "type": "Number", "value": 2.5, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "baseDiameter", "value": { "type": "Number", "value": 39.46709007300815, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 3 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "tipDiameter", "value": { "type": "Number", "value": 46.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 4 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "keywayWidth", "value": { "type": "Number", "value": 2.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 5 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "keywayDepth", "value": { "type": "Number", "value": 1.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 6 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "holeDiam", "value": { "type": "Number", "value": 7.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 7 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "holeRadius", "value": { "type": "Number", "value": 3.5, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 8 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "startAngle", "value": { "type": "Number", "value": 0.28975170143604745, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "visibility": "default", "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 9 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" } ] }, "sourceRange": [] }, { "type": "StdLibCall", "name": "startSketchOn", "unlabeledArg": { "value": { "type": "Plane", "artifact_id": "[uuid]" }, "sourceRange": [] }, "labeledArgs": {}, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 10 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 0 } ] }, "sourceRange": [] }, { "type": "GroupBegin", "group": { "type": "FunctionCall", "name": "helicalGearSketch", "functionSourceRange": [], "unlabeledArg": null, "labeledArgs": { "offsetHeight": { "value": { "type": "Number", "value": 0.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] } } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 12 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "helixCalc", "value": { "type": "Number", "value": 1.5707963267948966, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "visibility": "default", "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 0 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" } ] }, "sourceRange": [] }, { "type": "StdLibCall", "name": "offsetPlane", "unlabeledArg": { "value": { "type": "Plane", "artifact_id": "[uuid]" }, "sourceRange": [] }, "labeledArgs": { "offset": { "value": { "type": "Number", "value": 0.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 0 }, { "type": "CallKwUnlabeledArg" } ] }, "sourceRange": [] }, { "type": "StdLibCall", "name": "startSketchOn", "unlabeledArg": { "value": { "type": "Plane", "artifact_id": "[uuid]" }, "sourceRange": [] }, "labeledArgs": {}, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 0 } ] }, "sourceRange": [] }, { "type": "GroupBegin", "group": { "type": "FunctionCall", "name": "polar", "functionSourceRange": [], "unlabeledArg": null, "labeledArgs": { "angle": { "value": { "type": "Number", "value": 1.5707963267948966, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "sourceRange": [] }, "length": { "value": { "type": "Number", "value": 19.733545036504076, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] } } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 1 }, { "type": "CallKwArg", "index": 0 } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "x", "value": { "type": "Number", "value": 0.0000000000000012083311382392428, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 19.733545036504076, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "GroupEnd" }, { "type": "GroupBegin", "group": { "type": "FunctionCall", "name": "polar", "functionSourceRange": [], "unlabeledArg": null, "labeledArgs": { "angle": { "value": { "type": "Number", "value": 1.7037737936135122, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "sourceRange": [] }, "length": { "value": { "type": "Number", "value": 23.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] } } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 3 }, { "type": "CallKwArg", "index": 0 } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "x", "value": { "type": "Number", "value": -3.0494758442486236, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 22.796944906617295, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "GroupEnd" }, { "type": "GroupBegin", "group": { "type": "FunctionCall", "name": "polar", "functionSourceRange": [], "unlabeledArg": null, "labeledArgs": { "angle": { "value": { "type": "Number", "value": 1.8699956271367815, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "sourceRange": [] }, "length": { "value": { "type": "Number", "value": 19.733545036504076, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] } } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 5 }, { "type": "CallKwArg", "index": 0 } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "x", "value": { "type": "Number", "value": -5.816564508980187, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 18.856838998639372, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "GroupEnd" }, { "type": "StdLibCall", "name": "subtract2d", "unlabeledArg": { "value": { "type": "Sketch", "value": { "artifactId": "[uuid]" } }, "sourceRange": [] }, "labeledArgs": { "tool": { "value": { "type": "Sketch", "value": { "artifactId": "[uuid]" } }, "sourceRange": [] } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 8 } ] }, "sourceRange": [] }, { "type": "GroupEnd" }, { "type": "GroupBegin", "group": { "type": "FunctionCall", "name": "helicalGearSketch", "functionSourceRange": [], "unlabeledArg": null, "labeledArgs": { "offsetHeight": { "value": { "type": "Number", "value": 3.5, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] } } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 13 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "helixCalc", "value": { "type": "Number", "value": 1.4640403411278755, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "visibility": "default", "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 0 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" } ] }, "sourceRange": [] }, { "type": "StdLibCall", "name": "offsetPlane", "unlabeledArg": { "value": { "type": "Plane", "artifact_id": "[uuid]" }, "sourceRange": [] }, "labeledArgs": { "offset": { "value": { "type": "Number", "value": 3.5, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 0 }, { "type": "CallKwUnlabeledArg" } ] }, "sourceRange": [] }, { "type": "StdLibCall", "name": "startSketchOn", "unlabeledArg": { "value": { "type": "Plane", "artifact_id": "[uuid]" }, "sourceRange": [] }, "labeledArgs": {}, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 0 } ] }, "sourceRange": [] }, { "type": "GroupBegin", "group": { "type": "FunctionCall", "name": "polar", "functionSourceRange": [], "unlabeledArg": null, "labeledArgs": { "angle": { "value": { "type": "Number", "value": 1.4640403411278755, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "sourceRange": [] }, "length": { "value": { "type": "Number", "value": 19.733545036504076, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] } } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 1 }, { "type": "CallKwArg", "index": 0 } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "x", "value": { "type": "Number", "value": 2.1026747593723187, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 19.62120176146286, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "GroupEnd" }, { "type": "GroupBegin", "group": { "type": "FunctionCall", "name": "polar", "functionSourceRange": [], "unlabeledArg": null, "labeledArgs": { "angle": { "value": { "type": "Number", "value": 1.5970178079464912, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "sourceRange": [] }, "length": { "value": { "type": "Number", "value": 23.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] } } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 3 }, { "type": "CallKwArg", "index": 0 } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "x", "value": { "type": "Number", "value": -0.603024957692658, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 22.992093443190416, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "GroupEnd" }, { "type": "GroupBegin", "group": { "type": "FunctionCall", "name": "polar", "functionSourceRange": [], "unlabeledArg": null, "labeledArgs": { "angle": { "value": { "type": "Number", "value": 1.7632396414697604, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "sourceRange": [] }, "length": { "value": { "type": "Number", "value": 19.733545036504076, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] } } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 5 }, { "type": "CallKwArg", "index": 0 } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "x", "value": { "type": "Number", "value": -3.7741919278824176, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 19.369261085525228, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "GroupEnd" }, { "type": "StdLibCall", "name": "subtract2d", "unlabeledArg": { "value": { "type": "Sketch", "value": { "artifactId": "[uuid]" } }, "sourceRange": [] }, "labeledArgs": { "tool": { "value": { "type": "Sketch", "value": { "artifactId": "[uuid]" } }, "sourceRange": [] } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 8 } ] }, "sourceRange": [] }, { "type": "GroupEnd" }, { "type": "GroupBegin", "group": { "type": "FunctionCall", "name": "helicalGearSketch", "functionSourceRange": [], "unlabeledArg": null, "labeledArgs": { "offsetHeight": { "value": { "type": "Number", "value": 7.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] } } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 14 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "helixCalc", "value": { "type": "Number", "value": 1.3560427808151838, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "visibility": "default", "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 0 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" } ] }, "sourceRange": [] }, { "type": "StdLibCall", "name": "offsetPlane", "unlabeledArg": { "value": { "type": "Plane", "artifact_id": "[uuid]" }, "sourceRange": [] }, "labeledArgs": { "offset": { "value": { "type": "Number", "value": 7.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 0 }, { "type": "CallKwUnlabeledArg" } ] }, "sourceRange": [] }, { "type": "StdLibCall", "name": "startSketchOn", "unlabeledArg": { "value": { "type": "Plane", "artifact_id": "[uuid]" }, "sourceRange": [] }, "labeledArgs": {}, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 0 } ] }, "sourceRange": [] }, { "type": "GroupBegin", "group": { "type": "FunctionCall", "name": "polar", "functionSourceRange": [], "unlabeledArg": null, "labeledArgs": { "angle": { "value": { "type": "Number", "value": 1.3560427808151838, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "sourceRange": [] }, "length": { "value": { "type": "Number", "value": 19.733545036504076, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] } } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 1 }, { "type": "CallKwArg", "index": 0 } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "x", "value": { "type": "Number", "value": 4.20534951874464, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 19.280244685504613, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "GroupEnd" }, { "type": "GroupBegin", "group": { "type": "FunctionCall", "name": "polar", "functionSourceRange": [], "unlabeledArg": null, "labeledArgs": { "angle": { "value": { "type": "Number", "value": 1.4890202476337995, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "sourceRange": [] }, "length": { "value": { "type": "Number", "value": 23.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] } } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 3 }, { "type": "CallKwArg", "index": 0 } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "x", "value": { "type": "Number", "value": 1.8787542118590292, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 22.923138585530168, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "GroupEnd" }, { "type": "GroupBegin", "group": { "type": "FunctionCall", "name": "polar", "functionSourceRange": [], "unlabeledArg": null, "labeledArgs": { "angle": { "value": { "type": "Number", "value": 1.655242081157069, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "sourceRange": [] }, "length": { "value": { "type": "Number", "value": 19.733545036504076, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] } } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 5 }, { "type": "CallKwArg", "index": 0 } ] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "x", "value": { "type": "Number", "value": -1.6644342460226098, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 19.66322604122736, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "GroupEnd" }, { "type": "StdLibCall", "name": "subtract2d", "unlabeledArg": { "value": { "type": "Sketch", "value": { "artifactId": "[uuid]" } }, "sourceRange": [] }, "labeledArgs": { "tool": { "value": { "type": "Sketch", "value": { "artifactId": "[uuid]" } }, "sourceRange": [] } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 11 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 1 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "PipeBodyItem", "index": 8 } ] }, "sourceRange": [] }, { "type": "GroupEnd" }, { "type": "StdLibCall", "name": "loft", "unlabeledArg": { "value": { "type": "Array", "value": [ { "type": "Sketch", "value": { "artifactId": "[uuid]" } }, { "type": "Sketch", "value": { "artifactId": "[uuid]" } }, { "type": "Sketch", "value": { "artifactId": "[uuid]" } } ] }, "sourceRange": [] }, "labeledArgs": {}, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 2 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" }, { "type": "FunctionExpressionBody" }, { "type": "FunctionExpressionBodyItem", "index": 15 }, { "type": "VariableDeclarationDeclaration" }, { "type": "VariableDeclarationInit" } ] }, "sourceRange": [] }, { "type": "GroupEnd" }, { "type": "StdLibCall", "name": "translate", "unlabeledArg": { "value": { "type": "ImportedGeometry", "artifact_id": "[uuid]" }, "sourceRange": [] }, "labeledArgs": { "y": { "value": { "type": "Number", "value": 10.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "sourceRange": [] } }, "nodePath": { "steps": [ { "type": "ProgramBodyItem", "index": 4 }, { "type": "ExpressionStatementExpr" }, { "type": "PipeBodyItem", "index": 1 } ] }, "sourceRange": [] } ], "std::appearance": [], "std::array": [], "std::math": [ { "type": "VariableDeclaration", "name": "PI", "value": { "type": "Number", "value": 3.141592653589793, "ty": { "type": "Unknown" } }, "visibility": "export", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "E", "value": { "type": "Number", "value": 2.718281828459045, "ty": { "type": "Known", "type": "Count" } }, "visibility": "export", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "TAU", "value": { "type": "Number", "value": 6.283185307179586, "ty": { "type": "Known", "type": "Count" } }, "visibility": "export", "nodePath": { "steps": [] }, "sourceRange": [] } ], "std::prelude": [ { "type": "VariableDeclaration", "name": "START", "value": { "type": "String", "value": "start" }, "visibility": "export", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "END", "value": { "type": "String", "value": "end" }, "visibility": "export", "nodePath": { "steps": [] }, "sourceRange": [] } ], "std::sketch": [], "std::solid": [], "std::sweep": [], "std::transform": [], "std::turns": [], "std::types": [], "std::units": [] }