diff --git a/public/kcl-samples/screenshots/sheet-metal-bracket.png b/public/kcl-samples/screenshots/sheet-metal-bracket.png index b39985d0e..6e33f2152 100644 Binary files a/public/kcl-samples/screenshots/sheet-metal-bracket.png and b/public/kcl-samples/screenshots/sheet-metal-bracket.png differ diff --git a/public/kcl-samples/sheet-metal-bracket/main.kcl b/public/kcl-samples/sheet-metal-bracket/main.kcl index 88b05d6a5..33ae6d56e 100644 --- a/public/kcl-samples/sheet-metal-bracket/main.kcl +++ b/public/kcl-samples/sheet-metal-bracket/main.kcl @@ -4,72 +4,142 @@ // Set Units @settings(defaultLengthUnit = in) -// Define constants such as sheet metal thickness, bend radius, flange length, bolt diameter size, etc. -thickness = 0.090 -bendRad = 0.08 -outsideBendRad = bendRad + thickness -flangeLength = 0.5 -hatHeight = 3 -hatWidth = 5 -boltSize = 0.25 -flangeWidth = 1.5 +// Input bolt pattern dimensions to mount the bracket +mountingBoltDiameter = 1 / 4 +mountingBoltPatternX = 7 +mountingBoltPatternY = 4 -// Sketch and extrude the base shape and fillet the inside and outside edges. -baseExtrusion = startSketchOn(-XZ) - |> startProfileAt([0, 0], %) - |> line(end = [0, thickness], tag = $e1) - |> line(end = [flangeLength, 0], tag = $e2) - |> line(end = [0, hatHeight], tag = $e3) - |> line(end = [hatWidth, 0], tag = $e4) - |> line(end = [0, -hatHeight], tag = $e5) - |> line(end = [flangeLength, 0], tag = $e6) - |> line(end = [0, -thickness], tag = $e7) - |> line(end = [-flangeLength - thickness, 0], tag = $e8) - |> line(end = [0, hatHeight], tag = $e9) - |> line(end = [-hatWidth + 2 * thickness, 0], tag = $e10) - |> line(end = [0, -hatHeight], tag = $e11) - |> close(tag = $e12) - |> extrude(length = hatWidth) - |> fillet(radius = bendRad, tags = [getNextAdjacentEdge(e2)]) - |> fillet(radius = outsideBendRad, tags = [getNextAdjacentEdge(e3)]) - |> fillet(radius = outsideBendRad, tags = [getNextAdjacentEdge(e4)]) - |> fillet(radius = bendRad, tags = [getNextAdjacentEdge(e5)]) - |> fillet(radius = outsideBendRad, tags = [getNextAdjacentEdge(e8)]) - |> fillet(radius = bendRad, tags = [getNextAdjacentEdge(e9)]) - |> fillet(radius = bendRad, tags = [getNextAdjacentEdge(e10)]) - |> fillet(radius = outsideBendRad, tags = [getNextAdjacentEdge(e11)]) +// Input bolt pattern dimensions to mount a component to the bracket +componentBoltDiameter = 3 / 16 +componentBoltPatternX = 2 +componentBoltPatternY = 3 -// Define the flanges and place the bolt holes -flange1 = startSketchOn(XY) - |> startProfileAt([0, 0], %) - |> line(end = [0, hatWidth]) - |> line(end = [flangeWidth, 0], tag = $e13) - |> line(end = [0, -hatWidth], tag = $e14) +// Define bracket constants such as sheet metal thickness, bend radius, flange length, etc. +hatHeight = 2.5 +bendAngle = 75 +thickness = 0.125 +interiorBendRadius = 0.125 + +// Calculate Remaining Parameters +exteriorBendRadius = interiorBendRadius + thickness +overhang = 3 * mountingBoltDiameter +flangeLength = 6 * mountingBoltDiameter +flangeExtrusion = if mountingBoltPatternY > componentBoltPatternY { + mountingBoltPatternY + overhang * 2 +} else { + componentBoltPatternY + overhang * 2 +} + +// Draw the extrusion profile of the sheet metal bracket +bracketProfile = startSketchOn(XZ) + |> startProfileAt([ + -mountingBoltPatternX / 2 - overhang, + 0 + ], %) + |> xLine(length = flangeLength) + |> tangentialArc({ + radius = exteriorBendRadius, + offset = bendAngle + }, %) + |> angledLineToY([bendAngle, hatHeight - thickness], %, $seg01) + |> tangentialArc({ + radius = interiorBendRadius, + offset = -bendAngle + }, %) + |> xLine(endAbsolute = 0, tag = $seg02) + |> xLine(length = segLen(seg02)) + |> tangentialArc({ + radius = interiorBendRadius, + offset = -bendAngle + }, %) + |> angledLine([-bendAngle, segLen(seg01)], %) + |> tangentialArc({ + radius = exteriorBendRadius, + offset = bendAngle + }, %) + |> xLine(length = flangeLength) + |> yLine(length = thickness, tag = $seg03) + |> xLine(length = -flangeLength, tag = $seg04) + |> tangentialArc({ + radius = interiorBendRadius, + offset = -bendAngle + }, %) + |> angledLine([180 - bendAngle, segLen(seg01)], %) + |> tangentialArc({ + radius = exteriorBendRadius, + offset = bendAngle + }, %) + |> xLine(endAbsolute = 0, tag = $seg05) + |> xLine(length = -segLen(seg05)) + |> tangentialArc({ + radius = exteriorBendRadius, + offset = bendAngle + }, %) + |> angledLine([bendAngle - 180, segLen(seg01)], %) + |> tangentialArc({ + radius = interiorBendRadius, + offset = -bendAngle + }, %) + |> xLine(length = -flangeLength, tag = $seg06) + |> line(endAbsolute = [profileStartX(%), profileStartY(%)], tag = $seg07) |> close() - |> hole(circle(center = [0.75, 1], radius = boltSize), %) - |> hole(circle(center = [0.75, 4], radius = boltSize), %) - |> extrude(length = thickness) + |> extrude(length = flangeExtrusion) |> fillet( - radius = 0.5, + radius = flangeLength / 3, tags = [ - getNextAdjacentEdge(e13), - getNextAdjacentEdge(e14) + seg03, + getOppositeEdge(seg03), + seg07, + getOppositeEdge(seg07) ], ) -flange2 = startSketchOn(XY) - |> startProfileAt([-6, 0], %) - |> line(end = [0, hatWidth]) - |> line(end = [-flangeWidth, 0], tag = $e15) - |> line(end = [0, -hatWidth], tag = $e16) - |> close() - |> hole(circle(center = [-6.75, 1], radius = boltSize), %) - |> hole(circle(center = [-6.75, 4], radius = boltSize), %) - |> extrude(length = thickness) - |> fillet( - radius = 0.25, - tags = [ - getNextAdjacentEdge(e15), - getNextAdjacentEdge(e16) - ], +// Cut the bolt pattern in the left base flange +leftFlangeBoltPattern = startSketchOn(bracketProfile, seg04) + |> circle(center = [-mountingBoltPatternX / 2, overhang], radius = mountingBoltDiameter / 2) + |> patternLinear2d( + %, + instances = 2, + distance = mountingBoltPatternY, + axis = [0, 1], ) + |> extrude(length = -thickness) + +// Cut the bolt pattern in the right base flange +rightFlangeBoltPattern = startSketchOn(bracketProfile, seg06) + |> circle(center = [mountingBoltPatternX / 2, overhang], radius = mountingBoltDiameter / 2) + |> patternLinear2d( + %, + instances = 2, + distance = mountingBoltPatternY, + axis = [0, 1], + ) + |> extrude(length = -thickness) + +// Provision the top flange with holes to mount an object +topFlangeBoltPattern = startSketchOn(bracketProfile, seg05) + |> circle( + center = [ + -componentBoltPatternX / 2, + -componentBoltPatternY / 2 + flangeExtrusion / 2 + ], + radius = componentBoltDiameter / 2, + ) + |> patternLinear2d( + %, + instances = 2, + distance = componentBoltPatternX, + axis = [1, 0], + ) + |> patternLinear2d( + %, + instances = 2, + distance = componentBoltPatternY, + axis = [0, 1], + ) + |> extrude(length = -thickness) + +// Place a hole at the center of the component bolt pattern to reduce mass +centeredHole = startSketchOn(bracketProfile, seg05) + |> circle(center = [0, flangeExtrusion / 2], radius = 0.75) + |> extrude(length = -thickness) diff --git a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/artifact_commands.snap b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/artifact_commands.snap index 4816f9016..e85412ca8 100644 --- a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/artifact_commands.snap +++ b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/artifact_commands.snap @@ -37,639 +37,6 @@ description: Artifact commands sheet-metal-bracket.kcl "unit": "in" } }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "make_plane", - "origin": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, - "x_axis": { - "x": -1.0, - "y": 0.0, - "z": 0.0 - }, - "y_axis": { - "x": 0.0, - "y": 0.0, - "z": 1.0 - }, - "size": 60.0, - "clobber": false, - "hide": true - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "enable_sketch_mode", - "entity_id": "[uuid]", - "ortho": false, - "animated": false, - "adjust_camera": false, - "planar_normal": { - "x": 0.0, - "y": 1.0, - "z": 0.0 - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "start_path" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "move_path_pen", - "path": "[uuid]", - "to": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "sketch_mode_disable" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "extend_path", - "path": "[uuid]", - "segment": { - "type": "line", - "end": { - "x": 0.0, - "y": 0.09, - "z": 0.0 - }, - "relative": true - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "extend_path", - "path": "[uuid]", - "segment": { - "type": "line", - "end": { - "x": 0.5, - "y": 0.0, - "z": 0.0 - }, - "relative": true - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "extend_path", - "path": "[uuid]", - "segment": { - "type": "line", - "end": { - "x": 0.0, - "y": 3.0, - "z": 0.0 - }, - "relative": true - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "extend_path", - "path": "[uuid]", - "segment": { - "type": "line", - "end": { - "x": 5.0, - "y": 0.0, - "z": 0.0 - }, - "relative": true - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "extend_path", - "path": "[uuid]", - "segment": { - "type": "line", - "end": { - "x": 0.0, - "y": -3.0, - "z": 0.0 - }, - "relative": true - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "extend_path", - "path": "[uuid]", - "segment": { - "type": "line", - "end": { - "x": 0.5, - "y": 0.0, - "z": 0.0 - }, - "relative": true - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "extend_path", - "path": "[uuid]", - "segment": { - "type": "line", - "end": { - "x": 0.0, - "y": -0.09, - "z": 0.0 - }, - "relative": true - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "extend_path", - "path": "[uuid]", - "segment": { - "type": "line", - "end": { - "x": -0.59, - "y": 0.0, - "z": 0.0 - }, - "relative": true - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "extend_path", - "path": "[uuid]", - "segment": { - "type": "line", - "end": { - "x": 0.0, - "y": 3.0, - "z": 0.0 - }, - "relative": true - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "extend_path", - "path": "[uuid]", - "segment": { - "type": "line", - "end": { - "x": -4.82, - "y": 0.0, - "z": 0.0 - }, - "relative": true - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "extend_path", - "path": "[uuid]", - "segment": { - "type": "line", - "end": { - "x": 0.0, - "y": -3.0, - "z": 0.0 - }, - "relative": true - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "close_path", - "path_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "enable_sketch_mode", - "entity_id": "[uuid]", - "ortho": false, - "animated": false, - "adjust_camera": false, - "planar_normal": { - "x": 0.0, - "y": 1.0, - "z": 0.0 - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "extrude", - "target": "[uuid]", - "distance": 5.0, - "faces": null - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "sketch_mode_disable" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "object_bring_to_front", - "object_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_extrusion_face_info", - "object_id": "[uuid]", - "edge_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, { "cmdId": "[uuid]", "range": [], @@ -687,8 +54,8 @@ description: Artifact commands sheet-metal-bracket.kcl }, "y_axis": { "x": 0.0, - "y": 1.0, - "z": 0.0 + "y": 0.0, + "z": 1.0 }, "size": 60.0, "clobber": false, @@ -706,8 +73,8 @@ description: Artifact commands sheet-metal-bracket.kcl "adjust_camera": false, "planar_normal": { "x": 0.0, - "y": 0.0, - "z": 1.0 + "y": -1.0, + "z": 0.0 } } }, @@ -725,7 +92,7 @@ description: Artifact commands sheet-metal-bracket.kcl "type": "move_path_pen", "path": "[uuid]", "to": { - "x": 0.0, + "x": -4.25, "y": 0.0, "z": 0.0 } @@ -747,14 +114,146 @@ description: Artifact commands sheet-metal-bracket.kcl "segment": { "type": "line", "end": { - "x": 0.0, - "y": 5.0, + "x": 1.5, + "y": 0.0, "z": 0.0 }, "relative": true } } }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "tangential_arc", + "radius": 0.25, + "offset": { + "unit": "degrees", + "value": 75.0 + } + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "line", + "end": { + "x": -1.9218, + "y": 2.375, + "z": 0.0 + }, + "relative": false + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "tangential_arc", + "radius": 0.125, + "offset": { + "unit": "degrees", + "value": -75.0 + } + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "line", + "end": { + "x": 0.0, + "y": 2.4676, + "z": 0.0 + }, + "relative": false + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "line", + "end": { + "x": 1.801, + "y": 0.0, + "z": 0.0 + }, + "relative": true + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "tangential_arc", + "radius": 0.125, + "offset": { + "unit": "degrees", + "value": -75.0 + } + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "line", + "end": { + "x": 0.5867, + "y": -2.1897, + "z": 0.0 + }, + "relative": true + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "tangential_arc", + "radius": 0.25, + "offset": { + "unit": "degrees", + "value": 75.0 + } + } + } + }, { "cmdId": "[uuid]", "range": [], @@ -782,478 +281,7 @@ description: Artifact commands sheet-metal-bracket.kcl "type": "line", "end": { "x": 0.0, - "y": -5.0, - "z": 0.0 - }, - "relative": true - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "close_path", - "path_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "enable_sketch_mode", - "entity_id": "[uuid]", - "ortho": false, - "animated": false, - "adjust_camera": false, - "planar_normal": { - "x": 0.0, - "y": 0.0, - "z": 1.0 - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "start_path" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "move_path_pen", - "path": "[uuid]", - "to": { - "x": 1.0, - "y": 1.0, - "z": 0.0 - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "sketch_mode_disable" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "extend_path", - "path": "[uuid]", - "segment": { - "type": "arc", - "center": { - "x": 0.75, - "y": 1.0 - }, - "radius": 0.25, - "start": { - "unit": "degrees", - "value": 0.0 - }, - "end": { - "unit": "degrees", - "value": 360.0 - }, - "relative": false - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "close_path", - "path_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid2d_add_hole", - "object_id": "[uuid]", - "hole_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "object_visible", - "object_id": "[uuid]", - "hidden": true - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "enable_sketch_mode", - "entity_id": "[uuid]", - "ortho": false, - "animated": false, - "adjust_camera": false, - "planar_normal": { - "x": 0.0, - "y": 0.0, - "z": 1.0 - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "start_path" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "move_path_pen", - "path": "[uuid]", - "to": { - "x": 1.0, - "y": 4.0, - "z": 0.0 - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "sketch_mode_disable" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "extend_path", - "path": "[uuid]", - "segment": { - "type": "arc", - "center": { - "x": 0.75, - "y": 4.0 - }, - "radius": 0.25, - "start": { - "unit": "degrees", - "value": 0.0 - }, - "end": { - "unit": "degrees", - "value": 360.0 - }, - "relative": false - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "close_path", - "path_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid2d_add_hole", - "object_id": "[uuid]", - "hole_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "object_visible", - "object_id": "[uuid]", - "hidden": true - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "enable_sketch_mode", - "entity_id": "[uuid]", - "ortho": false, - "animated": false, - "adjust_camera": false, - "planar_normal": { - "x": 0.0, - "y": 0.0, - "z": 1.0 - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "extrude", - "target": "[uuid]", - "distance": 0.09, - "faces": null - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "sketch_mode_disable" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "object_bring_to_front", - "object_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_extrusion_face_info", - "object_id": "[uuid]", - "edge_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_opposite_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid3d_get_next_adjacent_edge", - "object_id": "[uuid]", - "edge_id": "[uuid]", - "face_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "make_plane", - "origin": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, - "x_axis": { - "x": 1.0, - "y": 0.0, - "z": 0.0 - }, - "y_axis": { - "x": 0.0, - "y": 1.0, - "z": 0.0 - }, - "size": 60.0, - "clobber": false, - "hide": true - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "enable_sketch_mode", - "entity_id": "[uuid]", - "ortho": false, - "animated": false, - "adjust_camera": false, - "planar_normal": { - "x": 0.0, - "y": 0.0, - "z": 1.0 - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "start_path" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "move_path_pen", - "path": "[uuid]", - "to": { - "x": -6.0, - "y": 0.0, - "z": 0.0 - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "sketch_mode_disable" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "extend_path", - "path": "[uuid]", - "segment": { - "type": "line", - "end": { - "x": 0.0, - "y": 5.0, + "y": 0.125, "z": 0.0 }, "relative": true @@ -1277,6 +305,22 @@ description: Artifact commands sheet-metal-bracket.kcl } } }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "tangential_arc", + "radius": 0.125, + "offset": { + "unit": "degrees", + "value": -75.0 + } + } + } + }, { "cmdId": "[uuid]", "range": [], @@ -1286,8 +330,8 @@ description: Artifact commands sheet-metal-bracket.kcl "segment": { "type": "line", "end": { - "x": 0.0, - "y": -5.0, + "x": -0.5867, + "y": 2.1897, "z": 0.0 }, "relative": true @@ -1298,53 +342,18 @@ description: Artifact commands sheet-metal-bracket.kcl "cmdId": "[uuid]", "range": [], "command": { - "type": "close_path", - "path_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "enable_sketch_mode", - "entity_id": "[uuid]", - "ortho": false, - "animated": false, - "adjust_camera": false, - "planar_normal": { - "x": 0.0, - "y": 0.0, - "z": 1.0 - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "start_path" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "move_path_pen", + "type": "extend_path", "path": "[uuid]", - "to": { - "x": -6.5, - "y": 1.0, - "z": 0.0 + "segment": { + "type": "tangential_arc", + "radius": 0.25, + "offset": { + "unit": "degrees", + "value": 75.0 + } } } }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "sketch_mode_disable" - } - }, { "cmdId": "[uuid]", "range": [], @@ -1352,19 +361,111 @@ description: Artifact commands sheet-metal-bracket.kcl "type": "extend_path", "path": "[uuid]", "segment": { - "type": "arc", - "center": { - "x": -6.75, - "y": 1.0 - }, - "radius": 0.25, - "start": { - "unit": "degrees", - "value": 0.0 - }, + "type": "line", "end": { + "x": 0.0, + "y": 2.5926, + "z": 0.0 + }, + "relative": false + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "line", + "end": { + "x": -1.801, + "y": 0.0, + "z": 0.0 + }, + "relative": true + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "tangential_arc", + "radius": 0.25, + "offset": { "unit": "degrees", - "value": 360.0 + "value": 75.0 + } + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "line", + "end": { + "x": -0.5867, + "y": -2.1897, + "z": 0.0 + }, + "relative": true + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "tangential_arc", + "radius": 0.125, + "offset": { + "unit": "degrees", + "value": -75.0 + } + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "line", + "end": { + "x": -1.5, + "y": 0.0, + "z": 0.0 + }, + "relative": true + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "line", + "end": { + "x": -4.25, + "y": 0.0, + "z": 0.0 }, "relative": false } @@ -1378,24 +479,6 @@ description: Artifact commands sheet-metal-bracket.kcl "path_id": "[uuid]" } }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid2d_add_hole", - "object_id": "[uuid]", - "hole_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "object_visible", - "object_id": "[uuid]", - "hidden": true - } - }, { "cmdId": "[uuid]", "range": [], @@ -1407,112 +490,18 @@ description: Artifact commands sheet-metal-bracket.kcl "adjust_camera": false, "planar_normal": { "x": 0.0, - "y": 0.0, - "z": 1.0 - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "start_path" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "move_path_pen", - "path": "[uuid]", - "to": { - "x": -6.5, - "y": 4.0, + "y": -1.0, "z": 0.0 } } }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "sketch_mode_disable" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "extend_path", - "path": "[uuid]", - "segment": { - "type": "arc", - "center": { - "x": -6.75, - "y": 4.0 - }, - "radius": 0.25, - "start": { - "unit": "degrees", - "value": 0.0 - }, - "end": { - "unit": "degrees", - "value": 360.0 - }, - "relative": false - } - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "close_path", - "path_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "solid2d_add_hole", - "object_id": "[uuid]", - "hole_id": "[uuid]" - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "object_visible", - "object_id": "[uuid]", - "hidden": true - } - }, - { - "cmdId": "[uuid]", - "range": [], - "command": { - "type": "enable_sketch_mode", - "entity_id": "[uuid]", - "ortho": false, - "animated": false, - "adjust_camera": false, - "planar_normal": { - "x": 0.0, - "y": 0.0, - "z": 1.0 - } - } - }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extrude", "target": "[uuid]", - "distance": 0.09, + "distance": 5.5, "faces": null } }, @@ -1664,7 +653,7 @@ description: Artifact commands sheet-metal-bracket.kcl "cmdId": "[uuid]", "range": [], "command": { - "type": "solid3d_get_next_adjacent_edge", + "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" @@ -1684,96 +673,280 @@ description: Artifact commands sheet-metal-bracket.kcl "cmdId": "[uuid]", "range": [], "command": { - "type": "solid3d_fillet_edge", + "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", - "radius": 0.08, - "tolerance": 0.0000001, - "cut_type": "fillet" + "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { - "type": "solid3d_fillet_edge", + "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", - "radius": 0.16999999999999998, - "tolerance": 0.0000001, - "cut_type": "fillet" + "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { - "type": "solid3d_fillet_edge", + "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", - "radius": 0.16999999999999998, - "tolerance": 0.0000001, - "cut_type": "fillet" + "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { - "type": "solid3d_fillet_edge", + "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", - "radius": 0.08, - "tolerance": 0.0000001, - "cut_type": "fillet" + "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { - "type": "solid3d_fillet_edge", + "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", - "radius": 0.16999999999999998, - "tolerance": 0.0000001, - "cut_type": "fillet" + "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { - "type": "solid3d_fillet_edge", + "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", - "radius": 0.08, - "tolerance": 0.0000001, - "cut_type": "fillet" + "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { - "type": "solid3d_fillet_edge", + "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", - "radius": 0.08, - "tolerance": 0.0000001, - "cut_type": "fillet" + "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { - "type": "solid3d_fillet_edge", + "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", - "radius": 0.16999999999999998, - "tolerance": 0.0000001, - "cut_type": "fillet" + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" } }, { @@ -1807,7 +980,7 @@ description: Artifact commands sheet-metal-bracket.kcl "type": "solid3d_fillet_edge", "object_id": "[uuid]", "edge_id": "[uuid]", - "radius": 0.25, + "radius": 0.5, "tolerance": 0.0000001, "cut_type": "fillet" } @@ -1819,9 +992,1091 @@ description: Artifact commands sheet-metal-bracket.kcl "type": "solid3d_fillet_edge", "object_id": "[uuid]", "edge_id": "[uuid]", - "radius": 0.25, + "radius": 0.5, "tolerance": 0.0000001, "cut_type": "fillet" } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "enable_sketch_mode", + "entity_id": "[uuid]", + "ortho": false, + "animated": false, + "adjust_camera": false, + "planar_normal": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "start_path" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "move_path_pen", + "path": "[uuid]", + "to": { + "x": -3.375, + "y": 0.75, + "z": 0.0 + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "sketch_mode_disable" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "arc", + "center": { + "x": -3.5, + "y": 0.75 + }, + "radius": 0.125, + "start": { + "unit": "degrees", + "value": 0.0 + }, + "end": { + "unit": "degrees", + "value": 360.0 + }, + "relative": false + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "close_path", + "path_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "entity_linear_pattern_transform", + "entity_id": "[uuid]", + "transform": [], + "transforms": [ + [ + { + "translate": { + "x": 0.0, + "y": 4.0, + "z": 0.0 + }, + "scale": { + "x": 1.0, + "y": 1.0, + "z": 1.0 + }, + "rotation": { + "axis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "angle": { + "unit": "degrees", + "value": 0.0 + }, + "origin": { + "type": "local" + } + }, + "replicate": true + } + ] + ] + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "enable_sketch_mode", + "entity_id": "[uuid]", + "ortho": false, + "animated": false, + "adjust_camera": false, + "planar_normal": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extrude", + "target": "[uuid]", + "distance": -0.125, + "faces": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "sketch_mode_disable" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "object_bring_to_front", + "object_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_extrusion_face_info", + "object_id": "[uuid]", + "edge_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "enable_sketch_mode", + "entity_id": "[uuid]", + "ortho": false, + "animated": false, + "adjust_camera": false, + "planar_normal": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extrude", + "target": "[uuid]", + "distance": -0.125, + "faces": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "sketch_mode_disable" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "object_bring_to_front", + "object_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_extrusion_face_info", + "object_id": "[uuid]", + "edge_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "enable_sketch_mode", + "entity_id": "[uuid]", + "ortho": false, + "animated": false, + "adjust_camera": false, + "planar_normal": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "start_path" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "move_path_pen", + "path": "[uuid]", + "to": { + "x": 3.625, + "y": 0.75, + "z": 0.0 + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "sketch_mode_disable" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "arc", + "center": { + "x": 3.5, + "y": 0.75 + }, + "radius": 0.125, + "start": { + "unit": "degrees", + "value": 0.0 + }, + "end": { + "unit": "degrees", + "value": 360.0 + }, + "relative": false + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "close_path", + "path_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "entity_linear_pattern_transform", + "entity_id": "[uuid]", + "transform": [], + "transforms": [ + [ + { + "translate": { + "x": 0.0, + "y": 4.0, + "z": 0.0 + }, + "scale": { + "x": 1.0, + "y": 1.0, + "z": 1.0 + }, + "rotation": { + "axis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "angle": { + "unit": "degrees", + "value": 0.0 + }, + "origin": { + "type": "local" + } + }, + "replicate": true + } + ] + ] + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "enable_sketch_mode", + "entity_id": "[uuid]", + "ortho": false, + "animated": false, + "adjust_camera": false, + "planar_normal": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extrude", + "target": "[uuid]", + "distance": -0.125, + "faces": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "sketch_mode_disable" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "object_bring_to_front", + "object_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_extrusion_face_info", + "object_id": "[uuid]", + "edge_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "enable_sketch_mode", + "entity_id": "[uuid]", + "ortho": false, + "animated": false, + "adjust_camera": false, + "planar_normal": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extrude", + "target": "[uuid]", + "distance": -0.125, + "faces": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "sketch_mode_disable" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "object_bring_to_front", + "object_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_extrusion_face_info", + "object_id": "[uuid]", + "edge_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "enable_sketch_mode", + "entity_id": "[uuid]", + "ortho": false, + "animated": false, + "adjust_camera": false, + "planar_normal": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "start_path" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "move_path_pen", + "path": "[uuid]", + "to": { + "x": -0.90625, + "y": 1.25, + "z": 0.0 + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "sketch_mode_disable" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "arc", + "center": { + "x": -1.0, + "y": 1.25 + }, + "radius": 0.09375, + "start": { + "unit": "degrees", + "value": 0.0 + }, + "end": { + "unit": "degrees", + "value": 360.0 + }, + "relative": false + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "close_path", + "path_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "entity_linear_pattern_transform", + "entity_id": "[uuid]", + "transform": [], + "transforms": [ + [ + { + "translate": { + "x": 2.0, + "y": 0.0, + "z": 0.0 + }, + "scale": { + "x": 1.0, + "y": 1.0, + "z": 1.0 + }, + "rotation": { + "axis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "angle": { + "unit": "degrees", + "value": 0.0 + }, + "origin": { + "type": "local" + } + }, + "replicate": true + } + ] + ] + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "entity_linear_pattern_transform", + "entity_id": "[uuid]", + "transform": [], + "transforms": [ + [ + { + "translate": { + "x": 0.0, + "y": 3.0, + "z": 0.0 + }, + "scale": { + "x": 1.0, + "y": 1.0, + "z": 1.0 + }, + "rotation": { + "axis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "angle": { + "unit": "degrees", + "value": 0.0 + }, + "origin": { + "type": "local" + } + }, + "replicate": true + } + ] + ] + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "entity_linear_pattern_transform", + "entity_id": "[uuid]", + "transform": [], + "transforms": [ + [ + { + "translate": { + "x": 0.0, + "y": 3.0, + "z": 0.0 + }, + "scale": { + "x": 1.0, + "y": 1.0, + "z": 1.0 + }, + "rotation": { + "axis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "angle": { + "unit": "degrees", + "value": 0.0 + }, + "origin": { + "type": "local" + } + }, + "replicate": true + } + ] + ] + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "enable_sketch_mode", + "entity_id": "[uuid]", + "ortho": false, + "animated": false, + "adjust_camera": false, + "planar_normal": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extrude", + "target": "[uuid]", + "distance": -0.125, + "faces": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "sketch_mode_disable" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "object_bring_to_front", + "object_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_extrusion_face_info", + "object_id": "[uuid]", + "edge_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "enable_sketch_mode", + "entity_id": "[uuid]", + "ortho": false, + "animated": false, + "adjust_camera": false, + "planar_normal": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extrude", + "target": "[uuid]", + "distance": -0.125, + "faces": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "sketch_mode_disable" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "object_bring_to_front", + "object_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_extrusion_face_info", + "object_id": "[uuid]", + "edge_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "enable_sketch_mode", + "entity_id": "[uuid]", + "ortho": false, + "animated": false, + "adjust_camera": false, + "planar_normal": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extrude", + "target": "[uuid]", + "distance": -0.125, + "faces": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "sketch_mode_disable" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "object_bring_to_front", + "object_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_extrusion_face_info", + "object_id": "[uuid]", + "edge_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "enable_sketch_mode", + "entity_id": "[uuid]", + "ortho": false, + "animated": false, + "adjust_camera": false, + "planar_normal": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extrude", + "target": "[uuid]", + "distance": -0.125, + "faces": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "sketch_mode_disable" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "object_bring_to_front", + "object_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_extrusion_face_info", + "object_id": "[uuid]", + "edge_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "enable_sketch_mode", + "entity_id": "[uuid]", + "ortho": false, + "animated": false, + "adjust_camera": false, + "planar_normal": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "start_path" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "move_path_pen", + "path": "[uuid]", + "to": { + "x": 0.75, + "y": 2.75, + "z": 0.0 + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "sketch_mode_disable" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "arc", + "center": { + "x": 0.0, + "y": 2.75 + }, + "radius": 0.75, + "start": { + "unit": "degrees", + "value": 0.0 + }, + "end": { + "unit": "degrees", + "value": 360.0 + }, + "relative": false + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "close_path", + "path_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "enable_sketch_mode", + "entity_id": "[uuid]", + "ortho": false, + "animated": false, + "adjust_camera": false, + "planar_normal": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extrude", + "target": "[uuid]", + "distance": -0.125, + "faces": null + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "sketch_mode_disable" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "object_bring_to_front", + "object_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_extrusion_face_info", + "object_id": "[uuid]", + "edge_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_opposite_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_next_adjacent_edge", + "object_id": "[uuid]", + "edge_id": "[uuid]", + "face_id": "[uuid]" + } } ] diff --git a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/artifact_graph_flowchart.snap.md index ff84f7fcc..aeacd8e38 100644 --- a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/artifact_graph_flowchart.snap.md @@ -1,141 +1,145 @@ ```mermaid flowchart LR subgraph path2 [Path] - 2["Path
[728, 753, 0]"] - 3["Segment
[759, 796, 0]"] - 4["Segment
[802, 842, 0]"] - 5["Segment
[848, 885, 0]"] - 6["Segment
[891, 927, 0]"] - 7["Segment
[933, 971, 0]"] - 8["Segment
[977, 1017, 0]"] - 9["Segment
[1023, 1061, 0]"] - 10["Segment
[1067, 1120, 0]"] - 11["Segment
[1126, 1163, 0]"] - 12["Segment
[1169, 1223, 0]"] - 13["Segment
[1229, 1268, 0]"] - 14["Segment
[1274, 1291, 0]"] - 15[Solid2d] + 2["Path
[1227, 1308, 0]"] + 3["Segment
[1314, 1342, 0]"] + 4["Segment
[1348, 1436, 0]"] + 5["Segment
[1442, 1502, 0]"] + 6["Segment
[1508, 1597, 0]"] + 7["Segment
[1603, 1639, 0]"] + 8["Segment
[1645, 1674, 0]"] + 9["Segment
[1680, 1769, 0]"] + 10["Segment
[1775, 1817, 0]"] + 11["Segment
[1823, 1911, 0]"] + 12["Segment
[1917, 1945, 0]"] + 13["Segment
[1951, 1990, 0]"] + 14["Segment
[1996, 2039, 0]"] + 15["Segment
[2045, 2134, 0]"] + 16["Segment
[2140, 2187, 0]"] + 17["Segment
[2193, 2281, 0]"] + 18["Segment
[2287, 2323, 0]"] + 19["Segment
[2329, 2359, 0]"] + 20["Segment
[2365, 2453, 0]"] + 21["Segment
[2459, 2506, 0]"] + 22["Segment
[2512, 2601, 0]"] + 23["Segment
[2607, 2650, 0]"] + 24["Segment
[2656, 2726, 0]"] + 25["Segment
[2732, 2739, 0]"] + 26[Solid2d] end - subgraph path56 [Path] - 56["Path
[1947, 1972, 0]"] - 57["Segment
[1978, 2003, 0]"] - 58["Segment
[2009, 2049, 0]"] - 59["Segment
[2055, 2093, 0]"] - 60["Segment
[2099, 2106, 0]"] - 61[Solid2d] + subgraph path94 [Path] + 94["Path
[3071, 3160, 0]"] + 95["Segment
[3071, 3160, 0]"] + 96[Solid2d] end - subgraph path62 [Path] - 62["Path
[2117, 2162, 0]"] - 63["Segment
[2117, 2162, 0]"] - 64[Solid2d] + subgraph path102 [Path] + 102["Path
[3435, 3523, 0]"] + 103["Segment
[3435, 3523, 0]"] + 104[Solid2d] end - subgraph path65 [Path] - 65["Path
[2177, 2222, 0]"] - 66["Segment
[2177, 2222, 0]"] - 67[Solid2d] + subgraph path110 [Path] + 110["Path
[3805, 3985, 0]"] + 111["Segment
[3805, 3985, 0]"] + 112[Solid2d] end - subgraph path84 [Path] - 84["Path
[2430, 2456, 0]"] - 85["Segment
[2462, 2487, 0]"] - 86["Segment
[2493, 2534, 0]"] - 87["Segment
[2540, 2578, 0]"] - 88["Segment
[2584, 2591, 0]"] - 89[Solid2d] + subgraph path120 [Path] + 120["Path
[4401, 4457, 0]"] + 121["Segment
[4401, 4457, 0]"] + 122[Solid2d] end - subgraph path90 [Path] - 90["Path
[2602, 2648, 0]"] - 91["Segment
[2602, 2648, 0]"] - 92[Solid2d] - end - subgraph path93 [Path] - 93["Path
[2663, 2709, 0]"] - 94["Segment
[2663, 2709, 0]"] - 95[Solid2d] - end - 1["Plane
[704, 722, 0]"] - 16["Sweep Extrusion
[1297, 1323, 0]"] - 17[Wall] - 18[Wall] - 19[Wall] - 20[Wall] - 21[Wall] - 22[Wall] - 23[Wall] - 24[Wall] - 25[Wall] - 26[Wall] - 27[Wall] + 1["Plane
[1204, 1221, 0]"] + 27["Sweep Extrusion
[2745, 2778, 0]"] 28[Wall] - 29["Cap Start"] - 30["Cap End"] - 31["SweepEdge Opposite"] - 32["SweepEdge Adjacent"] - 33["SweepEdge Opposite"] - 34["SweepEdge Adjacent"] - 35["SweepEdge Opposite"] - 36["SweepEdge Adjacent"] - 37["SweepEdge Opposite"] - 38["SweepEdge Adjacent"] - 39["SweepEdge Opposite"] - 40["SweepEdge Adjacent"] - 41["SweepEdge Opposite"] - 42["SweepEdge Adjacent"] - 43["SweepEdge Opposite"] - 44["SweepEdge Adjacent"] - 45["SweepEdge Opposite"] - 46["SweepEdge Adjacent"] - 47["SweepEdge Opposite"] - 48["SweepEdge Adjacent"] - 49["SweepEdge Opposite"] - 50["SweepEdge Adjacent"] - 51["SweepEdge Opposite"] - 52["SweepEdge Adjacent"] - 53["SweepEdge Opposite"] - 54["SweepEdge Adjacent"] - 55["Plane
[1924, 1941, 0]"] - 68["Sweep Extrusion
[2232, 2259, 0]"] - 69[Wall] - 70[Wall] - 71[Wall] - 72[Wall] - 73["Cap Start"] - 74["Cap End"] - 75["SweepEdge Opposite"] - 76["SweepEdge Adjacent"] - 77["SweepEdge Opposite"] - 78["SweepEdge Adjacent"] - 79["SweepEdge Opposite"] - 80["SweepEdge Adjacent"] - 81["SweepEdge Opposite"] - 82["SweepEdge Adjacent"] - 83["Plane
[2407, 2424, 0]"] - 96["Sweep Extrusion
[2719, 2746, 0]"] - 97[Wall] + 29[Wall] + 30[Wall] + 31[Wall] + 32[Wall] + 33[Wall] + 34[Wall] + 35[Wall] + 36[Wall] + 37[Wall] + 38[Wall] + 39[Wall] + 40[Wall] + 41[Wall] + 42[Wall] + 43[Wall] + 44[Wall] + 45[Wall] + 46[Wall] + 47[Wall] + 48["Cap Start"] + 49["Cap End"] + 50["SweepEdge Opposite"] + 51["SweepEdge Adjacent"] + 52["SweepEdge Opposite"] + 53["SweepEdge Adjacent"] + 54["SweepEdge Opposite"] + 55["SweepEdge Adjacent"] + 56["SweepEdge Opposite"] + 57["SweepEdge Adjacent"] + 58["SweepEdge Opposite"] + 59["SweepEdge Adjacent"] + 60["SweepEdge Opposite"] + 61["SweepEdge Adjacent"] + 62["SweepEdge Opposite"] + 63["SweepEdge Adjacent"] + 64["SweepEdge Opposite"] + 65["SweepEdge Adjacent"] + 66["SweepEdge Opposite"] + 67["SweepEdge Adjacent"] + 68["SweepEdge Opposite"] + 69["SweepEdge Adjacent"] + 70["SweepEdge Opposite"] + 71["SweepEdge Adjacent"] + 72["SweepEdge Opposite"] + 73["SweepEdge Adjacent"] + 74["SweepEdge Opposite"] + 75["SweepEdge Adjacent"] + 76["SweepEdge Opposite"] + 77["SweepEdge Adjacent"] + 78["SweepEdge Opposite"] + 79["SweepEdge Adjacent"] + 80["SweepEdge Opposite"] + 81["SweepEdge Adjacent"] + 82["SweepEdge Opposite"] + 83["SweepEdge Adjacent"] + 84["SweepEdge Opposite"] + 85["SweepEdge Adjacent"] + 86["SweepEdge Opposite"] + 87["SweepEdge Adjacent"] + 88["SweepEdge Opposite"] + 89["SweepEdge Adjacent"] + 90["EdgeCut Fillet
[2784, 2955, 0]"] + 91["EdgeCut Fillet
[2784, 2955, 0]"] + 92["EdgeCut Fillet
[2784, 2955, 0]"] + 93["EdgeCut Fillet
[2784, 2955, 0]"] + 97["Sweep Extrusion
[3289, 3317, 0]"] 98[Wall] - 99[Wall] - 100[Wall] - 101["Cap Start"] - 102["Cap End"] - 103["SweepEdge Opposite"] - 104["SweepEdge Adjacent"] - 105["SweepEdge Opposite"] - 106["SweepEdge Adjacent"] + 99["SweepEdge Opposite"] + 100["SweepEdge Adjacent"] + 101["Sweep Extrusion
[3289, 3317, 0]"] + 105["Sweep Extrusion
[3652, 3680, 0]"] + 106[Wall] 107["SweepEdge Opposite"] 108["SweepEdge Adjacent"] - 109["SweepEdge Opposite"] - 110["SweepEdge Adjacent"] - 111["EdgeCut Fillet
[1329, 1387, 0]"] - 112["EdgeCut Fillet
[1393, 1458, 0]"] - 113["EdgeCut Fillet
[1464, 1529, 0]"] - 114["EdgeCut Fillet
[1535, 1593, 0]"] - 115["EdgeCut Fillet
[1599, 1664, 0]"] - 116["EdgeCut Fillet
[1670, 1728, 0]"] - 117["EdgeCut Fillet
[1734, 1793, 0]"] - 118["EdgeCut Fillet
[1799, 1865, 0]"] - 119["EdgeCut Fillet
[2265, 2395, 0]"] - 120["EdgeCut Fillet
[2265, 2395, 0]"] - 121["EdgeCut Fillet
[2752, 2883, 0]"] - 122["EdgeCut Fillet
[2752, 2883, 0]"] + 109["Sweep Extrusion
[3652, 3680, 0]"] + 113["Sweep Extrusion
[4239, 4267, 0]"] + 114[Wall] + 115["SweepEdge Opposite"] + 116["SweepEdge Adjacent"] + 117["Sweep Extrusion
[4239, 4267, 0]"] + 118["Sweep Extrusion
[4239, 4267, 0]"] + 119["Sweep Extrusion
[4239, 4267, 0]"] + 123["Sweep Extrusion
[4463, 4491, 0]"] + 124[Wall] + 125["SweepEdge Opposite"] + 126["SweepEdge Adjacent"] + 127["StartSketchOnFace
[3029, 3065, 0]"] + 128["StartSketchOnFace
[3393, 3429, 0]"] + 129["StartSketchOnFace
[3763, 3799, 0]"] + 130["StartSketchOnFace
[4359, 4395, 0]"] 1 --- 2 2 --- 3 2 --- 4 @@ -149,170 +153,187 @@ flowchart LR 2 --- 12 2 --- 13 2 --- 14 - 2 ---- 16 2 --- 15 + 2 --- 16 + 2 --- 17 + 2 --- 18 + 2 --- 19 + 2 --- 20 + 2 --- 21 + 2 --- 22 + 2 --- 23 + 2 --- 24 + 2 --- 25 + 2 ---- 27 + 2 --- 26 3 --- 28 - 3 --- 53 - 3 --- 54 - 4 --- 27 - 4 --- 51 + 3 --- 50 + 3 --- 51 + 4 --- 29 4 --- 52 - 5 --- 26 - 5 --- 49 - 5 --- 50 - 6 --- 25 - 6 --- 47 - 6 --- 48 - 7 --- 24 - 7 --- 45 - 7 --- 46 - 8 --- 23 - 8 --- 43 - 8 --- 44 - 9 --- 22 - 9 --- 41 - 9 --- 42 - 10 --- 21 - 10 --- 39 - 10 --- 40 - 11 --- 20 - 11 --- 37 - 11 --- 38 - 12 --- 19 - 12 --- 35 + 4 --- 53 + 5 --- 30 + 5 --- 54 + 5 --- 55 + 6 --- 31 + 6 --- 56 + 6 --- 57 + 7 --- 32 + 7 --- 58 + 7 --- 59 + 9 --- 33 + 9 --- 60 + 9 --- 61 + 10 --- 34 + 10 --- 62 + 10 --- 63 + 11 --- 35 + 11 --- 64 + 11 --- 65 12 --- 36 - 13 --- 18 - 13 --- 33 - 13 --- 34 - 14 --- 17 - 14 --- 31 - 14 --- 32 - 16 --- 17 - 16 --- 18 - 16 --- 19 - 16 --- 20 - 16 --- 21 - 16 --- 22 - 16 --- 23 - 16 --- 24 - 16 --- 25 - 16 --- 26 - 16 --- 27 - 16 --- 28 - 16 --- 29 - 16 --- 30 - 16 --- 31 - 16 --- 32 - 16 --- 33 - 16 --- 34 - 16 --- 35 - 16 --- 36 - 16 --- 37 - 16 --- 38 - 16 --- 39 + 12 --- 66 + 12 --- 67 + 13 --- 37 + 13 --- 68 + 13 --- 69 + 13 --- 90 + 14 --- 38 + 14 --- 70 + 14 --- 71 + 15 --- 39 + 15 --- 72 + 15 --- 73 16 --- 40 - 16 --- 41 - 16 --- 42 - 16 --- 43 - 16 --- 44 - 16 --- 45 - 16 --- 46 - 16 --- 47 - 16 --- 48 - 16 --- 49 - 16 --- 50 - 16 --- 51 - 16 --- 52 - 16 --- 53 - 16 --- 54 - 55 --- 56 - 55 --- 62 - 55 --- 65 - 56 --- 57 - 56 --- 58 - 56 --- 59 - 56 --- 60 - 56 ---- 68 - 56 --- 61 - 57 --- 72 - 57 --- 81 - 57 --- 82 - 58 --- 71 - 58 --- 79 - 58 --- 80 - 59 --- 70 - 59 --- 77 - 59 --- 78 - 60 --- 69 - 60 --- 75 - 60 --- 76 - 62 --- 63 - 62 --- 64 - 65 --- 66 - 65 --- 67 - 68 --- 69 - 68 --- 70 - 68 --- 71 - 68 --- 72 - 68 --- 73 - 68 --- 74 - 68 --- 75 - 68 --- 76 - 68 --- 77 - 68 --- 78 - 68 --- 79 - 68 --- 80 - 68 --- 81 - 68 --- 82 - 83 --- 84 - 83 --- 90 - 83 --- 93 - 84 --- 85 - 84 --- 86 - 84 --- 87 - 84 --- 88 - 84 ---- 96 - 84 --- 89 - 85 --- 97 - 85 --- 103 - 85 --- 104 - 86 --- 98 - 86 --- 105 - 86 --- 106 - 87 --- 99 - 87 --- 107 - 87 --- 108 - 88 --- 100 - 88 --- 109 - 88 --- 110 - 90 --- 91 - 90 --- 92 - 93 --- 94 - 93 --- 95 - 96 --- 97 - 96 --- 98 - 96 --- 99 - 96 --- 100 - 96 --- 101 - 96 --- 102 - 96 --- 103 - 96 --- 104 - 96 --- 105 - 96 --- 106 - 96 --- 107 - 96 --- 108 - 96 --- 109 - 96 --- 110 - 52 <--x 111 - 50 <--x 112 - 48 <--x 113 - 46 <--x 114 - 40 <--x 115 - 38 <--x 116 - 36 <--x 117 - 34 <--x 118 - 80 <--x 119 - 78 <--x 120 - 106 <--x 121 - 108 <--x 122 + 16 --- 74 + 16 --- 75 + 17 --- 41 + 17 --- 76 + 17 --- 77 + 18 --- 42 + 18 --- 78 + 18 --- 79 + 20 --- 43 + 20 --- 80 + 20 --- 81 + 21 --- 44 + 21 --- 82 + 21 --- 83 + 22 --- 45 + 22 --- 84 + 22 --- 85 + 23 --- 46 + 23 --- 86 + 23 --- 87 + 24 --- 47 + 24 --- 88 + 24 --- 89 + 24 --- 92 + 27 --- 28 + 27 --- 29 + 27 --- 30 + 27 --- 31 + 27 --- 32 + 27 --- 33 + 27 --- 34 + 27 --- 35 + 27 --- 36 + 27 --- 37 + 27 --- 38 + 27 --- 39 + 27 --- 40 + 27 --- 41 + 27 --- 42 + 27 --- 43 + 27 --- 44 + 27 --- 45 + 27 --- 46 + 27 --- 47 + 27 --- 48 + 27 --- 49 + 27 --- 50 + 27 --- 51 + 27 --- 52 + 27 --- 53 + 27 --- 54 + 27 --- 55 + 27 --- 56 + 27 --- 57 + 27 --- 58 + 27 --- 59 + 27 --- 60 + 27 --- 61 + 27 --- 62 + 27 --- 63 + 27 --- 64 + 27 --- 65 + 27 --- 66 + 27 --- 67 + 27 --- 68 + 27 --- 69 + 27 --- 70 + 27 --- 71 + 27 --- 72 + 27 --- 73 + 27 --- 74 + 27 --- 75 + 27 --- 76 + 27 --- 77 + 27 --- 78 + 27 --- 79 + 27 --- 80 + 27 --- 81 + 27 --- 82 + 27 --- 83 + 27 --- 84 + 27 --- 85 + 27 --- 86 + 27 --- 87 + 27 --- 88 + 27 --- 89 + 38 --- 94 + 42 --- 110 + 42 --- 120 + 46 --- 102 + 68 <--x 91 + 88 <--x 93 + 94 --- 95 + 94 ---- 97 + 94 --- 96 + 95 --- 98 + 95 --- 99 + 95 --- 100 + 97 --- 98 + 97 --- 99 + 97 --- 100 + 102 --- 103 + 102 ---- 105 + 102 --- 104 + 103 --- 106 + 103 --- 107 + 103 --- 108 + 105 --- 106 + 105 --- 107 + 105 --- 108 + 110 --- 111 + 110 ---- 113 + 110 --- 112 + 111 --- 114 + 111 --- 115 + 111 --- 116 + 113 --- 114 + 113 --- 115 + 113 --- 116 + 120 --- 121 + 120 ---- 123 + 120 --- 122 + 121 --- 124 + 121 --- 125 + 121 --- 126 + 123 --- 124 + 123 --- 125 + 123 --- 126 + 38 <--x 127 + 46 <--x 128 + 42 <--x 129 + 42 <--x 130 ``` diff --git a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/ast.snap b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/ast.snap index 5a264d0dc..cab8ea526 100644 --- a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/ast.snap @@ -8,24 +8,270 @@ description: Result of parsing sheet-metal-bracket.kcl { "commentStart": 353, "declaration": { - "commentStart": 459, + "commentStart": 409, "end": 0, "id": { - "commentStart": 459, + "commentStart": 409, "end": 0, - "name": "thickness", + "name": "mountingBoltDiameter", "start": 0, "type": "Identifier" }, "init": { - "commentStart": 471, + "commentStart": 432, "end": 0, - "raw": "0.090", + "left": { + "commentStart": 432, + "end": 0, + "raw": "1", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.0, + "suffix": "None" + } + }, + "operator": "/", + "right": { + "commentStart": 436, + "end": 0, + "raw": "4", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 4.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "preComments": [ + "// Input bolt pattern dimensions to mount the bracket" + ], + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 438, + "declaration": { + "commentStart": 438, + "end": 0, + "id": { + "commentStart": 438, + "end": 0, + "name": "mountingBoltPatternX", + "start": 0, + "type": "Identifier" + }, + "init": { + "commentStart": 461, + "end": 0, + "raw": "7", "start": 0, "type": "Literal", "type": "Literal", "value": { - "value": 0.09, + "value": 7.0, + "suffix": "None" + } + }, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 463, + "declaration": { + "commentStart": 463, + "end": 0, + "id": { + "commentStart": 463, + "end": 0, + "name": "mountingBoltPatternY", + "start": 0, + "type": "Identifier" + }, + "init": { + "commentStart": 486, + "end": 0, + "raw": "4", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 4.0, + "suffix": "None" + } + }, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 487, + "declaration": { + "commentStart": 558, + "end": 0, + "id": { + "commentStart": 558, + "end": 0, + "name": "componentBoltDiameter", + "start": 0, + "type": "Identifier" + }, + "init": { + "commentStart": 582, + "end": 0, + "left": { + "commentStart": 582, + "end": 0, + "raw": "3", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 3.0, + "suffix": "None" + } + }, + "operator": "/", + "right": { + "commentStart": 586, + "end": 0, + "raw": "16", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 16.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "preComments": [ + "", + "", + "// Input bolt pattern dimensions to mount a component to the bracket" + ], + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 589, + "declaration": { + "commentStart": 589, + "end": 0, + "id": { + "commentStart": 589, + "end": 0, + "name": "componentBoltPatternX", + "start": 0, + "type": "Identifier" + }, + "init": { + "commentStart": 613, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 615, + "declaration": { + "commentStart": 615, + "end": 0, + "id": { + "commentStart": 615, + "end": 0, + "name": "componentBoltPatternY", + "start": 0, + "type": "Identifier" + }, + "init": { + "commentStart": 639, + "end": 0, + "raw": "3", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 3.0, + "suffix": "None" + } + }, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 640, + "declaration": { + "commentStart": 734, + "end": 0, + "id": { + "commentStart": 734, + "end": 0, + "name": "hatHeight", + "start": 0, + "type": "Identifier" + }, + "init": { + "commentStart": 746, + "end": 0, + "raw": "2.5", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.5, "suffix": "None" } }, @@ -35,33 +281,35 @@ description: Result of parsing sheet-metal-bracket.kcl "end": 0, "kind": "const", "preComments": [ - "// Define constants such as sheet metal thickness, bend radius, flange length, bolt diameter size, etc." + "", + "", + "// Define bracket constants such as sheet metal thickness, bend radius, flange length, etc." ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { - "commentStart": 477, + "commentStart": 750, "declaration": { - "commentStart": 477, + "commentStart": 750, "end": 0, "id": { - "commentStart": 477, + "commentStart": 750, "end": 0, - "name": "bendRad", + "name": "bendAngle", "start": 0, "type": "Identifier" }, "init": { - "commentStart": 487, + "commentStart": 762, "end": 0, - "raw": "0.08", + "raw": "75", "start": 0, "type": "Literal", "type": "Literal", "value": { - "value": 0.08, + "value": 75.0, "suffix": "None" } }, @@ -75,28 +323,94 @@ description: Result of parsing sheet-metal-bracket.kcl "type": "VariableDeclaration" }, { - "commentStart": 492, + "commentStart": 765, "declaration": { - "commentStart": 492, + "commentStart": 765, "end": 0, "id": { - "commentStart": 492, + "commentStart": 765, "end": 0, - "name": "outsideBendRad", + "name": "thickness", "start": 0, "type": "Identifier" }, "init": { - "commentStart": 509, + "commentStart": 777, + "end": 0, + "raw": "0.125", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.125, + "suffix": "None" + } + }, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 783, + "declaration": { + "commentStart": 783, + "end": 0, + "id": { + "commentStart": 783, + "end": 0, + "name": "interiorBendRadius", + "start": 0, + "type": "Identifier" + }, + "init": { + "commentStart": 804, + "end": 0, + "raw": "0.125", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.125, + "suffix": "None" + } + }, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 809, + "declaration": { + "commentStart": 845, + "end": 0, + "id": { + "commentStart": 845, + "end": 0, + "name": "exteriorBendRadius", + "start": 0, + "type": "Identifier" + }, + "init": { + "commentStart": 866, "end": 0, "left": { "abs_path": false, - "commentStart": 509, + "commentStart": 866, "end": 0, "name": { - "commentStart": 509, + "commentStart": 866, "end": 0, - "name": "bendRad", + "name": "interiorBendRadius", "start": 0, "type": "Identifier" }, @@ -108,10 +422,10 @@ description: Result of parsing sheet-metal-bracket.kcl "operator": "+", "right": { "abs_path": false, - "commentStart": 519, + "commentStart": 887, "end": 0, "name": { - "commentStart": 519, + "commentStart": 887, "end": 0, "name": "thickness", "start": 0, @@ -131,33 +445,119 @@ description: Result of parsing sheet-metal-bracket.kcl }, "end": 0, "kind": "const", + "preComments": [ + "", + "", + "// Calculate Remaining Parameters" + ], + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 897, + "declaration": { + "commentStart": 897, + "end": 0, + "id": { + "commentStart": 897, + "end": 0, + "name": "overhang", + "start": 0, + "type": "Identifier" + }, + "init": { + "commentStart": 908, + "end": 0, + "left": { + "commentStart": 908, + "end": 0, + "raw": "3", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 3.0, + "suffix": "None" + } + }, + "operator": "*", + "right": { + "abs_path": false, + "commentStart": 912, + "end": 0, + "name": { + "commentStart": 912, + "end": 0, + "name": "mountingBoltDiameter", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { - "commentStart": 529, + "commentStart": 933, "declaration": { - "commentStart": 529, + "commentStart": 933, "end": 0, "id": { - "commentStart": 529, + "commentStart": 933, "end": 0, "name": "flangeLength", "start": 0, "type": "Identifier" }, "init": { - "commentStart": 544, + "commentStart": 948, "end": 0, - "raw": "0.5", + "left": { + "commentStart": 948, + "end": 0, + "raw": "6", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 6.0, + "suffix": "None" + } + }, + "operator": "*", + "right": { + "abs_path": false, + "commentStart": 952, + "end": 0, + "name": { + "commentStart": 952, + "end": 0, + "name": "mountingBoltDiameter", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.5, - "suffix": "None" - } + "type": "BinaryExpression", + "type": "BinaryExpression" }, "start": 0, "type": "VariableDeclarator" @@ -169,162 +569,78 @@ description: Result of parsing sheet-metal-bracket.kcl "type": "VariableDeclaration" }, { - "commentStart": 548, + "commentStart": 973, "declaration": { - "commentStart": 548, + "commentStart": 973, "end": 0, "id": { - "commentStart": 548, + "commentStart": 973, "end": 0, - "name": "hatHeight", + "name": "flangeExtrusion", "start": 0, "type": "Identifier" }, "init": { - "commentStart": 560, + "commentStart": 991, + "cond": { + "commentStart": 994, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 994, + "end": 0, + "name": { + "commentStart": 994, + "end": 0, + "name": "mountingBoltPatternY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": ">", + "right": { + "abs_path": false, + "commentStart": 1017, + "end": 0, + "name": { + "commentStart": 1017, + "end": 0, + "name": "componentBoltPatternY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "digest": null, + "else_ifs": [], "end": 0, - "raw": "3", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 3.0, - "suffix": "None" - } - }, - "start": 0, - "type": "VariableDeclarator" - }, - "end": 0, - "kind": "const", - "start": 0, - "type": "VariableDeclaration", - "type": "VariableDeclaration" - }, - { - "commentStart": 562, - "declaration": { - "commentStart": 562, - "end": 0, - "id": { - "commentStart": 562, - "end": 0, - "name": "hatWidth", - "start": 0, - "type": "Identifier" - }, - "init": { - "commentStart": 573, - "end": 0, - "raw": "5", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 5.0, - "suffix": "None" - } - }, - "start": 0, - "type": "VariableDeclarator" - }, - "end": 0, - "kind": "const", - "start": 0, - "type": "VariableDeclaration", - "type": "VariableDeclaration" - }, - { - "commentStart": 575, - "declaration": { - "commentStart": 575, - "end": 0, - "id": { - "commentStart": 575, - "end": 0, - "name": "boltSize", - "start": 0, - "type": "Identifier" - }, - "init": { - "commentStart": 586, - "end": 0, - "raw": "0.25", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.25, - "suffix": "None" - } - }, - "start": 0, - "type": "VariableDeclarator" - }, - "end": 0, - "kind": "const", - "start": 0, - "type": "VariableDeclaration", - "type": "VariableDeclaration" - }, - { - "commentStart": 591, - "declaration": { - "commentStart": 591, - "end": 0, - "id": { - "commentStart": 591, - "end": 0, - "name": "flangeWidth", - "start": 0, - "type": "Identifier" - }, - "init": { - "commentStart": 605, - "end": 0, - "raw": "1.5", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 1.5, - "suffix": "None" - } - }, - "start": 0, - "type": "VariableDeclarator" - }, - "end": 0, - "kind": "const", - "start": 0, - "type": "VariableDeclaration", - "type": "VariableDeclaration" - }, - { - "commentStart": 608, - "declaration": { - "commentStart": 688, - "end": 0, - "id": { - "commentStart": 688, - "end": 0, - "name": "baseExtrusion", - "start": 0, - "type": "Identifier" - }, - "init": { - "body": [ - { - "arguments": [ - { - "argument": { + "final_else": { + "body": [ + { + "commentStart": 1090, + "end": 0, + "expression": { + "commentStart": 1090, + "end": 0, + "left": { "abs_path": false, - "commentStart": 719, + "commentStart": 1090, "end": 0, "name": { - "commentStart": 719, + "commentStart": 1090, "end": 0, - "name": "XZ", + "name": "componentBoltPatternY", "start": 0, "type": "Identifier" }, @@ -333,20 +649,182 @@ description: Result of parsing sheet-metal-bracket.kcl "type": "Name", "type": "Name" }, - "commentStart": 718, - "end": 0, - "operator": "-", + "operator": "+", + "right": { + "commentStart": 1114, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 1114, + "end": 0, + "name": { + "commentStart": 1114, + "end": 0, + "name": "overhang", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "*", + "right": { + "commentStart": 1125, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "start": 0, + "type": "ExpressionStatement", + "type": "ExpressionStatement" + } + ], + "commentStart": 1090, + "end": 0, + "start": 0 + }, + "start": 0, + "then_val": { + "body": [ + { + "commentStart": 1043, + "end": 0, + "expression": { + "commentStart": 1043, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 1043, + "end": 0, + "name": { + "commentStart": 1043, + "end": 0, + "name": "mountingBoltPatternY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "+", + "right": { + "commentStart": 1066, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 1066, + "end": 0, + "name": { + "commentStart": 1066, + "end": 0, + "name": "overhang", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "*", + "right": { + "commentStart": 1077, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "start": 0, + "type": "ExpressionStatement", + "type": "ExpressionStatement" + } + ], + "commentStart": 1043, + "end": 0, + "start": 0 + }, + "type": "IfExpression", + "type": "IfExpression" + }, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 1128, + "declaration": { + "commentStart": 1187, + "end": 0, + "id": { + "commentStart": 1187, + "end": 0, + "name": "bracketProfile", + "start": 0, + "type": "Identifier" + }, + "init": { + "body": [ + { + "arguments": [ + { + "abs_path": false, + "commentStart": 1218, + "end": 0, + "name": { + "commentStart": 1218, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" } ], "callee": { "abs_path": false, - "commentStart": 704, + "commentStart": 1204, "end": 0, "name": { - "commentStart": 704, + "commentStart": 1204, "end": 0, "name": "startSketchOn", "start": 0, @@ -356,7 +834,7 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name" }, - "commentStart": 704, + "commentStart": 1204, "end": 0, "start": 0, "type": "CallExpression", @@ -365,22 +843,78 @@ description: Result of parsing sheet-metal-bracket.kcl { "arguments": [ { - "commentStart": 743, + "commentStart": 1242, "elements": [ { - "commentStart": 744, + "commentStart": 1251, "end": 0, - "raw": "0", + "left": { + "commentStart": 1251, + "end": 0, + "left": { + "argument": { + "abs_path": false, + "commentStart": 1252, + "end": 0, + "name": { + "commentStart": 1252, + "end": 0, + "name": "mountingBoltPatternX", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 1251, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + }, + "operator": "/", + "right": { + "commentStart": 1275, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "-", + "right": { + "abs_path": false, + "commentStart": 1279, + "end": 0, + "name": { + "commentStart": 1279, + "end": 0, + "name": "overhang", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } + "type": "BinaryExpression", + "type": "BinaryExpression" }, { - "commentStart": 747, + "commentStart": 1296, "end": 0, "raw": "0", "start": 0, @@ -398,7 +932,7 @@ description: Result of parsing sheet-metal-bracket.kcl "type": "ArrayExpression" }, { - "commentStart": 751, + "commentStart": 1306, "end": 0, "start": 0, "type": "PipeSubstitution", @@ -407,10 +941,10 @@ description: Result of parsing sheet-metal-bracket.kcl ], "callee": { "abs_path": false, - "commentStart": 728, + "commentStart": 1227, "end": 0, "name": { - "commentStart": 728, + "commentStart": 1227, "end": 0, "name": "startProfileAt", "start": 0, @@ -420,7 +954,7 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name" }, - "commentStart": 728, + "commentStart": 1227, "end": 0, "start": 0, "type": "CallExpression", @@ -431,33 +965,197 @@ description: Result of parsing sheet-metal-bracket.kcl { "type": "LabeledArg", "label": { - "commentStart": 764, + "commentStart": 1320, "end": 0, - "name": "end", + "name": "length", "start": 0, "type": "Identifier" }, "arg": { - "commentStart": 770, - "elements": [ - { - "commentStart": 771, + "abs_path": false, + "commentStart": 1329, + "end": 0, + "name": { + "commentStart": 1329, + "end": 0, + "name": "flangeLength", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 1314, + "end": 0, + "name": { + "commentStart": 1314, + "end": 0, + "name": "xLine", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 1314, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null + }, + { + "arguments": [ + { + "commentStart": 1362, + "end": 0, + "properties": [ + { + "commentStart": 1371, + "end": 0, + "key": { + "commentStart": 1371, "end": 0, - "raw": "0", + "name": "radius", "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } + "type": "Identifier" }, - { + "start": 0, + "type": "ObjectProperty", + "value": { "abs_path": false, - "commentStart": 774, + "commentStart": 1380, "end": 0, "name": { - "commentStart": 774, + "commentStart": 1380, + "end": 0, + "name": "exteriorBendRadius", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { + "commentStart": 1407, + "end": 0, + "key": { + "commentStart": 1407, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "start": 0, + "type": "ObjectProperty", + "value": { + "abs_path": false, + "commentStart": 1416, + "end": 0, + "name": { + "commentStart": 1416, + "end": 0, + "name": "bendAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "start": 0, + "type": "ObjectExpression", + "type": "ObjectExpression" + }, + { + "commentStart": 1434, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } + ], + "callee": { + "abs_path": false, + "commentStart": 1348, + "end": 0, + "name": { + "commentStart": 1348, + "end": 0, + "name": "tangentialArc", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 1348, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + }, + { + "arguments": [ + { + "commentStart": 1456, + "elements": [ + { + "abs_path": false, + "commentStart": 1457, + "end": 0, + "name": { + "commentStart": 1457, + "end": 0, + "name": "bendAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + { + "commentStart": 1468, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 1468, + "end": 0, + "name": { + "commentStart": 1468, + "end": 0, + "name": "hatHeight", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "-", + "right": { + "abs_path": false, + "commentStart": 1480, + "end": 0, + "name": { + "commentStart": 1480, "end": 0, "name": "thickness", "start": 0, @@ -467,41 +1165,41 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name", "type": "Name" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" }, { - "type": "LabeledArg", - "label": { - "commentStart": 786, - "end": 0, - "name": "tag", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 792, - "end": 0, - "start": 0, - "type": "TagDeclarator", - "type": "TagDeclarator", - "value": "e1" - } + "commentStart": 1492, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + }, + { + "commentStart": 1495, + "end": 0, + "start": 0, + "type": "TagDeclarator", + "type": "TagDeclarator", + "value": "seg01" } ], "callee": { "abs_path": false, - "commentStart": 759, + "commentStart": 1442, "end": 0, "name": { - "commentStart": 759, + "commentStart": 1442, "end": 0, - "name": "line", + "name": "angledLineToY", "start": 0, "type": "Identifier" }, @@ -509,137 +1207,38 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name" }, - "commentStart": 759, + "commentStart": 1442, "end": 0, "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null + "type": "CallExpression", + "type": "CallExpression" }, { "arguments": [ { - "type": "LabeledArg", - "label": { - "commentStart": 807, - "end": 0, - "name": "end", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 813, - "elements": [ - { - "abs_path": false, - "commentStart": 814, - "end": 0, - "name": { - "commentStart": 814, - "end": 0, - "name": "flangeLength", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - { - "commentStart": 828, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 832, - "end": 0, - "name": "tag", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 838, - "end": 0, - "start": 0, - "type": "TagDeclarator", - "type": "TagDeclarator", - "value": "e2" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 802, - "end": 0, - "name": { - "commentStart": 802, + "commentStart": 1522, "end": 0, - "name": "line", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 802, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 853, - "end": 0, - "name": "end", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 859, - "elements": [ - { - "commentStart": 860, + "properties": [ + { + "commentStart": 1531, + "end": 0, + "key": { + "commentStart": 1531, "end": 0, - "raw": "0", + "name": "radius", "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } + "type": "Identifier" }, - { + "start": 0, + "type": "ObjectProperty", + "value": { "abs_path": false, - "commentStart": 863, + "commentStart": 1540, "end": 0, "name": { - "commentStart": 863, + "commentStart": 1540, "end": 0, - "name": "hatHeight", + "name": "interiorBendRadius", "start": 0, "type": "Identifier" }, @@ -648,179 +1247,28 @@ description: Result of parsing sheet-metal-bracket.kcl "type": "Name", "type": "Name" } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 875, - "end": 0, - "name": "tag", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 881, - "end": 0, - "start": 0, - "type": "TagDeclarator", - "type": "TagDeclarator", - "value": "e3" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 848, - "end": 0, - "name": { - "commentStart": 848, - "end": 0, - "name": "line", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 848, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 896, - "end": 0, - "name": "end", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 902, - "elements": [ - { - "abs_path": false, - "commentStart": 903, + }, + { + "commentStart": 1567, + "end": 0, + "key": { + "commentStart": 1567, "end": 0, - "name": { - "commentStart": 903, - "end": 0, - "name": "hatWidth", - "start": 0, - "type": "Identifier" - }, - "path": [], + "name": "offset", "start": 0, - "type": "Name", - "type": "Name" + "type": "Identifier" }, - { - "commentStart": 913, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 917, - "end": 0, - "name": "tag", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 923, - "end": 0, - "start": 0, - "type": "TagDeclarator", - "type": "TagDeclarator", - "value": "e4" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 891, - "end": 0, - "name": { - "commentStart": 891, - "end": 0, - "name": "line", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 891, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 938, - "end": 0, - "name": "end", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 944, - "elements": [ - { - "commentStart": 945, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - }, - { + "start": 0, + "type": "ObjectProperty", + "value": { "argument": { "abs_path": false, - "commentStart": 949, + "commentStart": 1577, "end": 0, "name": { - "commentStart": 949, + "commentStart": 1577, "end": 0, - "name": "hatHeight", + "name": "bendAngle", "start": 0, "type": "Identifier" }, @@ -829,47 +1277,35 @@ description: Result of parsing sheet-metal-bracket.kcl "type": "Name", "type": "Name" }, - "commentStart": 948, + "commentStart": 1576, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } + } + ], + "start": 0, + "type": "ObjectExpression", + "type": "ObjectExpression" }, { - "type": "LabeledArg", - "label": { - "commentStart": 961, - "end": 0, - "name": "tag", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 967, - "end": 0, - "start": 0, - "type": "TagDeclarator", - "type": "TagDeclarator", - "value": "e5" - } + "commentStart": 1595, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" } ], "callee": { "abs_path": false, - "commentStart": 933, + "commentStart": 1508, "end": 0, "name": { - "commentStart": 933, + "commentStart": 1508, "end": 0, - "name": "line", + "name": "tangentialArc", "start": 0, "type": "Identifier" }, @@ -877,7 +1313,71 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name" }, - "commentStart": 933, + "commentStart": 1508, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + }, + { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 1609, + "end": 0, + "name": "endAbsolute", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 1623, + "end": 0, + "raw": "0", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 1626, + "end": 0, + "name": "tag", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 1632, + "end": 0, + "start": 0, + "type": "TagDeclarator", + "type": "TagDeclarator", + "value": "seg02" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 1603, + "end": 0, + "name": { + "commentStart": 1603, + "end": 0, + "name": "xLine", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 1603, "end": 0, "start": 0, "type": "CallExpressionKw", @@ -889,345 +1389,22 @@ description: Result of parsing sheet-metal-bracket.kcl { "type": "LabeledArg", "label": { - "commentStart": 982, + "commentStart": 1651, "end": 0, - "name": "end", + "name": "length", "start": 0, "type": "Identifier" }, "arg": { - "commentStart": 988, - "elements": [ + "arguments": [ { "abs_path": false, - "commentStart": 989, + "commentStart": 1667, "end": 0, "name": { - "commentStart": 989, + "commentStart": 1667, "end": 0, - "name": "flangeLength", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - { - "commentStart": 1003, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 1007, - "end": 0, - "name": "tag", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1013, - "end": 0, - "start": 0, - "type": "TagDeclarator", - "type": "TagDeclarator", - "value": "e6" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 977, - "end": 0, - "name": { - "commentStart": 977, - "end": 0, - "name": "line", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 977, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 1028, - "end": 0, - "name": "end", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1034, - "elements": [ - { - "commentStart": 1035, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - }, - { - "argument": { - "abs_path": false, - "commentStart": 1039, - "end": 0, - "name": { - "commentStart": 1039, - "end": 0, - "name": "thickness", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 1038, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 1051, - "end": 0, - "name": "tag", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1057, - "end": 0, - "start": 0, - "type": "TagDeclarator", - "type": "TagDeclarator", - "value": "e7" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 1023, - "end": 0, - "name": { - "commentStart": 1023, - "end": 0, - "name": "line", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1023, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 1072, - "end": 0, - "name": "end", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1078, - "elements": [ - { - "commentStart": 1079, - "end": 0, - "left": { - "argument": { - "abs_path": false, - "commentStart": 1080, - "end": 0, - "name": { - "commentStart": 1080, - "end": 0, - "name": "flangeLength", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 1079, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - }, - "operator": "-", - "right": { - "abs_path": false, - "commentStart": 1095, - "end": 0, - "name": { - "commentStart": 1095, - "end": 0, - "name": "thickness", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - { - "commentStart": 1106, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 1110, - "end": 0, - "name": "tag", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1116, - "end": 0, - "start": 0, - "type": "TagDeclarator", - "type": "TagDeclarator", - "value": "e8" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 1067, - "end": 0, - "name": { - "commentStart": 1067, - "end": 0, - "name": "line", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1067, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 1131, - "end": 0, - "name": "end", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1137, - "elements": [ - { - "commentStart": 1138, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - }, - { - "abs_path": false, - "commentStart": 1141, - "end": 0, - "name": { - "commentStart": 1141, - "end": 0, - "name": "hatHeight", + "name": "seg02", "start": 0, "type": "Identifier" }, @@ -1237,39 +1414,37 @@ description: Result of parsing sheet-metal-bracket.kcl "type": "Name" } ], + "callee": { + "abs_path": false, + "commentStart": 1660, + "end": 0, + "name": { + "commentStart": 1660, + "end": 0, + "name": "segLen", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 1660, "end": 0, "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 1153, - "end": 0, - "name": "tag", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1159, - "end": 0, - "start": 0, - "type": "TagDeclarator", - "type": "TagDeclarator", - "value": "e9" + "type": "CallExpression", + "type": "CallExpression" } } ], "callee": { "abs_path": false, - "commentStart": 1126, + "commentStart": 1645, "end": 0, "name": { - "commentStart": 1126, + "commentStart": 1645, "end": 0, - "name": "line", + "name": "xLine", "start": 0, "type": "Identifier" }, @@ -1277,7 +1452,7 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name" }, - "commentStart": 1126, + "commentStart": 1645, "end": 0, "start": 0, "type": "CallExpressionKw", @@ -1287,180 +1462,59 @@ description: Result of parsing sheet-metal-bracket.kcl { "arguments": [ { - "type": "LabeledArg", - "label": { - "commentStart": 1174, - "end": 0, - "name": "end", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1180, - "elements": [ - { - "commentStart": 1181, + "commentStart": 1694, + "end": 0, + "properties": [ + { + "commentStart": 1703, + "end": 0, + "key": { + "commentStart": 1703, "end": 0, - "left": { - "argument": { - "abs_path": false, - "commentStart": 1182, - "end": 0, - "name": { - "commentStart": 1182, - "end": 0, - "name": "hatWidth", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 1181, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - }, - "operator": "+", - "right": { - "commentStart": 1193, - "end": 0, - "left": { - "commentStart": 1193, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - }, - "operator": "*", - "right": { - "abs_path": false, - "commentStart": 1197, - "end": 0, - "name": { - "commentStart": 1197, - "end": 0, - "name": "thickness", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, + "name": "radius", "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" + "type": "Identifier" }, - { - "commentStart": 1208, + "start": 0, + "type": "ObjectProperty", + "value": { + "abs_path": false, + "commentStart": 1712, "end": 0, - "raw": "0", + "name": { + "commentStart": 1712, + "end": 0, + "name": "interiorBendRadius", + "start": 0, + "type": "Identifier" + }, + "path": [], "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } + "type": "Name", + "type": "Name" } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 1212, - "end": 0, - "name": "tag", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1218, - "end": 0, - "start": 0, - "type": "TagDeclarator", - "type": "TagDeclarator", - "value": "e10" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 1169, - "end": 0, - "name": { - "commentStart": 1169, - "end": 0, - "name": "line", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1169, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 1234, - "end": 0, - "name": "end", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1240, - "elements": [ - { - "commentStart": 1241, + }, + { + "commentStart": 1739, + "end": 0, + "key": { + "commentStart": 1739, "end": 0, - "raw": "0", + "name": "offset", "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } + "type": "Identifier" }, - { + "start": 0, + "type": "ObjectProperty", + "value": { "argument": { "abs_path": false, - "commentStart": 1245, + "commentStart": 1749, "end": 0, "name": { - "commentStart": 1245, + "commentStart": 1749, "end": 0, - "name": "hatHeight", + "name": "bendAngle", "start": 0, "type": "Identifier" }, @@ -1469,47 +1523,35 @@ description: Result of parsing sheet-metal-bracket.kcl "type": "Name", "type": "Name" }, - "commentStart": 1244, + "commentStart": 1748, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } + } + ], + "start": 0, + "type": "ObjectExpression", + "type": "ObjectExpression" }, { - "type": "LabeledArg", - "label": { - "commentStart": 1257, - "end": 0, - "name": "tag", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1263, - "end": 0, - "start": 0, - "type": "TagDeclarator", - "type": "TagDeclarator", - "value": "e11" - } + "commentStart": 1767, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" } ], "callee": { "abs_path": false, - "commentStart": 1229, + "commentStart": 1680, "end": 0, "name": { - "commentStart": 1229, + "commentStart": 1680, "end": 0, - "name": "line", + "name": "tangentialArc", "start": 0, "type": "Identifier" }, @@ -1517,7 +1559,259 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name" }, - "commentStart": 1229, + "commentStart": 1680, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + }, + { + "arguments": [ + { + "commentStart": 1786, + "elements": [ + { + "argument": { + "abs_path": false, + "commentStart": 1788, + "end": 0, + "name": { + "commentStart": 1788, + "end": 0, + "name": "bendAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 1787, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + }, + { + "arguments": [ + { + "abs_path": false, + "commentStart": 1806, + "end": 0, + "name": { + "commentStart": 1806, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + ], + "callee": { + "abs_path": false, + "commentStart": 1799, + "end": 0, + "name": { + "commentStart": 1799, + "end": 0, + "name": "segLen", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 1799, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + }, + { + "commentStart": 1815, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } + ], + "callee": { + "abs_path": false, + "commentStart": 1775, + "end": 0, + "name": { + "commentStart": 1775, + "end": 0, + "name": "angledLine", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 1775, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + }, + { + "arguments": [ + { + "commentStart": 1837, + "end": 0, + "properties": [ + { + "commentStart": 1846, + "end": 0, + "key": { + "commentStart": 1846, + "end": 0, + "name": "radius", + "start": 0, + "type": "Identifier" + }, + "start": 0, + "type": "ObjectProperty", + "value": { + "abs_path": false, + "commentStart": 1855, + "end": 0, + "name": { + "commentStart": 1855, + "end": 0, + "name": "exteriorBendRadius", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { + "commentStart": 1882, + "end": 0, + "key": { + "commentStart": 1882, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "start": 0, + "type": "ObjectProperty", + "value": { + "abs_path": false, + "commentStart": 1891, + "end": 0, + "name": { + "commentStart": 1891, + "end": 0, + "name": "bendAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "start": 0, + "type": "ObjectExpression", + "type": "ObjectExpression" + }, + { + "commentStart": 1909, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } + ], + "callee": { + "abs_path": false, + "commentStart": 1823, + "end": 0, + "name": { + "commentStart": 1823, + "end": 0, + "name": "tangentialArc", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 1823, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + }, + { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 1923, + "end": 0, + "name": "length", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 1932, + "end": 0, + "name": { + "commentStart": 1932, + "end": 0, + "name": "flangeLength", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 1917, + "end": 0, + "name": { + "commentStart": 1917, + "end": 0, + "name": "xLine", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 1917, "end": 0, "start": 0, "type": "CallExpressionKw", @@ -1529,28 +1823,1144 @@ description: Result of parsing sheet-metal-bracket.kcl { "type": "LabeledArg", "label": { - "commentStart": 1280, + "commentStart": 1957, + "end": 0, + "name": "length", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 1966, + "end": 0, + "name": { + "commentStart": 1966, + "end": 0, + "name": "thickness", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 1977, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { - "commentStart": 1286, + "commentStart": 1983, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", - "value": "e12" + "value": "seg03" } } ], "callee": { "abs_path": false, - "commentStart": 1274, + "commentStart": 1951, "end": 0, "name": { - "commentStart": 1274, + "commentStart": 1951, + "end": 0, + "name": "yLine", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 1951, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null + }, + { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 2002, + "end": 0, + "name": "length", + "start": 0, + "type": "Identifier" + }, + "arg": { + "argument": { + "abs_path": false, + "commentStart": 2012, + "end": 0, + "name": { + "commentStart": 2012, + "end": 0, + "name": "flangeLength", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 2011, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 2026, + "end": 0, + "name": "tag", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 2032, + "end": 0, + "start": 0, + "type": "TagDeclarator", + "type": "TagDeclarator", + "value": "seg04" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 1996, + "end": 0, + "name": { + "commentStart": 1996, + "end": 0, + "name": "xLine", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 1996, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null + }, + { + "arguments": [ + { + "commentStart": 2059, + "end": 0, + "properties": [ + { + "commentStart": 2068, + "end": 0, + "key": { + "commentStart": 2068, + "end": 0, + "name": "radius", + "start": 0, + "type": "Identifier" + }, + "start": 0, + "type": "ObjectProperty", + "value": { + "abs_path": false, + "commentStart": 2077, + "end": 0, + "name": { + "commentStart": 2077, + "end": 0, + "name": "interiorBendRadius", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { + "commentStart": 2104, + "end": 0, + "key": { + "commentStart": 2104, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "start": 0, + "type": "ObjectProperty", + "value": { + "argument": { + "abs_path": false, + "commentStart": 2114, + "end": 0, + "name": { + "commentStart": 2114, + "end": 0, + "name": "bendAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 2113, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } + } + ], + "start": 0, + "type": "ObjectExpression", + "type": "ObjectExpression" + }, + { + "commentStart": 2132, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } + ], + "callee": { + "abs_path": false, + "commentStart": 2045, + "end": 0, + "name": { + "commentStart": 2045, + "end": 0, + "name": "tangentialArc", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 2045, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + }, + { + "arguments": [ + { + "commentStart": 2151, + "elements": [ + { + "commentStart": 2152, + "end": 0, + "left": { + "commentStart": 2152, + "end": 0, + "raw": "180", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 180.0, + "suffix": "None" + } + }, + "operator": "-", + "right": { + "abs_path": false, + "commentStart": 2158, + "end": 0, + "name": { + "commentStart": 2158, + "end": 0, + "name": "bendAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + { + "arguments": [ + { + "abs_path": false, + "commentStart": 2176, + "end": 0, + "name": { + "commentStart": 2176, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + ], + "callee": { + "abs_path": false, + "commentStart": 2169, + "end": 0, + "name": { + "commentStart": 2169, + "end": 0, + "name": "segLen", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 2169, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + }, + { + "commentStart": 2185, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } + ], + "callee": { + "abs_path": false, + "commentStart": 2140, + "end": 0, + "name": { + "commentStart": 2140, + "end": 0, + "name": "angledLine", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 2140, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + }, + { + "arguments": [ + { + "commentStart": 2207, + "end": 0, + "properties": [ + { + "commentStart": 2216, + "end": 0, + "key": { + "commentStart": 2216, + "end": 0, + "name": "radius", + "start": 0, + "type": "Identifier" + }, + "start": 0, + "type": "ObjectProperty", + "value": { + "abs_path": false, + "commentStart": 2225, + "end": 0, + "name": { + "commentStart": 2225, + "end": 0, + "name": "exteriorBendRadius", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { + "commentStart": 2252, + "end": 0, + "key": { + "commentStart": 2252, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "start": 0, + "type": "ObjectProperty", + "value": { + "abs_path": false, + "commentStart": 2261, + "end": 0, + "name": { + "commentStart": 2261, + "end": 0, + "name": "bendAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "start": 0, + "type": "ObjectExpression", + "type": "ObjectExpression" + }, + { + "commentStart": 2279, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } + ], + "callee": { + "abs_path": false, + "commentStart": 2193, + "end": 0, + "name": { + "commentStart": 2193, + "end": 0, + "name": "tangentialArc", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 2193, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + }, + { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 2293, + "end": 0, + "name": "endAbsolute", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 2307, + "end": 0, + "raw": "0", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 2310, + "end": 0, + "name": "tag", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 2316, + "end": 0, + "start": 0, + "type": "TagDeclarator", + "type": "TagDeclarator", + "value": "seg05" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 2287, + "end": 0, + "name": { + "commentStart": 2287, + "end": 0, + "name": "xLine", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 2287, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null + }, + { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 2335, + "end": 0, + "name": "length", + "start": 0, + "type": "Identifier" + }, + "arg": { + "argument": { + "arguments": [ + { + "abs_path": false, + "commentStart": 2352, + "end": 0, + "name": { + "commentStart": 2352, + "end": 0, + "name": "seg05", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + ], + "callee": { + "abs_path": false, + "commentStart": 2345, + "end": 0, + "name": { + "commentStart": 2345, + "end": 0, + "name": "segLen", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 2345, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + }, + "commentStart": 2344, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 2329, + "end": 0, + "name": { + "commentStart": 2329, + "end": 0, + "name": "xLine", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 2329, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null + }, + { + "arguments": [ + { + "commentStart": 2379, + "end": 0, + "properties": [ + { + "commentStart": 2388, + "end": 0, + "key": { + "commentStart": 2388, + "end": 0, + "name": "radius", + "start": 0, + "type": "Identifier" + }, + "start": 0, + "type": "ObjectProperty", + "value": { + "abs_path": false, + "commentStart": 2397, + "end": 0, + "name": { + "commentStart": 2397, + "end": 0, + "name": "exteriorBendRadius", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { + "commentStart": 2424, + "end": 0, + "key": { + "commentStart": 2424, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "start": 0, + "type": "ObjectProperty", + "value": { + "abs_path": false, + "commentStart": 2433, + "end": 0, + "name": { + "commentStart": 2433, + "end": 0, + "name": "bendAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "start": 0, + "type": "ObjectExpression", + "type": "ObjectExpression" + }, + { + "commentStart": 2451, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } + ], + "callee": { + "abs_path": false, + "commentStart": 2365, + "end": 0, + "name": { + "commentStart": 2365, + "end": 0, + "name": "tangentialArc", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 2365, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + }, + { + "arguments": [ + { + "commentStart": 2470, + "elements": [ + { + "commentStart": 2471, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 2471, + "end": 0, + "name": { + "commentStart": 2471, + "end": 0, + "name": "bendAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "-", + "right": { + "commentStart": 2483, + "end": 0, + "raw": "180", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 180.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + { + "arguments": [ + { + "abs_path": false, + "commentStart": 2495, + "end": 0, + "name": { + "commentStart": 2495, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + ], + "callee": { + "abs_path": false, + "commentStart": 2488, + "end": 0, + "name": { + "commentStart": 2488, + "end": 0, + "name": "segLen", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 2488, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + }, + { + "commentStart": 2504, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } + ], + "callee": { + "abs_path": false, + "commentStart": 2459, + "end": 0, + "name": { + "commentStart": 2459, + "end": 0, + "name": "angledLine", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 2459, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + }, + { + "arguments": [ + { + "commentStart": 2526, + "end": 0, + "properties": [ + { + "commentStart": 2535, + "end": 0, + "key": { + "commentStart": 2535, + "end": 0, + "name": "radius", + "start": 0, + "type": "Identifier" + }, + "start": 0, + "type": "ObjectProperty", + "value": { + "abs_path": false, + "commentStart": 2544, + "end": 0, + "name": { + "commentStart": 2544, + "end": 0, + "name": "interiorBendRadius", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { + "commentStart": 2571, + "end": 0, + "key": { + "commentStart": 2571, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "start": 0, + "type": "ObjectProperty", + "value": { + "argument": { + "abs_path": false, + "commentStart": 2581, + "end": 0, + "name": { + "commentStart": 2581, + "end": 0, + "name": "bendAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 2580, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } + } + ], + "start": 0, + "type": "ObjectExpression", + "type": "ObjectExpression" + }, + { + "commentStart": 2599, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } + ], + "callee": { + "abs_path": false, + "commentStart": 2512, + "end": 0, + "name": { + "commentStart": 2512, + "end": 0, + "name": "tangentialArc", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 2512, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + }, + { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 2613, + "end": 0, + "name": "length", + "start": 0, + "type": "Identifier" + }, + "arg": { + "argument": { + "abs_path": false, + "commentStart": 2623, + "end": 0, + "name": { + "commentStart": 2623, + "end": 0, + "name": "flangeLength", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 2622, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 2637, + "end": 0, + "name": "tag", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 2643, + "end": 0, + "start": 0, + "type": "TagDeclarator", + "type": "TagDeclarator", + "value": "seg06" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 2607, + "end": 0, + "name": { + "commentStart": 2607, + "end": 0, + "name": "xLine", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 2607, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null + }, + { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 2661, + "end": 0, + "name": "endAbsolute", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 2675, + "elements": [ + { + "arguments": [ + { + "commentStart": 2690, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } + ], + "callee": { + "abs_path": false, + "commentStart": 2676, + "end": 0, + "name": { + "commentStart": 2676, + "end": 0, + "name": "profileStartX", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 2676, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + }, + { + "arguments": [ + { + "commentStart": 2708, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } + ], + "callee": { + "abs_path": false, + "commentStart": 2694, + "end": 0, + "name": { + "commentStart": 2694, + "end": 0, + "name": "profileStartY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 2694, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 2713, + "end": 0, + "name": "tag", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 2719, + "end": 0, + "start": 0, + "type": "TagDeclarator", + "type": "TagDeclarator", + "value": "seg07" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 2656, + "end": 0, + "name": { + "commentStart": 2656, + "end": 0, + "name": "line", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 2656, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null + }, + { + "arguments": [], + "callee": { + "abs_path": false, + "commentStart": 2732, + "end": 0, + "name": { + "commentStart": 2732, "end": 0, "name": "close", "start": 0, @@ -1560,19 +2970,18 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name" }, - "commentStart": 1274, + "commentStart": 2732, "end": 0, "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null + "type": "CallExpression", + "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { - "commentStart": 1305, + "commentStart": 2753, "end": 0, "name": "length", "start": 0, @@ -1580,12 +2989,12 @@ description: Result of parsing sheet-metal-bracket.kcl }, "arg": { "abs_path": false, - "commentStart": 1314, + "commentStart": 2762, "end": 0, "name": { - "commentStart": 1314, + "commentStart": 2762, "end": 0, - "name": "hatWidth", + "name": "flangeExtrusion", "start": 0, "type": "Identifier" }, @@ -1598,10 +3007,10 @@ description: Result of parsing sheet-metal-bracket.kcl ], "callee": { "abs_path": false, - "commentStart": 1297, + "commentStart": 2745, "end": 0, "name": { - "commentStart": 1297, + "commentStart": 2745, "end": 0, "name": "extrude", "start": 0, @@ -1611,7 +3020,7 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name" }, - "commentStart": 1297, + "commentStart": 2745, "end": 0, "start": 0, "type": "CallExpressionKw", @@ -1623,51 +3032,87 @@ description: Result of parsing sheet-metal-bracket.kcl { "type": "LabeledArg", "label": { - "commentStart": 1336, + "commentStart": 2799, "end": 0, "name": "radius", "start": 0, "type": "Identifier" }, "arg": { - "abs_path": false, - "commentStart": 1345, + "commentStart": 2808, "end": 0, - "name": { - "commentStart": 1345, + "left": { + "abs_path": false, + "commentStart": 2808, "end": 0, - "name": "bendRad", + "name": { + "commentStart": 2808, + "end": 0, + "name": "flangeLength", + "start": 0, + "type": "Identifier" + }, + "path": [], "start": 0, - "type": "Identifier" + "type": "Name", + "type": "Name" + }, + "operator": "/", + "right": { + "commentStart": 2823, + "end": 0, + "raw": "3", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 3.0, + "suffix": "None" + } }, - "path": [], "start": 0, - "type": "Name", - "type": "Name" + "type": "BinaryExpression", + "type": "BinaryExpression" } }, { "type": "LabeledArg", "label": { - "commentStart": 1354, + "commentStart": 2833, "end": 0, "name": "tags", "start": 0, "type": "Identifier" }, "arg": { - "commentStart": 1361, + "commentStart": 2840, "elements": [ + { + "abs_path": false, + "commentStart": 2851, + "end": 0, + "name": { + "commentStart": 2851, + "end": 0, + "name": "seg03", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, { "arguments": [ { "abs_path": false, - "commentStart": 1382, + "commentStart": 2883, "end": 0, "name": { - "commentStart": 1382, + "commentStart": 2883, "end": 0, - "name": "e2", + "name": "seg03", "start": 0, "type": "Identifier" }, @@ -1679,12 +3124,12 @@ description: Result of parsing sheet-metal-bracket.kcl ], "callee": { "abs_path": false, - "commentStart": 1362, + "commentStart": 2867, "end": 0, "name": { - "commentStart": 1362, + "commentStart": 2867, "end": 0, - "name": "getNextAdjacentEdge", + "name": "getOppositeEdge", "start": 0, "type": "Identifier" }, @@ -1692,7 +3137,63 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name" }, - "commentStart": 1362, + "commentStart": 2867, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + }, + { + "abs_path": false, + "commentStart": 2900, + "end": 0, + "name": { + "commentStart": 2900, + "end": 0, + "name": "seg07", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + { + "arguments": [ + { + "abs_path": false, + "commentStart": 2932, + "end": 0, + "name": { + "commentStart": 2932, + "end": 0, + "name": "seg07", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + ], + "callee": { + "abs_path": false, + "commentStart": 2916, + "end": 0, + "name": { + "commentStart": 2916, + "end": 0, + "name": "getOppositeEdge", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 2916, "end": 0, "start": 0, "type": "CallExpression", @@ -1708,10 +3209,10 @@ description: Result of parsing sheet-metal-bracket.kcl ], "callee": { "abs_path": false, - "commentStart": 1329, + "commentStart": 2784, "end": 0, "name": { - "commentStart": 1329, + "commentStart": 2784, "end": 0, "name": "fillet", "start": 0, @@ -1721,777 +3222,7 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name" }, - "commentStart": 1329, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 1400, - "end": 0, - "name": "radius", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 1409, - "end": 0, - "name": { - "commentStart": 1409, - "end": 0, - "name": "outsideBendRad", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 1425, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1432, - "elements": [ - { - "arguments": [ - { - "abs_path": false, - "commentStart": 1453, - "end": 0, - "name": { - "commentStart": 1453, - "end": 0, - "name": "e3", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "callee": { - "abs_path": false, - "commentStart": 1433, - "end": 0, - "name": { - "commentStart": 1433, - "end": 0, - "name": "getNextAdjacentEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1433, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 1393, - "end": 0, - "name": { - "commentStart": 1393, - "end": 0, - "name": "fillet", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1393, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 1471, - "end": 0, - "name": "radius", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 1480, - "end": 0, - "name": { - "commentStart": 1480, - "end": 0, - "name": "outsideBendRad", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 1496, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1503, - "elements": [ - { - "arguments": [ - { - "abs_path": false, - "commentStart": 1524, - "end": 0, - "name": { - "commentStart": 1524, - "end": 0, - "name": "e4", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "callee": { - "abs_path": false, - "commentStart": 1504, - "end": 0, - "name": { - "commentStart": 1504, - "end": 0, - "name": "getNextAdjacentEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1504, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 1464, - "end": 0, - "name": { - "commentStart": 1464, - "end": 0, - "name": "fillet", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1464, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 1542, - "end": 0, - "name": "radius", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 1551, - "end": 0, - "name": { - "commentStart": 1551, - "end": 0, - "name": "bendRad", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 1560, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1567, - "elements": [ - { - "arguments": [ - { - "abs_path": false, - "commentStart": 1588, - "end": 0, - "name": { - "commentStart": 1588, - "end": 0, - "name": "e5", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "callee": { - "abs_path": false, - "commentStart": 1568, - "end": 0, - "name": { - "commentStart": 1568, - "end": 0, - "name": "getNextAdjacentEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1568, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 1535, - "end": 0, - "name": { - "commentStart": 1535, - "end": 0, - "name": "fillet", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1535, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 1606, - "end": 0, - "name": "radius", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 1615, - "end": 0, - "name": { - "commentStart": 1615, - "end": 0, - "name": "outsideBendRad", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 1631, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1638, - "elements": [ - { - "arguments": [ - { - "abs_path": false, - "commentStart": 1659, - "end": 0, - "name": { - "commentStart": 1659, - "end": 0, - "name": "e8", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "callee": { - "abs_path": false, - "commentStart": 1639, - "end": 0, - "name": { - "commentStart": 1639, - "end": 0, - "name": "getNextAdjacentEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1639, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 1599, - "end": 0, - "name": { - "commentStart": 1599, - "end": 0, - "name": "fillet", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1599, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 1677, - "end": 0, - "name": "radius", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 1686, - "end": 0, - "name": { - "commentStart": 1686, - "end": 0, - "name": "bendRad", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 1695, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1702, - "elements": [ - { - "arguments": [ - { - "abs_path": false, - "commentStart": 1723, - "end": 0, - "name": { - "commentStart": 1723, - "end": 0, - "name": "e9", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "callee": { - "abs_path": false, - "commentStart": 1703, - "end": 0, - "name": { - "commentStart": 1703, - "end": 0, - "name": "getNextAdjacentEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1703, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 1670, - "end": 0, - "name": { - "commentStart": 1670, - "end": 0, - "name": "fillet", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1670, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 1741, - "end": 0, - "name": "radius", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 1750, - "end": 0, - "name": { - "commentStart": 1750, - "end": 0, - "name": "bendRad", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 1759, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1766, - "elements": [ - { - "arguments": [ - { - "abs_path": false, - "commentStart": 1787, - "end": 0, - "name": { - "commentStart": 1787, - "end": 0, - "name": "e10", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "callee": { - "abs_path": false, - "commentStart": 1767, - "end": 0, - "name": { - "commentStart": 1767, - "end": 0, - "name": "getNextAdjacentEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1767, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 1734, - "end": 0, - "name": { - "commentStart": 1734, - "end": 0, - "name": "fillet", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1734, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 1806, - "end": 0, - "name": "radius", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 1815, - "end": 0, - "name": { - "commentStart": 1815, - "end": 0, - "name": "outsideBendRad", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 1831, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1838, - "elements": [ - { - "arguments": [ - { - "abs_path": false, - "commentStart": 1859, - "end": 0, - "name": { - "commentStart": 1859, - "end": 0, - "name": "e11", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "callee": { - "abs_path": false, - "commentStart": 1839, - "end": 0, - "name": { - "commentStart": 1839, - "end": 0, - "name": "getNextAdjacentEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1839, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 1799, - "end": 0, - "name": { - "commentStart": 1799, - "end": 0, - "name": "fillet", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1799, + "commentStart": 2784, "end": 0, "start": 0, "type": "CallExpressionKw", @@ -2499,19 +3230,19 @@ description: Result of parsing sheet-metal-bracket.kcl "unlabeled": null } ], - "commentStart": 704, + "commentStart": 1204, "end": 0, "nonCodeMeta": { "nonCodeNodes": { - "22": [ + "26": [ { - "commentStart": 1865, + "commentStart": 2955, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLineBlockComment", - "value": "Define the flanges and place the bolt holes", + "value": "Cut the bolt pattern in the left base flange", "style": "line" } } @@ -2531,21 +3262,21 @@ description: Result of parsing sheet-metal-bracket.kcl "preComments": [ "", "", - "// Sketch and extrude the base shape and fillet the inside and outside edges." + "// Draw the extrusion profile of the sheet metal bracket" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { - "commentStart": 1914, + "commentStart": 3005, "declaration": { - "commentStart": 1914, + "commentStart": 3005, "end": 0, "id": { - "commentStart": 1914, + "commentStart": 3005, "end": 0, - "name": "flange1", + "name": "leftFlangeBoltPattern", "start": 0, "type": "Identifier" }, @@ -2555,12 +3286,28 @@ description: Result of parsing sheet-metal-bracket.kcl "arguments": [ { "abs_path": false, - "commentStart": 1938, + "commentStart": 3043, "end": 0, "name": { - "commentStart": 1938, + "commentStart": 3043, "end": 0, - "name": "XY", + "name": "bracketProfile", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + { + "abs_path": false, + "commentStart": 3059, + "end": 0, + "name": { + "commentStart": 3059, + "end": 0, + "name": "seg04", "start": 0, "type": "Identifier" }, @@ -2572,10 +3319,10 @@ description: Result of parsing sheet-metal-bracket.kcl ], "callee": { "abs_path": false, - "commentStart": 1924, + "commentStart": 3029, "end": 0, "name": { - "commentStart": 1924, + "commentStart": 3029, "end": 0, "name": "startSketchOn", "start": 0, @@ -2585,7 +3332,7 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name" }, - "commentStart": 1924, + "commentStart": 3029, "end": 0, "start": 0, "type": "CallExpression", @@ -2594,125 +3341,139 @@ description: Result of parsing sheet-metal-bracket.kcl { "arguments": [ { - "commentStart": 1962, - "elements": [ - { - "commentStart": 1963, + "type": "LabeledArg", + "label": { + "commentStart": 3078, + "end": 0, + "name": "center", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 3087, + "elements": [ + { + "commentStart": 3088, + "end": 0, + "left": { + "argument": { + "abs_path": false, + "commentStart": 3089, + "end": 0, + "name": { + "commentStart": 3089, + "end": 0, + "name": "mountingBoltPatternX", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 3088, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + }, + "operator": "/", + "right": { + "commentStart": 3112, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + { + "abs_path": false, + "commentStart": 3115, + "end": 0, + "name": { + "commentStart": 3115, + "end": 0, + "name": "overhang", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 3126, + "end": 0, + "name": "radius", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 3135, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 3135, "end": 0, - "raw": "0", + "name": { + "commentStart": 3135, + "end": 0, + "name": "mountingBoltDiameter", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "/", + "right": { + "commentStart": 3158, + "end": 0, + "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { - "value": 0.0, + "value": 2.0, "suffix": "None" } }, - { - "commentStart": 1966, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - }, - { - "commentStart": 1970, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], - "callee": { - "abs_path": false, - "commentStart": 1947, - "end": 0, - "name": { - "commentStart": 1947, - "end": 0, - "name": "startProfileAt", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 1947, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 1983, - "end": 0, - "name": "end", "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 1989, - "elements": [ - { - "commentStart": 1990, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - }, - { - "abs_path": false, - "commentStart": 1993, - "end": 0, - "name": { - "commentStart": 1993, - "end": 0, - "name": "hatWidth", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" + "type": "BinaryExpression", + "type": "BinaryExpression" } } ], "callee": { "abs_path": false, - "commentStart": 1978, + "commentStart": 3071, "end": 0, "name": { - "commentStart": 1978, + "commentStart": 3071, "end": 0, - "name": "line", + "name": "circle", "start": 0, "type": "Identifier" }, @@ -2720,7 +3481,7 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name" }, - "commentStart": 1978, + "commentStart": 3071, "end": 0, "start": 0, "type": "CallExpressionKw", @@ -2732,481 +3493,42 @@ description: Result of parsing sheet-metal-bracket.kcl { "type": "LabeledArg", "label": { - "commentStart": 2014, + "commentStart": 3200, "end": 0, - "name": "end", + "name": "instances", "start": 0, "type": "Identifier" }, "arg": { - "commentStart": 2020, - "elements": [ - { - "abs_path": false, - "commentStart": 2021, - "end": 0, - "name": { - "commentStart": 2021, - "end": 0, - "name": "flangeWidth", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - { - "commentStart": 2034, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - } - ], + "commentStart": 3212, "end": 0, + "raw": "2", "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 2038, - "end": 0, - "name": "tag", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 2044, - "end": 0, - "start": 0, - "type": "TagDeclarator", - "type": "TagDeclarator", - "value": "e13" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 2009, - "end": 0, - "name": { - "commentStart": 2009, - "end": 0, - "name": "line", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2009, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 2060, - "end": 0, - "name": "end", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 2066, - "elements": [ - { - "commentStart": 2067, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - }, - { - "argument": { - "abs_path": false, - "commentStart": 2071, - "end": 0, - "name": { - "commentStart": 2071, - "end": 0, - "name": "hatWidth", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 2070, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 2082, - "end": 0, - "name": "tag", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 2088, - "end": 0, - "start": 0, - "type": "TagDeclarator", - "type": "TagDeclarator", - "value": "e14" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 2055, - "end": 0, - "name": { - "commentStart": 2055, - "end": 0, - "name": "line", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2055, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [], - "callee": { - "abs_path": false, - "commentStart": 2099, - "end": 0, - "name": { - "commentStart": 2099, - "end": 0, - "name": "close", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2099, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 2124, - "end": 0, - "name": "center", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 2133, - "elements": [ - { - "commentStart": 2134, - "end": 0, - "raw": "0.75", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.75, - "suffix": "None" - } - }, - { - "commentStart": 2140, - "end": 0, - "raw": "1", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 1.0, - "suffix": "None" - } - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 2144, - "end": 0, - "name": "radius", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 2153, - "end": 0, - "name": { - "commentStart": 2153, - "end": 0, - "name": "boltSize", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" } - ], - "callee": { - "abs_path": false, - "commentStart": 2117, - "end": 0, - "name": { - "commentStart": 2117, - "end": 0, - "name": "circle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2117, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null + } }, - { - "commentStart": 2164, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], - "callee": { - "abs_path": false, - "commentStart": 2112, - "end": 0, - "name": { - "commentStart": 2112, - "end": 0, - "name": "hole", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2112, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 2184, - "end": 0, - "name": "center", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 2193, - "elements": [ - { - "commentStart": 2194, - "end": 0, - "raw": "0.75", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.75, - "suffix": "None" - } - }, - { - "commentStart": 2200, - "end": 0, - "raw": "4", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 4.0, - "suffix": "None" - } - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 2204, - "end": 0, - "name": "radius", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 2213, - "end": 0, - "name": { - "commentStart": 2213, - "end": 0, - "name": "boltSize", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 2177, - "end": 0, - "name": { - "commentStart": 2177, - "end": 0, - "name": "circle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2177, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "commentStart": 2224, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], - "callee": { - "abs_path": false, - "commentStart": 2172, - "end": 0, - "name": { - "commentStart": 2172, - "end": 0, - "name": "hole", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2172, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ { "type": "LabeledArg", "label": { - "commentStart": 2240, + "commentStart": 3222, "end": 0, - "name": "length", + "name": "distance", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, - "commentStart": 2249, + "commentStart": 3233, "end": 0, "name": { - "commentStart": 2249, + "commentStart": 3233, "end": 0, - "name": "thickness", + "name": "mountingBoltPatternY", "start": 0, "type": "Identifier" }, @@ -3215,14 +3537,122 @@ description: Result of parsing sheet-metal-bracket.kcl "type": "Name", "type": "Name" } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 3262, + "end": 0, + "name": "axis", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 3269, + "elements": [ + { + "commentStart": 3270, + "end": 0, + "raw": "0", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } + }, + { + "commentStart": 3273, + "end": 0, + "raw": "1", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.0, + "suffix": "None" + } + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } } ], "callee": { "abs_path": false, - "commentStart": 2232, + "commentStart": 3166, "end": 0, "name": { - "commentStart": 2232, + "commentStart": 3166, + "end": 0, + "name": "patternLinear2d", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 3166, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 3190, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } + }, + { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 3297, + "end": 0, + "name": "length", + "start": 0, + "type": "Identifier" + }, + "arg": { + "argument": { + "abs_path": false, + "commentStart": 3307, + "end": 0, + "name": { + "commentStart": 3307, + "end": 0, + "name": "thickness", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 3306, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 3289, + "end": 0, + "name": { + "commentStart": 3289, "end": 0, "name": "extrude", "start": 0, @@ -3232,153 +3662,7 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name" }, - "commentStart": 2232, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 2280, - "end": 0, - "name": "radius", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 2289, - "end": 0, - "raw": "0.5", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.5, - "suffix": "None" - } - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 2301, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 2308, - "elements": [ - { - "arguments": [ - { - "abs_path": false, - "commentStart": 2339, - "end": 0, - "name": { - "commentStart": 2339, - "end": 0, - "name": "e13", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "callee": { - "abs_path": false, - "commentStart": 2319, - "end": 0, - "name": { - "commentStart": 2319, - "end": 0, - "name": "getNextAdjacentEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2319, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "abs_path": false, - "commentStart": 2374, - "end": 0, - "name": { - "commentStart": 2374, - "end": 0, - "name": "e14", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "callee": { - "abs_path": false, - "commentStart": 2354, - "end": 0, - "name": { - "commentStart": 2354, - "end": 0, - "name": "getNextAdjacentEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2354, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 2265, - "end": 0, - "name": { - "commentStart": 2265, - "end": 0, - "name": "fillet", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2265, + "commentStart": 3289, "end": 0, "start": 0, "type": "CallExpressionKw", @@ -3386,8 +3670,26 @@ description: Result of parsing sheet-metal-bracket.kcl "unlabeled": null } ], - "commentStart": 1924, + "commentStart": 3029, "end": 0, + "nonCodeMeta": { + "nonCodeNodes": { + "3": [ + { + "commentStart": 3317, + "end": 0, + "start": 0, + "type": "NonCodeNode", + "value": { + "type": "newLineBlockComment", + "value": "Cut the bolt pattern in the right base flange", + "style": "line" + } + } + ] + }, + "startNodes": [] + }, "start": 0, "type": "PipeExpression", "type": "PipeExpression" @@ -3402,14 +3704,14 @@ description: Result of parsing sheet-metal-bracket.kcl "type": "VariableDeclaration" }, { - "commentStart": 2395, + "commentStart": 3368, "declaration": { - "commentStart": 2397, + "commentStart": 3368, "end": 0, "id": { - "commentStart": 2397, + "commentStart": 3368, "end": 0, - "name": "flange2", + "name": "rightFlangeBoltPattern", "start": 0, "type": "Identifier" }, @@ -3419,12 +3721,28 @@ description: Result of parsing sheet-metal-bracket.kcl "arguments": [ { "abs_path": false, - "commentStart": 2421, + "commentStart": 3407, "end": 0, "name": { - "commentStart": 2421, + "commentStart": 3407, "end": 0, - "name": "XY", + "name": "bracketProfile", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + { + "abs_path": false, + "commentStart": 3423, + "end": 0, + "name": { + "commentStart": 3423, + "end": 0, + "name": "seg06", "start": 0, "type": "Identifier" }, @@ -3436,10 +3754,10 @@ description: Result of parsing sheet-metal-bracket.kcl ], "callee": { "abs_path": false, - "commentStart": 2407, + "commentStart": 3393, "end": 0, "name": { - "commentStart": 2407, + "commentStart": 3393, "end": 0, "name": "startSketchOn", "start": 0, @@ -3449,7 +3767,7 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name" }, - "commentStart": 2407, + "commentStart": 3393, "end": 0, "start": 0, "type": "CallExpression", @@ -3458,133 +3776,131 @@ description: Result of parsing sheet-metal-bracket.kcl { "arguments": [ { - "commentStart": 2445, - "elements": [ - { - "argument": { - "commentStart": 2447, + "type": "LabeledArg", + "label": { + "commentStart": 3442, + "end": 0, + "name": "center", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 3451, + "elements": [ + { + "commentStart": 3452, "end": 0, - "raw": "6", + "left": { + "abs_path": false, + "commentStart": 3452, + "end": 0, + "name": { + "commentStart": 3452, + "end": 0, + "name": "mountingBoltPatternX", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "/", + "right": { + "commentStart": 3475, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 6.0, - "suffix": "None" - } + "type": "BinaryExpression", + "type": "BinaryExpression" }, - "commentStart": 2446, + { + "abs_path": false, + "commentStart": 3478, + "end": 0, + "name": { + "commentStart": 3478, + "end": 0, + "name": "overhang", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 3489, + "end": 0, + "name": "radius", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 3498, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 3498, "end": 0, - "operator": "-", + "name": { + "commentStart": 3498, + "end": 0, + "name": "mountingBoltDiameter", + "start": 0, + "type": "Identifier" + }, + "path": [], "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" + "type": "Name", + "type": "Name" }, - { - "commentStart": 2450, + "operator": "/", + "right": { + "commentStart": 3521, "end": 0, - "raw": "0", + "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { - "value": 0.0, + "value": 2.0, "suffix": "None" } - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - }, - { - "commentStart": 2454, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], - "callee": { - "abs_path": false, - "commentStart": 2430, - "end": 0, - "name": { - "commentStart": 2430, - "end": 0, - "name": "startProfileAt", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2430, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 2467, - "end": 0, - "name": "end", + }, "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 2473, - "elements": [ - { - "commentStart": 2474, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - }, - { - "abs_path": false, - "commentStart": 2477, - "end": 0, - "name": { - "commentStart": 2477, - "end": 0, - "name": "hatWidth", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" + "type": "BinaryExpression", + "type": "BinaryExpression" } } ], "callee": { "abs_path": false, - "commentStart": 2462, + "commentStart": 3435, "end": 0, "name": { - "commentStart": 2462, + "commentStart": 3435, "end": 0, - "name": "line", + "name": "circle", "start": 0, "type": "Identifier" }, @@ -3592,7 +3908,7 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name" }, - "commentStart": 2462, + "commentStart": 3435, "end": 0, "start": 0, "type": "CallExpressionKw", @@ -3604,505 +3920,42 @@ description: Result of parsing sheet-metal-bracket.kcl { "type": "LabeledArg", "label": { - "commentStart": 2498, + "commentStart": 3563, "end": 0, - "name": "end", + "name": "instances", "start": 0, "type": "Identifier" }, "arg": { - "commentStart": 2504, - "elements": [ - { - "argument": { - "abs_path": false, - "commentStart": 2506, - "end": 0, - "name": { - "commentStart": 2506, - "end": 0, - "name": "flangeWidth", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 2505, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - }, - { - "commentStart": 2519, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - } - ], + "commentStart": 3575, "end": 0, + "raw": "2", "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 2523, - "end": 0, - "name": "tag", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 2529, - "end": 0, - "start": 0, - "type": "TagDeclarator", - "type": "TagDeclarator", - "value": "e15" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 2493, - "end": 0, - "name": { - "commentStart": 2493, - "end": 0, - "name": "line", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2493, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 2545, - "end": 0, - "name": "end", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 2551, - "elements": [ - { - "commentStart": 2552, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - }, - { - "argument": { - "abs_path": false, - "commentStart": 2556, - "end": 0, - "name": { - "commentStart": 2556, - "end": 0, - "name": "hatWidth", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 2555, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 2567, - "end": 0, - "name": "tag", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 2573, - "end": 0, - "start": 0, - "type": "TagDeclarator", - "type": "TagDeclarator", - "value": "e16" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 2540, - "end": 0, - "name": { - "commentStart": 2540, - "end": 0, - "name": "line", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2540, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "arguments": [], - "callee": { - "abs_path": false, - "commentStart": 2584, - "end": 0, - "name": { - "commentStart": 2584, - "end": 0, - "name": "close", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2584, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 2609, - "end": 0, - "name": "center", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 2618, - "elements": [ - { - "argument": { - "commentStart": 2620, - "end": 0, - "raw": "6.75", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 6.75, - "suffix": "None" - } - }, - "commentStart": 2619, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - }, - { - "commentStart": 2626, - "end": 0, - "raw": "1", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 1.0, - "suffix": "None" - } - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 2630, - "end": 0, - "name": "radius", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 2639, - "end": 0, - "name": { - "commentStart": 2639, - "end": 0, - "name": "boltSize", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" } - ], - "callee": { - "abs_path": false, - "commentStart": 2602, - "end": 0, - "name": { - "commentStart": 2602, - "end": 0, - "name": "circle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2602, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null + } }, - { - "commentStart": 2650, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], - "callee": { - "abs_path": false, - "commentStart": 2597, - "end": 0, - "name": { - "commentStart": 2597, - "end": 0, - "name": "hole", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2597, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 2670, - "end": 0, - "name": "center", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 2679, - "elements": [ - { - "argument": { - "commentStart": 2681, - "end": 0, - "raw": "6.75", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 6.75, - "suffix": "None" - } - }, - "commentStart": 2680, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - }, - { - "commentStart": 2687, - "end": 0, - "raw": "4", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 4.0, - "suffix": "None" - } - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - }, - { - "type": "LabeledArg", - "label": { - "commentStart": 2691, - "end": 0, - "name": "radius", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 2700, - "end": 0, - "name": { - "commentStart": 2700, - "end": 0, - "name": "boltSize", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 2663, - "end": 0, - "name": { - "commentStart": 2663, - "end": 0, - "name": "circle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2663, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": null - }, - { - "commentStart": 2711, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], - "callee": { - "abs_path": false, - "commentStart": 2658, - "end": 0, - "name": { - "commentStart": 2658, - "end": 0, - "name": "hole", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2658, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ { "type": "LabeledArg", "label": { - "commentStart": 2727, + "commentStart": 3585, "end": 0, - "name": "length", + "name": "distance", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, - "commentStart": 2736, + "commentStart": 3596, "end": 0, "name": { - "commentStart": 2736, + "commentStart": 3596, "end": 0, - "name": "thickness", + "name": "mountingBoltPatternY", "start": 0, "type": "Identifier" }, @@ -4111,14 +3964,122 @@ description: Result of parsing sheet-metal-bracket.kcl "type": "Name", "type": "Name" } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 3625, + "end": 0, + "name": "axis", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 3632, + "elements": [ + { + "commentStart": 3633, + "end": 0, + "raw": "0", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } + }, + { + "commentStart": 3636, + "end": 0, + "raw": "1", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.0, + "suffix": "None" + } + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } } ], "callee": { "abs_path": false, - "commentStart": 2719, + "commentStart": 3529, "end": 0, "name": { - "commentStart": 2719, + "commentStart": 3529, + "end": 0, + "name": "patternLinear2d", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 3529, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 3553, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } + }, + { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 3660, + "end": 0, + "name": "length", + "start": 0, + "type": "Identifier" + }, + "arg": { + "argument": { + "abs_path": false, + "commentStart": 3670, + "end": 0, + "name": { + "commentStart": 3670, + "end": 0, + "name": "thickness", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 3669, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 3652, + "end": 0, + "name": { + "commentStart": 3652, "end": 0, "name": "extrude", "start": 0, @@ -4128,7 +4089,333 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name" }, - "commentStart": 2719, + "commentStart": 3652, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null + } + ], + "commentStart": 3393, + "end": 0, + "nonCodeMeta": { + "nonCodeNodes": { + "3": [ + { + "commentStart": 3680, + "end": 0, + "start": 0, + "type": "NonCodeNode", + "value": { + "type": "newLineBlockComment", + "value": "Provision the top flange with holes to mount an object", + "style": "line" + } + } + ] + }, + "startNodes": [] + }, + "start": 0, + "type": "PipeExpression", + "type": "PipeExpression" + }, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 3740, + "declaration": { + "commentStart": 3740, + "end": 0, + "id": { + "commentStart": 3740, + "end": 0, + "name": "topFlangeBoltPattern", + "start": 0, + "type": "Identifier" + }, + "init": { + "body": [ + { + "arguments": [ + { + "abs_path": false, + "commentStart": 3777, + "end": 0, + "name": { + "commentStart": 3777, + "end": 0, + "name": "bracketProfile", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + { + "abs_path": false, + "commentStart": 3793, + "end": 0, + "name": { + "commentStart": 3793, + "end": 0, + "name": "seg05", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + ], + "callee": { + "abs_path": false, + "commentStart": 3763, + "end": 0, + "name": { + "commentStart": 3763, + "end": 0, + "name": "startSketchOn", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 3763, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + }, + { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 3820, + "end": 0, + "name": "center", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 3829, + "elements": [ + { + "commentStart": 3840, + "end": 0, + "left": { + "argument": { + "abs_path": false, + "commentStart": 3841, + "end": 0, + "name": { + "commentStart": 3841, + "end": 0, + "name": "componentBoltPatternX", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 3840, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + }, + "operator": "/", + "right": { + "commentStart": 3865, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + { + "commentStart": 3877, + "end": 0, + "left": { + "commentStart": 3877, + "end": 0, + "left": { + "argument": { + "abs_path": false, + "commentStart": 3878, + "end": 0, + "name": { + "commentStart": 3878, + "end": 0, + "name": "componentBoltPatternY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 3877, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + }, + "operator": "/", + "right": { + "commentStart": 3902, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "+", + "right": { + "commentStart": 3906, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 3906, + "end": 0, + "name": { + "commentStart": 3906, + "end": 0, + "name": "flangeExtrusion", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "/", + "right": { + "commentStart": 3924, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 3943, + "end": 0, + "name": "radius", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 3952, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 3952, + "end": 0, + "name": { + "commentStart": 3952, + "end": 0, + "name": "componentBoltDiameter", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "/", + "right": { + "commentStart": 3976, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 3805, + "end": 0, + "name": { + "commentStart": 3805, + "end": 0, + "name": "circle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 3805, "end": 0, "start": 0, "type": "CallExpressionKw", @@ -4140,21 +4427,21 @@ description: Result of parsing sheet-metal-bracket.kcl { "type": "LabeledArg", "label": { - "commentStart": 2767, + "commentStart": 4025, "end": 0, - "name": "radius", + "name": "instances", "start": 0, "type": "Identifier" }, "arg": { - "commentStart": 2776, + "commentStart": 4037, "end": 0, - "raw": "0.25", + "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { - "value": 0.25, + "value": 2.0, "suffix": "None" } } @@ -4162,94 +4449,64 @@ description: Result of parsing sheet-metal-bracket.kcl { "type": "LabeledArg", "label": { - "commentStart": 2789, + "commentStart": 4047, "end": 0, - "name": "tags", + "name": "distance", "start": 0, "type": "Identifier" }, "arg": { - "commentStart": 2796, + "abs_path": false, + "commentStart": 4058, + "end": 0, + "name": { + "commentStart": 4058, + "end": 0, + "name": "componentBoltPatternX", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 4088, + "end": 0, + "name": "axis", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 4095, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 2827, - "end": 0, - "name": { - "commentStart": 2827, - "end": 0, - "name": "e15", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "callee": { - "abs_path": false, - "commentStart": 2807, - "end": 0, - "name": { - "commentStart": 2807, - "end": 0, - "name": "getNextAdjacentEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2807, + "commentStart": 4096, "end": 0, + "raw": "1", "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.0, + "suffix": "None" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 2862, - "end": 0, - "name": { - "commentStart": 2862, - "end": 0, - "name": "e16", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "callee": { - "abs_path": false, - "commentStart": 2842, - "end": 0, - "name": { - "commentStart": 2842, - "end": 0, - "name": "getNextAdjacentEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 2842, + "commentStart": 4099, "end": 0, + "raw": "0", "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } } ], "end": 0, @@ -4261,12 +4518,12 @@ description: Result of parsing sheet-metal-bracket.kcl ], "callee": { "abs_path": false, - "commentStart": 2752, + "commentStart": 3991, "end": 0, "name": { - "commentStart": 2752, + "commentStart": 3991, "end": 0, - "name": "fillet", + "name": "patternLinear2d", "start": 0, "type": "Identifier" }, @@ -4274,7 +4531,194 @@ description: Result of parsing sheet-metal-bracket.kcl "start": 0, "type": "Name" }, - "commentStart": 2752, + "commentStart": 3991, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 4015, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } + }, + { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 4149, + "end": 0, + "name": "instances", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 4161, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 4171, + "end": 0, + "name": "distance", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 4182, + "end": 0, + "name": { + "commentStart": 4182, + "end": 0, + "name": "componentBoltPatternY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 4212, + "end": 0, + "name": "axis", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 4219, + "elements": [ + { + "commentStart": 4220, + "end": 0, + "raw": "0", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } + }, + { + "commentStart": 4223, + "end": 0, + "raw": "1", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.0, + "suffix": "None" + } + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 4115, + "end": 0, + "name": { + "commentStart": 4115, + "end": 0, + "name": "patternLinear2d", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 4115, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 4139, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } + }, + { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 4247, + "end": 0, + "name": "length", + "start": 0, + "type": "Identifier" + }, + "arg": { + "argument": { + "abs_path": false, + "commentStart": 4257, + "end": 0, + "name": { + "commentStart": 4257, + "end": 0, + "name": "thickness", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 4256, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 4239, + "end": 0, + "name": { + "commentStart": 4239, + "end": 0, + "name": "extrude", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 4239, "end": 0, "start": 0, "type": "CallExpressionKw", @@ -4282,7 +4726,284 @@ description: Result of parsing sheet-metal-bracket.kcl "unlabeled": null } ], - "commentStart": 2407, + "commentStart": 3763, + "end": 0, + "nonCodeMeta": { + "nonCodeNodes": { + "4": [ + { + "commentStart": 4267, + "end": 0, + "start": 0, + "type": "NonCodeNode", + "value": { + "type": "newLineBlockComment", + "value": "Place a hole at the center of the component bolt pattern to reduce mass", + "style": "line" + } + } + ] + }, + "startNodes": [] + }, + "start": 0, + "type": "PipeExpression", + "type": "PipeExpression" + }, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 4344, + "declaration": { + "commentStart": 4344, + "end": 0, + "id": { + "commentStart": 4344, + "end": 0, + "name": "centeredHole", + "start": 0, + "type": "Identifier" + }, + "init": { + "body": [ + { + "arguments": [ + { + "abs_path": false, + "commentStart": 4373, + "end": 0, + "name": { + "commentStart": 4373, + "end": 0, + "name": "bracketProfile", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + { + "abs_path": false, + "commentStart": 4389, + "end": 0, + "name": { + "commentStart": 4389, + "end": 0, + "name": "seg05", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + ], + "callee": { + "abs_path": false, + "commentStart": 4359, + "end": 0, + "name": { + "commentStart": 4359, + "end": 0, + "name": "startSketchOn", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 4359, + "end": 0, + "start": 0, + "type": "CallExpression", + "type": "CallExpression" + }, + { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 4408, + "end": 0, + "name": "center", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 4417, + "elements": [ + { + "commentStart": 4418, + "end": 0, + "raw": "0", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } + }, + { + "commentStart": 4421, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 4421, + "end": 0, + "name": { + "commentStart": 4421, + "end": 0, + "name": "flangeExtrusion", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "/", + "right": { + "commentStart": 4439, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 4443, + "end": 0, + "name": "radius", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 4452, + "end": 0, + "raw": "0.75", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.75, + "suffix": "None" + } + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 4401, + "end": 0, + "name": { + "commentStart": 4401, + "end": 0, + "name": "circle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 4401, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null + }, + { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 4471, + "end": 0, + "name": "length", + "start": 0, + "type": "Identifier" + }, + "arg": { + "argument": { + "abs_path": false, + "commentStart": 4481, + "end": 0, + "name": { + "commentStart": 4481, + "end": 0, + "name": "thickness", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 4480, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 4463, + "end": 0, + "name": { + "commentStart": 4463, + "end": 0, + "name": "extrude", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 4463, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null + } + ], + "commentStart": 4359, "end": 0, "start": 0, "type": "PipeExpression", @@ -4354,19 +5075,7 @@ description: Result of parsing sheet-metal-bracket.kcl } ], "nonCodeMeta": { - "nonCodeNodes": { - "9": [ - { - "commentStart": 2395, - "end": 0, - "start": 0, - "type": "NonCodeNode", - "value": { - "type": "newLine" - } - } - ] - }, + "nonCodeNodes": {}, "startNodes": [ { "commentStart": 353, diff --git a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/ops.snap b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/ops.snap index f5bf87a4e..2547ff23d 100644 --- a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/ops.snap @@ -23,598 +23,9 @@ description: Operations executed sheet-metal-bracket.kcl "length": { "value": { "type": "Number", - "value": 5.0, + "value": 5.5, "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - "sourceRange": [] - } - }, - "name": "extrude", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": { - "value": { - "type": "Sketch", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - } - }, - { - "labeledArgs": { - "radius": { - "value": { - "type": "Number", - "value": 0.08, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - "sourceRange": [] - }, - "tags": { - "value": { - "type": "Array", - "value": [ - { - "type": "Uuid", - "value": "[uuid]" - } - ] - }, - "sourceRange": [] - } - }, - "name": "fillet", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": { - "value": { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - } - }, - { - "labeledArgs": { - "radius": { - "value": { - "type": "Number", - "value": 0.16999999999999998, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - "sourceRange": [] - }, - "tags": { - "value": { - "type": "Array", - "value": [ - { - "type": "Uuid", - "value": "[uuid]" - } - ] - }, - "sourceRange": [] - } - }, - "name": "fillet", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": { - "value": { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - } - }, - { - "labeledArgs": { - "radius": { - "value": { - "type": "Number", - "value": 0.16999999999999998, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - "sourceRange": [] - }, - "tags": { - "value": { - "type": "Array", - "value": [ - { - "type": "Uuid", - "value": "[uuid]" - } - ] - }, - "sourceRange": [] - } - }, - "name": "fillet", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": { - "value": { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - } - }, - { - "labeledArgs": { - "radius": { - "value": { - "type": "Number", - "value": 0.08, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - "sourceRange": [] - }, - "tags": { - "value": { - "type": "Array", - "value": [ - { - "type": "Uuid", - "value": "[uuid]" - } - ] - }, - "sourceRange": [] - } - }, - "name": "fillet", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": { - "value": { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - } - }, - { - "labeledArgs": { - "radius": { - "value": { - "type": "Number", - "value": 0.16999999999999998, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - "sourceRange": [] - }, - "tags": { - "value": { - "type": "Array", - "value": [ - { - "type": "Uuid", - "value": "[uuid]" - } - ] - }, - "sourceRange": [] - } - }, - "name": "fillet", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": { - "value": { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - } - }, - { - "labeledArgs": { - "radius": { - "value": { - "type": "Number", - "value": 0.08, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - "sourceRange": [] - }, - "tags": { - "value": { - "type": "Array", - "value": [ - { - "type": "Uuid", - "value": "[uuid]" - } - ] - }, - "sourceRange": [] - } - }, - "name": "fillet", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": { - "value": { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - } - }, - { - "labeledArgs": { - "radius": { - "value": { - "type": "Number", - "value": 0.08, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - "sourceRange": [] - }, - "tags": { - "value": { - "type": "Array", - "value": [ - { - "type": "Uuid", - "value": "[uuid]" - } - ] - }, - "sourceRange": [] - } - }, - "name": "fillet", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": { - "value": { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - } - }, - { - "labeledArgs": { - "radius": { - "value": { - "type": "Number", - "value": 0.16999999999999998, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - "sourceRange": [] - }, - "tags": { - "value": { - "type": "Array", - "value": [ - { - "type": "Uuid", - "value": "[uuid]" - } - ] - }, - "sourceRange": [] - } - }, - "name": "fillet", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": { - "value": { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - } - }, - { - "labeledArgs": { - "data": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, - "name": "startSketchOn", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": null - }, - { - "type": "UserDefinedFunctionCall", - "name": "circle", - "functionSourceRange": [ - 0, - 0, - 0 - ], - "unlabeledArg": null, - "labeledArgs": { - "center": { - "value": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.75, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "sourceRange": [] - }, - "radius": { - "value": { - "type": "Number", - "value": 0.25, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - "sourceRange": [] - } - }, - "sourceRange": [] - }, - { - "type": "UserDefinedFunctionReturn" - }, - { - "labeledArgs": { - "holeSketch": { - "value": { - "type": "Sketch", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - }, - "sketch": { - "value": { - "type": "Sketch", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - } - }, - "name": "hole", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": null - }, - { - "type": "UserDefinedFunctionCall", - "name": "circle", - "functionSourceRange": [ - 0, - 0, - 0 - ], - "unlabeledArg": null, - "labeledArgs": { - "center": { - "value": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.75, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 4.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "sourceRange": [] - }, - "radius": { - "value": { - "type": "Number", - "value": 0.25, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - "sourceRange": [] - } - }, - "sourceRange": [] - }, - { - "type": "UserDefinedFunctionReturn" - }, - { - "labeledArgs": { - "holeSketch": { - "value": { - "type": "Sketch", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - }, - "sketch": { - "value": { - "type": "Sketch", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - } - }, - "name": "hole", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": null - }, - { - "labeledArgs": { - "length": { - "value": { - "type": "Number", - "value": 0.09, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + "type": "Unknown" } }, "sourceRange": [] @@ -640,13 +51,7 @@ description: Operations executed sheet-metal-bracket.kcl "type": "Number", "value": 0.5, "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + "type": "Unknown" } }, "sourceRange": [] @@ -655,10 +60,20 @@ description: Operations executed sheet-metal-bracket.kcl "value": { "type": "Array", "value": [ + { + "type": "TagIdentifier", + "value": "seg03", + "artifact_id": "[uuid]" + }, { "type": "Uuid", "value": "[uuid]" }, + { + "type": "TagIdentifier", + "value": "seg07", + "artifact_id": "[uuid]" + }, { "type": "Uuid", "value": "[uuid]" @@ -685,7 +100,17 @@ description: Operations executed sheet-metal-bracket.kcl "labeledArgs": { "data": { "value": { - "type": "Plane", + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + "sourceRange": [] + }, + "tag": { + "value": { + "type": "TagIdentifier", + "value": "seg04", "artifact_id": "[uuid]" }, "sourceRange": [] @@ -712,28 +137,16 @@ description: Operations executed sheet-metal-bracket.kcl "value": [ { "type": "Number", - "value": -6.75, + "value": -3.5, "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + "type": "Unknown" } }, { "type": "Number", - "value": 1.0, + "value": 0.75, "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + "type": "Unknown" } } ] @@ -743,7 +156,25 @@ description: Operations executed sheet-metal-bracket.kcl "radius": { "value": { "type": "Number", - "value": 0.25, + "value": 0.125, + "ty": { + "type": "Unknown" + } + }, + "sourceRange": [] + } + }, + "sourceRange": [] + }, + { + "type": "UserDefinedFunctionReturn" + }, + { + "labeledArgs": { + "length": { + "value": { + "type": "Number", + "value": -0.125, "ty": { "type": "Default", "len": { @@ -757,33 +188,51 @@ description: Operations executed sheet-metal-bracket.kcl "sourceRange": [] } }, - "sourceRange": [] - }, - { - "type": "UserDefinedFunctionReturn" + "name": "extrude", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Sketch", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Sketch", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + } }, { "labeledArgs": { - "holeSketch": { + "data": { "value": { - "type": "Sketch", + "type": "Solid", "value": { "artifactId": "[uuid]" } }, "sourceRange": [] }, - "sketch": { + "tag": { "value": { - "type": "Sketch", - "value": { - "artifactId": "[uuid]" - } + "type": "TagIdentifier", + "value": "seg06", + "artifact_id": "[uuid]" }, "sourceRange": [] } }, - "name": "hole", + "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", "unlabeledArg": null @@ -804,7 +253,251 @@ description: Operations executed sheet-metal-bracket.kcl "value": [ { "type": "Number", - "value": -6.75, + "value": 3.5, + "ty": { + "type": "Unknown" + } + }, + { + "type": "Number", + "value": 0.75, + "ty": { + "type": "Unknown" + } + } + ] + }, + "sourceRange": [] + }, + "radius": { + "value": { + "type": "Number", + "value": 0.125, + "ty": { + "type": "Unknown" + } + }, + "sourceRange": [] + } + }, + "sourceRange": [] + }, + { + "type": "UserDefinedFunctionReturn" + }, + { + "labeledArgs": { + "length": { + "value": { + "type": "Number", + "value": -0.125, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + } + }, + "name": "extrude", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Sketch", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Sketch", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + } + }, + { + "labeledArgs": { + "data": { + "value": { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + "sourceRange": [] + }, + "tag": { + "value": { + "type": "TagIdentifier", + "value": "seg05", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } + }, + "name": "startSketchOn", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": null + }, + { + "type": "UserDefinedFunctionCall", + "name": "circle", + "functionSourceRange": [ + 0, + 0, + 0 + ], + "unlabeledArg": null, + "labeledArgs": { + "center": { + "value": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": -1.0, + "ty": { + "type": "Unknown" + } + }, + { + "type": "Number", + "value": 1.25, + "ty": { + "type": "Unknown" + } + } + ] + }, + "sourceRange": [] + }, + "radius": { + "value": { + "type": "Number", + "value": 0.09375, + "ty": { + "type": "Unknown" + } + }, + "sourceRange": [] + } + }, + "sourceRange": [] + }, + { + "type": "UserDefinedFunctionReturn" + }, + { + "labeledArgs": { + "length": { + "value": { + "type": "Number", + "value": -0.125, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + } + }, + "name": "extrude", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Sketch", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Sketch", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Sketch", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Sketch", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + } + }, + { + "labeledArgs": { + "data": { + "value": { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + "sourceRange": [] + }, + "tag": { + "value": { + "type": "TagIdentifier", + "value": "seg05", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } + }, + "name": "startSketchOn", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": null + }, + { + "type": "UserDefinedFunctionCall", + "name": "circle", + "functionSourceRange": [ + 0, + 0, + 0 + ], + "unlabeledArg": null, + "labeledArgs": { + "center": { + "value": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, "ty": { "type": "Default", "len": { @@ -817,15 +510,9 @@ description: Operations executed sheet-metal-bracket.kcl }, { "type": "Number", - "value": 4.0, + "value": 2.75, "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + "type": "Unknown" } } ] @@ -835,7 +522,7 @@ description: Operations executed sheet-metal-bracket.kcl "radius": { "value": { "type": "Number", - "value": 0.25, + "value": 0.75, "ty": { "type": "Default", "len": { @@ -854,38 +541,12 @@ description: Operations executed sheet-metal-bracket.kcl { "type": "UserDefinedFunctionReturn" }, - { - "labeledArgs": { - "holeSketch": { - "value": { - "type": "Sketch", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - }, - "sketch": { - "value": { - "type": "Sketch", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - } - }, - "name": "hole", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": null - }, { "labeledArgs": { "length": { "value": { "type": "Number", - "value": 0.09, + "value": -0.125, "ty": { "type": "Default", "len": { @@ -911,53 +572,5 @@ description: Operations executed sheet-metal-bracket.kcl }, "sourceRange": [] } - }, - { - "labeledArgs": { - "radius": { - "value": { - "type": "Number", - "value": 0.25, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - "sourceRange": [] - }, - "tags": { - "value": { - "type": "Array", - "value": [ - { - "type": "Uuid", - "value": "[uuid]" - }, - { - "type": "Uuid", - "value": "[uuid]" - } - ] - }, - "sourceRange": [] - } - }, - "name": "fillet", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": { - "value": { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - } } ] diff --git a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/program_memory.snap b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/program_memory.snap index b5c8083b0..288b2018a 100644 --- a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/program_memory.snap +++ b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/program_memory.snap @@ -3,23 +3,111 @@ source: kcl-lib/src/simulation_tests.rs description: Variables in memory after executing sheet-metal-bracket.kcl --- { - "baseExtrusion": { + "bendAngle": { + "type": "Number", + "value": 75.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "bracketProfile": { "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": "extrudeArc" + }, { "faceId": "[uuid]", "id": "[uuid]", "sourceRange": [], "tag": { - "commentStart": 792, - "end": 795, - "start": 792, + "commentStart": 1495, + "end": 1501, + "start": 1495, "type": "TagDeclarator", - "value": "e1" + "value": "seg01" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" }, "type": "extrudePlane" }, @@ -28,11 +116,79 @@ description: Variables in memory after executing sheet-metal-bracket.kcl "id": "[uuid]", "sourceRange": [], "tag": { - "commentStart": 838, - "end": 841, - "start": 838, + "commentStart": 2032, + "end": 2038, + "start": 2032, "type": "TagDeclarator", - "value": "e2" + "value": "seg04" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" }, "type": "extrudePlane" }, @@ -41,128 +197,11 @@ description: Variables in memory after executing sheet-metal-bracket.kcl "id": "[uuid]", "sourceRange": [], "tag": { - "commentStart": 881, - "end": 884, - "start": 881, + "commentStart": 2719, + "end": 2725, + "start": 2719, "type": "TagDeclarator", - "value": "e3" - }, - "type": "extrudePlane" - }, - { - "faceId": "[uuid]", - "id": "[uuid]", - "sourceRange": [], - "tag": { - "commentStart": 923, - "end": 926, - "start": 923, - "type": "TagDeclarator", - "value": "e4" - }, - "type": "extrudePlane" - }, - { - "faceId": "[uuid]", - "id": "[uuid]", - "sourceRange": [], - "tag": { - "commentStart": 967, - "end": 970, - "start": 967, - "type": "TagDeclarator", - "value": "e5" - }, - "type": "extrudePlane" - }, - { - "faceId": "[uuid]", - "id": "[uuid]", - "sourceRange": [], - "tag": { - "commentStart": 1013, - "end": 1016, - "start": 1013, - "type": "TagDeclarator", - "value": "e6" - }, - "type": "extrudePlane" - }, - { - "faceId": "[uuid]", - "id": "[uuid]", - "sourceRange": [], - "tag": { - "commentStart": 1057, - "end": 1060, - "start": 1057, - "type": "TagDeclarator", - "value": "e7" - }, - "type": "extrudePlane" - }, - { - "faceId": "[uuid]", - "id": "[uuid]", - "sourceRange": [], - "tag": { - "commentStart": 1116, - "end": 1119, - "start": 1116, - "type": "TagDeclarator", - "value": "e8" - }, - "type": "extrudePlane" - }, - { - "faceId": "[uuid]", - "id": "[uuid]", - "sourceRange": [], - "tag": { - "commentStart": 1159, - "end": 1162, - "start": 1159, - "type": "TagDeclarator", - "value": "e9" - }, - "type": "extrudePlane" - }, - { - "faceId": "[uuid]", - "id": "[uuid]", - "sourceRange": [], - "tag": { - "commentStart": 1218, - "end": 1222, - "start": 1218, - "type": "TagDeclarator", - "value": "e10" - }, - "type": "extrudePlane" - }, - { - "faceId": "[uuid]", - "id": "[uuid]", - "sourceRange": [], - "tag": { - "commentStart": 1263, - "end": 1267, - "start": 1263, - "type": "TagDeclarator", - "value": "e11" - }, - "type": "extrudePlane" - }, - { - "faceId": "[uuid]", - "id": "[uuid]", - "sourceRange": [], - "tag": { - "commentStart": 1286, - "end": 1290, - "start": 1286, - "type": "TagDeclarator", - "value": "e12" + "value": "seg07" }, "type": "extrudePlane" } @@ -177,19 +216,111 @@ description: Variables in memory after executing sheet-metal-bracket.kcl "sourceRange": [] }, "from": [ - 0.0, + -4.25, 0.0 ], + "tag": null, + "to": [ + -2.75, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.75, + 0.0 + ], + "tag": null, + "to": [ + -2.5085, + 0.1853 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.5085, + 0.1853 + ], "tag": { - "commentStart": 792, - "end": 795, - "start": 792, + "commentStart": 1495, + "end": 1501, + "start": 1495, "type": "TagDeclarator", - "value": "e1" + "value": "seg01" + }, + "to": [ + -1.9218, + 2.375 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.9218, + 2.375 + ], + "tag": null, + "to": [ + -1.801, + 2.4676 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -1.801, + 2.4676 + ], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" }, "to": [ 0.0, - 0.09 + 2.4676 ], "type": "ToPoint", "units": { @@ -203,18 +334,12 @@ description: Variables in memory after executing sheet-metal-bracket.kcl }, "from": [ 0.0, - 0.09 + 2.4676 ], - "tag": { - "commentStart": 838, - "end": 841, - "start": 838, - "type": "TagDeclarator", - "value": "e2" - }, + "tag": null, "to": [ - 0.5, - 0.09 + 1.801, + 2.4676 ], "type": "ToPoint", "units": { @@ -226,20 +351,38 @@ description: Variables in memory after executing sheet-metal-bracket.kcl "id": "[uuid]", "sourceRange": [] }, - "from": [ - 0.5, - 0.09 + "ccw": false, + "center": [ + 1.801, + 2.3426 ], - "tag": { - "commentStart": 881, - "end": 884, - "start": 881, - "type": "TagDeclarator", - "value": "e3" - }, + "from": [ + 1.801, + 2.4676 + ], + "tag": null, "to": [ - 0.5, - 3.09 + 1.9218, + 2.375 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.9218, + 2.375 + ], + "tag": null, + "to": [ + 2.5085, + 0.1853 ], "type": "ToPoint", "units": { @@ -251,22 +394,21 @@ description: Variables in memory after executing sheet-metal-bracket.kcl "id": "[uuid]", "sourceRange": [] }, + "ccw": true, + "center": [ + 2.75, + 0.25 + ], "from": [ - 0.5, - 3.09 + 2.5085, + 0.1853 ], - "tag": { - "commentStart": 923, - "end": 926, - "start": 923, - "type": "TagDeclarator", - "value": "e4" - }, + "tag": null, "to": [ - 5.5, - 3.09 + 2.75, + -0.0 ], - "type": "ToPoint", + "type": "TangentialArc", "units": { "type": "Inches" } @@ -277,68 +419,12 @@ description: Variables in memory after executing sheet-metal-bracket.kcl "sourceRange": [] }, "from": [ - 5.5, - 3.09 + 2.75, + -0.0 ], - "tag": { - "commentStart": 967, - "end": 970, - "start": 967, - "type": "TagDeclarator", - "value": "e5" - }, + "tag": null, "to": [ - 5.5, - 0.09 - ], - "type": "ToPoint", - "units": { - "type": "Inches" - } - }, - { - "__geoMeta": { - "id": "[uuid]", - "sourceRange": [] - }, - "from": [ - 5.5, - 0.09 - ], - "tag": { - "commentStart": 1013, - "end": 1016, - "start": 1013, - "type": "TagDeclarator", - "value": "e6" - }, - "to": [ - 6.0, - 0.09 - ], - "type": "ToPoint", - "units": { - "type": "Inches" - } - }, - { - "__geoMeta": { - "id": "[uuid]", - "sourceRange": [] - }, - "from": [ - 6.0, - 0.09 - ], - "tag": { - "commentStart": 1057, - "end": 1060, - "start": 1057, - "type": "TagDeclarator", - "value": "e7" - }, - "to": [ - 6.0, + 4.25, -0.0 ], "type": "ToPoint", @@ -352,19 +438,19 @@ description: Variables in memory after executing sheet-metal-bracket.kcl "sourceRange": [] }, "from": [ - 6.0, + 4.25, -0.0 ], "tag": { - "commentStart": 1116, - "end": 1119, - "start": 1116, + "commentStart": 1983, + "end": 1989, + "start": 1983, "type": "TagDeclarator", - "value": "e8" + "value": "seg03" }, "to": [ - 5.41, - -0.0 + 4.25, + 0.125 ], "type": "ToPoint", "units": { @@ -377,19 +463,111 @@ description: Variables in memory after executing sheet-metal-bracket.kcl "sourceRange": [] }, "from": [ - 5.41, - -0.0 + 4.25, + 0.125 ], "tag": { - "commentStart": 1159, - "end": 1162, - "start": 1159, + "commentStart": 2032, + "end": 2038, + "start": 2032, "type": "TagDeclarator", - "value": "e9" + "value": "seg04" }, "to": [ - 5.41, - 3.0 + 2.75, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.75, + 0.125 + ], + "tag": null, + "to": [ + 2.6293, + 0.2176 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.6293, + 0.2176 + ], + "tag": null, + "to": [ + 2.0425, + 2.4074 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 2.0425, + 2.4074 + ], + "tag": null, + "to": [ + 1.801, + 2.5926 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.801, + 2.5926 + ], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "to": [ + 0.0, + 2.5926 ], "type": "ToPoint", "units": { @@ -402,19 +580,105 @@ description: Variables in memory after executing sheet-metal-bracket.kcl "sourceRange": [] }, "from": [ - 5.41, - 3.0 + 0.0, + 2.5926 + ], + "tag": null, + "to": [ + -1.801, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.801, + 2.5926 + ], + "tag": null, + "to": [ + -2.0425, + 2.4074 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.0425, + 2.4074 + ], + "tag": null, + "to": [ + -2.6293, + 0.2176 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.6293, + 0.2176 + ], + "tag": null, + "to": [ + -2.75, + 0.125 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.75, + 0.125 ], "tag": { - "commentStart": 1218, - "end": 1222, - "start": 1218, + "commentStart": 2643, + "end": 2649, + "start": 2643, "type": "TagDeclarator", - "value": "e10" + "value": "seg06" }, "to": [ - 0.59, - 3.0 + -4.25, + 0.125 ], "type": "ToPoint", "units": { @@ -427,18 +691,18 @@ description: Variables in memory after executing sheet-metal-bracket.kcl "sourceRange": [] }, "from": [ - 0.59, - 3.0 + -4.25, + 0.125 ], "tag": { - "commentStart": 1263, - "end": 1267, - "start": 1263, + "commentStart": 2719, + "end": 2725, + "start": 2719, "type": "TagDeclarator", - "value": "e11" + "value": "seg07" }, "to": [ - 0.59, + -4.25, 0.0 ], "type": "ToPoint", @@ -452,18 +716,12 @@ description: Variables in memory after executing sheet-metal-bracket.kcl "sourceRange": [] }, "from": [ - 0.59, + -4.25, 0.0 ], - "tag": { - "commentStart": 1286, - "end": 1290, - "start": 1286, - "type": "TagDeclarator", - "value": "e12" - }, + "tag": null, "to": [ - 0.0, + -4.25, 0.0 ], "type": "ToPoint", @@ -482,422 +740,6 @@ description: Variables in memory after executing sheet-metal-bracket.kcl "y": 0.0, "z": 0.0 }, - "xAxis": { - "x": -1.0, - "y": 0.0, - "z": 0.0 - }, - "yAxis": { - "x": 0.0, - "y": 0.0, - "z": 1.0 - }, - "zAxis": { - "x": 0.0, - "y": 1.0, - "z": 0.0 - }, - "units": { - "type": "Inches" - } - }, - "start": { - "from": [ - 0.0, - 0.0 - ], - "to": [ - 0.0, - 0.0 - ], - "units": { - "type": "Inches" - }, - "tag": null, - "__geoMeta": { - "id": "[uuid]", - "sourceRange": [] - } - }, - "tags": { - "e1": { - "type": "TagIdentifier", - "value": "e1" - }, - "e10": { - "type": "TagIdentifier", - "value": "e10" - }, - "e11": { - "type": "TagIdentifier", - "value": "e11" - }, - "e12": { - "type": "TagIdentifier", - "value": "e12" - }, - "e2": { - "type": "TagIdentifier", - "value": "e2" - }, - "e3": { - "type": "TagIdentifier", - "value": "e3" - }, - "e4": { - "type": "TagIdentifier", - "value": "e4" - }, - "e5": { - "type": "TagIdentifier", - "value": "e5" - }, - "e6": { - "type": "TagIdentifier", - "value": "e6" - }, - "e7": { - "type": "TagIdentifier", - "value": "e7" - }, - "e8": { - "type": "TagIdentifier", - "value": "e8" - }, - "e9": { - "type": "TagIdentifier", - "value": "e9" - } - }, - "artifactId": "[uuid]", - "originalId": "[uuid]", - "units": { - "type": "Inches" - } - }, - "height": 5.0, - "startCapId": "[uuid]", - "endCapId": "[uuid]", - "edgeCuts": [ - { - "type": "fillet", - "id": "[uuid]", - "radius": 0.08, - "edgeId": "[uuid]", - "tag": null - }, - { - "type": "fillet", - "id": "[uuid]", - "radius": 0.16999999999999998, - "edgeId": "[uuid]", - "tag": null - }, - { - "type": "fillet", - "id": "[uuid]", - "radius": 0.16999999999999998, - "edgeId": "[uuid]", - "tag": null - }, - { - "type": "fillet", - "id": "[uuid]", - "radius": 0.08, - "edgeId": "[uuid]", - "tag": null - }, - { - "type": "fillet", - "id": "[uuid]", - "radius": 0.16999999999999998, - "edgeId": "[uuid]", - "tag": null - }, - { - "type": "fillet", - "id": "[uuid]", - "radius": 0.08, - "edgeId": "[uuid]", - "tag": null - }, - { - "type": "fillet", - "id": "[uuid]", - "radius": 0.08, - "edgeId": "[uuid]", - "tag": null - }, - { - "type": "fillet", - "id": "[uuid]", - "radius": 0.16999999999999998, - "edgeId": "[uuid]", - "tag": null - } - ], - "units": { - "type": "Inches" - } - } - }, - "bendRad": { - "type": "Number", - "value": 0.08, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - "boltSize": { - "type": "Number", - "value": 0.25, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - "e1": { - "type": "TagIdentifier", - "type": "TagIdentifier", - "value": "e1" - }, - "e10": { - "type": "TagIdentifier", - "type": "TagIdentifier", - "value": "e10" - }, - "e11": { - "type": "TagIdentifier", - "type": "TagIdentifier", - "value": "e11" - }, - "e12": { - "type": "TagIdentifier", - "type": "TagIdentifier", - "value": "e12" - }, - "e13": { - "type": "TagIdentifier", - "type": "TagIdentifier", - "value": "e13" - }, - "e14": { - "type": "TagIdentifier", - "type": "TagIdentifier", - "value": "e14" - }, - "e15": { - "type": "TagIdentifier", - "type": "TagIdentifier", - "value": "e15" - }, - "e16": { - "type": "TagIdentifier", - "type": "TagIdentifier", - "value": "e16" - }, - "e2": { - "type": "TagIdentifier", - "type": "TagIdentifier", - "value": "e2" - }, - "e3": { - "type": "TagIdentifier", - "type": "TagIdentifier", - "value": "e3" - }, - "e4": { - "type": "TagIdentifier", - "type": "TagIdentifier", - "value": "e4" - }, - "e5": { - "type": "TagIdentifier", - "type": "TagIdentifier", - "value": "e5" - }, - "e6": { - "type": "TagIdentifier", - "type": "TagIdentifier", - "value": "e6" - }, - "e7": { - "type": "TagIdentifier", - "type": "TagIdentifier", - "value": "e7" - }, - "e8": { - "type": "TagIdentifier", - "type": "TagIdentifier", - "value": "e8" - }, - "e9": { - "type": "TagIdentifier", - "type": "TagIdentifier", - "value": "e9" - }, - "flange1": { - "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": { - "commentStart": 2044, - "end": 2048, - "start": 2044, - "type": "TagDeclarator", - "value": "e13" - }, - "type": "extrudePlane" - }, - { - "faceId": "[uuid]", - "id": "[uuid]", - "sourceRange": [], - "tag": { - "commentStart": 2088, - "end": 2092, - "start": 2088, - "type": "TagDeclarator", - "value": "e14" - }, - "type": "extrudePlane" - }, - { - "faceId": "[uuid]", - "id": "[uuid]", - "sourceRange": [], - "tag": null, - "type": "extrudePlane" - } - ], - "sketch": { - "type": "Sketch", - "id": "[uuid]", - "paths": [ - { - "__geoMeta": { - "id": "[uuid]", - "sourceRange": [] - }, - "from": [ - 0.0, - 0.0 - ], - "tag": null, - "to": [ - 0.0, - 5.0 - ], - "type": "ToPoint", - "units": { - "type": "Inches" - } - }, - { - "__geoMeta": { - "id": "[uuid]", - "sourceRange": [] - }, - "from": [ - 0.0, - 5.0 - ], - "tag": { - "commentStart": 2044, - "end": 2048, - "start": 2044, - "type": "TagDeclarator", - "value": "e13" - }, - "to": [ - 1.5, - 5.0 - ], - "type": "ToPoint", - "units": { - "type": "Inches" - } - }, - { - "__geoMeta": { - "id": "[uuid]", - "sourceRange": [] - }, - "from": [ - 1.5, - 5.0 - ], - "tag": { - "commentStart": 2088, - "end": 2092, - "start": 2088, - "type": "TagDeclarator", - "value": "e14" - }, - "to": [ - 1.5, - 0.0 - ], - "type": "ToPoint", - "units": { - "type": "Inches" - } - }, - { - "__geoMeta": { - "id": "[uuid]", - "sourceRange": [] - }, - "from": [ - 1.5, - 0.0 - ], - "tag": null, - "to": [ - 0.0, - 0.0 - ], - "type": "ToPoint", - "units": { - "type": "Inches" - } - } - ], - "on": { - "type": "plane", - "id": "[uuid]", - "artifactId": "[uuid]", - "value": "XY", - "origin": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, "xAxis": { "x": 1.0, "y": 0.0, @@ -905,13 +747,13 @@ description: Variables in memory after executing sheet-metal-bracket.kcl }, "yAxis": { "x": 0.0, - "y": 1.0, - "z": 0.0 + "y": 0.0, + "z": 1.0 }, "zAxis": { "x": 0.0, - "y": 0.0, - "z": 1.0 + "y": -1.0, + "z": 0.0 }, "units": { "type": "Inches" @@ -919,11 +761,11 @@ description: Variables in memory after executing sheet-metal-bracket.kcl }, "start": { "from": [ - 0.0, + -4.25, 0.0 ], "to": [ - 0.0, + -4.25, 0.0 ], "units": { @@ -936,13 +778,33 @@ description: Variables in memory after executing sheet-metal-bracket.kcl } }, "tags": { - "e13": { + "seg01": { "type": "TagIdentifier", - "value": "e13" + "value": "seg01" }, - "e14": { + "seg02": { "type": "TagIdentifier", - "value": "e14" + "value": "seg02" + }, + "seg03": { + "type": "TagIdentifier", + "value": "seg03" + }, + "seg04": { + "type": "TagIdentifier", + "value": "seg04" + }, + "seg05": { + "type": "TagIdentifier", + "value": "seg05" + }, + "seg06": { + "type": "TagIdentifier", + "value": "seg06" + }, + "seg07": { + "type": "TagIdentifier", + "value": "seg07" } }, "artifactId": "[uuid]", @@ -951,10 +813,24 @@ description: Variables in memory after executing sheet-metal-bracket.kcl "type": "Inches" } }, - "height": 0.09, + "height": 5.5, "startCapId": "[uuid]", "endCapId": "[uuid]", "edgeCuts": [ + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, { "type": "fillet", "id": "[uuid]", @@ -975,7 +851,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl } } }, - "flange2": { + "centeredHole": { "type": "Solid", "value": { "type": "Solid", @@ -987,40 +863,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl "id": "[uuid]", "sourceRange": [], "tag": null, - "type": "extrudePlane" - }, - { - "faceId": "[uuid]", - "id": "[uuid]", - "sourceRange": [], - "tag": { - "commentStart": 2529, - "end": 2533, - "start": 2529, - "type": "TagDeclarator", - "value": "e15" - }, - "type": "extrudePlane" - }, - { - "faceId": "[uuid]", - "id": "[uuid]", - "sourceRange": [], - "tag": { - "commentStart": 2573, - "end": 2577, - "start": 2573, - "type": "TagDeclarator", - "value": "e16" - }, - "type": "extrudePlane" - }, - { - "faceId": "[uuid]", - "id": "[uuid]", - "sourceRange": [], - "tag": null, - "type": "extrudePlane" + "type": "extrudeArc" } ], "sketch": { @@ -1032,100 +875,32 @@ description: Variables in memory after executing sheet-metal-bracket.kcl "id": "[uuid]", "sourceRange": [] }, - "from": [ - -6.0, - 0.0 + "ccw": true, + "center": [ + 0.0, + 2.75 ], + "from": [ + 0.75, + 2.75 + ], + "radius": 0.75, "tag": null, "to": [ - -6.0, - 5.0 + 0.75, + 2.75 ], - "type": "ToPoint", - "units": { - "type": "Inches" - } - }, - { - "__geoMeta": { - "id": "[uuid]", - "sourceRange": [] - }, - "from": [ - -6.0, - 5.0 - ], - "tag": { - "commentStart": 2529, - "end": 2533, - "start": 2529, - "type": "TagDeclarator", - "value": "e15" - }, - "to": [ - -7.5, - 5.0 - ], - "type": "ToPoint", - "units": { - "type": "Inches" - } - }, - { - "__geoMeta": { - "id": "[uuid]", - "sourceRange": [] - }, - "from": [ - -7.5, - 5.0 - ], - "tag": { - "commentStart": 2573, - "end": 2577, - "start": 2573, - "type": "TagDeclarator", - "value": "e16" - }, - "to": [ - -7.5, - 0.0 - ], - "type": "ToPoint", - "units": { - "type": "Inches" - } - }, - { - "__geoMeta": { - "id": "[uuid]", - "sourceRange": [] - }, - "from": [ - -7.5, - 0.0 - ], - "tag": null, - "to": [ - -6.0, - 0.0 - ], - "type": "ToPoint", + "type": "Circle", "units": { "type": "Inches" } } ], "on": { - "type": "plane", + "type": "face", "id": "[uuid]", "artifactId": "[uuid]", - "value": "XY", - "origin": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, + "value": "seg05", "xAxis": { "x": 1.0, "y": 0.0, @@ -1133,13 +908,845 @@ description: Variables in memory after executing sheet-metal-bracket.kcl }, "yAxis": { "x": 0.0, - "y": 1.0, - "z": 0.0 + "y": 0.0, + "z": 1.0 }, "zAxis": { "x": 0.0, - "y": 0.0, - "z": 1.0 + "y": -1.0, + "z": 0.0 + }, + "solid": { + "type": "Solid", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": [ + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "type": "extrudePlane" + } + ], + "sketch": { + "type": "Sketch", + "id": "[uuid]", + "paths": [ + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -2.75, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.75, + 0.0 + ], + "tag": null, + "to": [ + -2.5085, + 0.1853 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.5085, + 0.1853 + ], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "to": [ + -1.9218, + 2.375 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.9218, + 2.375 + ], + "tag": null, + "to": [ + -1.801, + 2.4676 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -1.801, + 2.4676 + ], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "to": [ + 0.0, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.4676 + ], + "tag": null, + "to": [ + 1.801, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 1.801, + 2.4676 + ], + "tag": null, + "to": [ + 1.9218, + 2.375 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.9218, + 2.375 + ], + "tag": null, + "to": [ + 2.5085, + 0.1853 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.5085, + 0.1853 + ], + "tag": null, + "to": [ + 2.75, + -0.0 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.75, + -0.0 + ], + "tag": null, + "to": [ + 4.25, + -0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + -0.0 + ], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "to": [ + 4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + 0.125 + ], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "to": [ + 2.75, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.75, + 0.125 + ], + "tag": null, + "to": [ + 2.6293, + 0.2176 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.6293, + 0.2176 + ], + "tag": null, + "to": [ + 2.0425, + 2.4074 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 2.0425, + 2.4074 + ], + "tag": null, + "to": [ + 1.801, + 2.5926 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.801, + 2.5926 + ], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "to": [ + 0.0, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.5926 + ], + "tag": null, + "to": [ + -1.801, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.801, + 2.5926 + ], + "tag": null, + "to": [ + -2.0425, + 2.4074 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.0425, + 2.4074 + ], + "tag": null, + "to": [ + -2.6293, + 0.2176 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.6293, + 0.2176 + ], + "tag": null, + "to": [ + -2.75, + 0.125 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.75, + 0.125 + ], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "to": [ + -4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.125 + ], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + } + ], + "on": { + "type": "plane", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": "XZ", + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "yAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "zAxis": { + "x": 0.0, + "y": -1.0, + "z": 0.0 + }, + "units": { + "type": "Inches" + } + }, + "start": { + "from": [ + -4.25, + 0.0 + ], + "to": [ + -4.25, + 0.0 + ], + "units": { + "type": "Inches" + }, + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "tags": { + "seg01": { + "type": "TagIdentifier", + "value": "seg01" + }, + "seg02": { + "type": "TagIdentifier", + "value": "seg02" + }, + "seg03": { + "type": "TagIdentifier", + "value": "seg03" + }, + "seg04": { + "type": "TagIdentifier", + "value": "seg04" + }, + "seg05": { + "type": "TagIdentifier", + "value": "seg05" + }, + "seg06": { + "type": "TagIdentifier", + "value": "seg06" + }, + "seg07": { + "type": "TagIdentifier", + "value": "seg07" + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": { + "type": "Inches" + } + }, + "height": 5.5, + "startCapId": "[uuid]", + "endCapId": "[uuid]", + "edgeCuts": [ + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + } + ], + "units": { + "type": "Inches" + } }, "units": { "type": "Inches" @@ -1147,12 +1754,12 @@ description: Variables in memory after executing sheet-metal-bracket.kcl }, "start": { "from": [ - -6.0, - 0.0 + 0.75, + 2.75 ], "to": [ - -6.0, - 0.0 + 0.75, + 2.75 ], "units": { "type": "Inches" @@ -1163,49 +1770,30 @@ description: Variables in memory after executing sheet-metal-bracket.kcl "sourceRange": [] } }, - "tags": { - "e15": { - "type": "TagIdentifier", - "value": "e15" - }, - "e16": { - "type": "TagIdentifier", - "value": "e16" - } - }, "artifactId": "[uuid]", "originalId": "[uuid]", "units": { "type": "Inches" } }, - "height": 0.09, - "startCapId": "[uuid]", - "endCapId": "[uuid]", - "edgeCuts": [ - { - "type": "fillet", - "id": "[uuid]", - "radius": 0.25, - "edgeId": "[uuid]", - "tag": null - }, - { - "type": "fillet", - "id": "[uuid]", - "radius": 0.25, - "edgeId": "[uuid]", - "tag": null - } - ], + "height": -0.125, + "startCapId": null, + "endCapId": null, "units": { "type": "Inches" } } }, - "flangeLength": { + "componentBoltDiameter": { "type": "Number", - "value": 0.5, + "value": 0.1875, + "ty": { + "type": "Unknown" + } + }, + "componentBoltPatternX": { + "type": "Number", + "value": 2.0, "ty": { "type": "Default", "len": { @@ -1216,20 +1804,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl } } }, - "flangeWidth": { - "type": "Number", - "value": 1.5, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - "hatHeight": { + "componentBoltPatternY": { "type": "Number", "value": 3.0, "ty": { @@ -1242,9 +1817,9 @@ description: Variables in memory after executing sheet-metal-bracket.kcl } } }, - "hatWidth": { + "exteriorBendRadius": { "type": "Number", - "value": 5.0, + "value": 0.25, "ty": { "type": "Default", "len": { @@ -1255,9 +1830,23 @@ description: Variables in memory after executing sheet-metal-bracket.kcl } } }, - "outsideBendRad": { + "flangeExtrusion": { "type": "Number", - "value": 0.17, + "value": 5.5, + "ty": { + "type": "Unknown" + } + }, + "flangeLength": { + "type": "Number", + "value": 1.5, + "ty": { + "type": "Unknown" + } + }, + "hatHeight": { + "type": "Number", + "value": 2.5, "ty": { "type": "Default", "len": { @@ -1268,9 +1857,3839 @@ description: Variables in memory after executing sheet-metal-bracket.kcl } } }, + "interiorBendRadius": { + "type": "Number", + "value": 0.125, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "leftFlangeBoltPattern": { + "type": "HomArray", + "value": [ + { + "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": [ + -3.5, + 0.75 + ], + "from": [ + -3.375, + 0.75 + ], + "radius": 0.125, + "tag": null, + "to": [ + -3.375, + 0.75 + ], + "type": "Circle", + "units": { + "type": "Inches" + } + } + ], + "on": { + "type": "face", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": "seg04", + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "yAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "zAxis": { + "x": 0.0, + "y": -1.0, + "z": 0.0 + }, + "solid": { + "type": "Solid", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": [ + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "type": "extrudePlane" + } + ], + "sketch": { + "type": "Sketch", + "id": "[uuid]", + "paths": [ + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -2.75, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.75, + 0.0 + ], + "tag": null, + "to": [ + -2.5085, + 0.1853 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.5085, + 0.1853 + ], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "to": [ + -1.9218, + 2.375 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.9218, + 2.375 + ], + "tag": null, + "to": [ + -1.801, + 2.4676 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -1.801, + 2.4676 + ], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "to": [ + 0.0, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.4676 + ], + "tag": null, + "to": [ + 1.801, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 1.801, + 2.4676 + ], + "tag": null, + "to": [ + 1.9218, + 2.375 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.9218, + 2.375 + ], + "tag": null, + "to": [ + 2.5085, + 0.1853 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.5085, + 0.1853 + ], + "tag": null, + "to": [ + 2.75, + -0.0 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.75, + -0.0 + ], + "tag": null, + "to": [ + 4.25, + -0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + -0.0 + ], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "to": [ + 4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + 0.125 + ], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "to": [ + 2.75, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.75, + 0.125 + ], + "tag": null, + "to": [ + 2.6293, + 0.2176 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.6293, + 0.2176 + ], + "tag": null, + "to": [ + 2.0425, + 2.4074 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 2.0425, + 2.4074 + ], + "tag": null, + "to": [ + 1.801, + 2.5926 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.801, + 2.5926 + ], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "to": [ + 0.0, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.5926 + ], + "tag": null, + "to": [ + -1.801, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.801, + 2.5926 + ], + "tag": null, + "to": [ + -2.0425, + 2.4074 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.0425, + 2.4074 + ], + "tag": null, + "to": [ + -2.6293, + 0.2176 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.6293, + 0.2176 + ], + "tag": null, + "to": [ + -2.75, + 0.125 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.75, + 0.125 + ], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "to": [ + -4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.125 + ], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + } + ], + "on": { + "type": "plane", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": "XZ", + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "yAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "zAxis": { + "x": 0.0, + "y": -1.0, + "z": 0.0 + }, + "units": { + "type": "Inches" + } + }, + "start": { + "from": [ + -4.25, + 0.0 + ], + "to": [ + -4.25, + 0.0 + ], + "units": { + "type": "Inches" + }, + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "tags": { + "seg01": { + "type": "TagIdentifier", + "value": "seg01" + }, + "seg02": { + "type": "TagIdentifier", + "value": "seg02" + }, + "seg03": { + "type": "TagIdentifier", + "value": "seg03" + }, + "seg04": { + "type": "TagIdentifier", + "value": "seg04" + }, + "seg05": { + "type": "TagIdentifier", + "value": "seg05" + }, + "seg06": { + "type": "TagIdentifier", + "value": "seg06" + }, + "seg07": { + "type": "TagIdentifier", + "value": "seg07" + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": { + "type": "Inches" + } + }, + "height": 5.5, + "startCapId": "[uuid]", + "endCapId": "[uuid]", + "edgeCuts": [ + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + } + ], + "units": { + "type": "Inches" + } + }, + "units": { + "type": "Inches" + } + }, + "start": { + "from": [ + -3.375, + 0.75 + ], + "to": [ + -3.375, + 0.75 + ], + "units": { + "type": "Inches" + }, + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": { + "type": "Inches" + } + }, + "height": -0.125, + "startCapId": null, + "endCapId": null, + "units": { + "type": "Inches" + } + } + }, + { + "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": [ + -3.5, + 0.75 + ], + "from": [ + -3.375, + 0.75 + ], + "radius": 0.125, + "tag": null, + "to": [ + -3.375, + 0.75 + ], + "type": "Circle", + "units": { + "type": "Inches" + } + } + ], + "on": { + "type": "face", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": "seg04", + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "yAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "zAxis": { + "x": 0.0, + "y": -1.0, + "z": 0.0 + }, + "solid": { + "type": "Solid", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": [ + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "type": "extrudePlane" + } + ], + "sketch": { + "type": "Sketch", + "id": "[uuid]", + "paths": [ + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -2.75, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.75, + 0.0 + ], + "tag": null, + "to": [ + -2.5085, + 0.1853 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.5085, + 0.1853 + ], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "to": [ + -1.9218, + 2.375 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.9218, + 2.375 + ], + "tag": null, + "to": [ + -1.801, + 2.4676 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -1.801, + 2.4676 + ], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "to": [ + 0.0, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.4676 + ], + "tag": null, + "to": [ + 1.801, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 1.801, + 2.4676 + ], + "tag": null, + "to": [ + 1.9218, + 2.375 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.9218, + 2.375 + ], + "tag": null, + "to": [ + 2.5085, + 0.1853 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.5085, + 0.1853 + ], + "tag": null, + "to": [ + 2.75, + -0.0 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.75, + -0.0 + ], + "tag": null, + "to": [ + 4.25, + -0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + -0.0 + ], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "to": [ + 4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + 0.125 + ], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "to": [ + 2.75, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.75, + 0.125 + ], + "tag": null, + "to": [ + 2.6293, + 0.2176 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.6293, + 0.2176 + ], + "tag": null, + "to": [ + 2.0425, + 2.4074 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 2.0425, + 2.4074 + ], + "tag": null, + "to": [ + 1.801, + 2.5926 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.801, + 2.5926 + ], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "to": [ + 0.0, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.5926 + ], + "tag": null, + "to": [ + -1.801, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.801, + 2.5926 + ], + "tag": null, + "to": [ + -2.0425, + 2.4074 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.0425, + 2.4074 + ], + "tag": null, + "to": [ + -2.6293, + 0.2176 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.6293, + 0.2176 + ], + "tag": null, + "to": [ + -2.75, + 0.125 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.75, + 0.125 + ], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "to": [ + -4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.125 + ], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + } + ], + "on": { + "type": "plane", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": "XZ", + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "yAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "zAxis": { + "x": 0.0, + "y": -1.0, + "z": 0.0 + }, + "units": { + "type": "Inches" + } + }, + "start": { + "from": [ + -4.25, + 0.0 + ], + "to": [ + -4.25, + 0.0 + ], + "units": { + "type": "Inches" + }, + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "tags": { + "seg01": { + "type": "TagIdentifier", + "value": "seg01" + }, + "seg02": { + "type": "TagIdentifier", + "value": "seg02" + }, + "seg03": { + "type": "TagIdentifier", + "value": "seg03" + }, + "seg04": { + "type": "TagIdentifier", + "value": "seg04" + }, + "seg05": { + "type": "TagIdentifier", + "value": "seg05" + }, + "seg06": { + "type": "TagIdentifier", + "value": "seg06" + }, + "seg07": { + "type": "TagIdentifier", + "value": "seg07" + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": { + "type": "Inches" + } + }, + "height": 5.5, + "startCapId": "[uuid]", + "endCapId": "[uuid]", + "edgeCuts": [ + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + } + ], + "units": { + "type": "Inches" + } + }, + "units": { + "type": "Inches" + } + }, + "start": { + "from": [ + -3.375, + 0.75 + ], + "to": [ + -3.375, + 0.75 + ], + "units": { + "type": "Inches" + }, + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": { + "type": "Inches" + } + }, + "height": -0.125, + "startCapId": null, + "endCapId": null, + "units": { + "type": "Inches" + } + } + } + ] + }, + "mountingBoltDiameter": { + "type": "Number", + "value": 0.25, + "ty": { + "type": "Unknown" + } + }, + "mountingBoltPatternX": { + "type": "Number", + "value": 7.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "mountingBoltPatternY": { + "type": "Number", + "value": 4.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "overhang": { + "type": "Number", + "value": 0.75, + "ty": { + "type": "Unknown" + } + }, + "rightFlangeBoltPattern": { + "type": "HomArray", + "value": [ + { + "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": [ + 3.5, + 0.75 + ], + "from": [ + 3.625, + 0.75 + ], + "radius": 0.125, + "tag": null, + "to": [ + 3.625, + 0.75 + ], + "type": "Circle", + "units": { + "type": "Inches" + } + } + ], + "on": { + "type": "face", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": "seg06", + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "yAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "zAxis": { + "x": 0.0, + "y": -1.0, + "z": 0.0 + }, + "solid": { + "type": "Solid", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": [ + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "type": "extrudePlane" + } + ], + "sketch": { + "type": "Sketch", + "id": "[uuid]", + "paths": [ + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -2.75, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.75, + 0.0 + ], + "tag": null, + "to": [ + -2.5085, + 0.1853 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.5085, + 0.1853 + ], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "to": [ + -1.9218, + 2.375 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.9218, + 2.375 + ], + "tag": null, + "to": [ + -1.801, + 2.4676 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -1.801, + 2.4676 + ], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "to": [ + 0.0, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.4676 + ], + "tag": null, + "to": [ + 1.801, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 1.801, + 2.4676 + ], + "tag": null, + "to": [ + 1.9218, + 2.375 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.9218, + 2.375 + ], + "tag": null, + "to": [ + 2.5085, + 0.1853 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.5085, + 0.1853 + ], + "tag": null, + "to": [ + 2.75, + -0.0 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.75, + -0.0 + ], + "tag": null, + "to": [ + 4.25, + -0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + -0.0 + ], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "to": [ + 4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + 0.125 + ], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "to": [ + 2.75, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.75, + 0.125 + ], + "tag": null, + "to": [ + 2.6293, + 0.2176 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.6293, + 0.2176 + ], + "tag": null, + "to": [ + 2.0425, + 2.4074 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 2.0425, + 2.4074 + ], + "tag": null, + "to": [ + 1.801, + 2.5926 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.801, + 2.5926 + ], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "to": [ + 0.0, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.5926 + ], + "tag": null, + "to": [ + -1.801, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.801, + 2.5926 + ], + "tag": null, + "to": [ + -2.0425, + 2.4074 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.0425, + 2.4074 + ], + "tag": null, + "to": [ + -2.6293, + 0.2176 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.6293, + 0.2176 + ], + "tag": null, + "to": [ + -2.75, + 0.125 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.75, + 0.125 + ], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "to": [ + -4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.125 + ], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + } + ], + "on": { + "type": "plane", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": "XZ", + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "yAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "zAxis": { + "x": 0.0, + "y": -1.0, + "z": 0.0 + }, + "units": { + "type": "Inches" + } + }, + "start": { + "from": [ + -4.25, + 0.0 + ], + "to": [ + -4.25, + 0.0 + ], + "units": { + "type": "Inches" + }, + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "tags": { + "seg01": { + "type": "TagIdentifier", + "value": "seg01" + }, + "seg02": { + "type": "TagIdentifier", + "value": "seg02" + }, + "seg03": { + "type": "TagIdentifier", + "value": "seg03" + }, + "seg04": { + "type": "TagIdentifier", + "value": "seg04" + }, + "seg05": { + "type": "TagIdentifier", + "value": "seg05" + }, + "seg06": { + "type": "TagIdentifier", + "value": "seg06" + }, + "seg07": { + "type": "TagIdentifier", + "value": "seg07" + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": { + "type": "Inches" + } + }, + "height": 5.5, + "startCapId": "[uuid]", + "endCapId": "[uuid]", + "edgeCuts": [ + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + } + ], + "units": { + "type": "Inches" + } + }, + "units": { + "type": "Inches" + } + }, + "start": { + "from": [ + 3.625, + 0.75 + ], + "to": [ + 3.625, + 0.75 + ], + "units": { + "type": "Inches" + }, + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": { + "type": "Inches" + } + }, + "height": -0.125, + "startCapId": null, + "endCapId": null, + "units": { + "type": "Inches" + } + } + }, + { + "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": [ + 3.5, + 0.75 + ], + "from": [ + 3.625, + 0.75 + ], + "radius": 0.125, + "tag": null, + "to": [ + 3.625, + 0.75 + ], + "type": "Circle", + "units": { + "type": "Inches" + } + } + ], + "on": { + "type": "face", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": "seg06", + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "yAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "zAxis": { + "x": 0.0, + "y": -1.0, + "z": 0.0 + }, + "solid": { + "type": "Solid", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": [ + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "type": "extrudePlane" + } + ], + "sketch": { + "type": "Sketch", + "id": "[uuid]", + "paths": [ + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -2.75, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.75, + 0.0 + ], + "tag": null, + "to": [ + -2.5085, + 0.1853 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.5085, + 0.1853 + ], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "to": [ + -1.9218, + 2.375 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.9218, + 2.375 + ], + "tag": null, + "to": [ + -1.801, + 2.4676 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -1.801, + 2.4676 + ], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "to": [ + 0.0, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.4676 + ], + "tag": null, + "to": [ + 1.801, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 1.801, + 2.4676 + ], + "tag": null, + "to": [ + 1.9218, + 2.375 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.9218, + 2.375 + ], + "tag": null, + "to": [ + 2.5085, + 0.1853 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.5085, + 0.1853 + ], + "tag": null, + "to": [ + 2.75, + -0.0 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.75, + -0.0 + ], + "tag": null, + "to": [ + 4.25, + -0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + -0.0 + ], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "to": [ + 4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + 0.125 + ], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "to": [ + 2.75, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.75, + 0.125 + ], + "tag": null, + "to": [ + 2.6293, + 0.2176 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.6293, + 0.2176 + ], + "tag": null, + "to": [ + 2.0425, + 2.4074 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 2.0425, + 2.4074 + ], + "tag": null, + "to": [ + 1.801, + 2.5926 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.801, + 2.5926 + ], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "to": [ + 0.0, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.5926 + ], + "tag": null, + "to": [ + -1.801, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.801, + 2.5926 + ], + "tag": null, + "to": [ + -2.0425, + 2.4074 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.0425, + 2.4074 + ], + "tag": null, + "to": [ + -2.6293, + 0.2176 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.6293, + 0.2176 + ], + "tag": null, + "to": [ + -2.75, + 0.125 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.75, + 0.125 + ], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "to": [ + -4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.125 + ], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + } + ], + "on": { + "type": "plane", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": "XZ", + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "yAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "zAxis": { + "x": 0.0, + "y": -1.0, + "z": 0.0 + }, + "units": { + "type": "Inches" + } + }, + "start": { + "from": [ + -4.25, + 0.0 + ], + "to": [ + -4.25, + 0.0 + ], + "units": { + "type": "Inches" + }, + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "tags": { + "seg01": { + "type": "TagIdentifier", + "value": "seg01" + }, + "seg02": { + "type": "TagIdentifier", + "value": "seg02" + }, + "seg03": { + "type": "TagIdentifier", + "value": "seg03" + }, + "seg04": { + "type": "TagIdentifier", + "value": "seg04" + }, + "seg05": { + "type": "TagIdentifier", + "value": "seg05" + }, + "seg06": { + "type": "TagIdentifier", + "value": "seg06" + }, + "seg07": { + "type": "TagIdentifier", + "value": "seg07" + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": { + "type": "Inches" + } + }, + "height": 5.5, + "startCapId": "[uuid]", + "endCapId": "[uuid]", + "edgeCuts": [ + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + } + ], + "units": { + "type": "Inches" + } + }, + "units": { + "type": "Inches" + } + }, + "start": { + "from": [ + 3.625, + 0.75 + ], + "to": [ + 3.625, + 0.75 + ], + "units": { + "type": "Inches" + }, + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": { + "type": "Inches" + } + }, + "height": -0.125, + "startCapId": null, + "endCapId": null, + "units": { + "type": "Inches" + } + } + } + ] + }, + "seg01": { + "type": "TagIdentifier", + "type": "TagIdentifier", + "value": "seg01" + }, + "seg02": { + "type": "TagIdentifier", + "type": "TagIdentifier", + "value": "seg02" + }, + "seg03": { + "type": "TagIdentifier", + "type": "TagIdentifier", + "value": "seg03" + }, + "seg04": { + "type": "TagIdentifier", + "type": "TagIdentifier", + "value": "seg04" + }, + "seg05": { + "type": "TagIdentifier", + "type": "TagIdentifier", + "value": "seg05" + }, + "seg06": { + "type": "TagIdentifier", + "type": "TagIdentifier", + "value": "seg06" + }, + "seg07": { + "type": "TagIdentifier", + "type": "TagIdentifier", + "value": "seg07" + }, "thickness": { "type": "Number", - "value": 0.09, + "value": 0.125, "ty": { "type": "Default", "len": { @@ -1280,5 +5699,3742 @@ description: Variables in memory after executing sheet-metal-bracket.kcl "type": "Degrees" } } + }, + "topFlangeBoltPattern": { + "type": "HomArray", + "value": [ + { + "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": [ + -1.0, + 1.25 + ], + "from": [ + -0.9063, + 1.25 + ], + "radius": 0.09375, + "tag": null, + "to": [ + -0.9063, + 1.25 + ], + "type": "Circle", + "units": { + "type": "Inches" + } + } + ], + "on": { + "type": "face", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": "seg05", + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "yAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "zAxis": { + "x": 0.0, + "y": -1.0, + "z": 0.0 + }, + "solid": { + "type": "Solid", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": [ + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "type": "extrudePlane" + } + ], + "sketch": { + "type": "Sketch", + "id": "[uuid]", + "paths": [ + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -2.75, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.75, + 0.0 + ], + "tag": null, + "to": [ + -2.5085, + 0.1853 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.5085, + 0.1853 + ], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "to": [ + -1.9218, + 2.375 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.9218, + 2.375 + ], + "tag": null, + "to": [ + -1.801, + 2.4676 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -1.801, + 2.4676 + ], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "to": [ + 0.0, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.4676 + ], + "tag": null, + "to": [ + 1.801, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 1.801, + 2.4676 + ], + "tag": null, + "to": [ + 1.9218, + 2.375 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.9218, + 2.375 + ], + "tag": null, + "to": [ + 2.5085, + 0.1853 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.5085, + 0.1853 + ], + "tag": null, + "to": [ + 2.75, + -0.0 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.75, + -0.0 + ], + "tag": null, + "to": [ + 4.25, + -0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + -0.0 + ], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "to": [ + 4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + 0.125 + ], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "to": [ + 2.75, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.75, + 0.125 + ], + "tag": null, + "to": [ + 2.6293, + 0.2176 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.6293, + 0.2176 + ], + "tag": null, + "to": [ + 2.0425, + 2.4074 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 2.0425, + 2.4074 + ], + "tag": null, + "to": [ + 1.801, + 2.5926 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.801, + 2.5926 + ], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "to": [ + 0.0, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.5926 + ], + "tag": null, + "to": [ + -1.801, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.801, + 2.5926 + ], + "tag": null, + "to": [ + -2.0425, + 2.4074 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.0425, + 2.4074 + ], + "tag": null, + "to": [ + -2.6293, + 0.2176 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.6293, + 0.2176 + ], + "tag": null, + "to": [ + -2.75, + 0.125 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.75, + 0.125 + ], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "to": [ + -4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.125 + ], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + } + ], + "on": { + "type": "plane", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": "XZ", + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "yAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "zAxis": { + "x": 0.0, + "y": -1.0, + "z": 0.0 + }, + "units": { + "type": "Inches" + } + }, + "start": { + "from": [ + -4.25, + 0.0 + ], + "to": [ + -4.25, + 0.0 + ], + "units": { + "type": "Inches" + }, + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "tags": { + "seg01": { + "type": "TagIdentifier", + "value": "seg01" + }, + "seg02": { + "type": "TagIdentifier", + "value": "seg02" + }, + "seg03": { + "type": "TagIdentifier", + "value": "seg03" + }, + "seg04": { + "type": "TagIdentifier", + "value": "seg04" + }, + "seg05": { + "type": "TagIdentifier", + "value": "seg05" + }, + "seg06": { + "type": "TagIdentifier", + "value": "seg06" + }, + "seg07": { + "type": "TagIdentifier", + "value": "seg07" + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": { + "type": "Inches" + } + }, + "height": 5.5, + "startCapId": "[uuid]", + "endCapId": "[uuid]", + "edgeCuts": [ + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + } + ], + "units": { + "type": "Inches" + } + }, + "units": { + "type": "Inches" + } + }, + "start": { + "from": [ + -0.9063, + 1.25 + ], + "to": [ + -0.9063, + 1.25 + ], + "units": { + "type": "Inches" + }, + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": { + "type": "Inches" + } + }, + "height": -0.125, + "startCapId": null, + "endCapId": null, + "units": { + "type": "Inches" + } + } + }, + { + "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": [ + -1.0, + 1.25 + ], + "from": [ + -0.9063, + 1.25 + ], + "radius": 0.09375, + "tag": null, + "to": [ + -0.9063, + 1.25 + ], + "type": "Circle", + "units": { + "type": "Inches" + } + } + ], + "on": { + "type": "face", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": "seg05", + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "yAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "zAxis": { + "x": 0.0, + "y": -1.0, + "z": 0.0 + }, + "solid": { + "type": "Solid", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": [ + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "type": "extrudePlane" + } + ], + "sketch": { + "type": "Sketch", + "id": "[uuid]", + "paths": [ + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -2.75, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.75, + 0.0 + ], + "tag": null, + "to": [ + -2.5085, + 0.1853 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.5085, + 0.1853 + ], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "to": [ + -1.9218, + 2.375 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.9218, + 2.375 + ], + "tag": null, + "to": [ + -1.801, + 2.4676 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -1.801, + 2.4676 + ], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "to": [ + 0.0, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.4676 + ], + "tag": null, + "to": [ + 1.801, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 1.801, + 2.4676 + ], + "tag": null, + "to": [ + 1.9218, + 2.375 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.9218, + 2.375 + ], + "tag": null, + "to": [ + 2.5085, + 0.1853 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.5085, + 0.1853 + ], + "tag": null, + "to": [ + 2.75, + -0.0 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.75, + -0.0 + ], + "tag": null, + "to": [ + 4.25, + -0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + -0.0 + ], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "to": [ + 4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + 0.125 + ], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "to": [ + 2.75, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.75, + 0.125 + ], + "tag": null, + "to": [ + 2.6293, + 0.2176 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.6293, + 0.2176 + ], + "tag": null, + "to": [ + 2.0425, + 2.4074 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 2.0425, + 2.4074 + ], + "tag": null, + "to": [ + 1.801, + 2.5926 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.801, + 2.5926 + ], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "to": [ + 0.0, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.5926 + ], + "tag": null, + "to": [ + -1.801, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.801, + 2.5926 + ], + "tag": null, + "to": [ + -2.0425, + 2.4074 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.0425, + 2.4074 + ], + "tag": null, + "to": [ + -2.6293, + 0.2176 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.6293, + 0.2176 + ], + "tag": null, + "to": [ + -2.75, + 0.125 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.75, + 0.125 + ], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "to": [ + -4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.125 + ], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + } + ], + "on": { + "type": "plane", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": "XZ", + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "yAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "zAxis": { + "x": 0.0, + "y": -1.0, + "z": 0.0 + }, + "units": { + "type": "Inches" + } + }, + "start": { + "from": [ + -4.25, + 0.0 + ], + "to": [ + -4.25, + 0.0 + ], + "units": { + "type": "Inches" + }, + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "tags": { + "seg01": { + "type": "TagIdentifier", + "value": "seg01" + }, + "seg02": { + "type": "TagIdentifier", + "value": "seg02" + }, + "seg03": { + "type": "TagIdentifier", + "value": "seg03" + }, + "seg04": { + "type": "TagIdentifier", + "value": "seg04" + }, + "seg05": { + "type": "TagIdentifier", + "value": "seg05" + }, + "seg06": { + "type": "TagIdentifier", + "value": "seg06" + }, + "seg07": { + "type": "TagIdentifier", + "value": "seg07" + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": { + "type": "Inches" + } + }, + "height": 5.5, + "startCapId": "[uuid]", + "endCapId": "[uuid]", + "edgeCuts": [ + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + } + ], + "units": { + "type": "Inches" + } + }, + "units": { + "type": "Inches" + } + }, + "start": { + "from": [ + -0.9063, + 1.25 + ], + "to": [ + -0.9063, + 1.25 + ], + "units": { + "type": "Inches" + }, + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": { + "type": "Inches" + } + }, + "height": -0.125, + "startCapId": null, + "endCapId": null, + "units": { + "type": "Inches" + } + } + }, + { + "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": [ + -1.0, + 1.25 + ], + "from": [ + -0.9063, + 1.25 + ], + "radius": 0.09375, + "tag": null, + "to": [ + -0.9063, + 1.25 + ], + "type": "Circle", + "units": { + "type": "Inches" + } + } + ], + "on": { + "type": "face", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": "seg05", + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "yAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "zAxis": { + "x": 0.0, + "y": -1.0, + "z": 0.0 + }, + "solid": { + "type": "Solid", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": [ + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "type": "extrudePlane" + } + ], + "sketch": { + "type": "Sketch", + "id": "[uuid]", + "paths": [ + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -2.75, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.75, + 0.0 + ], + "tag": null, + "to": [ + -2.5085, + 0.1853 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.5085, + 0.1853 + ], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "to": [ + -1.9218, + 2.375 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.9218, + 2.375 + ], + "tag": null, + "to": [ + -1.801, + 2.4676 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -1.801, + 2.4676 + ], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "to": [ + 0.0, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.4676 + ], + "tag": null, + "to": [ + 1.801, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 1.801, + 2.4676 + ], + "tag": null, + "to": [ + 1.9218, + 2.375 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.9218, + 2.375 + ], + "tag": null, + "to": [ + 2.5085, + 0.1853 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.5085, + 0.1853 + ], + "tag": null, + "to": [ + 2.75, + -0.0 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.75, + -0.0 + ], + "tag": null, + "to": [ + 4.25, + -0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + -0.0 + ], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "to": [ + 4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + 0.125 + ], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "to": [ + 2.75, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.75, + 0.125 + ], + "tag": null, + "to": [ + 2.6293, + 0.2176 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.6293, + 0.2176 + ], + "tag": null, + "to": [ + 2.0425, + 2.4074 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 2.0425, + 2.4074 + ], + "tag": null, + "to": [ + 1.801, + 2.5926 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.801, + 2.5926 + ], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "to": [ + 0.0, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.5926 + ], + "tag": null, + "to": [ + -1.801, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.801, + 2.5926 + ], + "tag": null, + "to": [ + -2.0425, + 2.4074 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.0425, + 2.4074 + ], + "tag": null, + "to": [ + -2.6293, + 0.2176 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.6293, + 0.2176 + ], + "tag": null, + "to": [ + -2.75, + 0.125 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.75, + 0.125 + ], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "to": [ + -4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.125 + ], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + } + ], + "on": { + "type": "plane", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": "XZ", + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "yAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "zAxis": { + "x": 0.0, + "y": -1.0, + "z": 0.0 + }, + "units": { + "type": "Inches" + } + }, + "start": { + "from": [ + -4.25, + 0.0 + ], + "to": [ + -4.25, + 0.0 + ], + "units": { + "type": "Inches" + }, + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "tags": { + "seg01": { + "type": "TagIdentifier", + "value": "seg01" + }, + "seg02": { + "type": "TagIdentifier", + "value": "seg02" + }, + "seg03": { + "type": "TagIdentifier", + "value": "seg03" + }, + "seg04": { + "type": "TagIdentifier", + "value": "seg04" + }, + "seg05": { + "type": "TagIdentifier", + "value": "seg05" + }, + "seg06": { + "type": "TagIdentifier", + "value": "seg06" + }, + "seg07": { + "type": "TagIdentifier", + "value": "seg07" + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": { + "type": "Inches" + } + }, + "height": 5.5, + "startCapId": "[uuid]", + "endCapId": "[uuid]", + "edgeCuts": [ + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + } + ], + "units": { + "type": "Inches" + } + }, + "units": { + "type": "Inches" + } + }, + "start": { + "from": [ + -0.9063, + 1.25 + ], + "to": [ + -0.9063, + 1.25 + ], + "units": { + "type": "Inches" + }, + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": { + "type": "Inches" + } + }, + "height": -0.125, + "startCapId": null, + "endCapId": null, + "units": { + "type": "Inches" + } + } + }, + { + "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": [ + -1.0, + 1.25 + ], + "from": [ + -0.9063, + 1.25 + ], + "radius": 0.09375, + "tag": null, + "to": [ + -0.9063, + 1.25 + ], + "type": "Circle", + "units": { + "type": "Inches" + } + } + ], + "on": { + "type": "face", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": "seg05", + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "yAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "zAxis": { + "x": 0.0, + "y": -1.0, + "z": 0.0 + }, + "solid": { + "type": "Solid", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": [ + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": null, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "type": "extrudePlane" + } + ], + "sketch": { + "type": "Sketch", + "id": "[uuid]", + "paths": [ + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -2.75, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.75, + 0.0 + ], + "tag": null, + "to": [ + -2.5085, + 0.1853 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.5085, + 0.1853 + ], + "tag": { + "commentStart": 1495, + "end": 1501, + "start": 1495, + "type": "TagDeclarator", + "value": "seg01" + }, + "to": [ + -1.9218, + 2.375 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.9218, + 2.375 + ], + "tag": null, + "to": [ + -1.801, + 2.4676 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -1.801, + 2.4676 + ], + "tag": { + "commentStart": 1632, + "end": 1638, + "start": 1632, + "type": "TagDeclarator", + "value": "seg02" + }, + "to": [ + 0.0, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.4676 + ], + "tag": null, + "to": [ + 1.801, + 2.4676 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 1.801, + 2.4676 + ], + "tag": null, + "to": [ + 1.9218, + 2.375 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.9218, + 2.375 + ], + "tag": null, + "to": [ + 2.5085, + 0.1853 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.5085, + 0.1853 + ], + "tag": null, + "to": [ + 2.75, + -0.0 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.75, + -0.0 + ], + "tag": null, + "to": [ + 4.25, + -0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + -0.0 + ], + "tag": { + "commentStart": 1983, + "end": 1989, + "start": 1983, + "type": "TagDeclarator", + "value": "seg03" + }, + "to": [ + 4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 4.25, + 0.125 + ], + "tag": { + "commentStart": 2032, + "end": 2038, + "start": 2032, + "type": "TagDeclarator", + "value": "seg04" + }, + "to": [ + 2.75, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + 2.75, + 0.25 + ], + "from": [ + 2.75, + 0.125 + ], + "tag": null, + "to": [ + 2.6293, + 0.2176 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 2.6293, + 0.2176 + ], + "tag": null, + "to": [ + 2.0425, + 2.4074 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 1.801, + 2.3426 + ], + "from": [ + 2.0425, + 2.4074 + ], + "tag": null, + "to": [ + 1.801, + 2.5926 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 1.801, + 2.5926 + ], + "tag": { + "commentStart": 2316, + "end": 2322, + "start": 2316, + "type": "TagDeclarator", + "value": "seg05" + }, + "to": [ + 0.0, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 0.0, + 2.5926 + ], + "tag": null, + "to": [ + -1.801, + 2.5926 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + -1.801, + 2.3426 + ], + "from": [ + -1.801, + 2.5926 + ], + "tag": null, + "to": [ + -2.0425, + 2.4074 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.0425, + 2.4074 + ], + "tag": null, + "to": [ + -2.6293, + 0.2176 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": false, + "center": [ + -2.75, + 0.25 + ], + "from": [ + -2.6293, + 0.2176 + ], + "tag": null, + "to": [ + -2.75, + 0.125 + ], + "type": "TangentialArc", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -2.75, + 0.125 + ], + "tag": { + "commentStart": 2643, + "end": 2649, + "start": 2643, + "type": "TagDeclarator", + "value": "seg06" + }, + "to": [ + -4.25, + 0.125 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.125 + ], + "tag": { + "commentStart": 2719, + "end": 2725, + "start": 2719, + "type": "TagDeclarator", + "value": "seg07" + }, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -4.25, + 0.0 + ], + "tag": null, + "to": [ + -4.25, + 0.0 + ], + "type": "ToPoint", + "units": { + "type": "Inches" + } + } + ], + "on": { + "type": "plane", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": "XZ", + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "yAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "zAxis": { + "x": 0.0, + "y": -1.0, + "z": 0.0 + }, + "units": { + "type": "Inches" + } + }, + "start": { + "from": [ + -4.25, + 0.0 + ], + "to": [ + -4.25, + 0.0 + ], + "units": { + "type": "Inches" + }, + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "tags": { + "seg01": { + "type": "TagIdentifier", + "value": "seg01" + }, + "seg02": { + "type": "TagIdentifier", + "value": "seg02" + }, + "seg03": { + "type": "TagIdentifier", + "value": "seg03" + }, + "seg04": { + "type": "TagIdentifier", + "value": "seg04" + }, + "seg05": { + "type": "TagIdentifier", + "value": "seg05" + }, + "seg06": { + "type": "TagIdentifier", + "value": "seg06" + }, + "seg07": { + "type": "TagIdentifier", + "value": "seg07" + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": { + "type": "Inches" + } + }, + "height": 5.5, + "startCapId": "[uuid]", + "endCapId": "[uuid]", + "edgeCuts": [ + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + }, + { + "type": "fillet", + "id": "[uuid]", + "radius": 0.5, + "edgeId": "[uuid]", + "tag": null + } + ], + "units": { + "type": "Inches" + } + }, + "units": { + "type": "Inches" + } + }, + "start": { + "from": [ + -0.9063, + 1.25 + ], + "to": [ + -0.9063, + 1.25 + ], + "units": { + "type": "Inches" + }, + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": { + "type": "Inches" + } + }, + "height": -0.125, + "startCapId": null, + "endCapId": null, + "units": { + "type": "Inches" + } + } + } + ] } } diff --git a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/rendered_model.png b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/rendered_model.png index b39985d0e..6e33f2152 100644 Binary files a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/rendered_model.png and b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/rendered_model.png differ