--- source: kcl-lib/src/simulation_tests.rs description: Variables in memory after executing shepherds-hook-bolt.kcl --- { "approximatePitch": { "type": "Number", "value": 0.75, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "boltDiameter": { "type": "Number", "value": 5.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "boltNumberOfRevolutions": { "type": "Number", "value": 40.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "boltThreadRevolve": { "type": "Solid", "value": { "type": "Solid", "id": "[uuid]", "artifactId": "[uuid]", "value": [ { "faceId": "[uuid]", "id": "[uuid]", "sourceRange": [], "tag": null, "type": "extrudePlane" }, { "faceId": "[uuid]", "id": "[uuid]", "sourceRange": [], "tag": null, "type": "extrudePlane" }, { "faceId": "[uuid]", "id": "[uuid]", "sourceRange": [], "tag": null, "type": "extrudePlane" }, { "faceId": "[uuid]", "id": "[uuid]", "sourceRange": [], "tag": null, "type": "extrudePlane" }, { "faceId": "[uuid]", "id": "[uuid]", "sourceRange": [], "tag": null, "type": "extrudePlane" } ], "sketch": { "type": "Sketch", "id": "[uuid]", "paths": [ { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "from": [ 2.04, -52.138 ], "tag": null, "to": [ 2.5, -51.763 ], "type": "ToPoint", "units": { "type": "Mm" } }, { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "from": [ 2.5, -51.763 ], "tag": null, "to": [ 2.04, -51.388 ], "type": "ToPoint", "units": { "type": "Mm" } }, { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "from": [ 2.04, -51.388 ], "tag": null, "to": [ 0.204, -51.388 ], "type": "ToPoint", "units": { "type": "Mm" } }, { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "from": [ 0.204, -51.388 ], "tag": null, "to": [ 0.204, -81.388 ], "type": "ToPoint", "units": { "type": "Mm" } }, { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "from": [ 0.204, -81.388 ], "tag": null, "to": [ 2.04, -52.138 ], "type": "ToPoint", "units": { "type": "Mm" } }, { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "from": [ 2.04, -52.138 ], "tag": null, "to": [ 2.04, -52.138 ], "type": "ToPoint", "units": { "type": "Mm" } } ], "on": { "artifactId": "[uuid]", "id": "[uuid]", "origin": { "x": 0.0, "y": 0.0, "z": 0.0, "units": { "type": "Mm" } }, "type": "plane", "value": "XZ", "xAxis": { "x": 1.0, "y": 0.0, "z": 0.0, "units": { "type": "Unknown" } }, "yAxis": { "x": 0.0, "y": 0.0, "z": 1.0, "units": { "type": "Unknown" } } }, "start": { "from": [ 2.04, -52.138 ], "to": [ 2.04, -52.138 ], "units": { "type": "Mm" }, "tag": null, "__geoMeta": { "id": "[uuid]", "sourceRange": [] } }, "artifactId": "[uuid]", "originalId": "[uuid]", "units": { "type": "Mm" } }, "height": 0.0, "startCapId": null, "endCapId": null, "units": { "type": "Mm" }, "sectional": false } }, "boltThreadSectionPlane": { "type": "Plane", "value": { "artifactId": "[uuid]", "id": "[uuid]", "origin": { "x": 0.0, "y": 0.0, "z": 0.0, "units": { "type": "Mm" } }, "value": "XZ", "xAxis": { "x": 1.0, "y": 0.0, "z": 0.0, "units": { "type": "Unknown" } }, "yAxis": { "x": 0.0, "y": 0.0, "z": 1.0, "units": { "type": "Unknown" } } } }, "boltThreadSectionShapeForRevolve": { "type": "Sketch", "value": { "type": "Sketch", "id": "[uuid]", "paths": [ { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "from": [ 2.04, -52.138 ], "tag": null, "to": [ 2.5, -51.763 ], "type": "ToPoint", "units": { "type": "Mm" } }, { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "from": [ 2.5, -51.763 ], "tag": null, "to": [ 2.04, -51.388 ], "type": "ToPoint", "units": { "type": "Mm" } }, { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "from": [ 2.04, -51.388 ], "tag": null, "to": [ 0.204, -51.388 ], "type": "ToPoint", "units": { "type": "Mm" } }, { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "from": [ 0.204, -51.388 ], "tag": null, "to": [ 0.204, -81.388 ], "type": "ToPoint", "units": { "type": "Mm" } }, { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "from": [ 0.204, -81.388 ], "tag": null, "to": [ 2.04, -52.138 ], "type": "ToPoint", "units": { "type": "Mm" } }, { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "from": [ 2.04, -52.138 ], "tag": null, "to": [ 2.04, -52.138 ], "type": "ToPoint", "units": { "type": "Mm" } } ], "on": { "artifactId": "[uuid]", "id": "[uuid]", "origin": { "x": 0.0, "y": 0.0, "z": 0.0, "units": { "type": "Mm" } }, "type": "plane", "value": "XZ", "xAxis": { "x": 1.0, "y": 0.0, "z": 0.0, "units": { "type": "Unknown" } }, "yAxis": { "x": 0.0, "y": 0.0, "z": 1.0, "units": { "type": "Unknown" } } }, "start": { "from": [ 2.04, -52.138 ], "to": [ 2.04, -52.138 ], "units": { "type": "Mm" }, "tag": null, "__geoMeta": { "id": "[uuid]", "sourceRange": [] } }, "artifactId": "[uuid]", "originalId": "[uuid]", "units": { "type": "Mm" } } }, "capEnd001": { "type": "TagIdentifier", "type": "TagIdentifier", "value": "capEnd001" }, "hook": { "type": "TagIdentifier", "type": "TagIdentifier", "value": "hook" }, "hookBody": { "type": "Solid", "value": { "type": "Solid", "id": "[uuid]", "artifactId": "[uuid]", "value": [ { "faceId": "[uuid]", "id": "[uuid]", "sourceRange": [], "tag": null, "type": "extrudeArc" } ], "sketch": { "type": "Sketch", "id": "[uuid]", "paths": [ { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "ccw": true, "center": [ 0.0, 0.0 ], "from": [ 2.5, 0.0 ], "radius": 2.5, "tag": null, "to": [ 2.5, 0.0 ], "type": "Circle", "units": { "type": "Mm" } } ], "on": { "artifactId": "[uuid]", "id": "[uuid]", "origin": { "x": 0.0, "y": 0.0, "z": -22.13777608090537, "units": { "type": "Mm" } }, "type": "plane", "value": "Custom", "xAxis": { "x": 1.0, "y": 0.0, "z": 0.0, "units": { "type": "Unknown" } }, "yAxis": { "x": 0.0, "y": 1.0, "z": 0.0, "units": { "type": "Unknown" } } }, "start": { "from": [ 2.5, 0.0 ], "to": [ 2.5, 0.0 ], "units": { "type": "Mm" }, "tag": null, "__geoMeta": { "id": "[uuid]", "sourceRange": [] } }, "artifactId": "[uuid]", "originalId": "[uuid]", "units": { "type": "Mm" } }, "height": 0.0, "startCapId": "[uuid]", "endCapId": "[uuid]", "units": { "type": "Mm" }, "sectional": true } }, "hookEndAngle": { "type": "Number", "value": 150.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "hookProfilePlane": { "type": "Plane", "value": { "artifactId": "[uuid]", "id": "[uuid]", "origin": { "x": 0.0, "y": 0.0, "z": 0.0, "units": { "type": "Mm" } }, "value": "XZ", "xAxis": { "x": 1.0, "y": 0.0, "z": 0.0, "units": { "type": "Unknown" } }, "yAxis": { "x": 0.0, "y": 0.0, "z": 1.0, "units": { "type": "Unknown" } } } }, "hookProfileShape": { "type": "Sketch", "value": { "type": "Sketch", "id": "[uuid]", "paths": [ { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "from": [ 0.0, -22.138 ], "tag": null, "to": [ 0.0, -17.138 ], "type": "ToPoint", "units": { "type": "Mm" } }, { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "ccw": false, "center": [ 6.238, -17.138 ], "from": [ 0.0, -17.138 ], "tag": null, "to": [ 4.104, -11.276 ], "type": "TangentialArcTo", "units": { "type": "Mm" } }, { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "ccw": true, "center": [ 0.0, 0.0 ], "from": [ 4.104, -11.276 ], "tag": { "commentStart": 1558, "end": 1563, "start": 1558, "type": "TagDeclarator", "value": "hook" }, "to": [ -10.392, 6.0 ], "type": "TangentialArcTo", "units": { "type": "Mm" } } ], "on": { "artifactId": "[uuid]", "id": "[uuid]", "origin": { "x": 0.0, "y": 0.0, "z": 0.0, "units": { "type": "Mm" } }, "type": "plane", "value": "XZ", "xAxis": { "x": 1.0, "y": 0.0, "z": 0.0, "units": { "type": "Unknown" } }, "yAxis": { "x": 0.0, "y": 0.0, "z": 1.0, "units": { "type": "Unknown" } } }, "start": { "from": [ 0.0, -22.138 ], "to": [ 0.0, -22.138 ], "units": { "type": "Mm" }, "tag": null, "__geoMeta": { "id": "[uuid]", "sourceRange": [] } }, "tags": { "hook": { "type": "TagIdentifier", "value": "hook" } }, "artifactId": "[uuid]", "originalId": "[uuid]", "units": { "type": "Mm" } } }, "hookRadius": { "type": "Number", "value": 12.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "hookSectionPlane": { "type": "Plane", "value": { "artifactId": "[uuid]", "id": "[uuid]", "origin": { "x": 0.0, "y": 0.0, "z": -22.13777608090537, "units": { "type": "Mm" } }, "value": "Custom", "xAxis": { "x": 1.0, "y": 0.0, "z": 0.0, "units": { "type": "Unknown" } }, "yAxis": { "x": 0.0, "y": 1.0, "z": 0.0, "units": { "type": "Unknown" } } } }, "hookSectionShape": { "type": "Sketch", "value": { "type": "Sketch", "id": "[uuid]", "paths": [ { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "ccw": true, "center": [ 0.0, 0.0 ], "from": [ 2.5, 0.0 ], "radius": 2.5, "tag": null, "to": [ 2.5, 0.0 ], "type": "Circle", "units": { "type": "Mm" } } ], "on": { "artifactId": "[uuid]", "id": "[uuid]", "origin": { "x": 0.0, "y": 0.0, "z": -22.13777608090537, "units": { "type": "Mm" } }, "type": "plane", "value": "Custom", "xAxis": { "x": 1.0, "y": 0.0, "z": 0.0, "units": { "type": "Unknown" } }, "yAxis": { "x": 0.0, "y": 1.0, "z": 0.0, "units": { "type": "Unknown" } } }, "start": { "from": [ 2.5, 0.0 ], "to": [ 2.5, 0.0 ], "units": { "type": "Mm" }, "tag": null, "__geoMeta": { "id": "[uuid]", "sourceRange": [] } }, "artifactId": "[uuid]", "originalId": "[uuid]", "units": { "type": "Mm" } } }, "hookStartAngle": { "type": "Number", "value": 290.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "hypotenuse": { "type": "Number", "value": 12.77, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "innerRadius": { "type": "Number", "value": 2.04, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "nutDistance": { "type": "Number", "value": 20.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "polarToCartesian": { "type": "Function", "value": null }, "seg01": { "type": "TagIdentifier", "type": "TagIdentifier", "value": "seg01" }, "shankLength": { "type": "Number", "value": 5.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "shankOffset": { "type": "Number", "value": 17.138, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "side": { "type": "Number", "value": 4.368, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "startTag": { "type": "TagIdentifier", "type": "TagIdentifier", "value": "startTag" }, "threadDepth": { "type": "Number", "value": 0.46, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "threadedEndLength": { "type": "Number", "value": 30.0, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "tipBody": { "type": "Solid", "value": { "type": "Solid", "id": "[uuid]", "artifactId": "[uuid]", "value": [ { "faceId": "[uuid]", "id": "[uuid]", "sourceRange": [], "tag": { "commentStart": 2148, "end": 2154, "start": 2148, "type": "TagDeclarator", "value": "seg01" }, "type": "extrudeArc" }, { "faceId": "[uuid]", "id": "[uuid]", "sourceRange": [], "tag": { "commentStart": 2246, "end": 2255, "start": 2246, "type": "TagDeclarator", "value": "startTag" }, "type": "extrudePlane" }, { "faceId": "[uuid]", "id": "[uuid]", "sourceRange": [], "tag": { "commentStart": 2273, "end": 2283, "start": 2273, "type": "TagDeclarator", "value": "capEnd001" }, "type": "extrudePlane" } ], "sketch": { "type": "Sketch", "id": "[uuid]", "paths": [ { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "ccw": true, "center": [ 12.0, 0.0 ], "from": [ 14.5, 0.0 ], "radius": 2.5, "tag": { "commentStart": 2148, "end": 2154, "start": 2148, "type": "TagDeclarator", "value": "seg01" }, "to": [ 14.5, 0.0 ], "type": "Circle", "units": { "type": "Mm" } } ], "on": { "type": "face", "id": "[uuid]", "artifactId": "[uuid]", "value": "end", "xAxis": { "x": 1.0, "y": 0.0, "z": 0.0, "units": { "type": "Unknown" } }, "yAxis": { "x": 0.0, "y": 1.0, "z": 0.0, "units": { "type": "Unknown" } }, "solid": { "type": "Solid", "id": "[uuid]", "artifactId": "[uuid]", "value": [ { "faceId": "[uuid]", "id": "[uuid]", "sourceRange": [], "tag": null, "type": "extrudeArc" } ], "sketch": { "type": "Sketch", "id": "[uuid]", "paths": [ { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "ccw": true, "center": [ 0.0, 0.0 ], "from": [ 2.5, 0.0 ], "radius": 2.5, "tag": null, "to": [ 2.5, 0.0 ], "type": "Circle", "units": { "type": "Mm" } } ], "on": { "artifactId": "[uuid]", "id": "[uuid]", "origin": { "x": 0.0, "y": 0.0, "z": -22.13777608090537, "units": { "type": "Mm" } }, "type": "plane", "value": "Custom", "xAxis": { "x": 1.0, "y": 0.0, "z": 0.0, "units": { "type": "Unknown" } }, "yAxis": { "x": 0.0, "y": 1.0, "z": 0.0, "units": { "type": "Unknown" } } }, "start": { "from": [ 2.5, 0.0 ], "to": [ 2.5, 0.0 ], "units": { "type": "Mm" }, "tag": null, "__geoMeta": { "id": "[uuid]", "sourceRange": [] } }, "artifactId": "[uuid]", "originalId": "[uuid]", "units": { "type": "Mm" } }, "height": 0.0, "startCapId": "[uuid]", "endCapId": "[uuid]", "units": { "type": "Mm" }, "sectional": true }, "units": { "type": "Mm" } }, "start": { "from": [ 14.5, 0.0 ], "to": [ 14.5, 0.0 ], "units": { "type": "Mm" }, "tag": null, "__geoMeta": { "id": "[uuid]", "sourceRange": [] } }, "tags": { "capEnd001": { "type": "TagIdentifier", "value": "capEnd001" }, "seg01": { "type": "TagIdentifier", "value": "seg01" }, "startTag": { "type": "TagIdentifier", "value": "startTag" } }, "artifactId": "[uuid]", "originalId": "[uuid]", "units": { "type": "Mm" } }, "height": 6.0, "startCapId": "[uuid]", "endCapId": "[uuid]", "edgeCuts": [ { "type": "fillet", "id": "[uuid]", "radius": { "n": 1.25, "ty": { "type": "Default", "len": { "type": "Mm" }, "angle": { "type": "Degrees" } } }, "edgeId": "[uuid]", "tag": null } ], "units": { "type": "Mm" }, "sectional": false } }, "tipPlane": { "type": "Face", "value": { "id": "[uuid]", "artifactId": "[uuid]", "value": "end", "xAxis": { "x": 1.0, "y": 0.0, "z": 0.0, "units": { "type": "Unknown" } }, "yAxis": { "x": 0.0, "y": 1.0, "z": 0.0, "units": { "type": "Unknown" } }, "solid": { "type": "Solid", "id": "[uuid]", "artifactId": "[uuid]", "value": [ { "faceId": "[uuid]", "id": "[uuid]", "sourceRange": [], "tag": null, "type": "extrudeArc" } ], "sketch": { "type": "Sketch", "id": "[uuid]", "paths": [ { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "ccw": true, "center": [ 0.0, 0.0 ], "from": [ 2.5, 0.0 ], "radius": 2.5, "tag": null, "to": [ 2.5, 0.0 ], "type": "Circle", "units": { "type": "Mm" } } ], "on": { "artifactId": "[uuid]", "id": "[uuid]", "origin": { "x": 0.0, "y": 0.0, "z": -22.13777608090537, "units": { "type": "Mm" } }, "type": "plane", "value": "Custom", "xAxis": { "x": 1.0, "y": 0.0, "z": 0.0, "units": { "type": "Unknown" } }, "yAxis": { "x": 0.0, "y": 1.0, "z": 0.0, "units": { "type": "Unknown" } } }, "start": { "from": [ 2.5, 0.0 ], "to": [ 2.5, 0.0 ], "units": { "type": "Mm" }, "tag": null, "__geoMeta": { "id": "[uuid]", "sourceRange": [] } }, "artifactId": "[uuid]", "originalId": "[uuid]", "units": { "type": "Mm" } }, "height": 0.0, "startCapId": "[uuid]", "endCapId": "[uuid]", "units": { "type": "Mm" }, "sectional": true }, "units": { "type": "Mm" } } }, "tipShape": { "type": "Sketch", "value": { "type": "Sketch", "id": "[uuid]", "paths": [ { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "ccw": true, "center": [ 12.0, 0.0 ], "from": [ 14.5, 0.0 ], "radius": 2.5, "tag": { "commentStart": 2148, "end": 2154, "start": 2148, "type": "TagDeclarator", "value": "seg01" }, "to": [ 14.5, 0.0 ], "type": "Circle", "units": { "type": "Mm" } } ], "on": { "type": "face", "id": "[uuid]", "artifactId": "[uuid]", "value": "end", "xAxis": { "x": 1.0, "y": 0.0, "z": 0.0, "units": { "type": "Unknown" } }, "yAxis": { "x": 0.0, "y": 1.0, "z": 0.0, "units": { "type": "Unknown" } }, "solid": { "type": "Solid", "id": "[uuid]", "artifactId": "[uuid]", "value": [ { "faceId": "[uuid]", "id": "[uuid]", "sourceRange": [], "tag": null, "type": "extrudeArc" } ], "sketch": { "type": "Sketch", "id": "[uuid]", "paths": [ { "__geoMeta": { "id": "[uuid]", "sourceRange": [] }, "ccw": true, "center": [ 0.0, 0.0 ], "from": [ 2.5, 0.0 ], "radius": 2.5, "tag": null, "to": [ 2.5, 0.0 ], "type": "Circle", "units": { "type": "Mm" } } ], "on": { "artifactId": "[uuid]", "id": "[uuid]", "origin": { "x": 0.0, "y": 0.0, "z": -22.13777608090537, "units": { "type": "Mm" } }, "type": "plane", "value": "Custom", "xAxis": { "x": 1.0, "y": 0.0, "z": 0.0, "units": { "type": "Unknown" } }, "yAxis": { "x": 0.0, "y": 1.0, "z": 0.0, "units": { "type": "Unknown" } } }, "start": { "from": [ 2.5, 0.0 ], "to": [ 2.5, 0.0 ], "units": { "type": "Mm" }, "tag": null, "__geoMeta": { "id": "[uuid]", "sourceRange": [] } }, "artifactId": "[uuid]", "originalId": "[uuid]", "units": { "type": "Mm" } }, "height": 0.0, "startCapId": "[uuid]", "endCapId": "[uuid]", "units": { "type": "Mm" }, "sectional": true }, "units": { "type": "Mm" } }, "start": { "from": [ 14.5, 0.0 ], "to": [ 14.5, 0.0 ], "units": { "type": "Mm" }, "tag": null, "__geoMeta": { "id": "[uuid]", "sourceRange": [] } }, "tags": { "capEnd001": { "type": "TagIdentifier", "value": "capEnd001" }, "seg01": { "type": "TagIdentifier", "value": "seg01" }, "startTag": { "type": "TagIdentifier", "value": "startTag" } }, "artifactId": "[uuid]", "originalId": "[uuid]", "units": { "type": "Mm" } } } }