--- 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.467, "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.29, "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.571, "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.571, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "sourceRange": [] }, "length": { "value": { "type": "Number", "value": 19.734, "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.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 19.734, "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.704, "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.049, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 22.797, "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.87, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "sourceRange": [] }, "length": { "value": { "type": "Number", "value": 19.734, "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.817, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 18.857, "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.464, "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.464, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "sourceRange": [] }, "length": { "value": { "type": "Number", "value": 19.734, "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.103, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 19.621, "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.597, "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.603, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 22.992, "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.763, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "sourceRange": [] }, "length": { "value": { "type": "Number", "value": 19.734, "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.774, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 19.369, "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.356, "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.356, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "sourceRange": [] }, "length": { "value": { "type": "Number", "value": 19.734, "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.205, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 19.28, "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.489, "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.879, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 22.923, "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.655, "ty": { "type": "Known", "type": "Angle", "type": "Radians" } }, "sourceRange": [] }, "length": { "value": { "type": "Number", "value": 19.734, "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.664, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "visibility": "default", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "y", "value": { "type": "Number", "value": 19.663, "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.142, "ty": { "type": "Unknown" } }, "visibility": "export", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "E", "value": { "type": "Number", "value": 2.718, "ty": { "type": "Known", "type": "Count" } }, "visibility": "export", "nodePath": { "steps": [] }, "sourceRange": [] }, { "type": "VariableDeclaration", "name": "TAU", "value": { "type": "Number", "value": 6.283, "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": [] }