diff --git a/public/kcl-samples/axial-fan/fan-housing.kcl b/public/kcl-samples/axial-fan/fan-housing.kcl
index 4e2501079c7..2974222cc4e 100644
--- a/public/kcl-samples/axial-fan/fan-housing.kcl
+++ b/public/kcl-samples/axial-fan/fan-housing.kcl
@@ -10,7 +10,7 @@ import * from "parameters.kcl"
// Model the housing which holds the motor, the fan, and the mounting provisions
// Bottom mounting face
bottomFaceSketch = startSketchOn(XY)
- |> startProfile(at = [-fanSize / 2, -fanSize / 2])
+bottomFaceSolid = startProfile(bottomFaceSketch, at = [-fanSize / 2, -fanSize / 2])
|> angledLine(angle = 0, length = fanSize, tag = $rectangleSegmentA001)
|> angledLine(angle = segAng(rectangleSegmentA001) + 90, length = fanSize, tag = $rectangleSegmentB001)
|> angledLine(angle = segAng(rectangleSegmentA001), length = -segLen(rectangleSegmentA001), tag = $rectangleSegmentC001)
@@ -48,7 +48,7 @@ bottomFaceSketch = startSketchOn(XY)
|> extrude(length = 4)
// Add large openings to the bottom face to allow airflow through the fan
-airflowPattern = startSketchOn(bottomFaceSketch, face = END)
+airflowPattern = startSketchOn(bottomFaceSolid, face = END)
|> startProfile(at = [fanSize * 7 / 25, -fanSize * 9 / 25])
|> angledLine(angle = 140, length = fanSize * 12 / 25, tag = $seg01)
|> tangentialArc(radius = fanSize * 1 / 50, angle = 90)
@@ -70,7 +70,7 @@ airflowPattern = startSketchOn(bottomFaceSketch, face = END)
// Create the middle segment of the fan housing body
housingMiddleLength = fanSize / 3
housingMiddleRadius = fanSize / 3 - 1
-bodyMiddle = startSketchOn(bottomFaceSketch, face = END)
+bodyMiddle = startSketchOn(bottomFaceSolid, face = END)
|> startProfile(at = [
housingMiddleLength / 2,
-housingMiddleLength / 2 - housingMiddleRadius
@@ -130,7 +130,7 @@ topHoles = startProfile(topFaceSketch, at = [-fanSize / 2, -fanSize / 2])
|> extrude(length = 4)
// Create a housing for the electric motor to sit
-motorHousing = startSketchOn(bottomFaceSketch, face = END)
+motorHousing = startSketchOn(bottomFaceSolid, face = END)
|> circle(center = [0, 0], radius = 11.2)
|> extrude(length = 16)
diff --git a/public/kcl-samples/axial-fan/fan.kcl b/public/kcl-samples/axial-fan/fan.kcl
index 33388a35e0f..545578a6f4d 100644
--- a/public/kcl-samples/axial-fan/fan.kcl
+++ b/public/kcl-samples/axial-fan/fan.kcl
@@ -8,8 +8,8 @@
import * from "parameters.kcl"
// Model the center of the fan
-fanCenter = startSketchOn(XZ)
- |> startProfile(at = [-0.0001, fanHeight])
+fanCenterSketch = startSketchOn(XZ)
+fanCenter = startProfile(fanCenterSketch, at = [-0.0001, fanHeight])
|> xLine(endAbsolute = -15 + 1.5)
|> tangentialArc(radius = 1.5, angle = 90)
|> yLine(endAbsolute = 4.5)
diff --git a/public/kcl-samples/ball-bearing/main.kcl b/public/kcl-samples/ball-bearing/main.kcl
index a6e8568a636..cb652b81dd8 100644
--- a/public/kcl-samples/ball-bearing/main.kcl
+++ b/public/kcl-samples/ball-bearing/main.kcl
@@ -26,12 +26,12 @@ insideWall = extrude(insideWallSketch, length = overallThickness)
// Create the sketch of one of the balls
ballsSketch = startSketchOn(XY)
- |> startProfile(at = [shaftDia / 2 + wallThickness, 0.001])
+ballsProfile = startProfile(ballsSketch, at = [shaftDia / 2 + wallThickness, 0.001])
|> arc(angleStart = 180, angleEnd = 0, radius = sphereDia / 2)
|> close()
// Revolve the ball to make a sphere and pattern around the inside wall
-balls = revolve(ballsSketch, axis = X)
+balls = revolve(ballsProfile, axis = X)
|> patternCircular3d(
arcDegrees = 360,
axis = [0, 0, 1],
@@ -42,17 +42,20 @@ balls = revolve(ballsSketch, axis = X)
// Create the sketch for the chain around the balls
chainSketch = startSketchOn(XY)
- |> startProfile(at = [
- shaftDia / 2 + wallThickness + sphereDia / 2 - (chainWidth / 2),
- 0.125 * sin(60)
- ])
+chainProfile = startProfile(
+ chainSketch,
+ at = [
+ shaftDia / 2 + wallThickness + sphereDia / 2 - (chainWidth / 2),
+ 0.125 * sin(60)
+ ],
+ )
|> arc(angleStart = 120, angleEnd = 60, radius = sphereDia / 2)
|> line(end = [0, chainThickness])
|> line(end = [-chainWidth, 0])
|> close()
// Revolve the chain sketch
-chainHead = revolve(chainSketch, axis = X)
+chainHead = revolve(chainProfile, axis = X)
|> patternCircular3d(
arcDegrees = 360,
axis = [0, 0, 1],
diff --git a/public/kcl-samples/bone-plate/main.kcl b/public/kcl-samples/bone-plate/main.kcl
index 92d1d6ff318..417ab4ac771 100644
--- a/public/kcl-samples/bone-plate/main.kcl
+++ b/public/kcl-samples/bone-plate/main.kcl
@@ -8,8 +8,8 @@
boltSize = 4.5
// Revolve the profile of a compression plate designed to fit a bone
-plateRevolve = startSketchOn(YZ)
- |> startProfile(at = [22.9, 0])
+plateSketch = startSketchOn(YZ)
+plateRevolve = startProfile(plateSketch, at = [22.9, 0])
|> arc(angleStart = 180, angleEnd = 176, radius = 120)
|> arc(angleStart = -60, angleEnd = 54, radius = 5)
|> arc(angleStart = 180, angleEnd = 176, radius = 120)
diff --git a/public/kcl-samples/bottle/main.kcl b/public/kcl-samples/bottle/main.kcl
index 1bf771ba294..428e033b6c2 100644
--- a/public/kcl-samples/bottle/main.kcl
+++ b/public/kcl-samples/bottle/main.kcl
@@ -13,8 +13,8 @@ neckDiameter = 45
wallThickness = 4
// Create a rounded body for the bottle
-bottleBody = startSketchOn(XY)
- |> startProfile(at = [-bottleLength / 2, 0])
+bottleSketch = startSketchOn(XY)
+bottleBody = startProfile(bottleSketch, at = [-bottleLength / 2, 0])
|> yLine(length = bottleWidth / 3)
|> arc(endAbsolute = [bottleLength / 2, bottleWidth / 3], interiorAbsolute = [0, bottleWidth / 2])
|> yLine(endAbsolute = 0)
diff --git a/public/kcl-samples/bracket/main.kcl b/public/kcl-samples/bracket/main.kcl
index e6cea72c78d..a8cfdbc70c7 100644
--- a/public/kcl-samples/bracket/main.kcl
+++ b/public/kcl-samples/bracket/main.kcl
@@ -31,8 +31,8 @@ assert(width, isGreaterThanOrEqual = shelfMountingHoleDiameter * 5.5, error = "H
assert(width, isGreaterThanOrEqual = wallMountingHoleDiameter * 5.5, error = "Holes not possible. Either decrease hole diameter or increase width")
// Create the body of the bracket
-bracketBody = startSketchOn(XZ)
- |> startProfile(at = [0, 0])
+bracketSketch = startSketchOn(XZ)
+bracketBody = startProfile(bracketSketch, at = [0, 0])
|> xLine(length = shelfMountLength - thickness, tag = $seg01)
|> yLine(length = thickness, tag = $seg02)
|> xLine(length = -shelfMountLength, tag = $seg03)
diff --git a/public/kcl-samples/car-wheel-assembly/brake-caliper.kcl b/public/kcl-samples/car-wheel-assembly/brake-caliper.kcl
index ffd31067e44..10e5aeaaaf8 100644
--- a/public/kcl-samples/car-wheel-assembly/brake-caliper.kcl
+++ b/public/kcl-samples/car-wheel-assembly/brake-caliper.kcl
@@ -9,10 +9,13 @@ import caliperTolerance, caliperPadLength, caliperThickness, caliperOuterEdgeRad
// Sketch the brake caliper profile
brakeCaliperSketch = startSketchOn(XY)
- |> startProfile(at = [
- rotorDiameter / 2 + caliperTolerance,
- 0
- ])
+brakeCaliperProfile = startProfile(
+ brakeCaliperSketch,
+ at = [
+ rotorDiameter / 2 + caliperTolerance,
+ 0
+ ],
+ )
|> line(end = [
0,
rotorTotalThickness + caliperTolerance - caliperInnerEdgeRadius
@@ -56,5 +59,5 @@ brakeCaliperSketch = startSketchOn(XY)
|> close()
// Revolve the brake caliper sketch
-revolve(brakeCaliperSketch, axis = Y, angle = -70)
+revolve(brakeCaliperProfile, axis = Y, angle = -70)
|> appearance(color = "#c82d2d", metalness = 90, roughness = 90)
diff --git a/public/kcl-samples/car-wheel-assembly/car-tire.kcl b/public/kcl-samples/car-wheel-assembly/car-tire.kcl
index 8883b5f3113..4607a7e1dc8 100644
--- a/public/kcl-samples/car-wheel-assembly/car-tire.kcl
+++ b/public/kcl-samples/car-wheel-assembly/car-tire.kcl
@@ -9,7 +9,7 @@ import tireInnerDiameter, tireOuterDiameter, tireDepth, bendRadius, tireTreadWid
// Create the sketch of the tire
tireSketch = startSketchOn(XY)
- |> startProfile(at = [tireInnerDiameter / 2, tireDepth / 2])
+tireProfile = startProfile(tireSketch, at = [tireInnerDiameter / 2, tireDepth / 2])
|> line(
endAbsolute = [
tireOuterDiameter / 2 - bendRadius,
@@ -41,5 +41,5 @@ tireSketch = startSketchOn(XY)
|> close()
// Revolve the sketch to create the tire
-carTire = revolve(tireSketch, axis = Y)
+carTire = revolve(tireProfile, axis = Y)
|> appearance(color = "#0f0f0f", roughness = 80)
diff --git a/public/kcl-samples/cold-plate/main.kcl b/public/kcl-samples/cold-plate/main.kcl
index 8f17708ebb8..dbc5d3f727b 100644
--- a/public/kcl-samples/cold-plate/main.kcl
+++ b/public/kcl-samples/cold-plate/main.kcl
@@ -10,8 +10,8 @@ wallThickness = 0.080
bendRadius = 1
// Create the cold plate with indentions to secure each pass of the brazed copper tube
-coldPlate = startSketchOn(YZ)
- |> startProfile(at = [0, tubeDiameter * 2])
+coldPlateSketch = startSketchOn(YZ)
+coldPlate = startProfile(coldPlateSketch, at = [0, tubeDiameter * 2])
|> xLine(length = bendRadius - (tubeDiameter / 2))
|> yLine(length = -tubeDiameter)
|> tangentialArc(angle = 180, radius = tubeDiameter / 2)
@@ -31,8 +31,8 @@ coldPlate = startSketchOn(YZ)
|> extrude(length = 10, symmetric = true)
// Sketch the path for the copper tube to follow
-copperTubePath = startSketchOn(offsetPlane(XY, offset = tubeDiameter))
- |> startProfile(at = [-7.35, -bendRadius * 3])
+copperTubeSketch = startSketchOn(offsetPlane(XY, offset = tubeDiameter))
+copperTubePath = startProfile(copperTubeSketch, at = [-7.35, -bendRadius * 3])
|> xLine(length = 14.13, tag = $seg05)
|> tangentialArc(angle = 180, radius = bendRadius, tag = $seg02)
|> angledLine(angle = tangentToEnd(seg02), length = 13.02, tag = $seg06)
@@ -42,15 +42,16 @@ copperTubePath = startSketchOn(offsetPlane(XY, offset = tubeDiameter))
|> angledLine(angle = tangentToEnd(seg04), length = segLen(seg05))
// Create the profile for the inner and outer diameter of the hollow copper tube
-tubeWall = startSketchOn(offsetPlane(YZ, offset = -7.35))
+tubeWallSketch = startSketchOn(offsetPlane(YZ, offset = -7.35))
+tubeWall = startProfile(tubeWallSketch, at = [-bendRadius * 3, tubeDiameter])
|> circle(center = [-bendRadius * 3, tubeDiameter], radius = tubeDiameter / 2)
|> subtract2d(tool = circle(center = [-bendRadius * 3, tubeDiameter], radius = tubeDiameter / 2 - wallThickness))
|> sweep(path = copperTubePath)
|> appearance(color = "#b81b0a")
// Model a brazed cap to cover each tube. Constrain the caps using the walls of the plate
-brazedCap = startSketchOn(YZ)
- |> startProfile(at = segEnd(seg07))
+brazedCapSketch = startSketchOn(YZ)
+brazedCap = startProfile(brazedCapSketch, at = segEnd(seg07))
|> arc(interiorAbsolute = [bendRadius * 3, tubeDiameter * 1.85], endAbsolute = segEnd(seg08))
|> yLine(endAbsolute = segStartY(seg08))
|> arc(
diff --git a/public/kcl-samples/counterdrilled-weldment/main.kcl b/public/kcl-samples/counterdrilled-weldment/main.kcl
index a4dd5cc1b8a..be97832830f 100644
--- a/public/kcl-samples/counterdrilled-weldment/main.kcl
+++ b/public/kcl-samples/counterdrilled-weldment/main.kcl
@@ -21,14 +21,14 @@ blockWidth = boltSpacingY + boltDiameter * 6
// Draw the base plate
plateSketch = startSketchOn(XY)
- |> startProfile(at = [-blockLength / 2, -blockWidth / 2])
+plateProfile = startProfile(plateSketch, at = [-blockLength / 2, -blockWidth / 2])
|> angledLine(angle = 0, length = blockLength, tag = $rectangleSegmentA001)
|> angledLine(angle = segAng(rectangleSegmentA001) + 90, length = blockWidth, tag = $rectangleSegmentB001)
|> angledLine(angle = segAng(rectangleSegmentA001), length = -segLen(rectangleSegmentA001), tag = $rectangleSegmentC001)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)], tag = $rectangleSegmentD001)
|> close()
|> subtract2d(tool = circle(center = [0, 0], radius = tubeInnerDiameter / 2))
-plateBody = extrude(plateSketch, length = stockThickness)
+plateBody = extrude(plateProfile, length = stockThickness)
|> chamfer(
length = boltDiameter * 2,
tags = [
diff --git a/public/kcl-samples/countersunk-plate/main.kcl b/public/kcl-samples/countersunk-plate/main.kcl
index 8a34501a21b..95c110731fb 100644
--- a/public/kcl-samples/countersunk-plate/main.kcl
+++ b/public/kcl-samples/countersunk-plate/main.kcl
@@ -20,9 +20,9 @@ d = boltSpacing / 2
tangentAngle = asin((r1 - r2) / d)
tangentLength = (r1 - r2) / tan(tangentAngle)
-plateBody = startSketchOn(XY)
- // Use polar coordinates to start the sketch at the tangent point of the larger radius
- |> startProfile(at = polar(angle = 90 - tangentAngle, length = r1))
+plateSketch = startSketchOn(XY)
+// Use polar coordinates to start the sketch at the tangent point of the larger radius
+plateBody = startProfile(plateSketch, at = polar(angle = 90 - tangentAngle, length = r1))
|> angledLine(angle = -tangentAngle, length = tangentLength)
|> tangentialArc(radius = r2, angle = (tangentAngle - 90) * 2)
|> angledLine(angle = tangentAngle, length = -tangentLength)
diff --git a/public/kcl-samples/cpu-cooler/fan-housing.kcl b/public/kcl-samples/cpu-cooler/fan-housing.kcl
index 812a733a45d..7103be5e312 100644
--- a/public/kcl-samples/cpu-cooler/fan-housing.kcl
+++ b/public/kcl-samples/cpu-cooler/fan-housing.kcl
@@ -10,7 +10,7 @@ import * from "parameters.kcl"
// Model the housing which holds the motor, the fan, and the mounting provisions
// Bottom mounting face
bottomFaceSketch = startSketchOn(YZ)
- |> startProfile(at = [-fanSize / 2, -fanSize / 2])
+bottomFaceSolid = startProfile(bottomFaceSketch, at = [-fanSize / 2, -fanSize / 2])
|> angledLine(angle = 0, length = fanSize, tag = $rectangleSegmentA001)
|> angledLine(angle = segAng(rectangleSegmentA001) + 90, length = fanSize, tag = $rectangleSegmentB001)
|> angledLine(angle = segAng(rectangleSegmentA001), length = -segLen(rectangleSegmentA001), tag = $rectangleSegmentC001)
@@ -48,7 +48,7 @@ bottomFaceSketch = startSketchOn(YZ)
|> extrude(length = 4)
// Add large openings to the bottom face to allow airflow through the fan
-airflowPattern = startSketchOn(bottomFaceSketch, face = END)
+airflowPattern = startSketchOn(bottomFaceSolid, face = END)
|> startProfile(at = [fanSize * 7 / 25, -fanSize * 9 / 25])
|> angledLine(angle = 140, length = fanSize * 12 / 25, tag = $seg01)
|> tangentialArc(radius = fanSize * 1 / 50, angle = 90)
@@ -70,7 +70,7 @@ airflowPattern = startSketchOn(bottomFaceSketch, face = END)
// Create the middle segment of the fan housing body
housingMiddleLength = fanSize / 3
housingMiddleRadius = fanSize / 3 - 1
-bodyMiddle = startSketchOn(bottomFaceSketch, face = END)
+bodyMiddle = startSketchOn(bottomFaceSolid, face = END)
|> startProfile(at = [
housingMiddleLength / 2,
-housingMiddleLength / 2 - housingMiddleRadius
@@ -130,7 +130,7 @@ topHoles = startProfile(topFaceSketch, at = [-fanSize / 2, -fanSize / 2])
|> extrude(length = 4)
// Create a housing for the electric motor to sit
-motorHousing = startSketchOn(bottomFaceSketch, face = END)
+motorHousing = startSketchOn(bottomFaceSolid, face = END)
|> circle(center = [0, 0], radius = 11.2)
|> extrude(length = 16)
diff --git a/public/kcl-samples/cpu-cooler/heat-sink.kcl b/public/kcl-samples/cpu-cooler/heat-sink.kcl
index 62a9f0563a3..7e7ecd9175e 100644
--- a/public/kcl-samples/cpu-cooler/heat-sink.kcl
+++ b/public/kcl-samples/cpu-cooler/heat-sink.kcl
@@ -107,8 +107,8 @@ baseUpper = startProfile(coolerBase, at = [0, 10])
|> extrude(length = 2 * segLen(seg02) * 3 / 4, symmetric = true)
// Create a flexible mounting bracket to secure the heat sink to the motherboard once adhered
-mountingBracket = startSketchOn(XZ)
- |> startProfile(at = [-10, 16])
+mountingBracketSketch = startSketchOn(XZ)
+mountingBracket = startProfile(mountingBracketSketch, at = [-10, 16])
|> xLine(length = -20)
|> tangentialArc(angle = 20, radius = bendRadius)
|> angledLine(angle = -160, length = 14, tag = $seg09)
diff --git a/public/kcl-samples/cpu-cooler/removable-sticker.kcl b/public/kcl-samples/cpu-cooler/removable-sticker.kcl
index 849089db1d3..d8b4987e3b3 100644
--- a/public/kcl-samples/cpu-cooler/removable-sticker.kcl
+++ b/public/kcl-samples/cpu-cooler/removable-sticker.kcl
@@ -5,8 +5,8 @@
@settings(defaultLengthUnit = mm)
// Create a simple body to represent the removable warning sticker. Brightly color the sticker so that the user will not forget to remove it before installing the device
-removableSticker = startSketchOn(-XY)
- |> startProfile(at = [-12, -12])
+removableStickerSketch = startSketchOn(-XY)
+removableSticker = startProfile(removableStickerSketch, at = [-12, -12])
|> angledLine(angle = 0, length = 24, tag = $rectangleSegmentA001)
|> angledLine(angle = segAng(rectangleSegmentA001) + 90, length = 24, tag = $rectangleSegmentB001)
|> angledLine(angle = segAng(rectangleSegmentA001), length = -segLen(rectangleSegmentA001), tag = $rectangleSegmentC001)
diff --git a/public/kcl-samples/enclosure/main.kcl b/public/kcl-samples/enclosure/main.kcl
index 162dc478e8b..863c2cd3fb3 100644
--- a/public/kcl-samples/enclosure/main.kcl
+++ b/public/kcl-samples/enclosure/main.kcl
@@ -12,14 +12,14 @@ wallThickness = 3
holeDia = 4
// Model a box with base enclosure dimensions
-sketch001 = startSketchOn(XY)
- |> startProfile(at = [0, 0])
+boxSketch = startSketchOn(XY)
+boxProfile = startProfile(boxSketch, at = [0, 0])
|> angledLine(angle = 0, length = width, tag = $rectangleSegmentA001)
|> angledLine(angle = segAng(rectangleSegmentA001) + 90, length, tag = $rectangleSegmentB001)
|> angledLine(angle = segAng(rectangleSegmentA001), length = -segLen(rectangleSegmentA001), tag = $rectangleSegmentC001)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)], tag = $rectangleSegmentD001)
|> close()
-extrude001 = extrude(sketch001, length = height)
+box = extrude(boxProfile, length = height)
|> fillet(
radius = wallThickness * 4,
tags = [
@@ -39,17 +39,16 @@ fn function001(@originStart) {
plane001 = {
origin = [0.0, 0.0, wallThickness],
xAxis = [1.0, 0.0, 0.0],
- yAxis = [0.0, 1.0, 0.0],
- zAxis = [0.0, 0.0, 1.0]
+ yAxis = [0.0, 1.0, 0.0]
}
// Create a pillar with a fasterner hole at the center
- sketch002 = startSketchOn(plane001)
+ pillarProfile = startSketchOn(plane001)
|> circle(center = [originStart[0], originStart[1]], radius = holeDia + wallThickness)
|> subtract2d(tool = circle(center = [originStart[0], originStart[1]], radius = holeDia))
- extrude002 = extrude(sketch002, length = height - wallThickness)
+ pillar = extrude(pillarProfile, length = height - wallThickness)
- return extrude002
+ return pillar
}
// Place the internal pillar at each corner
@@ -71,8 +70,8 @@ function001([
])
// Define lid position and outer surface
-sketch003 = startSketchOn(XY)
- |> startProfile(at = [width * 1.2, 0])
+lidOuterSketch = startSketchOn(XY)
+lidOuterProfile = startProfile(lidOuterSketch, at = [width * 1.2, 0])
|> angledLine(angle = 0, length = width, tag = $rectangleSegmentA002)
|> angledLine(angle = segAng(rectangleSegmentA001) + 90, length, tag = $rectangleSegmentB002)
|> angledLine(angle = segAng(rectangleSegmentA001), length = -segLen(rectangleSegmentA001), tag = $rectangleSegmentC002)
@@ -106,7 +105,7 @@ sketch003 = startSketchOn(XY)
],
radius = holeDia,
))
-extrude003 = extrude(sketch003, length = wallThickness)
+lidOuter = extrude(lidOuterProfile, length = wallThickness)
|> fillet(
radius = wallThickness * 4,
tags = [
@@ -118,7 +117,7 @@ extrude003 = extrude(sketch003, length = wallThickness)
)
// Define lid inner and sealing surfaces
-sketch004 = startSketchOn(extrude003, face = END)
+lidInnerProfile = startSketchOn(lidOuter, face = END)
|> startProfile(at = [
width * 1.2 + wallThickness,
wallThickness
@@ -156,7 +155,7 @@ sketch004 = startSketchOn(extrude003, face = END)
],
radius = holeDia + wallThickness,
))
-extrude004 = extrude(sketch004, length = wallThickness)
+lid = extrude(lidInnerProfile, length = wallThickness)
|> fillet(
radius = wallThickness * 3,
tags = [
diff --git a/public/kcl-samples/exhaust-manifold/main.kcl b/public/kcl-samples/exhaust-manifold/main.kcl
index 6260b2e3d10..799ce44a1b6 100644
--- a/public/kcl-samples/exhaust-manifold/main.kcl
+++ b/public/kcl-samples/exhaust-manifold/main.kcl
@@ -33,8 +33,8 @@ fn primaryTube(n, angle001, length001, length002, length003) {
|> angledLine(angle = tangentToEnd(arc02), length = length003)
// Create the cross section of each tube and sweep them
- sweepProfile = startSketchOn(XY)
- |> circle(center = [pos001, 0], radius = primaryTubeDiameter / 2)
+ sweepSketch = startSketchOn(XY)
+ tube = circle(sweepSketch, center = [pos001, 0], radius = primaryTubeDiameter / 2)
|> subtract2d(tool = circle(center = [pos001, 0], radius = primaryTubeDiameter / 2 - wallThickness))
|> sweep(path = sweepPath)
@@ -73,7 +73,7 @@ primaryTube(
// Create the mounting flange for the header
flangeSketch = startSketchOn(XY)
- |> startProfile(at = [3 + 1.3, -1.25])
+flangeProfile = startProfile(flangeSketch, at = [3 + 1.3, -1.25])
|> xLine(length = -2.6, tag = $seg01)
|> tangentialArc(radius = .3, angle = -40)
|> tangentialArc(radius = .9, angle = 80)
diff --git a/public/kcl-samples/focusrite-scarlett-mounting-bracket/main.kcl b/public/kcl-samples/focusrite-scarlett-mounting-bracket/main.kcl
index 327b636bff1..e495cc620ec 100644
--- a/public/kcl-samples/focusrite-scarlett-mounting-bracket/main.kcl
+++ b/public/kcl-samples/focusrite-scarlett-mounting-bracket/main.kcl
@@ -19,8 +19,7 @@ tabThk = 4
bracketPlane = {
origin = { x = 0, y = length / 2 + thk, z = 0 },
xAxis = { x = 1, y = 0, z = 0 },
- yAxis = { x = 0, y = 0, z = 1 },
- zAxis = { x = 0, y = -1, z = 0 }
+ yAxis = { x = 0, y = 0, z = 1 }
}
// Build the bracket sketch around the body
@@ -56,13 +55,12 @@ bracketBody = bs
tabPlane = {
origin = { x = 0, y = 0, z = depth + thk },
xAxis = { x = 1, y = 0, z = 0 },
- yAxis = { x = 0, y = 1, z = 0 },
- zAxis = { x = 0, y = 0, z = 1 }
+ yAxis = { x = 0, y = 1, z = 0 }
}
// Build the tabs of the mounting bracket (right side)
-tabsR = startSketchOn(tabPlane)
- |> startProfile(at = [width / 2 + thk, length / 2 + thk])
+tabsSketch = startSketchOn(tabPlane)
+tabsR = startProfile(tabsSketch, at = [width / 2 + thk, length / 2 + thk])
|> line(end = [tabWidth, -tabLength / 3], tag = $edge11)
|> line(end = [0, -tabLength / 3 * 2], tag = $edge12)
|> line(end = [-tabWidth, -tabLength / 3], tag = $edge13)
@@ -85,8 +83,7 @@ tabsR = startSketchOn(tabPlane)
|> patternLinear3d(axis = [0, -1, 0], instances = 2, distance = length + 2 * thk - (tabLength * 4 / 3))
// Build the tabs of the mounting bracket (left side)
-tabsL = startSketchOn(tabPlane)
- |> startProfile(at = [-width / 2 - thk, length / 2 + thk])
+tabsL = startProfile(tabsSketch, at = [-width / 2 - thk, length / 2 + thk])
|> line(end = [-tabWidth, -tabLength / 3], tag = $edge21)
|> line(end = [0, -tabLength / 3 * 2], tag = $edge22)
|> line(end = [tabWidth, -tabLength / 3], tag = $edge23)
@@ -112,21 +109,19 @@ tabsL = startSketchOn(tabPlane)
retPlane = {
origin = { x = -width / 2 + 20, y = 0, z = 0 },
xAxis = { x = 0, y = 1, z = 0 },
- yAxis = { x = 0, y = 0, z = 1 },
- zAxis = { x = 1, y = 0, z = 0 }
+ yAxis = { x = 0, y = 0, z = 1 }
}
// Build the retention bump in the front
-retFront = startSketchOn(retPlane)
- |> startProfile(at = [-length / 2 - thk, 0])
+retSketch = startSketchOn(retPlane)
+retFront = startProfile(retSketch, at = [-length / 2 - thk, 0])
|> line(end = [0, thk])
|> line(end = [thk, -thk])
|> close()
|> extrude(length = width - 40)
// Build the retention bump in the back
-retBack = startSketchOn(retPlane)
- |> startProfile(at = [length / 2 + thk, 0])
+retBack = startProfile(retSketch, at = [length / 2 + thk, 0])
|> line(end = [0, thk])
|> line(end = [-thk, 0])
|> line(end = [0, -thk])
diff --git a/public/kcl-samples/french-press/main.kcl b/public/kcl-samples/french-press/main.kcl
index 4f19b3ae797..10850ed5916 100644
--- a/public/kcl-samples/french-press/main.kcl
+++ b/public/kcl-samples/french-press/main.kcl
@@ -11,25 +11,24 @@ handleThickness = 0.65
// Upper ring of the metal structure
sketch001 = startSketchOn(XZ)
- |> startProfile(at = [carafeDiameter / 2, 5.7])
+profile001 = startProfile(sketch001, at = [carafeDiameter / 2, 5.7])
|> angledLine(angle = 0, length = 0.1, tag = $rectangleSegmentA001)
|> angledLine(angle = segAng(rectangleSegmentA001) - 90, length = -0.75, tag = $rectangleSegmentB001)
|> angledLine(angle = segAng(rectangleSegmentA001), length = -segLen(rectangleSegmentA001), tag = $rectangleSegmentC001)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
- |> revolve(angle = 360, axis = Y)
+revolve001 = revolve(profile001, angle = 360, axis = Y)
// Create an angled plane to sketch the supports
plane001 = {
origin = [-0.26, 0.26, 0.0],
xAxis = [1, 1, 0.0],
- yAxis = [0.0, 0.0, 1.0],
- zAxis = [1.0, 0.0, 0.0]
+ yAxis = [0.0, 0.0, 1.0]
}
// Cross section of the metal supports
sketch002 = startSketchOn(plane001)
- |> startProfile(at = [carafeDiameter / 2, 5.7])
+profile002 = startProfile(sketch002, at = [carafeDiameter / 2, 5.7])
|> xLine(length = 0.1)
|> yLine(length = -5.2, tag = $edge1)
|> arc(angleStart = 180, angleEnd = 205, radius = 0.3)
@@ -47,7 +46,7 @@ sketch002 = startSketchOn(plane001)
|> arc(angleStart = 205, angleEnd = 180, radius = 0.6)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
- |> extrude(length = 0.75)
+extrude002 = extrude(profile002, length = 0.75)
|> patternCircular3d(
axis = [0, 0, 1],
center = [0, 0, 0],
@@ -58,12 +57,12 @@ sketch002 = startSketchOn(plane001)
// Cross plate
sketch003 = startSketchOn(offsetPlane(XY, offset = 1))
- |> circle(center = [0, 0], radius = carafeDiameter / 2 - 0.15)
+profile003 = circle(sketch003, center = [0, 0], radius = carafeDiameter / 2 - 0.15)
-extrude001 = extrude(sketch003, length = 0.050)
+extrude003 = extrude(profile003, length = 0.050)
-sketch004 = startSketchOn(extrude001, face = END)
- |> startProfile(at = [0.3, 0.17])
+sketch004 = startSketchOn(extrude003, face = END)
+profile004 = startProfile(sketch004, at = [0.3, 0.17])
|> yLine(length = 1.2)
|> arc(angleStart = 90, angleEnd = -30, radius = 1.2)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
@@ -75,11 +74,11 @@ sketch004 = startSketchOn(extrude001, face = END)
rotateDuplicates = true,
)
-extrude002 = extrude(sketch004, length = -0.050)
+extrude004 = extrude(profile004, length = -0.050)
// Filter screen
sketch005 = startSketchOn(XZ)
- |> startProfile(at = [0.15, 1.11])
+profile005 = startProfile(sketch005, at = [0.15, 1.11])
|> xLine(endAbsolute = carafeDiameter / 2 - 0.2)
|> angledLine(angle = 30, endAbsoluteX = carafeDiameter / 2 - 0.07, tag = $seg1)
|> angledLine(angle = -60, length = 0.050)
@@ -90,8 +89,7 @@ sketch005 = startSketchOn(XZ)
|> revolve(axis = Y)
// Plunger and stem
-sketch006 = startSketchOn(XZ)
- |> startProfile(at = [0.1, 1])
+profile006 = startProfile(sketch005, at = [0.1, 1])
|> line(end = [0.1, 0])
|> angledLine(angle = 10, endAbsoluteX = 0.05)
|> yLine(length = 10)
@@ -104,14 +102,14 @@ sketch006 = startSketchOn(XZ)
// Spiral plate
sketch007 = startSketchOn(offsetPlane(XY, offset = 1.12))
- |> circle(center = [0, 0], radius = carafeDiameter / 2 - 0.24)
+profile007 = circle(sketch007, center = [0, 0], radius = carafeDiameter / 2 - 0.24)
|> subtract2d(tool = circle(center = [0, 0], radius = .15))
-extrude003 = extrude(sketch007, length = 0.050)
+extrude007 = extrude(profile007, length = 0.050)
// Pattern holes in the spiral plate
-sketch008 = startSketchOn(extrude003, face = END)
- |> circle(center = [1.4, 0], radius = .3)
+sketch008 = startSketchOn(extrude007, face = END)
+profile008 = circle(sketch008, center = [1.4, 0], radius = .3)
|> patternCircular2d(
center = [0, 0],
instances = 8,
@@ -119,11 +117,11 @@ sketch008 = startSketchOn(extrude003, face = END)
rotateDuplicates = true,
)
-extrude004 = extrude(sketch008, length = -0.050)
+extrude008 = extrude(profile008, length = -0.050)
// Pattern holes in the spiral plate
-sketch009 = startSketchOn(extrude003, face = END)
- |> circle(center = [0.6, 0], radius = .2)
+sketch009 = startSketchOn(extrude007, face = END)
+profile009 = circle(sketch009, center = [0.6, 0], radius = .2)
|> patternCircular2d(
center = [0, 0],
instances = 4,
@@ -131,19 +129,19 @@ sketch009 = startSketchOn(extrude003, face = END)
rotateDuplicates = true,
)
-extrude005 = extrude(sketch009, length = -0.050)
+extrude009 = extrude(profile009, length = -0.050)
// Extrude a glass carafe body
sketch010 = startSketchOn(XY)
- |> circle(center = [0, 0], radius = carafeDiameter / 2)
+profile010 = circle(sketch010, center = [0, 0], radius = carafeDiameter / 2)
// Perform a shell operation to hollow the carafe body with the top face removed
-extrude006 = extrude(sketch010, length = carafeHeight)
+extrude006 = extrude(profile010, length = carafeHeight)
|> shell(faces = [END], thickness = .07)
// Draw and revolve the lid
sketch011 = startSketchOn(XZ)
- |> startProfile(at = [0.2, carafeHeight - 0.7])
+profile011 = startProfile(sketch011, at = [0.2, carafeHeight - 0.7])
|> xLine(length = carafeDiameter / 2 - 0.3)
|> yLine(length = 0.7)
|> xLine(length = 0.3)
@@ -152,11 +150,11 @@ sketch011 = startSketchOn(XZ)
|> bezierCurve(control1 = [-0.3, 0], control2 = [carafeDiameter / 10, 1], end = [-carafeDiameter / 2 - 0.1, 1])
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
- |> revolve(axis = Y)
+revolve011 = revolve(profile011, axis = Y)
// Draw and extrude handle
sketch012 = startSketchOn(offsetPlane(XZ, offset = handleThickness / 2))
- |> startProfile(at = [2.3, 6.4])
+profile012 = startProfile(sketch012, at = [2.3, 6.4])
|> line(end = [0.56, 0])
|> tangentialArc(endAbsolute = [4.1, 5.26])
|> tangentialArc(endAbsolute = [4.17, 1.6])
@@ -170,4 +168,4 @@ sketch012 = startSketchOn(offsetPlane(XZ, offset = handleThickness / 2))
|> line(end = [-0.4, 0])
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
-extrude007 = extrude(sketch012, length = -handleThickness)
+extrude012 = extrude(profile012, length = -handleThickness)
diff --git a/public/kcl-samples/gear-rack/main.kcl b/public/kcl-samples/gear-rack/main.kcl
index ea714e91a2e..41ddbc816af 100644
--- a/public/kcl-samples/gear-rack/main.kcl
+++ b/public/kcl-samples/gear-rack/main.kcl
@@ -12,8 +12,8 @@ height = 12
minHeight = 10.875
// Create the body of the rack
-rackBody = startSketchOn(XY)
- |> startProfile(at = [-length / 2, 0])
+rackSketch = startSketchOn(XY)
+rackBody = startProfile(rackSketch, at = [-length / 2, 0])
|> line(end = [length, 0])
|> line(end = [0, minHeight])
|> line(end = [-length, 0])
@@ -23,7 +23,7 @@ rackBody = startSketchOn(XY)
// Create a function for sketch of a single tooth
fn tooth() {
toothSketch = startSketchOn(XY)
- |> startProfile(at = [-length / 2 + 0.567672, minHeight])
+ toothSolid = startProfile(toothSketch, at = [-length / 2 + 0.567672, minHeight])
|> tangentialArc(end = [0.157636, 0.110378])
|> line(end = [0.329118, 0.904244])
|> tangentialArc(end = [0.157636, 0.110378])
@@ -33,7 +33,7 @@ fn tooth() {
|> tangentialArc(end = [0.157636, -0.110378])
|> close()
|> extrude(length = width)
- return toothSketch
+ return toothSolid
}
// Pattern the single tooth over the length of the rack body
@@ -41,8 +41,8 @@ teeth = tooth()
|> patternLinear3d(axis = [10, 0, 0], distance = 1.570796, instances = 63)
// Sketch and extrude the first end cap. This is a partial tooth
-endCapTooth = startSketchOn(XY)
- |> startProfile(at = [-length / 2, 11.849525])
+toothSketch = startSketchOn(XY)
+endCapTooth = startProfile(toothSketch, at = [-length / 2, 11.849525])
|> line(end = [0.314524, -0.864147])
|> tangentialArc(end = [0.157636, -0.110378])
|> line(endAbsolute = [-length / 2, minHeight])
@@ -50,8 +50,7 @@ endCapTooth = startSketchOn(XY)
|> extrude(length = width)
// Sketch and extrude the second end cap. This is a partial tooth
-endCapTooth2 = startSketchOn(XY)
- |> startProfile(at = [length / 2, 11.849525])
+endCapTooth2 = startProfile(toothSketch, at = [length / 2, 11.849525])
|> line(end = [-0.314524, -0.864147])
|> tangentialArc(end = [-0.157636, -0.110378])
|> line(endAbsolute = [length / 2, minHeight])
diff --git a/public/kcl-samples/gridfinity-bins/main.kcl b/public/kcl-samples/gridfinity-bins/main.kcl
index f096de6ffc1..44c9bd62899 100644
--- a/public/kcl-samples/gridfinity-bins/main.kcl
+++ b/public/kcl-samples/gridfinity-bins/main.kcl
@@ -82,11 +82,14 @@ corners = patternCircular3d(
rotateDuplicates = true,
)
-singleBinFill = startSketchOn(XY)
- |> startProfile(at = [
- binBaseLength + binTol,
- binBaseLength + binTol
- ])
+singleBinFillSketch = startSketchOn(XY)
+singleBinFill = startProfile(
+ singleBinFillSketch,
+ at = [
+ binBaseLength + binTol,
+ binBaseLength + binTol
+ ],
+ )
|> line(end = [binLength - (binBaseLength * 2), 0], tag = $line000)
|> line(end = [0, binLength - (binBaseLength * 2)], tag = $line001)
|> xLine(endAbsolute = profileStartX(%), tag = $line002)
@@ -102,8 +105,9 @@ singleBinFill = startSketchOn(XY)
],
)
-magCutout000 = startSketchOn(singleBinFill, face = START)
- |> circle(
+magCutoutSketch = startSketchOn(singleBinFill, face = START)
+magCutout000 = circle(
+ magCutoutSketch,
center = [
-magOffset - binBaseLength - binTol,
magOffset + binBaseLength + binTol
@@ -149,8 +153,8 @@ binFill = patternLinear3d(
|> patternLinear3d(axis = [0.0, 1.0, 0.0], instances = countBinLength, distance = binLength + binTol * 2)
// Create the top of the bin
-binTop = startSketchOn(offsetPlane(XY, offset = height))
- |> startProfile(at = [0, 0])
+binTopSketch = startSketchOn(offsetPlane(XY, offset = height))
+binTop = startProfile(binTopSketch, at = [0, 0])
|> xLine(length = (binLength + 2 * binTol) * countBinWidth, tag = $line010)
|> yLine(length = (binLength + 2 * binTol) * countBinLength, tag = $line011)
|> xLine(endAbsolute = profileStartX(%), tag = $line012)
diff --git a/public/kcl-samples/hammer/main.kcl b/public/kcl-samples/hammer/main.kcl
index b92eb7770af..1535ef1a503 100644
--- a/public/kcl-samples/hammer/main.kcl
+++ b/public/kcl-samples/hammer/main.kcl
@@ -5,8 +5,8 @@
@settings(defaultLengthUnit = in)
// Sketch the side profile of the hammer head
-headSideProfile = startSketchOn(XZ)
- |> startProfile(at = [0.33, 11.26])
+headSideProfileSketch = startSketchOn(XZ)
+headSideProfile = startProfile(headSideProfileSketch, at = [0.33, 11.26])
|> yLine(length = 0.1)
|> tangentialArc(endAbsolute = [0.95, 11.92])
|> tangentialArc(endAbsolute = [2.72, 11.26], tag = $seg01)
@@ -91,7 +91,7 @@ hammerHead = union([firstProfiles, baseSupport])
// Draw a profile for the handle, then revolve around the center axis
handleSketch = startSketchOn(XZ)
- |> startProfile(at = [0.01, 0])
+handleProfile = startProfile(handleSketch, at = [0.01, 0])
|> xLine(length = 1.125 / 2)
|> tangentialArc(angle = 90, radius = 0.05)
|> tangentialArc(endAbsolute = [0.38, 12.8 / 1.612])
@@ -99,5 +99,5 @@ handleSketch = startSketchOn(XZ)
|> xLine(endAbsolute = profileStartX(%))
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
-handle = revolve(handleSketch, angle = 360, axis = Y)
+handle = revolve(handleProfile, angle = 360, axis = Y)
|> appearance(color = "#f14f04")
diff --git a/public/kcl-samples/i-beam/main.kcl b/public/kcl-samples/i-beam/main.kcl
index 631c530d447..083900d705f 100644
--- a/public/kcl-samples/i-beam/main.kcl
+++ b/public/kcl-samples/i-beam/main.kcl
@@ -13,8 +13,8 @@ webThickness = 0.193
rootRadius = 0.457
// Sketch a quadrant of the beam cross section, then mirror for symmetry across each axis. Extrude to the appropriate length
-iBeam = startSketchOn(-XZ)
- |> startProfile(at = [0, beamHeight / 2])
+iBeamSketch = startSketchOn(-XZ)
+iBeam = startProfile(iBeamSketch, at = [0, beamHeight / 2])
|> xLine(length = flangeWidth / 2)
|> yLine(length = -flangeThickness)
|> xLine(endAbsolute = webThickness / 2 + rootRadius)
diff --git a/rust/kcl-lib/tests/kcl_samples/axial-fan/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/axial-fan/artifact_graph_flowchart.snap.md
index f3ea2030865..f0d6992907b 100644
--- a/rust/kcl-lib/tests/kcl_samples/axial-fan/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/axial-fan/artifact_graph_flowchart.snap.md
@@ -1,110 +1,110 @@
```mermaid
flowchart LR
subgraph path2 [Path]
- 2["Path
[341, 388, 1]"]
- 3["Segment
[394, 462, 1]"]
- 4["Segment
[468, 568, 1]"]
- 5["Segment
[574, 691, 1]"]
- 6["Segment
[697, 782, 1]"]
- 7["Segment
[788, 795, 1]"]
+ 2["Path
[354, 419, 1]"]
+ 3["Segment
[425, 493, 1]"]
+ 4["Segment
[499, 599, 1]"]
+ 5["Segment
[605, 722, 1]"]
+ 6["Segment
[728, 813, 1]"]
+ 7["Segment
[819, 826, 1]"]
8[Solid2d]
end
subgraph path9 [Path]
- 9["Path
[819, 854, 1]"]
- 10["Segment
[819, 854, 1]"]
+ 9["Path
[850, 885, 1]"]
+ 10["Segment
[850, 885, 1]"]
11[Solid2d]
end
subgraph path12 [Path]
- 12["Path
[879, 1026, 1]"]
- 13["Segment
[879, 1026, 1]"]
+ 12["Path
[910, 1057, 1]"]
+ 13["Segment
[910, 1057, 1]"]
14[Solid2d]
end
subgraph path15 [Path]
- 15["Path
[1051, 1199, 1]"]
- 16["Segment
[1051, 1199, 1]"]
+ 15["Path
[1082, 1230, 1]"]
+ 16["Segment
[1082, 1230, 1]"]
17[Solid2d]
end
subgraph path18 [Path]
- 18["Path
[1224, 1372, 1]"]
- 19["Segment
[1224, 1372, 1]"]
+ 18["Path
[1255, 1403, 1]"]
+ 19["Segment
[1255, 1403, 1]"]
20[Solid2d]
end
subgraph path21 [Path]
- 21["Path
[1397, 1546, 1]"]
- 22["Segment
[1397, 1546, 1]"]
+ 21["Path
[1428, 1577, 1]"]
+ 22["Segment
[1428, 1577, 1]"]
23[Solid2d]
end
subgraph path42 [Path]
- 42["Path
[1714, 1770, 1]"]
- 43["Segment
[1776, 1841, 1]"]
- 44["Segment
[1847, 1899, 1]"]
- 45["Segment
[1905, 1956, 1]"]
- 46["Segment
[1962, 2014, 1]"]
- 47["Segment
[2020, 2086, 1]"]
- 48["Segment
[2092, 2144, 1]"]
- 49["Segment
[2150, 2182, 1]"]
- 50["Segment
[2188, 2253, 1]"]
- 51["Segment
[2259, 2266, 1]"]
+ 42["Path
[1744, 1800, 1]"]
+ 43["Segment
[1806, 1871, 1]"]
+ 44["Segment
[1877, 1929, 1]"]
+ 45["Segment
[1935, 1986, 1]"]
+ 46["Segment
[1992, 2044, 1]"]
+ 47["Segment
[2050, 2116, 1]"]
+ 48["Segment
[2122, 2174, 1]"]
+ 49["Segment
[2180, 2212, 1]"]
+ 50["Segment
[2218, 2283, 1]"]
+ 51["Segment
[2289, 2296, 1]"]
52[Solid2d]
end
subgraph path81 [Path]
- 81["Path
[2615, 2728, 1]"]
- 82["Segment
[2734, 2789, 1]"]
- 83["Segment
[2795, 2830, 1]"]
- 84["Segment
[2836, 2891, 1]"]
- 85["Segment
[2897, 2933, 1]"]
- 86["Segment
[2939, 2994, 1]"]
- 87["Segment
[3000, 3036, 1]"]
- 88["Segment
[3042, 3097, 1]"]
- 89["Segment
[3103, 3159, 1]"]
+ 81["Path
[2644, 2757, 1]"]
+ 82["Segment
[2763, 2818, 1]"]
+ 83["Segment
[2824, 2859, 1]"]
+ 84["Segment
[2865, 2920, 1]"]
+ 85["Segment
[2926, 2962, 1]"]
+ 86["Segment
[2968, 3023, 1]"]
+ 87["Segment
[3029, 3065, 1]"]
+ 88["Segment
[3071, 3126, 1]"]
+ 89["Segment
[3132, 3188, 1]"]
end
subgraph path116 [Path]
- 116["Path
[3308, 3359, 1]"]
- 117["Segment
[3308, 3359, 1]"]
+ 116["Path
[3337, 3388, 1]"]
+ 117["Segment
[3337, 3388, 1]"]
118[Solid2d]
end
subgraph path123 [Path]
- 123["Path
[3538, 3600, 1]"]
- 124["Segment
[3606, 3674, 1]"]
- 125["Segment
[3680, 3780, 1]"]
- 126["Segment
[3786, 3903, 1]"]
- 127["Segment
[3909, 3994, 1]"]
- 128["Segment
[4000, 4007, 1]"]
+ 123["Path
[3567, 3629, 1]"]
+ 124["Segment
[3635, 3703, 1]"]
+ 125["Segment
[3709, 3809, 1]"]
+ 126["Segment
[3815, 3932, 1]"]
+ 127["Segment
[3938, 4023, 1]"]
+ 128["Segment
[4029, 4036, 1]"]
129[Solid2d]
end
subgraph path130 [Path]
- 130["Path
[4031, 4082, 1]"]
- 131["Segment
[4031, 4082, 1]"]
+ 130["Path
[4060, 4111, 1]"]
+ 131["Segment
[4060, 4111, 1]"]
132[Solid2d]
end
subgraph path133 [Path]
- 133["Path
[4107, 4254, 1]"]
- 134["Segment
[4107, 4254, 1]"]
+ 133["Path
[4136, 4283, 1]"]
+ 134["Segment
[4136, 4283, 1]"]
135[Solid2d]
end
subgraph path136 [Path]
- 136["Path
[4279, 4427, 1]"]
- 137["Segment
[4279, 4427, 1]"]
+ 136["Path
[4308, 4456, 1]"]
+ 137["Segment
[4308, 4456, 1]"]
138[Solid2d]
end
subgraph path139 [Path]
- 139["Path
[4452, 4600, 1]"]
- 140["Segment
[4452, 4600, 1]"]
+ 139["Path
[4481, 4629, 1]"]
+ 140["Segment
[4481, 4629, 1]"]
141[Solid2d]
end
subgraph path142 [Path]
- 142["Path
[4625, 4774, 1]"]
- 143["Segment
[4625, 4774, 1]"]
+ 142["Path
[4654, 4803, 1]"]
+ 143["Segment
[4654, 4803, 1]"]
144[Solid2d]
end
subgraph path163 [Path]
- 163["Path
[4916, 4954, 1]"]
- 164["Segment
[4916, 4954, 1]"]
+ 163["Path
[4944, 4982, 1]"]
+ 164["Segment
[4944, 4982, 1]"]
165[Solid2d]
end
subgraph path171 [Path]
- 171["Path
[5027, 5063, 1]"]
- 172["Segment
[5027, 5063, 1]"]
+ 171["Path
[5055, 5091, 1]"]
+ 172["Segment
[5055, 5091, 1]"]
173[Solid2d]
end
subgraph path180 [Path]
@@ -118,47 +118,47 @@ flowchart LR
193[Solid2d]
end
subgraph path201 [Path]
- 201["Path
[234, 273, 4]"]
- 202["Segment
[279, 309, 4]"]
- 203["Segment
[315, 354, 4]"]
- 204["Segment
[360, 384, 4]"]
- 205["Segment
[390, 414, 4]"]
- 206["Segment
[420, 461, 4]"]
- 207["Segment
[467, 505, 4]"]
- 208["Segment
[511, 534, 4]"]
- 209["Segment
[540, 557, 4]"]
- 210["Segment
[563, 584, 4]"]
- 211["Segment
[590, 677, 4]"]
- 212["Segment
[683, 720, 4]"]
- 213["Segment
[726, 763, 4]"]
- 214["Segment
[769, 776, 4]"]
+ 201["Path
[247, 303, 4]"]
+ 202["Segment
[309, 339, 4]"]
+ 203["Segment
[345, 384, 4]"]
+ 204["Segment
[390, 414, 4]"]
+ 205["Segment
[420, 444, 4]"]
+ 206["Segment
[450, 491, 4]"]
+ 207["Segment
[497, 535, 4]"]
+ 208["Segment
[541, 564, 4]"]
+ 209["Segment
[570, 587, 4]"]
+ 210["Segment
[593, 614, 4]"]
+ 211["Segment
[620, 707, 4]"]
+ 212["Segment
[713, 750, 4]"]
+ 213["Segment
[756, 793, 4]"]
+ 214["Segment
[799, 806, 4]"]
215[Solid2d]
end
subgraph path242 [Path]
- 242["Path
[1131, 1221, 4]"]
- 243["Segment
[1229, 1298, 4]"]
- 244["Segment
[1306, 1606, 4]"]
- 245["Segment
[1614, 1916, 4]"]
- 246["Segment
[1924, 2143, 4]"]
- 247["Segment
[2151, 2158, 4]"]
+ 242["Path
[1161, 1251, 4]"]
+ 243["Segment
[1259, 1328, 4]"]
+ 244["Segment
[1336, 1636, 4]"]
+ 245["Segment
[1644, 1946, 4]"]
+ 246["Segment
[1954, 2173, 4]"]
+ 247["Segment
[2181, 2188, 4]"]
248[Solid2d]
end
subgraph path250 [Path]
- 250["Path
[1131, 1221, 4]"]
- 251["Segment
[1229, 1298, 4]"]
- 252["Segment
[1306, 1606, 4]"]
- 253["Segment
[1614, 1916, 4]"]
- 254["Segment
[1924, 2143, 4]"]
- 255["Segment
[2151, 2158, 4]"]
+ 250["Path
[1161, 1251, 4]"]
+ 251["Segment
[1259, 1328, 4]"]
+ 252["Segment
[1336, 1636, 4]"]
+ 253["Segment
[1644, 1946, 4]"]
+ 254["Segment
[1954, 2173, 4]"]
+ 255["Segment
[2181, 2188, 4]"]
256[Solid2d]
end
subgraph path258 [Path]
- 258["Path
[1131, 1221, 4]"]
- 263["Segment
[2151, 2158, 4]"]
+ 258["Path
[1161, 1251, 4]"]
+ 263["Segment
[2181, 2188, 4]"]
264[Solid2d]
end
1["Plane
[318, 335, 1]"]
- 24["Sweep Extrusion
[1553, 1572, 1]"]
+ 24["Sweep Extrusion
[1584, 1603, 1]"]
25[Wall]
%% face_code_ref=Missing NodePath
26[Wall]
@@ -182,7 +182,7 @@ flowchart LR
39["SweepEdge Adjacent"]
40["SweepEdge Opposite"]
41["SweepEdge Adjacent"]
- 53["Sweep Extrusion
[2406, 2426, 1]"]
+ 53["Sweep Extrusion
[2436, 2456, 1]"]
54[Wall]
%% face_code_ref=Missing NodePath
55[Wall]
@@ -215,10 +215,10 @@ flowchart LR
75["SweepEdge Adjacent"]
76["SweepEdge Opposite"]
77["SweepEdge Adjacent"]
- 78["Sweep Extrusion
[2406, 2426, 1]"]
- 79["Sweep Extrusion
[2406, 2426, 1]"]
- 80["Sweep Extrusion
[2406, 2426, 1]"]
- 90["Sweep Extrusion
[3165, 3200, 1]"]
+ 78["Sweep Extrusion
[2436, 2456, 1]"]
+ 79["Sweep Extrusion
[2436, 2456, 1]"]
+ 80["Sweep Extrusion
[2436, 2456, 1]"]
+ 90["Sweep Extrusion
[3194, 3229, 1]"]
91[Wall]
%% face_code_ref=Missing NodePath
92[Wall]
@@ -252,12 +252,12 @@ flowchart LR
113["SweepEdge Adjacent"]
114["SweepEdge Opposite"]
115["SweepEdge Adjacent"]
- 119["Sweep Extrusion
[3365, 3403, 1]"]
+ 119["Sweep Extrusion
[3394, 3432, 1]"]
120[Wall]
%% face_code_ref=Missing NodePath
121["SweepEdge Opposite"]
122["SweepEdge Adjacent"]
- 145["Sweep Extrusion
[4781, 4800, 1]"]
+ 145["Sweep Extrusion
[4810, 4829, 1]"]
146[Wall]
%% face_code_ref=Missing NodePath
147[Wall]
@@ -282,18 +282,18 @@ flowchart LR
160["SweepEdge Adjacent"]
161["SweepEdge Opposite"]
162["SweepEdge Adjacent"]
- 166["Sweep Extrusion
[4960, 4980, 1]"]
+ 166["Sweep Extrusion
[4988, 5008, 1]"]
167[Wall]
%% face_code_ref=Missing NodePath
168["Cap End"]
169["SweepEdge Opposite"]
170["SweepEdge Adjacent"]
- 174["Sweep Extrusion
[5069, 5090, 1]"]
+ 174["Sweep Extrusion
[5097, 5118, 1]"]
175[Wall]
%% face_code_ref=Missing NodePath
176["SweepEdge Opposite"]
177["SweepEdge Adjacent"]
- 178["EdgeCut Fillet
[5131, 5642, 1]"]
+ 178["EdgeCut Fillet
[5159, 5670, 1]"]
179["Plane
[222, 249, 3]"]
183["Sweep Extrusion
[351, 371, 3]"]
184[Wall]
@@ -315,8 +315,8 @@ flowchart LR
%% face_code_ref=Missing NodePath
198["SweepEdge Opposite"]
199["SweepEdge Adjacent"]
- 200["Plane
[211, 228, 4]"]
- 216["Sweep Revolve
[782, 864, 4]"]
+ 200["Plane
[217, 234, 4]"]
+ 216["Sweep Revolve
[812, 894, 4]"]
217[Wall]
%% face_code_ref=Missing NodePath
218[Wall]
@@ -353,14 +353,14 @@ flowchart LR
238["SweepEdge Adjacent"]
239["SweepEdge Adjacent"]
240["SweepEdge Adjacent"]
- 241["Plane
[1084, 1122, 4]"]
- 249["Plane
[1084, 1122, 4]"]
- 257["Plane
[1084, 1122, 4]"]
+ 241["Plane
[1114, 1152, 4]"]
+ 249["Plane
[1114, 1152, 4]"]
+ 257["Plane
[1114, 1152, 4]"]
259["SweepEdge Opposite"]
260["SweepEdge Opposite"]
261["SweepEdge Opposite"]
262["SweepEdge Opposite"]
- 265["Sweep Loft
[2472, 2491, 4]"]
+ 265["Sweep Loft
[2502, 2521, 4]"]
266[Wall]
%% face_code_ref=Missing NodePath
267[Wall]
@@ -377,17 +377,17 @@ flowchart LR
273["SweepEdge Adjacent"]
274["SweepEdge Adjacent"]
275["SweepEdge Adjacent"]
- 276["StartSketchOnFace
[1665, 1708, 1]"]
- 277["StartSketchOnFace
[2566, 2609, 1]"]
- 278["StartSketchOnFace
[3265, 3302, 1]"]
- 279["StartSketchOnFace
[3489, 3526, 1]"]
- 280["StartSketchOnFace
[4867, 4910, 1]"]
- 281["StartSketchOnFace
[4982, 5021, 1]"]
+ 276["StartSketchOnFace
[1696, 1738, 1]"]
+ 277["StartSketchOnFace
[2596, 2638, 1]"]
+ 278["StartSketchOnFace
[3294, 3331, 1]"]
+ 279["StartSketchOnFace
[3518, 3555, 1]"]
+ 280["StartSketchOnFace
[4896, 4938, 1]"]
+ 281["StartSketchOnFace
[5010, 5049, 1]"]
282["StartSketchOnPlane
[262, 289, 3]"]
283["StartSketchOnPlane
[471, 514, 3]"]
- 284["StartSketchOnPlane
[1070, 1123, 4]"]
- 285["StartSketchOnPlane
[1070, 1123, 4]"]
- 286["StartSketchOnPlane
[1070, 1123, 4]"]
+ 284["StartSketchOnPlane
[1100, 1153, 4]"]
+ 285["StartSketchOnPlane
[1100, 1153, 4]"]
+ 286["StartSketchOnPlane
[1100, 1153, 4]"]
1 --- 2
1 --- 9
1 --- 12
diff --git a/rust/kcl-lib/tests/kcl_samples/ball-bearing/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/ball-bearing/artifact_graph_flowchart.snap.md
index 869ab999630..9bc8ae880ae 100644
--- a/rust/kcl-lib/tests/kcl_samples/ball-bearing/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/ball-bearing/artifact_graph_flowchart.snap.md
@@ -15,46 +15,46 @@ flowchart LR
7[Solid2d]
end
subgraph path18 [Path]
- 18["Path
[998, 1054, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 19["Segment
[1060, 1119, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 20["Segment
[1125, 1132, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 18["Path
[1008, 1077, 0]"]
+ %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 19["Segment
[1083, 1142, 0]"]
+ %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 20["Segment
[1148, 1155, 0]"]
+ %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
21[Solid2d]
end
subgraph path28 [Path]
- 28["Path
[1502, 1624, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 29["Segment
[1630, 1690, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 30["Segment
[1696, 1727, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 31["Segment
[1733, 1761, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 32["Segment
[1767, 1774, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 28["Path
[1536, 1699, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 29["Segment
[1705, 1765, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 30["Segment
[1771, 1802, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 31["Segment
[1808, 1836, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 32["Segment
[1842, 1849, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
33[Solid2d]
end
subgraph path44 [Path]
- 44["Path
[2108, 2250, 0]"]
- %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 45["Segment
[2108, 2250, 0]"]
- %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 44["Path
[2184, 2326, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 45["Segment
[2184, 2326, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
46[Solid2d]
end
subgraph path54 [Path]
- 54["Path
[2644, 2697, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 55["Segment
[2644, 2697, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 54["Path
[2720, 2773, 0]"]
+ %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 55["Segment
[2720, 2773, 0]"]
+ %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
56[Solid2d]
end
subgraph path57 [Path]
- 57["Path
[2721, 2795, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
- 58["Segment
[2721, 2795, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 57["Path
[2797, 2871, 0]"]
+ %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 58["Segment
[2797, 2871, 0]"]
+ %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
59[Solid2d]
end
1["Plane
[628, 675, 0]"]
@@ -74,19 +74,19 @@ flowchart LR
15["SweepEdge Opposite"]
16["SweepEdge Adjacent"]
17["Plane
[975, 992, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 22["Sweep Revolve
[1214, 1244, 0]"]
- %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 22["Sweep Revolve
[1237, 1268, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
23[Wall]
%% face_code_ref=Missing NodePath
24[Wall]
%% face_code_ref=Missing NodePath
25["SweepEdge Adjacent"]
26["SweepEdge Adjacent"]
- 27["Plane
[1479, 1496, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 34["Sweep Revolve
[1816, 1846, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 27["Plane
[1503, 1520, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 34["Sweep Revolve
[1891, 1922, 0]"]
+ %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
35[Wall]
%% face_code_ref=Missing NodePath
36[Wall]
@@ -99,10 +99,10 @@ flowchart LR
40["SweepEdge Adjacent"]
41["SweepEdge Adjacent"]
42["SweepEdge Adjacent"]
- 43["Plane
[2085, 2102, 0]"]
- %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 47["Sweep Revolve
[2293, 2344, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 43["Plane
[2161, 2178, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 47["Sweep Revolve
[2369, 2420, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
48[Wall]
%% face_code_ref=Missing NodePath
49["Cap Start"]
@@ -111,10 +111,10 @@ flowchart LR
%% face_code_ref=Missing NodePath
51["SweepEdge Opposite"]
52["SweepEdge Adjacent"]
- 53["Plane
[2590, 2637, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
- 60["Sweep Extrusion
[2812, 2865, 0]"]
- %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 53["Plane
[2666, 2713, 0]"]
+ %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
+ 60["Sweep Extrusion
[2888, 2941, 0]"]
+ %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit]
61[Wall]
%% face_code_ref=Missing NodePath
62[Wall]
@@ -129,8 +129,8 @@ flowchart LR
68["SweepEdge Adjacent"]
69["StartSketchOnPlane
[614, 676, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 70["StartSketchOnPlane
[2576, 2638, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 70["StartSketchOnPlane
[2652, 2714, 0]"]
+ %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
1 --- 2
1 --- 5
1 <--x 69
diff --git a/rust/kcl-lib/tests/kcl_samples/ball-bearing/ast.snap b/rust/kcl-lib/tests/kcl_samples/ball-bearing/ast.snap
index 002f8c9601f..dd1f321ed0f 100644
--- a/rust/kcl-lib/tests/kcl_samples/ball-bearing/ast.snap
+++ b/rust/kcl-lib/tests/kcl_samples/ball-bearing/ast.snap
@@ -1078,51 +1078,80 @@ description: Result of parsing ball-bearing.kcl
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XY",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XY",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Create the sketch of one of the balls"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "ballsProfile",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -1250,7 +1279,24 @@ description: Result of parsing ball-bearing.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "ballsSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -1412,7 +1458,7 @@ description: Result of parsing ball-bearing.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "3": [
+ "2": [
{
"commentStart": 0,
"end": 0,
@@ -1440,11 +1486,6 @@ description: Result of parsing ball-bearing.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Create the sketch of one of the balls"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -1528,7 +1569,7 @@ description: Result of parsing ball-bearing.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "ballsSketch",
+ "name": "ballsProfile",
"start": 0,
"type": "Identifier"
},
@@ -1812,51 +1853,75 @@ description: Result of parsing ball-bearing.kcl
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XY",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XY",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "chainProfile",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -2130,7 +2195,24 @@ description: Result of parsing ball-bearing.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "chainSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -2461,7 +2543,7 @@ description: Result of parsing ball-bearing.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "5": [
+ "4": [
{
"commentStart": 0,
"end": 0,
@@ -2572,7 +2654,7 @@ description: Result of parsing ball-bearing.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "chainSketch",
+ "name": "chainProfile",
"start": 0,
"type": "Identifier"
},
@@ -4269,7 +4351,7 @@ description: Result of parsing ball-bearing.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "18": [
+ "20": [
{
"commentStart": 0,
"end": 0,
diff --git a/rust/kcl-lib/tests/kcl_samples/ball-bearing/ops.snap b/rust/kcl-lib/tests/kcl_samples/ball-bearing/ops.snap
index c93ea06ac3c..4891fae93cf 100644
--- a/rust/kcl-lib/tests/kcl_samples/ball-bearing/ops.snap
+++ b/rust/kcl-lib/tests/kcl_samples/ball-bearing/ops.snap
@@ -527,10 +527,6 @@ description: Operations executed ball-bearing.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -624,7 +620,7 @@ description: Operations executed ball-bearing.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 13
+ "index": 14
},
{
"type": "VariableDeclarationDeclaration"
@@ -782,7 +778,7 @@ description: Operations executed ball-bearing.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 13
+ "index": 14
},
{
"type": "VariableDeclarationDeclaration"
@@ -813,17 +809,13 @@ description: Operations executed ball-bearing.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -917,7 +909,7 @@ description: Operations executed ball-bearing.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 15
+ "index": 17
},
{
"type": "VariableDeclarationDeclaration"
@@ -1075,7 +1067,7 @@ description: Operations executed ball-bearing.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 15
+ "index": 17
},
{
"type": "VariableDeclarationDeclaration"
@@ -1106,7 +1098,7 @@ description: Operations executed ball-bearing.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 16
+ "index": 18
},
{
"type": "VariableDeclarationDeclaration"
@@ -1226,7 +1218,7 @@ description: Operations executed ball-bearing.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 17
+ "index": 19
},
{
"type": "VariableDeclarationDeclaration"
@@ -1384,7 +1376,7 @@ description: Operations executed ball-bearing.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 17
+ "index": 19
},
{
"type": "VariableDeclarationDeclaration"
@@ -1432,7 +1424,7 @@ description: Operations executed ball-bearing.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 18
+ "index": 20
},
{
"type": "VariableDeclarationDeclaration"
@@ -1466,7 +1458,7 @@ description: Operations executed ball-bearing.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 18
+ "index": 20
},
{
"type": "VariableDeclarationDeclaration"
@@ -1509,7 +1501,7 @@ description: Operations executed ball-bearing.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 18
+ "index": 20
},
{
"type": "VariableDeclarationDeclaration"
@@ -1559,7 +1551,7 @@ description: Operations executed ball-bearing.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 19
+ "index": 21
},
{
"type": "VariableDeclarationDeclaration"
diff --git a/rust/kcl-lib/tests/kcl_samples/ball-bearing/program_memory.snap b/rust/kcl-lib/tests/kcl_samples/ball-bearing/program_memory.snap
index d79951d4bf4..daa34df706b 100644
--- a/rust/kcl-lib/tests/kcl_samples/ball-bearing/program_memory.snap
+++ b/rust/kcl-lib/tests/kcl_samples/ball-bearing/program_memory.snap
@@ -1428,7 +1428,7 @@ description: Variables in memory after executing ball-bearing.kcl
}
]
},
- "ballsSketch": {
+ "ballsProfile": {
"type": "Sketch",
"value": {
"type": "Sketch",
@@ -1542,6 +1542,46 @@ description: Variables in memory after executing ball-bearing.kcl
}
}
},
+ "ballsSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"chainHead": {
"type": "HomArray",
"value": [
@@ -3487,7 +3527,7 @@ description: Variables in memory after executing ball-bearing.kcl
}
]
},
- "chainSketch": {
+ "chainProfile": {
"type": "Sketch",
"value": {
"type": "Sketch",
@@ -3639,6 +3679,46 @@ description: Variables in memory after executing ball-bearing.kcl
}
}
},
+ "chainSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"chainThickness": {
"type": "Number",
"value": 0.03125,
diff --git a/rust/kcl-lib/tests/kcl_samples/bone-plate/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/bone-plate/artifact_graph_flowchart.snap.md
index 390ea785953..801147d69dc 100644
--- a/rust/kcl-lib/tests/kcl_samples/bone-plate/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/bone-plate/artifact_graph_flowchart.snap.md
@@ -1,104 +1,104 @@
```mermaid
flowchart LR
subgraph path2 [Path]
- 2["Path
[541, 569, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 3["Segment
[575, 626, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 4["Segment
[632, 680, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 5["Segment
[686, 737, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 6["Segment
[743, 791, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 7["Segment
[797, 848, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 8["Segment
[854, 902, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 9["Segment
[908, 959, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 10["Segment
[965, 1007, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
- 11["Segment
[1013, 1071, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
- 12["Segment
[1077, 1132, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
- 13["Segment
[1138, 1196, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
- 14["Segment
[1202, 1257, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 13 }]
- 15["Segment
[1263, 1306, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 14 }]
- 16["Segment
[1312, 1368, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
- 17["Segment
[1374, 1429, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 18["Segment
[1435, 1491, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 17 }]
- 19["Segment
[1497, 1504, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 18 }]
+ 2["Path
[550, 591, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 3["Segment
[597, 648, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 4["Segment
[654, 702, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 5["Segment
[708, 759, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 6["Segment
[765, 813, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 7["Segment
[819, 870, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 8["Segment
[876, 924, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 9["Segment
[930, 981, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 10["Segment
[987, 1029, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
+ 11["Segment
[1035, 1093, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
+ 12["Segment
[1099, 1154, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
+ 13["Segment
[1160, 1218, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
+ 14["Segment
[1224, 1279, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
+ 15["Segment
[1285, 1328, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 13 }]
+ 16["Segment
[1334, 1390, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 14 }]
+ 17["Segment
[1396, 1451, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 18["Segment
[1457, 1513, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
+ 19["Segment
[1519, 1526, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 17 }]
20[Solid2d]
end
subgraph path73 [Path]
- 73["Path
[1663, 1707, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
- 74["Segment
[1663, 1707, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
+ 73["Path
[1685, 1729, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
+ 74["Segment
[1685, 1729, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
75[Solid2d]
end
subgraph path83 [Path]
- 83["Path
[1663, 1707, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
- 84["Segment
[1663, 1707, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
+ 83["Path
[1685, 1729, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
+ 84["Segment
[1685, 1729, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
85[Solid2d]
end
subgraph path93 [Path]
- 93["Path
[1663, 1707, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
- 94["Segment
[1663, 1707, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
+ 93["Path
[1685, 1729, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
+ 94["Segment
[1685, 1729, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
95[Solid2d]
end
subgraph path103 [Path]
- 103["Path
[1663, 1707, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
- 104["Segment
[1663, 1707, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
+ 103["Path
[1685, 1729, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
+ 104["Segment
[1685, 1729, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
105[Solid2d]
end
subgraph path113 [Path]
- 113["Path
[1663, 1707, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
- 114["Segment
[1663, 1707, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
+ 113["Path
[1685, 1729, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
+ 114["Segment
[1685, 1729, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
115[Solid2d]
end
subgraph path123 [Path]
- 123["Path
[1663, 1707, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
- 124["Segment
[1663, 1707, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
+ 123["Path
[1685, 1729, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
+ 124["Segment
[1685, 1729, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
125[Solid2d]
end
subgraph path133 [Path]
- 133["Path
[1663, 1707, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
- 134["Segment
[1663, 1707, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
+ 133["Path
[1685, 1729, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
+ 134["Segment
[1685, 1729, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
135[Solid2d]
end
subgraph path143 [Path]
- 143["Path
[1663, 1707, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
- 144["Segment
[1663, 1707, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
+ 143["Path
[1685, 1729, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
+ 144["Segment
[1685, 1729, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
145[Solid2d]
end
- 1["Plane
[518, 535, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 21["Sweep Revolve
[1510, 1557, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 19 }]
+ 1["Plane
[517, 534, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 21["Sweep Revolve
[1532, 1579, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 18 }]
22[Wall]
%% face_code_ref=Missing NodePath
23[Wall]
@@ -167,10 +167,10 @@ flowchart LR
69["SweepEdge Adjacent"]
70["SweepEdge Opposite"]
71["SweepEdge Adjacent"]
- 72["Plane
[1638, 1655, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 0 }]
- 76["Sweep Extrusion
[1715, 1737, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
+ 72["Plane
[1660, 1677, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 0 }]
+ 76["Sweep Extrusion
[1737, 1759, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
77[Wall]
%% face_code_ref=Missing NodePath
78["Cap Start"]
@@ -179,10 +179,10 @@ flowchart LR
%% face_code_ref=Missing NodePath
80["SweepEdge Opposite"]
81["SweepEdge Adjacent"]
- 82["Plane
[1638, 1655, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 0 }]
- 86["Sweep Extrusion
[1715, 1737, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
+ 82["Plane
[1660, 1677, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 0 }]
+ 86["Sweep Extrusion
[1737, 1759, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
87[Wall]
%% face_code_ref=Missing NodePath
88["Cap Start"]
@@ -191,10 +191,10 @@ flowchart LR
%% face_code_ref=Missing NodePath
90["SweepEdge Opposite"]
91["SweepEdge Adjacent"]
- 92["Plane
[1638, 1655, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 0 }]
- 96["Sweep Extrusion
[1715, 1737, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
+ 92["Plane
[1660, 1677, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 0 }]
+ 96["Sweep Extrusion
[1737, 1759, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
97[Wall]
%% face_code_ref=Missing NodePath
98["Cap Start"]
@@ -203,10 +203,10 @@ flowchart LR
%% face_code_ref=Missing NodePath
100["SweepEdge Opposite"]
101["SweepEdge Adjacent"]
- 102["Plane
[1638, 1655, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 0 }]
- 106["Sweep Extrusion
[1715, 1737, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
+ 102["Plane
[1660, 1677, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 0 }]
+ 106["Sweep Extrusion
[1737, 1759, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
107[Wall]
%% face_code_ref=Missing NodePath
108["Cap Start"]
@@ -215,10 +215,10 @@ flowchart LR
%% face_code_ref=Missing NodePath
110["SweepEdge Opposite"]
111["SweepEdge Adjacent"]
- 112["Plane
[1638, 1655, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 0 }]
- 116["Sweep Extrusion
[1715, 1737, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
+ 112["Plane
[1660, 1677, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 0 }]
+ 116["Sweep Extrusion
[1737, 1759, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
117[Wall]
%% face_code_ref=Missing NodePath
118["Cap Start"]
@@ -227,10 +227,10 @@ flowchart LR
%% face_code_ref=Missing NodePath
120["SweepEdge Opposite"]
121["SweepEdge Adjacent"]
- 122["Plane
[1638, 1655, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 0 }]
- 126["Sweep Extrusion
[1715, 1737, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
+ 122["Plane
[1660, 1677, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 0 }]
+ 126["Sweep Extrusion
[1737, 1759, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
127[Wall]
%% face_code_ref=Missing NodePath
128["Cap Start"]
@@ -239,10 +239,10 @@ flowchart LR
%% face_code_ref=Missing NodePath
130["SweepEdge Opposite"]
131["SweepEdge Adjacent"]
- 132["Plane
[1638, 1655, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 0 }]
- 136["Sweep Extrusion
[1715, 1737, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
+ 132["Plane
[1660, 1677, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 0 }]
+ 136["Sweep Extrusion
[1737, 1759, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
137[Wall]
%% face_code_ref=Missing NodePath
138["Cap Start"]
@@ -251,10 +251,10 @@ flowchart LR
%% face_code_ref=Missing NodePath
140["SweepEdge Opposite"]
141["SweepEdge Adjacent"]
- 142["Plane
[1638, 1655, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 0 }]
- 146["Sweep Extrusion
[1715, 1737, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
+ 142["Plane
[1660, 1677, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 0 }]
+ 146["Sweep Extrusion
[1737, 1759, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
147[Wall]
%% face_code_ref=Missing NodePath
148["Cap Start"]
@@ -263,8 +263,8 @@ flowchart LR
%% face_code_ref=Missing NodePath
150["SweepEdge Opposite"]
151["SweepEdge Adjacent"]
- 152["CompositeSolid Subtract
[2147, 2186, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 152["CompositeSolid Subtract
[2169, 2208, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit]
1 --- 2
2 --- 3
2 --- 4
diff --git a/rust/kcl-lib/tests/kcl_samples/bone-plate/ast.snap b/rust/kcl-lib/tests/kcl_samples/bone-plate/ast.snap
index 77723ae383d..c75477f9267 100644
--- a/rust/kcl-lib/tests/kcl_samples/bone-plate/ast.snap
+++ b/rust/kcl-lib/tests/kcl_samples/bone-plate/ast.snap
@@ -54,56 +54,85 @@ description: Result of parsing bone-plate.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "plateRevolve",
+ "name": "plateSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "YZ",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "YZ",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Revolve the profile of a compression plate designed to fit a bone"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "plateRevolve",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -177,7 +206,24 @@ description: Result of parsing bone-plate.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "plateSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -1914,7 +1960,7 @@ description: Result of parsing bone-plate.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "19": [
+ "18": [
{
"commentStart": 0,
"end": 0,
@@ -1942,11 +1988,6 @@ description: Result of parsing bone-plate.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Revolve the profile of a compression plate designed to fit a bone"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
diff --git a/rust/kcl-lib/tests/kcl_samples/bone-plate/ops.snap b/rust/kcl-lib/tests/kcl_samples/bone-plate/ops.snap
index 9c2266aa979..c501069a49e 100644
--- a/rust/kcl-lib/tests/kcl_samples/bone-plate/ops.snap
+++ b/rust/kcl-lib/tests/kcl_samples/bone-plate/ops.snap
@@ -59,10 +59,6 @@ description: Operations executed bone-plate.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -179,7 +175,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 1
+ "index": 2
},
{
"type": "VariableDeclarationDeclaration"
@@ -189,7 +185,7 @@ description: Operations executed bone-plate.kcl
},
{
"type": "PipeBodyItem",
- "index": 19
+ "index": 18
}
]
},
@@ -241,7 +237,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 4
+ "index": 5
},
{
"type": "VariableDeclarationDeclaration"
@@ -268,7 +264,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 2
+ "index": 3
},
{
"type": "VariableDeclarationDeclaration"
@@ -328,7 +324,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 2
+ "index": 3
},
{
"type": "VariableDeclarationDeclaration"
@@ -403,7 +399,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 4
+ "index": 5
},
{
"type": "VariableDeclarationDeclaration"
@@ -430,7 +426,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 2
+ "index": 3
},
{
"type": "VariableDeclarationDeclaration"
@@ -490,7 +486,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 2
+ "index": 3
},
{
"type": "VariableDeclarationDeclaration"
@@ -565,7 +561,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 4
+ "index": 5
},
{
"type": "VariableDeclarationDeclaration"
@@ -592,7 +588,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 2
+ "index": 3
},
{
"type": "VariableDeclarationDeclaration"
@@ -652,7 +648,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 2
+ "index": 3
},
{
"type": "VariableDeclarationDeclaration"
@@ -727,7 +723,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 4
+ "index": 5
},
{
"type": "VariableDeclarationDeclaration"
@@ -754,7 +750,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 2
+ "index": 3
},
{
"type": "VariableDeclarationDeclaration"
@@ -814,7 +810,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 2
+ "index": 3
},
{
"type": "VariableDeclarationDeclaration"
@@ -889,7 +885,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 4
+ "index": 5
},
{
"type": "VariableDeclarationDeclaration"
@@ -916,7 +912,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 2
+ "index": 3
},
{
"type": "VariableDeclarationDeclaration"
@@ -976,7 +972,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 2
+ "index": 3
},
{
"type": "VariableDeclarationDeclaration"
@@ -1051,7 +1047,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 4
+ "index": 5
},
{
"type": "VariableDeclarationDeclaration"
@@ -1078,7 +1074,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 2
+ "index": 3
},
{
"type": "VariableDeclarationDeclaration"
@@ -1138,7 +1134,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 2
+ "index": 3
},
{
"type": "VariableDeclarationDeclaration"
@@ -1213,7 +1209,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 4
+ "index": 5
},
{
"type": "VariableDeclarationDeclaration"
@@ -1240,7 +1236,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 2
+ "index": 3
},
{
"type": "VariableDeclarationDeclaration"
@@ -1300,7 +1296,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 2
+ "index": 3
},
{
"type": "VariableDeclarationDeclaration"
@@ -1375,7 +1371,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 4
+ "index": 5
},
{
"type": "VariableDeclarationDeclaration"
@@ -1402,7 +1398,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 2
+ "index": 3
},
{
"type": "VariableDeclarationDeclaration"
@@ -1462,7 +1458,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 2
+ "index": 3
},
{
"type": "VariableDeclarationDeclaration"
@@ -1570,7 +1566,7 @@ description: Operations executed bone-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 5
+ "index": 6
},
{
"type": "VariableDeclarationDeclaration"
diff --git a/rust/kcl-lib/tests/kcl_samples/bone-plate/program_memory.snap b/rust/kcl-lib/tests/kcl_samples/bone-plate/program_memory.snap
index 0e04c85b415..2c0b38ccd19 100644
--- a/rust/kcl-lib/tests/kcl_samples/bone-plate/program_memory.snap
+++ b/rust/kcl-lib/tests/kcl_samples/bone-plate/program_memory.snap
@@ -1274,10 +1274,10 @@ description: Variables in memory after executing bone-plate.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 1064,
- "end": 1070,
+ "commentStart": 1086,
+ "end": 1092,
"moduleId": 0,
- "start": 1064,
+ "start": 1086,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -1295,10 +1295,10 @@ description: Variables in memory after executing bone-plate.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 1189,
- "end": 1195,
+ "commentStart": 1211,
+ "end": 1217,
"moduleId": 0,
- "start": 1189,
+ "start": 1211,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -1323,10 +1323,10 @@ description: Variables in memory after executing bone-plate.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 1361,
- "end": 1367,
+ "commentStart": 1383,
+ "end": 1389,
"moduleId": 0,
- "start": 1361,
+ "start": 1383,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -1565,10 +1565,10 @@ description: Variables in memory after executing bone-plate.kcl
91.88
],
"tag": {
- "commentStart": 1064,
- "end": 1070,
+ "commentStart": 1086,
+ "end": 1092,
"moduleId": 0,
- "start": 1064,
+ "start": 1086,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -1615,10 +1615,10 @@ description: Variables in memory after executing bone-plate.kcl
140.23637885446146
],
"tag": {
- "commentStart": 1189,
- "end": 1195,
+ "commentStart": 1211,
+ "end": 1217,
"moduleId": 0,
- "start": 1189,
+ "start": 1211,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -1689,10 +1689,10 @@ description: Variables in memory after executing bone-plate.kcl
85.53
],
"tag": {
- "commentStart": 1361,
- "end": 1367,
+ "commentStart": 1383,
+ "end": 1389,
"moduleId": 0,
- "start": 1361,
+ "start": 1383,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -1848,6 +1848,46 @@ description: Variables in memory after executing bone-plate.kcl
"sectional": false
}
},
+ "plateSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "YZ",
+ "xAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"seg01": {
"type": "TagIdentifier",
"type": "TagIdentifier",
@@ -1931,10 +1971,10 @@ description: Variables in memory after executing bone-plate.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 1064,
- "end": 1070,
+ "commentStart": 1086,
+ "end": 1092,
"moduleId": 0,
- "start": 1064,
+ "start": 1086,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -1952,10 +1992,10 @@ description: Variables in memory after executing bone-plate.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 1189,
- "end": 1195,
+ "commentStart": 1211,
+ "end": 1217,
"moduleId": 0,
- "start": 1189,
+ "start": 1211,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -1980,10 +2020,10 @@ description: Variables in memory after executing bone-plate.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 1361,
- "end": 1367,
+ "commentStart": 1383,
+ "end": 1389,
"moduleId": 0,
- "start": 1361,
+ "start": 1383,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -2222,10 +2262,10 @@ description: Variables in memory after executing bone-plate.kcl
91.88
],
"tag": {
- "commentStart": 1064,
- "end": 1070,
+ "commentStart": 1086,
+ "end": 1092,
"moduleId": 0,
- "start": 1064,
+ "start": 1086,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -2272,10 +2312,10 @@ description: Variables in memory after executing bone-plate.kcl
140.23637885446146
],
"tag": {
- "commentStart": 1189,
- "end": 1195,
+ "commentStart": 1211,
+ "end": 1217,
"moduleId": 0,
- "start": 1189,
+ "start": 1211,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -2346,10 +2386,10 @@ description: Variables in memory after executing bone-plate.kcl
85.53
],
"tag": {
- "commentStart": 1361,
- "end": 1367,
+ "commentStart": 1383,
+ "end": 1389,
"moduleId": 0,
- "start": 1361,
+ "start": 1383,
"type": "TagDeclarator",
"value": "seg03"
},
diff --git a/rust/kcl-lib/tests/kcl_samples/bottle/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/bottle/artifact_graph_flowchart.snap.md
index 56c19cde1e8..000121d0640 100644
--- a/rust/kcl-lib/tests/kcl_samples/bottle/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/bottle/artifact_graph_flowchart.snap.md
@@ -1,39 +1,39 @@
```mermaid
flowchart LR
subgraph path2 [Path]
- 2["Path
[355, 396, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 3["Segment
[402, 433, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 4["Segment
[439, 534, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 5["Segment
[540, 562, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 6["Segment
[568, 586, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 7["Segment
[568, 586, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 8["Segment
[568, 586, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 9["Segment
[568, 586, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 10["Segment
[568, 586, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 11["Segment
[592, 599, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 2["Path
[365, 420, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 3["Segment
[426, 457, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 4["Segment
[463, 558, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 5["Segment
[564, 586, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 6["Segment
[592, 610, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 7["Segment
[592, 610, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 8["Segment
[592, 610, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 9["Segment
[592, 610, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 10["Segment
[592, 610, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 11["Segment
[616, 623, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
12[Solid2d]
end
subgraph path31 [Path]
- 31["Path
[756, 806, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 32["Segment
[756, 806, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 31["Path
[780, 830, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 32["Segment
[780, 830, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
33[Solid2d]
end
- 1["Plane
[332, 349, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 13["Sweep Extrusion
[605, 647, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 1["Plane
[334, 351, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 13["Sweep Extrusion
[629, 671, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
14[Wall]
%% face_code_ref=Missing NodePath
15[Wall]
@@ -47,7 +47,7 @@ flowchart LR
19["Cap Start"]
%% face_code_ref=Missing NodePath
20["Cap End"]
- %% face_code_ref=[ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ %% face_code_ref=[ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
21["SweepEdge Opposite"]
22["SweepEdge Adjacent"]
23["SweepEdge Opposite"]
@@ -58,16 +58,16 @@ flowchart LR
28["SweepEdge Adjacent"]
29["SweepEdge Opposite"]
30["SweepEdge Adjacent"]
- 34["Sweep Extrusion
[812, 839, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 34["Sweep Extrusion
[836, 863, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
35[Wall]
%% face_code_ref=Missing NodePath
36["Cap End"]
%% face_code_ref=Missing NodePath
37["SweepEdge Opposite"]
38["SweepEdge Adjacent"]
- 39["StartSketchOnFace
[713, 750, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 39["StartSketchOnFace
[737, 774, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
1 --- 2
2 --- 3
2 --- 4
diff --git a/rust/kcl-lib/tests/kcl_samples/bottle/ast.snap b/rust/kcl-lib/tests/kcl_samples/bottle/ast.snap
index 6e809c7f612..0a8604b2743 100644
--- a/rust/kcl-lib/tests/kcl_samples/bottle/ast.snap
+++ b/rust/kcl-lib/tests/kcl_samples/bottle/ast.snap
@@ -239,56 +239,85 @@ description: Result of parsing bottle.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "bottleBody",
+ "name": "bottleSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XY",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XY",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Create a rounded body for the bottle"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "bottleBody",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -398,7 +427,24 @@ description: Result of parsing bottle.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "bottleSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -908,7 +954,7 @@ description: Result of parsing bottle.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "7": [
+ "6": [
{
"commentStart": 0,
"end": 0,
@@ -936,11 +982,6 @@ description: Result of parsing bottle.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Create a rounded body for the bottle"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
diff --git a/rust/kcl-lib/tests/kcl_samples/bottle/ops.snap b/rust/kcl-lib/tests/kcl_samples/bottle/ops.snap
index 44aa2f7210b..7fb9ba8e255 100644
--- a/rust/kcl-lib/tests/kcl_samples/bottle/ops.snap
+++ b/rust/kcl-lib/tests/kcl_samples/bottle/ops.snap
@@ -224,10 +224,6 @@ description: Operations executed bottle.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -321,7 +317,7 @@ description: Operations executed bottle.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 7
},
{
"type": "VariableDeclarationDeclaration"
@@ -331,7 +327,7 @@ description: Operations executed bottle.kcl
},
{
"type": "PipeBodyItem",
- "index": 5
+ "index": 4
}
]
},
@@ -371,7 +367,7 @@ description: Operations executed bottle.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 7
},
{
"type": "VariableDeclarationDeclaration"
@@ -381,7 +377,7 @@ description: Operations executed bottle.kcl
},
{
"type": "PipeBodyItem",
- "index": 7
+ "index": 6
}
]
},
@@ -412,7 +408,7 @@ description: Operations executed bottle.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -462,7 +458,7 @@ description: Operations executed bottle.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -524,7 +520,7 @@ description: Operations executed bottle.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 8
+ "index": 9
},
{
"type": "VariableDeclarationDeclaration"
@@ -565,7 +561,7 @@ description: Operations executed bottle.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 8
+ "index": 9
},
{
"type": "VariableDeclarationDeclaration"
diff --git a/rust/kcl-lib/tests/kcl_samples/bottle/program_memory.snap b/rust/kcl-lib/tests/kcl_samples/bottle/program_memory.snap
index 61d8eb6da8a..ffec9adcee4 100644
--- a/rust/kcl-lib/tests/kcl_samples/bottle/program_memory.snap
+++ b/rust/kcl-lib/tests/kcl_samples/bottle/program_memory.snap
@@ -742,6 +742,46 @@ description: Variables in memory after executing bottle.kcl
"sectional": false
}
},
+ "bottleSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"bottleWidth": {
"type": "Number",
"value": 80.0,
diff --git a/rust/kcl-lib/tests/kcl_samples/bracket/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/bracket/artifact_graph_flowchart.snap.md
index 75fbfb90b41..08bd490b971 100644
--- a/rust/kcl-lib/tests/kcl_samples/bracket/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/bracket/artifact_graph_flowchart.snap.md
@@ -1,50 +1,50 @@
```mermaid
flowchart LR
subgraph path2 [Path]
- 2["Path
[2083, 2108, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 3["Segment
[2114, 2172, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 4["Segment
[2178, 2217, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 5["Segment
[2223, 2270, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 6["Segment
[2276, 2322, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 7["Segment
[2328, 2367, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 8["Segment
[2373, 2443, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 9["Segment
[2449, 2456, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
+ 2["Path
[2094, 2134, 0]"]
+ %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 3["Segment
[2140, 2198, 0]"]
+ %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 4["Segment
[2204, 2243, 0]"]
+ %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 5["Segment
[2249, 2296, 0]"]
+ %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 6["Segment
[2302, 2348, 0]"]
+ %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 7["Segment
[2354, 2393, 0]"]
+ %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 8["Segment
[2399, 2469, 0]"]
+ %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 9["Segment
[2475, 2482, 0]"]
+ %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
10[Solid2d]
end
subgraph path32 [Path]
- 32["Path
[2598, 2788, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 33["Segment
[2598, 2788, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 32["Path
[2624, 2814, 0]"]
+ %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 33["Segment
[2624, 2814, 0]"]
+ %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
34[Solid2d]
end
subgraph path42 [Path]
- 42["Path
[3219, 3421, 0]"]
- %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 43["Segment
[3219, 3421, 0]"]
- %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 42["Path
[3245, 3447, 0]"]
+ %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 43["Segment
[3245, 3447, 0]"]
+ %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
44[Solid2d]
end
- 1["Plane
[2060, 2077, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 11["Sweep Extrusion
[2462, 2485, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
+ 1["Plane
[2062, 2079, 0]"]
+ %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 11["Sweep Extrusion
[2488, 2511, 0]"]
+ %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
12[Wall]
%% face_code_ref=Missing NodePath
13[Wall]
%% face_code_ref=Missing NodePath
14[Wall]
- %% face_code_ref=[ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 15[Wall]
%% face_code_ref=[ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 15[Wall]
+ %% face_code_ref=[ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
16[Wall]
%% face_code_ref=Missing NodePath
17[Wall]
@@ -65,36 +65,36 @@ flowchart LR
29["SweepEdge Adjacent"]
30["SweepEdge Opposite"]
31["SweepEdge Adjacent"]
- 35["Sweep Extrusion
[3074, 3108, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 35["Sweep Extrusion
[3100, 3134, 0]"]
+ %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
36[Wall]
%% face_code_ref=Missing NodePath
37["SweepEdge Opposite"]
38["SweepEdge Adjacent"]
- 39["Sweep Extrusion
[3074, 3108, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 40["Sweep Extrusion
[3074, 3108, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 41["Sweep Extrusion
[3074, 3108, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 45["Sweep Extrusion
[3536, 3570, 0]"]
- %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 39["Sweep Extrusion
[3100, 3134, 0]"]
+ %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 40["Sweep Extrusion
[3100, 3134, 0]"]
+ %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 41["Sweep Extrusion
[3100, 3134, 0]"]
+ %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 45["Sweep Extrusion
[3562, 3596, 0]"]
+ %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
46[Wall]
%% face_code_ref=Missing NodePath
47["SweepEdge Opposite"]
48["SweepEdge Adjacent"]
- 49["Sweep Extrusion
[3536, 3570, 0]"]
- %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 50["EdgeCut Fillet
[3587, 3667, 0]"]
- %% [ProgramBodyItem { index: 23 }, ExpressionStatementExpr]
- 51["EdgeCut Fillet
[3668, 3745, 0]"]
+ 49["Sweep Extrusion
[3562, 3596, 0]"]
+ %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 50["EdgeCut Fillet
[3613, 3693, 0]"]
%% [ProgramBodyItem { index: 24 }, ExpressionStatementExpr]
- 52["EdgeCut Fillet
[3771, 3913, 0]"]
+ 51["EdgeCut Fillet
[3694, 3771, 0]"]
%% [ProgramBodyItem { index: 25 }, ExpressionStatementExpr]
- 53["StartSketchOnFace
[2552, 2592, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 54["StartSketchOnFace
[3173, 3213, 0]"]
+ 52["EdgeCut Fillet
[3797, 3939, 0]"]
+ %% [ProgramBodyItem { index: 26 }, ExpressionStatementExpr]
+ 53["StartSketchOnFace
[2578, 2618, 0]"]
%% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 54["StartSketchOnFace
[3199, 3239, 0]"]
+ %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
1 --- 2
2 --- 3
2 --- 4
diff --git a/rust/kcl-lib/tests/kcl_samples/bracket/ast.snap b/rust/kcl-lib/tests/kcl_samples/bracket/ast.snap
index ca55ada9eb5..5fbeb9468c0 100644
--- a/rust/kcl-lib/tests/kcl_samples/bracket/ast.snap
+++ b/rust/kcl-lib/tests/kcl_samples/bracket/ast.snap
@@ -1371,56 +1371,85 @@ description: Result of parsing bracket.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "bracketBody",
+ "name": "bracketSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XZ",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XZ",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Create the body of the bracket"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "bracketBody",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -1494,7 +1523,24 @@ description: Result of parsing bracket.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "bracketSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -2153,7 +2199,7 @@ description: Result of parsing bracket.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "9": [
+ "8": [
{
"commentStart": 0,
"end": 0,
@@ -2181,11 +2227,6 @@ description: Result of parsing bracket.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Create the body of the bracket"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
diff --git a/rust/kcl-lib/tests/kcl_samples/bracket/ops.snap b/rust/kcl-lib/tests/kcl_samples/bracket/ops.snap
index 698be2c2269..9615888fa6c 100644
--- a/rust/kcl-lib/tests/kcl_samples/bracket/ops.snap
+++ b/rust/kcl-lib/tests/kcl_samples/bracket/ops.snap
@@ -554,10 +554,6 @@ description: Operations executed bracket.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -597,7 +593,7 @@ description: Operations executed bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 20
+ "index": 21
},
{
"type": "VariableDeclarationDeclaration"
@@ -607,7 +603,7 @@ description: Operations executed bracket.kcl
},
{
"type": "PipeBodyItem",
- "index": 9
+ "index": 8
}
]
},
@@ -639,7 +635,7 @@ description: Operations executed bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 21
+ "index": 22
},
{
"type": "VariableDeclarationDeclaration"
@@ -712,7 +708,7 @@ description: Operations executed bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 21
+ "index": 22
},
{
"type": "VariableDeclarationDeclaration"
@@ -754,7 +750,7 @@ description: Operations executed bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 22
+ "index": 23
},
{
"type": "VariableDeclarationDeclaration"
@@ -815,7 +811,7 @@ description: Operations executed bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 22
+ "index": 23
},
{
"type": "VariableDeclarationDeclaration"
@@ -877,7 +873,7 @@ description: Operations executed bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 23
+ "index": 24
},
{
"type": "ExpressionStatementExpr"
@@ -932,7 +928,7 @@ description: Operations executed bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 24
+ "index": 25
},
{
"type": "ExpressionStatementExpr"
@@ -1001,7 +997,7 @@ description: Operations executed bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 25
+ "index": 26
},
{
"type": "ExpressionStatementExpr"
diff --git a/rust/kcl-lib/tests/kcl_samples/bracket/program_memory.snap b/rust/kcl-lib/tests/kcl_samples/bracket/program_memory.snap
index 5d5b26092a3..ad6b89716b5 100644
--- a/rust/kcl-lib/tests/kcl_samples/bracket/program_memory.snap
+++ b/rust/kcl-lib/tests/kcl_samples/bracket/program_memory.snap
@@ -28,10 +28,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2165,
- "end": 2171,
+ "commentStart": 2191,
+ "end": 2197,
"moduleId": 0,
- "start": 2165,
+ "start": 2191,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -42,10 +42,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2210,
- "end": 2216,
+ "commentStart": 2236,
+ "end": 2242,
"moduleId": 0,
- "start": 2210,
+ "start": 2236,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -56,10 +56,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2263,
- "end": 2269,
+ "commentStart": 2289,
+ "end": 2295,
"moduleId": 0,
- "start": 2263,
+ "start": 2289,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -70,10 +70,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2315,
- "end": 2321,
+ "commentStart": 2341,
+ "end": 2347,
"moduleId": 0,
- "start": 2315,
+ "start": 2341,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -84,10 +84,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2360,
- "end": 2366,
+ "commentStart": 2386,
+ "end": 2392,
"moduleId": 0,
- "start": 2360,
+ "start": 2386,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -98,10 +98,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2436,
- "end": 2442,
+ "commentStart": 2462,
+ "end": 2468,
"moduleId": 0,
- "start": 2436,
+ "start": 2462,
"type": "TagDeclarator",
"value": "seg06"
},
@@ -122,10 +122,10 @@ description: Variables in memory after executing bracket.kcl
0.0
],
"tag": {
- "commentStart": 2165,
- "end": 2171,
+ "commentStart": 2191,
+ "end": 2197,
"moduleId": 0,
- "start": 2165,
+ "start": 2191,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -148,10 +148,10 @@ description: Variables in memory after executing bracket.kcl
0.0
],
"tag": {
- "commentStart": 2210,
- "end": 2216,
+ "commentStart": 2236,
+ "end": 2242,
"moduleId": 0,
- "start": 2210,
+ "start": 2236,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -174,10 +174,10 @@ description: Variables in memory after executing bracket.kcl
0.3848561883538911
],
"tag": {
- "commentStart": 2263,
- "end": 2269,
+ "commentStart": 2289,
+ "end": 2295,
"moduleId": 0,
- "start": 2263,
+ "start": 2289,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -200,10 +200,10 @@ description: Variables in memory after executing bracket.kcl
0.3848561883538911
],
"tag": {
- "commentStart": 2315,
- "end": 2321,
+ "commentStart": 2341,
+ "end": 2347,
"moduleId": 0,
- "start": 2315,
+ "start": 2341,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -226,10 +226,10 @@ description: Variables in memory after executing bracket.kcl
-1.8651438116461088
],
"tag": {
- "commentStart": 2360,
- "end": 2366,
+ "commentStart": 2386,
+ "end": 2392,
"moduleId": 0,
- "start": 2360,
+ "start": 2386,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -252,10 +252,10 @@ description: Variables in memory after executing bracket.kcl
-1.8651438116461088
],
"tag": {
- "commentStart": 2436,
- "end": 2442,
+ "commentStart": 2462,
+ "end": 2468,
"moduleId": 0,
- "start": 2436,
+ "start": 2462,
"type": "TagDeclarator",
"value": "seg06"
},
@@ -385,6 +385,46 @@ description: Variables in memory after executing bracket.kcl
"sectional": false
}
},
+ "bracketSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XZ",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": -1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"extBendRadius": {
"type": "Number",
"value": 0.6348561883538911,
@@ -611,10 +651,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2165,
- "end": 2171,
+ "commentStart": 2191,
+ "end": 2197,
"moduleId": 0,
- "start": 2165,
+ "start": 2191,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -625,10 +665,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2210,
- "end": 2216,
+ "commentStart": 2236,
+ "end": 2242,
"moduleId": 0,
- "start": 2210,
+ "start": 2236,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -639,10 +679,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2263,
- "end": 2269,
+ "commentStart": 2289,
+ "end": 2295,
"moduleId": 0,
- "start": 2263,
+ "start": 2289,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -653,10 +693,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2315,
- "end": 2321,
+ "commentStart": 2341,
+ "end": 2347,
"moduleId": 0,
- "start": 2315,
+ "start": 2341,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -667,10 +707,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2360,
- "end": 2366,
+ "commentStart": 2386,
+ "end": 2392,
"moduleId": 0,
- "start": 2360,
+ "start": 2386,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -681,10 +721,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2436,
- "end": 2442,
+ "commentStart": 2462,
+ "end": 2468,
"moduleId": 0,
- "start": 2436,
+ "start": 2462,
"type": "TagDeclarator",
"value": "seg06"
},
@@ -705,10 +745,10 @@ description: Variables in memory after executing bracket.kcl
0.0
],
"tag": {
- "commentStart": 2165,
- "end": 2171,
+ "commentStart": 2191,
+ "end": 2197,
"moduleId": 0,
- "start": 2165,
+ "start": 2191,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -731,10 +771,10 @@ description: Variables in memory after executing bracket.kcl
0.0
],
"tag": {
- "commentStart": 2210,
- "end": 2216,
+ "commentStart": 2236,
+ "end": 2242,
"moduleId": 0,
- "start": 2210,
+ "start": 2236,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -757,10 +797,10 @@ description: Variables in memory after executing bracket.kcl
0.3848561883538911
],
"tag": {
- "commentStart": 2263,
- "end": 2269,
+ "commentStart": 2289,
+ "end": 2295,
"moduleId": 0,
- "start": 2263,
+ "start": 2289,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -783,10 +823,10 @@ description: Variables in memory after executing bracket.kcl
0.3848561883538911
],
"tag": {
- "commentStart": 2315,
- "end": 2321,
+ "commentStart": 2341,
+ "end": 2347,
"moduleId": 0,
- "start": 2315,
+ "start": 2341,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -809,10 +849,10 @@ description: Variables in memory after executing bracket.kcl
-1.8651438116461088
],
"tag": {
- "commentStart": 2360,
- "end": 2366,
+ "commentStart": 2386,
+ "end": 2392,
"moduleId": 0,
- "start": 2360,
+ "start": 2386,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -835,10 +875,10 @@ description: Variables in memory after executing bracket.kcl
-1.8651438116461088
],
"tag": {
- "commentStart": 2436,
- "end": 2442,
+ "commentStart": 2462,
+ "end": 2468,
"moduleId": 0,
- "start": 2436,
+ "start": 2462,
"type": "TagDeclarator",
"value": "seg06"
},
@@ -1080,10 +1120,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2165,
- "end": 2171,
+ "commentStart": 2191,
+ "end": 2197,
"moduleId": 0,
- "start": 2165,
+ "start": 2191,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -1094,10 +1134,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2210,
- "end": 2216,
+ "commentStart": 2236,
+ "end": 2242,
"moduleId": 0,
- "start": 2210,
+ "start": 2236,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -1108,10 +1148,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2263,
- "end": 2269,
+ "commentStart": 2289,
+ "end": 2295,
"moduleId": 0,
- "start": 2263,
+ "start": 2289,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -1122,10 +1162,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2315,
- "end": 2321,
+ "commentStart": 2341,
+ "end": 2347,
"moduleId": 0,
- "start": 2315,
+ "start": 2341,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -1136,10 +1176,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2360,
- "end": 2366,
+ "commentStart": 2386,
+ "end": 2392,
"moduleId": 0,
- "start": 2360,
+ "start": 2386,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -1150,10 +1190,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2436,
- "end": 2442,
+ "commentStart": 2462,
+ "end": 2468,
"moduleId": 0,
- "start": 2436,
+ "start": 2462,
"type": "TagDeclarator",
"value": "seg06"
},
@@ -1174,10 +1214,10 @@ description: Variables in memory after executing bracket.kcl
0.0
],
"tag": {
- "commentStart": 2165,
- "end": 2171,
+ "commentStart": 2191,
+ "end": 2197,
"moduleId": 0,
- "start": 2165,
+ "start": 2191,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -1200,10 +1240,10 @@ description: Variables in memory after executing bracket.kcl
0.0
],
"tag": {
- "commentStart": 2210,
- "end": 2216,
+ "commentStart": 2236,
+ "end": 2242,
"moduleId": 0,
- "start": 2210,
+ "start": 2236,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -1226,10 +1266,10 @@ description: Variables in memory after executing bracket.kcl
0.3848561883538911
],
"tag": {
- "commentStart": 2263,
- "end": 2269,
+ "commentStart": 2289,
+ "end": 2295,
"moduleId": 0,
- "start": 2263,
+ "start": 2289,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -1252,10 +1292,10 @@ description: Variables in memory after executing bracket.kcl
0.3848561883538911
],
"tag": {
- "commentStart": 2315,
- "end": 2321,
+ "commentStart": 2341,
+ "end": 2347,
"moduleId": 0,
- "start": 2315,
+ "start": 2341,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -1278,10 +1318,10 @@ description: Variables in memory after executing bracket.kcl
-1.8651438116461088
],
"tag": {
- "commentStart": 2360,
- "end": 2366,
+ "commentStart": 2386,
+ "end": 2392,
"moduleId": 0,
- "start": 2360,
+ "start": 2386,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -1304,10 +1344,10 @@ description: Variables in memory after executing bracket.kcl
-1.8651438116461088
],
"tag": {
- "commentStart": 2436,
- "end": 2442,
+ "commentStart": 2462,
+ "end": 2468,
"moduleId": 0,
- "start": 2436,
+ "start": 2462,
"type": "TagDeclarator",
"value": "seg06"
},
@@ -1549,10 +1589,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2165,
- "end": 2171,
+ "commentStart": 2191,
+ "end": 2197,
"moduleId": 0,
- "start": 2165,
+ "start": 2191,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -1563,10 +1603,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2210,
- "end": 2216,
+ "commentStart": 2236,
+ "end": 2242,
"moduleId": 0,
- "start": 2210,
+ "start": 2236,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -1577,10 +1617,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2263,
- "end": 2269,
+ "commentStart": 2289,
+ "end": 2295,
"moduleId": 0,
- "start": 2263,
+ "start": 2289,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -1591,10 +1631,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2315,
- "end": 2321,
+ "commentStart": 2341,
+ "end": 2347,
"moduleId": 0,
- "start": 2315,
+ "start": 2341,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -1605,10 +1645,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2360,
- "end": 2366,
+ "commentStart": 2386,
+ "end": 2392,
"moduleId": 0,
- "start": 2360,
+ "start": 2386,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -1619,10 +1659,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2436,
- "end": 2442,
+ "commentStart": 2462,
+ "end": 2468,
"moduleId": 0,
- "start": 2436,
+ "start": 2462,
"type": "TagDeclarator",
"value": "seg06"
},
@@ -1643,10 +1683,10 @@ description: Variables in memory after executing bracket.kcl
0.0
],
"tag": {
- "commentStart": 2165,
- "end": 2171,
+ "commentStart": 2191,
+ "end": 2197,
"moduleId": 0,
- "start": 2165,
+ "start": 2191,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -1669,10 +1709,10 @@ description: Variables in memory after executing bracket.kcl
0.0
],
"tag": {
- "commentStart": 2210,
- "end": 2216,
+ "commentStart": 2236,
+ "end": 2242,
"moduleId": 0,
- "start": 2210,
+ "start": 2236,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -1695,10 +1735,10 @@ description: Variables in memory after executing bracket.kcl
0.3848561883538911
],
"tag": {
- "commentStart": 2263,
- "end": 2269,
+ "commentStart": 2289,
+ "end": 2295,
"moduleId": 0,
- "start": 2263,
+ "start": 2289,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -1721,10 +1761,10 @@ description: Variables in memory after executing bracket.kcl
0.3848561883538911
],
"tag": {
- "commentStart": 2315,
- "end": 2321,
+ "commentStart": 2341,
+ "end": 2347,
"moduleId": 0,
- "start": 2315,
+ "start": 2341,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -1747,10 +1787,10 @@ description: Variables in memory after executing bracket.kcl
-1.8651438116461088
],
"tag": {
- "commentStart": 2360,
- "end": 2366,
+ "commentStart": 2386,
+ "end": 2392,
"moduleId": 0,
- "start": 2360,
+ "start": 2386,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -1773,10 +1813,10 @@ description: Variables in memory after executing bracket.kcl
-1.8651438116461088
],
"tag": {
- "commentStart": 2436,
- "end": 2442,
+ "commentStart": 2462,
+ "end": 2468,
"moduleId": 0,
- "start": 2436,
+ "start": 2462,
"type": "TagDeclarator",
"value": "seg06"
},
@@ -2018,10 +2058,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2165,
- "end": 2171,
+ "commentStart": 2191,
+ "end": 2197,
"moduleId": 0,
- "start": 2165,
+ "start": 2191,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -2032,10 +2072,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2210,
- "end": 2216,
+ "commentStart": 2236,
+ "end": 2242,
"moduleId": 0,
- "start": 2210,
+ "start": 2236,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -2046,10 +2086,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2263,
- "end": 2269,
+ "commentStart": 2289,
+ "end": 2295,
"moduleId": 0,
- "start": 2263,
+ "start": 2289,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -2060,10 +2100,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2315,
- "end": 2321,
+ "commentStart": 2341,
+ "end": 2347,
"moduleId": 0,
- "start": 2315,
+ "start": 2341,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -2074,10 +2114,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2360,
- "end": 2366,
+ "commentStart": 2386,
+ "end": 2392,
"moduleId": 0,
- "start": 2360,
+ "start": 2386,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -2088,10 +2128,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2436,
- "end": 2442,
+ "commentStart": 2462,
+ "end": 2468,
"moduleId": 0,
- "start": 2436,
+ "start": 2462,
"type": "TagDeclarator",
"value": "seg06"
},
@@ -2112,10 +2152,10 @@ description: Variables in memory after executing bracket.kcl
0.0
],
"tag": {
- "commentStart": 2165,
- "end": 2171,
+ "commentStart": 2191,
+ "end": 2197,
"moduleId": 0,
- "start": 2165,
+ "start": 2191,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -2138,10 +2178,10 @@ description: Variables in memory after executing bracket.kcl
0.0
],
"tag": {
- "commentStart": 2210,
- "end": 2216,
+ "commentStart": 2236,
+ "end": 2242,
"moduleId": 0,
- "start": 2210,
+ "start": 2236,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -2164,10 +2204,10 @@ description: Variables in memory after executing bracket.kcl
0.3848561883538911
],
"tag": {
- "commentStart": 2263,
- "end": 2269,
+ "commentStart": 2289,
+ "end": 2295,
"moduleId": 0,
- "start": 2263,
+ "start": 2289,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -2190,10 +2230,10 @@ description: Variables in memory after executing bracket.kcl
0.3848561883538911
],
"tag": {
- "commentStart": 2315,
- "end": 2321,
+ "commentStart": 2341,
+ "end": 2347,
"moduleId": 0,
- "start": 2315,
+ "start": 2341,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -2216,10 +2256,10 @@ description: Variables in memory after executing bracket.kcl
-1.8651438116461088
],
"tag": {
- "commentStart": 2360,
- "end": 2366,
+ "commentStart": 2386,
+ "end": 2392,
"moduleId": 0,
- "start": 2360,
+ "start": 2386,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -2242,10 +2282,10 @@ description: Variables in memory after executing bracket.kcl
-1.8651438116461088
],
"tag": {
- "commentStart": 2436,
- "end": 2442,
+ "commentStart": 2462,
+ "end": 2468,
"moduleId": 0,
- "start": 2436,
+ "start": 2462,
"type": "TagDeclarator",
"value": "seg06"
},
@@ -2557,10 +2597,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2165,
- "end": 2171,
+ "commentStart": 2191,
+ "end": 2197,
"moduleId": 0,
- "start": 2165,
+ "start": 2191,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -2571,10 +2611,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2210,
- "end": 2216,
+ "commentStart": 2236,
+ "end": 2242,
"moduleId": 0,
- "start": 2210,
+ "start": 2236,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -2585,10 +2625,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2263,
- "end": 2269,
+ "commentStart": 2289,
+ "end": 2295,
"moduleId": 0,
- "start": 2263,
+ "start": 2289,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -2599,10 +2639,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2315,
- "end": 2321,
+ "commentStart": 2341,
+ "end": 2347,
"moduleId": 0,
- "start": 2315,
+ "start": 2341,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -2613,10 +2653,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2360,
- "end": 2366,
+ "commentStart": 2386,
+ "end": 2392,
"moduleId": 0,
- "start": 2360,
+ "start": 2386,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -2627,10 +2667,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2436,
- "end": 2442,
+ "commentStart": 2462,
+ "end": 2468,
"moduleId": 0,
- "start": 2436,
+ "start": 2462,
"type": "TagDeclarator",
"value": "seg06"
},
@@ -2651,10 +2691,10 @@ description: Variables in memory after executing bracket.kcl
0.0
],
"tag": {
- "commentStart": 2165,
- "end": 2171,
+ "commentStart": 2191,
+ "end": 2197,
"moduleId": 0,
- "start": 2165,
+ "start": 2191,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -2677,10 +2717,10 @@ description: Variables in memory after executing bracket.kcl
0.0
],
"tag": {
- "commentStart": 2210,
- "end": 2216,
+ "commentStart": 2236,
+ "end": 2242,
"moduleId": 0,
- "start": 2210,
+ "start": 2236,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -2703,10 +2743,10 @@ description: Variables in memory after executing bracket.kcl
0.3848561883538911
],
"tag": {
- "commentStart": 2263,
- "end": 2269,
+ "commentStart": 2289,
+ "end": 2295,
"moduleId": 0,
- "start": 2263,
+ "start": 2289,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -2729,10 +2769,10 @@ description: Variables in memory after executing bracket.kcl
0.3848561883538911
],
"tag": {
- "commentStart": 2315,
- "end": 2321,
+ "commentStart": 2341,
+ "end": 2347,
"moduleId": 0,
- "start": 2315,
+ "start": 2341,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -2755,10 +2795,10 @@ description: Variables in memory after executing bracket.kcl
-1.8651438116461088
],
"tag": {
- "commentStart": 2360,
- "end": 2366,
+ "commentStart": 2386,
+ "end": 2392,
"moduleId": 0,
- "start": 2360,
+ "start": 2386,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -2781,10 +2821,10 @@ description: Variables in memory after executing bracket.kcl
-1.8651438116461088
],
"tag": {
- "commentStart": 2436,
- "end": 2442,
+ "commentStart": 2462,
+ "end": 2468,
"moduleId": 0,
- "start": 2436,
+ "start": 2462,
"type": "TagDeclarator",
"value": "seg06"
},
@@ -3026,10 +3066,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2165,
- "end": 2171,
+ "commentStart": 2191,
+ "end": 2197,
"moduleId": 0,
- "start": 2165,
+ "start": 2191,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -3040,10 +3080,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2210,
- "end": 2216,
+ "commentStart": 2236,
+ "end": 2242,
"moduleId": 0,
- "start": 2210,
+ "start": 2236,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -3054,10 +3094,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2263,
- "end": 2269,
+ "commentStart": 2289,
+ "end": 2295,
"moduleId": 0,
- "start": 2263,
+ "start": 2289,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -3068,10 +3108,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2315,
- "end": 2321,
+ "commentStart": 2341,
+ "end": 2347,
"moduleId": 0,
- "start": 2315,
+ "start": 2341,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -3082,10 +3122,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2360,
- "end": 2366,
+ "commentStart": 2386,
+ "end": 2392,
"moduleId": 0,
- "start": 2360,
+ "start": 2386,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -3096,10 +3136,10 @@ description: Variables in memory after executing bracket.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2436,
- "end": 2442,
+ "commentStart": 2462,
+ "end": 2468,
"moduleId": 0,
- "start": 2436,
+ "start": 2462,
"type": "TagDeclarator",
"value": "seg06"
},
@@ -3120,10 +3160,10 @@ description: Variables in memory after executing bracket.kcl
0.0
],
"tag": {
- "commentStart": 2165,
- "end": 2171,
+ "commentStart": 2191,
+ "end": 2197,
"moduleId": 0,
- "start": 2165,
+ "start": 2191,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -3146,10 +3186,10 @@ description: Variables in memory after executing bracket.kcl
0.0
],
"tag": {
- "commentStart": 2210,
- "end": 2216,
+ "commentStart": 2236,
+ "end": 2242,
"moduleId": 0,
- "start": 2210,
+ "start": 2236,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -3172,10 +3212,10 @@ description: Variables in memory after executing bracket.kcl
0.3848561883538911
],
"tag": {
- "commentStart": 2263,
- "end": 2269,
+ "commentStart": 2289,
+ "end": 2295,
"moduleId": 0,
- "start": 2263,
+ "start": 2289,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -3198,10 +3238,10 @@ description: Variables in memory after executing bracket.kcl
0.3848561883538911
],
"tag": {
- "commentStart": 2315,
- "end": 2321,
+ "commentStart": 2341,
+ "end": 2347,
"moduleId": 0,
- "start": 2315,
+ "start": 2341,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -3224,10 +3264,10 @@ description: Variables in memory after executing bracket.kcl
-1.8651438116461088
],
"tag": {
- "commentStart": 2360,
- "end": 2366,
+ "commentStart": 2386,
+ "end": 2392,
"moduleId": 0,
- "start": 2360,
+ "start": 2386,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -3250,10 +3290,10 @@ description: Variables in memory after executing bracket.kcl
-1.8651438116461088
],
"tag": {
- "commentStart": 2436,
- "end": 2442,
+ "commentStart": 2462,
+ "end": 2468,
"moduleId": 0,
- "start": 2436,
+ "start": 2462,
"type": "TagDeclarator",
"value": "seg06"
},
diff --git a/rust/kcl-lib/tests/kcl_samples/car-wheel-assembly/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/car-wheel-assembly/artifact_graph_flowchart.snap.md
index 5f7b8f96122..9f25aae958a 100644
--- a/rust/kcl-lib/tests/kcl_samples/car-wheel-assembly/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/car-wheel-assembly/artifact_graph_flowchart.snap.md
@@ -148,24 +148,24 @@ flowchart LR
321[Solid2d]
end
subgraph path341 [Path]
- 341["Path
[529, 610, 4]"]
- 342["Segment
[616, 717, 4]"]
- 343["Segment
[723, 781, 4]"]
- 344["Segment
[787, 871, 4]"]
- 345["Segment
[877, 936, 4]"]
- 346["Segment
[942, 1027, 4]"]
- 347["Segment
[1033, 1092, 4]"]
- 348["Segment
[1098, 1221, 4]"]
- 349["Segment
[1227, 1286, 4]"]
- 350["Segment
[1292, 1427, 4]"]
- 351["Segment
[1433, 1492, 4]"]
- 352["Segment
[1498, 1622, 4]"]
- 353["Segment
[1628, 1687, 4]"]
- 354["Segment
[1693, 1778, 4]"]
- 355["Segment
[1784, 1843, 4]"]
- 356["Segment
[1849, 1934, 4]"]
- 357["Segment
[1940, 1998, 4]"]
- 358["Segment
[2004, 2011, 4]"]
+ 341["Path
[546, 675, 4]"]
+ 342["Segment
[681, 782, 4]"]
+ 343["Segment
[788, 846, 4]"]
+ 344["Segment
[852, 936, 4]"]
+ 345["Segment
[942, 1001, 4]"]
+ 346["Segment
[1007, 1092, 4]"]
+ 347["Segment
[1098, 1157, 4]"]
+ 348["Segment
[1163, 1286, 4]"]
+ 349["Segment
[1292, 1351, 4]"]
+ 350["Segment
[1357, 1492, 4]"]
+ 351["Segment
[1498, 1557, 4]"]
+ 352["Segment
[1563, 1687, 4]"]
+ 353["Segment
[1693, 1752, 4]"]
+ 354["Segment
[1758, 1843, 4]"]
+ 355["Segment
[1849, 1908, 4]"]
+ 356["Segment
[1914, 1999, 4]"]
+ 357["Segment
[2005, 2063, 4]"]
+ 358["Segment
[2069, 2076, 4]"]
359[Solid2d]
end
subgraph path415 [Path]
@@ -182,21 +182,21 @@ flowchart LR
425[Solid2d]
end
subgraph path446 [Path]
- 446["Path
[505, 562, 6]"]
- 447["Segment
[568, 702, 6]"]
- 448["Segment
[708, 755, 6]"]
- 449["Segment
[761, 858, 6]"]
- 450["Segment
[864, 896, 6]"]
- 451["Segment
[902, 934, 6]"]
- 452["Segment
[940, 971, 6]"]
- 453["Segment
[977, 1092, 6]"]
- 454["Segment
[1098, 1130, 6]"]
- 455["Segment
[1136, 1168, 6]"]
- 456["Segment
[1174, 1205, 6]"]
- 457["Segment
[1211, 1304, 6]"]
- 458["Segment
[1310, 1357, 6]"]
- 459["Segment
[1363, 1436, 6]"]
- 460["Segment
[1442, 1449, 6]"]
+ 446["Path
[514, 583, 6]"]
+ 447["Segment
[589, 723, 6]"]
+ 448["Segment
[729, 776, 6]"]
+ 449["Segment
[782, 879, 6]"]
+ 450["Segment
[885, 917, 6]"]
+ 451["Segment
[923, 955, 6]"]
+ 452["Segment
[961, 992, 6]"]
+ 453["Segment
[998, 1113, 6]"]
+ 454["Segment
[1119, 1151, 6]"]
+ 455["Segment
[1157, 1189, 6]"]
+ 456["Segment
[1195, 1226, 6]"]
+ 457["Segment
[1232, 1325, 6]"]
+ 458["Segment
[1331, 1378, 6]"]
+ 459["Segment
[1384, 1457, 6]"]
+ 460["Segment
[1463, 1470, 6]"]
461[Solid2d]
end
1["Plane
[349, 366, 1]"]
@@ -503,7 +503,7 @@ flowchart LR
338["Sweep Extrusion
[3261, 3335, 3]"]
339["Sweep Extrusion
[3261, 3335, 3]"]
340["Plane
[506, 523, 4]"]
- 360["Sweep Revolve
[2049, 2099, 4]"]
+ 360["Sweep Revolve
[2114, 2165, 4]"]
361[Wall]
%% face_code_ref=Missing NodePath
362[Wall]
@@ -606,7 +606,7 @@ flowchart LR
443["SweepEdge Adjacent"]
444["SweepEdge Adjacent"]
445["Plane
[482, 499, 6]"]
- 462["Sweep Revolve
[1502, 1531, 6]"]
+ 462["Sweep Revolve
[1523, 1553, 6]"]
463[Wall]
%% face_code_ref=Missing NodePath
464[Wall]
diff --git a/rust/kcl-lib/tests/kcl_samples/cold-plate/artifact_commands.snap b/rust/kcl-lib/tests/kcl_samples/cold-plate/artifact_commands.snap
index 2356672e2bf..20d6c39a8eb 100644
--- a/rust/kcl-lib/tests/kcl_samples/cold-plate/artifact_commands.snap
+++ b/rust/kcl-lib/tests/kcl_samples/cold-plate/artifact_commands.snap
@@ -674,6 +674,58 @@ description: Artifact commands cold-plate.kcl
"type": "start_path"
}
},
+ {
+ "cmdId": "[uuid]",
+ "range": [],
+ "command": {
+ "type": "move_path_pen",
+ "path": "[uuid]",
+ "to": {
+ "x": -76.19999999999999,
+ "y": 15.875,
+ "z": 0.0
+ }
+ }
+ },
+ {
+ "cmdId": "[uuid]",
+ "range": [],
+ "command": {
+ "type": "sketch_mode_disable"
+ }
+ },
+ {
+ "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": 1.0,
+ "y": 0.0,
+ "z": 0.0
+ }
+ }
+ },
+ {
+ "cmdId": "[uuid]",
+ "range": [],
+ "command": {
+ "type": "start_path"
+ }
+ },
{
"cmdId": "[uuid]",
"range": [],
diff --git a/rust/kcl-lib/tests/kcl_samples/cold-plate/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/cold-plate/artifact_graph_flowchart.snap.md
index c4c93681c8e..cd20c516815 100644
--- a/rust/kcl-lib/tests/kcl_samples/cold-plate/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/cold-plate/artifact_graph_flowchart.snap.md
@@ -1,145 +1,149 @@
```mermaid
flowchart LR
subgraph path2 [Path]
- 2["Path
[577, 617, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 3["Segment
[623, 670, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 4["Segment
[676, 705, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 5["Segment
[711, 764, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 6["Segment
[770, 798, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 7["Segment
[804, 863, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 8["Segment
[869, 912, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 9["Segment
[918, 971, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 10["Segment
[977, 1019, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
- 11["Segment
[1025, 1072, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
- 12["Segment
[1078, 1128, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
- 13["Segment
[1134, 1196, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
- 14["Segment
[1202, 1253, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 13 }]
- 15["Segment
[1259, 1281, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 14 }]
- 16["Segment
[1287, 1309, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
- 17["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 18["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 19["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 20["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 21["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 22["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 23["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 24["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 25["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 26["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 27["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 28["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 29["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 30["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 31["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 32["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 33["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 34["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 35["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 36["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 37["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 38["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 39["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 40["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 41["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 42["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 43["Segment
[1315, 1333, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 44["Segment
[1339, 1346, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 17 }]
- 45[Solid2d]
- end
- subgraph path131 [Path]
- 131["Path
[1517, 1560, 0]"]
+ 2["Path
[590, 647, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 3["Segment
[653, 700, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 132["Segment
[1566, 1601, 0]"]
+ 4["Segment
[706, 735, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 133["Segment
[1607, 1668, 0]"]
+ 5["Segment
[741, 794, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 134["Segment
[1674, 1743, 0]"]
+ 6["Segment
[800, 828, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 135["Segment
[1749, 1811, 0]"]
+ 7["Segment
[834, 893, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 136["Segment
[1817, 1880, 0]"]
+ 8["Segment
[899, 942, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 137["Segment
[1886, 1947, 0]"]
+ 9["Segment
[948, 1001, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 138["Segment
[1953, 2016, 0]"]
+ 10["Segment
[1007, 1049, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
+ 11["Segment
[1055, 1102, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
+ 12["Segment
[1108, 1158, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
+ 13["Segment
[1164, 1226, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
+ 14["Segment
[1232, 1283, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
+ 15["Segment
[1289, 1311, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 13 }]
+ 16["Segment
[1317, 1339, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 14 }]
+ 17["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 18["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 19["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 20["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 21["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 22["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 23["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 24["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 25["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 26["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 27["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 28["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 29["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 30["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 31["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 32["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 33["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 34["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 35["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 36["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 37["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 38["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 39["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 40["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 41["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 42["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 43["Segment
[1345, 1363, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 44["Segment
[1369, 1376, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
+ 45[Solid2d]
end
- subgraph path140 [Path]
- 140["Path
[2162, 2237, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 141["Segment
[2162, 2237, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 142[Solid2d]
- end
- subgraph path143 [Path]
- 143["Path
[2261, 2352, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
- 144["Segment
[2261, 2352, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
- 145[Solid2d]
- end
- subgraph path153 [Path]
- 153["Path
[2549, 2581, 0]"]
+ subgraph path131 [Path]
+ 131["Path
[1561, 1622, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 132["Segment
[1628, 1663, 0]"]
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 154["Segment
[2587, 2677, 0]"]
+ 133["Segment
[1669, 1730, 0]"]
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 155["Segment
[2683, 2720, 0]"]
+ 134["Segment
[1736, 1805, 0]"]
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 156["Segment
[2726, 2879, 0]"]
+ 135["Segment
[1811, 1873, 0]"]
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 157["Segment
[2885, 2941, 0]"]
+ 136["Segment
[1879, 1942, 0]"]
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 158["Segment
[2947, 2954, 0]"]
+ 137["Segment
[1948, 2009, 0]"]
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 159[Solid2d]
+ 138["Segment
[2015, 2078, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
end
- 1["Plane
[554, 571, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 46["Sweep Extrusion
[1352, 1390, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 18 }]
+ subgraph path140 [Path]
+ 140["Path
[2236, 2302, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ end
+ subgraph path141 [Path]
+ 141["Path
[2308, 2383, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 142["Segment
[2308, 2383, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 143[Solid2d]
+ end
+ subgraph path144 [Path]
+ 144["Path
[2407, 2498, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 145["Segment
[2407, 2498, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 146[Solid2d]
+ end
+ subgraph path154 [Path]
+ 154["Path
[2708, 2757, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 155["Segment
[2763, 2853, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 156["Segment
[2859, 2896, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 157["Segment
[2902, 3055, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 158["Segment
[3061, 3117, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 159["Segment
[3123, 3130, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 160[Solid2d]
+ end
+ 1["Plane
[560, 577, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 46["Sweep Extrusion
[1382, 1420, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 17 }]
47[Wall]
%% face_code_ref=Missing NodePath
48[Wall]
@@ -252,48 +256,48 @@ flowchart LR
127["SweepEdge Adjacent"]
128["SweepEdge Opposite"]
129["SweepEdge Adjacent"]
- 130["Plane
[1472, 1510, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
- 139["Plane
[2124, 2155, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
- 146["Sweep Sweep
[2359, 2387, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 147[Wall]
- %% face_code_ref=Missing NodePath
- 148["Cap Start"]
+ 130["Plane
[1504, 1542, 0]"]
+ %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, CallKwUnlabeledArg]
+ 139["Plane
[2192, 2223, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, CallKwUnlabeledArg]
+ 147["Sweep Sweep
[2505, 2533, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 148[Wall]
%% face_code_ref=Missing NodePath
149["Cap Start"]
%% face_code_ref=Missing NodePath
- 150["SweepEdge Opposite"]
- 151["SweepEdge Adjacent"]
- 152["Plane
[2526, 2543, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 160["Sweep Extrusion
[2960, 2998, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 161[Wall]
+ 150["Cap Start"]
%% face_code_ref=Missing NodePath
+ 151["SweepEdge Opposite"]
+ 152["SweepEdge Adjacent"]
+ 153["Plane
[2678, 2695, 0]"]
+ %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 161["Sweep Extrusion
[3136, 3174, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
162[Wall]
%% face_code_ref=Missing NodePath
163[Wall]
%% face_code_ref=Missing NodePath
164[Wall]
%% face_code_ref=Missing NodePath
- 165["Cap Start"]
- %% face_code_ref=Missing NodePath
- 166["Cap End"]
- %% face_code_ref=Missing NodePath
- 167["SweepEdge Opposite"]
- 168["SweepEdge Adjacent"]
- 169["SweepEdge Opposite"]
- 170["SweepEdge Adjacent"]
- 171["SweepEdge Opposite"]
- 172["SweepEdge Adjacent"]
- 173["SweepEdge Opposite"]
- 174["SweepEdge Adjacent"]
- 175["StartSketchOnPlane
[1458, 1511, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 176["StartSketchOnPlane
[2110, 2156, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 165[Wall]
+ %% face_code_ref=Missing NodePath
+ 166["Cap Start"]
+ %% face_code_ref=Missing NodePath
+ 167["Cap End"]
+ %% face_code_ref=Missing NodePath
+ 168["SweepEdge Opposite"]
+ 169["SweepEdge Adjacent"]
+ 170["SweepEdge Opposite"]
+ 171["SweepEdge Adjacent"]
+ 172["SweepEdge Opposite"]
+ 173["SweepEdge Adjacent"]
+ 174["SweepEdge Opposite"]
+ 175["SweepEdge Adjacent"]
+ 176["StartSketchOnPlane
[1490, 1543, 0]"]
+ %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 177["StartSketchOnPlane
[2178, 2224, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit]
1 --- 2
2 --- 3
2 --- 4
@@ -639,7 +643,7 @@ flowchart LR
126 <--x 75
128 <--x 75
130 --- 131
- 130 <--x 175
+ 130 <--x 176
131 --- 132
131 --- 133
131 --- 134
@@ -648,79 +652,80 @@ flowchart LR
131 --- 137
131 --- 138
139 --- 140
- 139 --- 143
- 139 <--x 176
- 140 --- 141
- 140 --- 142
- 143 --- 140
- 140 ---- 146
- 141 --- 147
- 141 x--> 148
- 141 --- 150
- 141 --- 151
- 143 --- 144
- 143 --- 145
- 143 x---> 146
- 146 --- 147
- 146 --- 148
- 146 --- 149
- 146 --- 150
- 146 --- 151
+ 139 --- 141
+ 139 --- 144
+ 139 <--x 177
+ 141 --- 142
+ 141 --- 143
+ 144 --- 141
+ 141 ---- 147
+ 142 --- 148
+ 142 x--> 149
+ 142 --- 151
+ 142 --- 152
+ 144 --- 145
+ 144 --- 146
+ 144 x---> 147
+ 147 --- 148
+ 147 --- 149
147 --- 150
147 --- 151
- 150 <--x 149
- 152 --- 153
+ 147 --- 152
+ 148 --- 151
+ 148 --- 152
+ 151 <--x 150
153 --- 154
- 153 --- 155
- 153 --- 156
- 153 --- 157
- 153 --- 158
- 153 --- 159
- 153 ---- 160
- 154 --- 164
- 154 x--> 165
- 154 --- 173
- 154 --- 174
- 155 --- 163
- 155 x--> 165
- 155 --- 171
- 155 --- 172
- 156 --- 162
- 156 x--> 165
- 156 --- 169
- 156 --- 170
- 157 --- 161
- 157 x--> 165
- 157 --- 167
- 157 --- 168
- 160 --- 161
- 160 --- 162
- 160 --- 163
- 160 --- 164
- 160 --- 165
- 160 --- 166
- 160 --- 167
- 160 --- 168
- 160 --- 169
- 160 --- 170
- 160 --- 171
- 160 --- 172
- 160 --- 173
- 160 --- 174
+ 154 --- 155
+ 154 --- 156
+ 154 --- 157
+ 154 --- 158
+ 154 --- 159
+ 154 --- 160
+ 154 ---- 161
+ 155 --- 165
+ 155 x--> 166
+ 155 --- 174
+ 155 --- 175
+ 156 --- 164
+ 156 x--> 166
+ 156 --- 172
+ 156 --- 173
+ 157 --- 163
+ 157 x--> 166
+ 157 --- 170
+ 157 --- 171
+ 158 --- 162
+ 158 x--> 166
+ 158 --- 168
+ 158 --- 169
+ 161 --- 162
+ 161 --- 163
+ 161 --- 164
+ 161 --- 165
+ 161 --- 166
161 --- 167
161 --- 168
- 170 <--x 161
+ 161 --- 169
+ 161 --- 170
+ 161 --- 171
+ 161 --- 172
+ 161 --- 173
+ 161 --- 174
+ 161 --- 175
+ 162 --- 168
162 --- 169
- 162 --- 170
- 172 <--x 162
+ 171 <--x 162
+ 163 --- 170
163 --- 171
- 163 --- 172
- 174 <--x 163
- 168 <--x 164
+ 173 <--x 163
+ 164 --- 172
164 --- 173
- 164 --- 174
- 167 <--x 166
- 169 <--x 166
- 171 <--x 166
- 173 <--x 166
+ 175 <--x 164
+ 169 <--x 165
+ 165 --- 174
+ 165 --- 175
+ 168 <--x 167
+ 170 <--x 167
+ 172 <--x 167
+ 174 <--x 167
```
diff --git a/rust/kcl-lib/tests/kcl_samples/cold-plate/ast.snap b/rust/kcl-lib/tests/kcl_samples/cold-plate/ast.snap
index 83d234050a5..b210b2c13ea 100644
--- a/rust/kcl-lib/tests/kcl_samples/cold-plate/ast.snap
+++ b/rust/kcl-lib/tests/kcl_samples/cold-plate/ast.snap
@@ -150,56 +150,85 @@ description: Result of parsing cold-plate.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "coldPlate",
+ "name": "coldPlateSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "YZ",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "YZ",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Create the cold plate with indentions to secure each pass of the brazed copper tube"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "coldPlate",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -300,7 +329,24 @@ description: Result of parsing cold-plate.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "coldPlateSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -1719,7 +1765,7 @@ description: Result of parsing cold-plate.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "18": [
+ "17": [
{
"commentStart": 0,
"end": 0,
@@ -1747,11 +1793,6 @@ description: Result of parsing cold-plate.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Create the cold plate with indentions to secure each pass of the brazed copper tube"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -1765,93 +1806,48 @@ description: Result of parsing cold-plate.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "copperTubePath",
+ "name": "copperTubeSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "arguments": [
- {
- "type": "LabeledArg",
- "label": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "offset",
- "start": 0,
- "type": "Identifier"
- },
- "arg": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "tubeDiameter",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
- }
- ],
- "callee": {
- "abs_path": false,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "arguments": [
+ {
+ "type": "LabeledArg",
+ "label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "offsetPlane",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
+ "name": "offset",
"start": 0,
- "type": "Name"
+ "type": "Identifier"
},
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
+ "arg": {
"abs_path": false,
"commentStart": 0,
"end": 0,
@@ -1860,7 +1856,7 @@ description: Result of parsing cold-plate.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "XY",
+ "name": "tubeDiameter",
"start": 0,
"type": "Identifier"
},
@@ -1870,7 +1866,76 @@ description: Result of parsing cold-plate.kcl
"type": "Name"
}
}
+ ],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "offsetPlane",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
},
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XY",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "copperTubePath",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -1989,10 +2054,27 @@ description: Result of parsing cold-plate.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
- },
- {
- "arguments": [
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "copperTubeSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ {
+ "arguments": [
{
"type": "LabeledArg",
"label": {
@@ -2784,7 +2866,7 @@ description: Result of parsing cold-plate.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "8": [
+ "7": [
{
"commentStart": 0,
"end": 0,
@@ -2816,6 +2898,134 @@ description: Result of parsing cold-plate.kcl
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "tubeWallSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "startSketchOn",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "arguments": [
+ {
+ "type": "LabeledArg",
+ "label": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "offset",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "arg": {
+ "argument": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "raw": "7.35",
+ "start": 0,
+ "type": "Literal",
+ "type": "Literal",
+ "value": {
+ "value": 7.35,
+ "suffix": "None"
+ }
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "operator": "-",
+ "start": 0,
+ "type": "UnaryExpression",
+ "type": "UnaryExpression"
+ }
+ }
+ ],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "offsetPlane",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "YZ",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
{
"commentStart": 0,
"declaration": {
@@ -2832,7 +3042,96 @@ description: Result of parsing cold-plate.kcl
"init": {
"body": [
{
- "arguments": [],
+ "arguments": [
+ {
+ "type": "LabeledArg",
+ "label": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "at",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "arg": {
+ "commentStart": 0,
+ "elements": [
+ {
+ "commentStart": 0,
+ "end": 0,
+ "left": {
+ "argument": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "bendRadius",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "operator": "-",
+ "start": 0,
+ "type": "UnaryExpression",
+ "type": "UnaryExpression"
+ },
+ "moduleId": 0,
+ "operator": "*",
+ "right": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "raw": "3",
+ "start": 0,
+ "type": "Literal",
+ "type": "Literal",
+ "value": {
+ "value": 3.0,
+ "suffix": "None"
+ }
+ },
+ "start": 0,
+ "type": "BinaryExpression",
+ "type": "BinaryExpression"
+ },
+ {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "tubeDiameter",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ ],
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "ArrayExpression",
+ "type": "ArrayExpression"
+ }
+ }
+ ],
"callee": {
"abs_path": false,
"commentStart": 0,
@@ -2842,7 +3141,7 @@ description: Result of parsing cold-plate.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "startSketchOn",
+ "name": "startProfile",
"start": 0,
"type": "Identifier"
},
@@ -2857,82 +3156,22 @@ description: Result of parsing cold-plate.kcl
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
- "arguments": [
- {
- "type": "LabeledArg",
- "label": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "offset",
- "start": 0,
- "type": "Identifier"
- },
- "arg": {
- "argument": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "7.35",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 7.35,
- "suffix": "None"
- }
- },
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "operator": "-",
- "start": 0,
- "type": "UnaryExpression",
- "type": "UnaryExpression"
- }
- }
- ],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "offsetPlane",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "YZ",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
+ "name": "tubeWallSketch",
"start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
}
},
{
@@ -3488,56 +3727,80 @@ description: Result of parsing cold-plate.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "brazedCap",
+ "name": "brazedCapSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "YZ",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "YZ",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "brazedCap",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -3619,7 +3882,24 @@ description: Result of parsing cold-plate.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "brazedCapSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
diff --git a/rust/kcl-lib/tests/kcl_samples/cold-plate/ops.snap b/rust/kcl-lib/tests/kcl_samples/cold-plate/ops.snap
index 90e47e7a745..48f4c454b8a 100644
--- a/rust/kcl-lib/tests/kcl_samples/cold-plate/ops.snap
+++ b/rust/kcl-lib/tests/kcl_samples/cold-plate/ops.snap
@@ -125,10 +125,6 @@ description: Operations executed cold-plate.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -222,7 +218,7 @@ description: Operations executed cold-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 3
+ "index": 4
},
{
"type": "VariableDeclarationDeclaration"
@@ -232,7 +228,7 @@ description: Operations executed cold-plate.kcl
},
{
"type": "PipeBodyItem",
- "index": 16
+ "index": 15
}
]
},
@@ -279,7 +275,7 @@ description: Operations executed cold-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 3
+ "index": 4
},
{
"type": "VariableDeclarationDeclaration"
@@ -289,7 +285,7 @@ description: Operations executed cold-plate.kcl
},
{
"type": "PipeBodyItem",
- "index": 18
+ "index": 17
}
]
},
@@ -327,7 +323,7 @@ description: Operations executed cold-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 4
+ "index": 5
},
{
"type": "VariableDeclarationDeclaration"
@@ -335,10 +331,6 @@ description: Operations executed cold-plate.kcl
{
"type": "VariableDeclarationInit"
},
- {
- "type": "PipeBodyItem",
- "index": 0
- },
{
"type": "CallKwUnlabeledArg"
}
@@ -361,17 +353,13 @@ description: Operations executed cold-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 4
+ "index": 5
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -409,7 +397,7 @@ description: Operations executed cold-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 5
+ "index": 7
},
{
"type": "VariableDeclarationDeclaration"
@@ -417,10 +405,6 @@ description: Operations executed cold-plate.kcl
{
"type": "VariableDeclarationInit"
},
- {
- "type": "PipeBodyItem",
- "index": 0
- },
{
"type": "CallKwUnlabeledArg"
}
@@ -443,17 +427,13 @@ description: Operations executed cold-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 5
+ "index": 7
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -486,7 +466,7 @@ description: Operations executed cold-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 5
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -529,7 +509,7 @@ description: Operations executed cold-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 5
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -570,7 +550,7 @@ description: Operations executed cold-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 5
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -601,17 +581,13 @@ description: Operations executed cold-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 9
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -658,7 +634,7 @@ description: Operations executed cold-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -668,7 +644,7 @@ description: Operations executed cold-plate.kcl
},
{
"type": "PipeBodyItem",
- "index": 7
+ "index": 6
}
]
},
@@ -766,7 +742,7 @@ description: Operations executed cold-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -776,7 +752,7 @@ description: Operations executed cold-plate.kcl
},
{
"type": "PipeBodyItem",
- "index": 8
+ "index": 7
}
]
},
@@ -830,7 +806,7 @@ description: Operations executed cold-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -840,7 +816,7 @@ description: Operations executed cold-plate.kcl
},
{
"type": "PipeBodyItem",
- "index": 9
+ "index": 8
}
]
},
diff --git a/rust/kcl-lib/tests/kcl_samples/cold-plate/program_memory.snap b/rust/kcl-lib/tests/kcl_samples/cold-plate/program_memory.snap
index ef90809f39a..2af91c6caa8 100644
--- a/rust/kcl-lib/tests/kcl_samples/cold-plate/program_memory.snap
+++ b/rust/kcl-lib/tests/kcl_samples/cold-plate/program_memory.snap
@@ -945,6 +945,46 @@ description: Variables in memory after executing cold-plate.kcl
}
]
},
+ "brazedCapSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "YZ",
+ "xAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"coldPlate": {
"type": "Solid",
"value": {
@@ -1047,10 +1087,10 @@ description: Variables in memory after executing cold-plate.kcl
1.25
],
"tag": {
- "commentStart": 856,
- "end": 862,
+ "commentStart": 886,
+ "end": 892,
"moduleId": 0,
- "start": 856,
+ "start": 886,
"type": "TagDeclarator",
"value": "seg07"
},
@@ -1073,10 +1113,10 @@ description: Variables in memory after executing cold-plate.kcl
1.25
],
"tag": {
- "commentStart": 905,
- "end": 911,
+ "commentStart": 935,
+ "end": 941,
"moduleId": 0,
- "start": 905,
+ "start": 935,
"type": "TagDeclarator",
"value": "seg09"
},
@@ -1123,10 +1163,10 @@ description: Variables in memory after executing cold-plate.kcl
0.625
],
"tag": {
- "commentStart": 1012,
- "end": 1018,
+ "commentStart": 1042,
+ "end": 1048,
"moduleId": 0,
- "start": 1012,
+ "start": 1042,
"type": "TagDeclarator",
"value": "seg08"
},
@@ -1192,10 +1232,10 @@ description: Variables in memory after executing cold-plate.kcl
1.047006236503076
],
"tag": {
- "commentStart": 1189,
- "end": 1195,
+ "commentStart": 1219,
+ "end": 1225,
"moduleId": 0,
- "start": 1189,
+ "start": 1219,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -1374,6 +1414,46 @@ description: Variables in memory after executing cold-plate.kcl
"sectional": false
}
},
+ "coldPlateSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "YZ",
+ "xAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"copperTubePath": {
"type": "Sketch",
"value": {
@@ -1390,10 +1470,10 @@ description: Variables in memory after executing cold-plate.kcl
-3.0
],
"tag": {
- "commentStart": 1594,
- "end": 1600,
+ "commentStart": 1656,
+ "end": 1662,
"moduleId": 0,
- "start": 1594,
+ "start": 1656,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -1421,10 +1501,10 @@ description: Variables in memory after executing cold-plate.kcl
-3.0
],
"tag": {
- "commentStart": 1661,
- "end": 1667,
+ "commentStart": 1723,
+ "end": 1729,
"moduleId": 0,
- "start": 1661,
+ "start": 1723,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -1447,10 +1527,10 @@ description: Variables in memory after executing cold-plate.kcl
-1.0
],
"tag": {
- "commentStart": 1736,
- "end": 1742,
+ "commentStart": 1798,
+ "end": 1804,
"moduleId": 0,
- "start": 1736,
+ "start": 1798,
"type": "TagDeclarator",
"value": "seg06"
},
@@ -1478,10 +1558,10 @@ description: Variables in memory after executing cold-plate.kcl
-0.9999999999999984
],
"tag": {
- "commentStart": 1804,
- "end": 1810,
+ "commentStart": 1866,
+ "end": 1872,
"moduleId": 0,
- "start": 1804,
+ "start": 1866,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -1528,10 +1608,10 @@ description: Variables in memory after executing cold-plate.kcl
0.9999999999999998
],
"tag": {
- "commentStart": 1940,
- "end": 1946,
+ "commentStart": 2002,
+ "end": 2008,
"moduleId": 0,
- "start": 1940,
+ "start": 2002,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -1649,6 +1729,46 @@ description: Variables in memory after executing cold-plate.kcl
}
}
},
+ "copperTubeSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 15.875,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"seg01": {
"type": "TagIdentifier",
"type": "TagIdentifier",
@@ -1850,6 +1970,46 @@ description: Variables in memory after executing cold-plate.kcl
"sectional": false
}
},
+ "tubeWallSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": -186.68999999999997,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "Custom",
+ "xAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"wallThickness": {
"type": "Number",
"value": 0.08,
diff --git a/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/artifact_graph_flowchart.snap.md
index f63bc60617c..dcc82779955 100644
--- a/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/artifact_graph_flowchart.snap.md
@@ -1,142 +1,142 @@
```mermaid
flowchart LR
subgraph path2 [Path]
- 2["Path
[757, 811, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 3["Segment
[817, 889, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 4["Segment
[895, 998, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 5["Segment
[1004, 1121, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 6["Segment
[1127, 1212, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 7["Segment
[1218, 1225, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 2["Path
[767, 834, 0]"]
+ %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 3["Segment
[840, 912, 0]"]
+ %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 4["Segment
[918, 1021, 0]"]
+ %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 5["Segment
[1027, 1144, 0]"]
+ %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 6["Segment
[1150, 1235, 0]"]
+ %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 7["Segment
[1241, 1248, 0]"]
+ %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
8[Solid2d]
end
subgraph path9 [Path]
- 9["Path
[1249, 1304, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }, CallKwArg { index: 0 }]
- 10["Segment
[1249, 1304, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }, CallKwArg { index: 0 }]
+ 9["Path
[1272, 1327, 0]"]
+ %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }, CallKwArg { index: 0 }]
+ 10["Segment
[1272, 1327, 0]"]
+ %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }, CallKwArg { index: 0 }]
11[Solid2d]
end
subgraph path34 [Path]
- 34["Path
[1995, 2059, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 35["Segment
[1995, 2059, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 34["Path
[2019, 2083, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 35["Segment
[2019, 2083, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
36[Solid2d]
end
subgraph path42 [Path]
- 42["Path
[2159, 2230, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 43["Segment
[2159, 2230, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 42["Path
[2183, 2254, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 43["Segment
[2183, 2254, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
44[Solid2d]
end
subgraph path50 [Path]
- 50["Path
[1995, 2059, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 51["Segment
[1995, 2059, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 50["Path
[2019, 2083, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 51["Segment
[2019, 2083, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
52[Solid2d]
end
subgraph path58 [Path]
- 58["Path
[2159, 2230, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 59["Segment
[2159, 2230, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 58["Path
[2183, 2254, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 59["Segment
[2183, 2254, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
60[Solid2d]
end
subgraph path66 [Path]
- 66["Path
[1995, 2059, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 67["Segment
[1995, 2059, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 66["Path
[2019, 2083, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 67["Segment
[2019, 2083, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
68[Solid2d]
end
subgraph path74 [Path]
- 74["Path
[2159, 2230, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 75["Segment
[2159, 2230, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 74["Path
[2183, 2254, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 75["Segment
[2183, 2254, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
76[Solid2d]
end
subgraph path82 [Path]
- 82["Path
[1995, 2059, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 83["Segment
[1995, 2059, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 82["Path
[2019, 2083, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 83["Segment
[2019, 2083, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
84[Solid2d]
end
subgraph path90 [Path]
- 90["Path
[2159, 2230, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 91["Segment
[2159, 2230, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 90["Path
[2183, 2254, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 91["Segment
[2183, 2254, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
92[Solid2d]
end
subgraph path99 [Path]
- 99["Path
[2643, 2684, 0]"]
- %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 100["Segment
[2643, 2684, 0]"]
- %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 99["Path
[2667, 2708, 0]"]
+ %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 100["Segment
[2667, 2708, 0]"]
+ %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
101[Solid2d]
end
subgraph path109 [Path]
- 109["Path
[2840, 2911, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 110["Segment
[2840, 2911, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 109["Path
[2864, 2935, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 110["Segment
[2864, 2935, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
111[Solid2d]
end
subgraph path112 [Path]
- 112["Path
[2935, 2990, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
- 113["Segment
[2935, 2990, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 112["Path
[2959, 3014, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 113["Segment
[2959, 3014, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
114[Solid2d]
end
subgraph path126 [Path]
- 126["Path
[3369, 3470, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 127["Segment
[3478, 3575, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 128["Segment
[3583, 3603, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 129["Segment
[3611, 3717, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 130["Segment
[3725, 3746, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 131["Segment
[3754, 3810, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 132["Segment
[3818, 3825, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 126["Path
[3393, 3494, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 127["Segment
[3502, 3599, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 128["Segment
[3607, 3627, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 129["Segment
[3635, 3741, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 130["Segment
[3749, 3770, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 131["Segment
[3778, 3834, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 132["Segment
[3842, 3849, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
133[Solid2d]
end
subgraph path153 [Path]
- 153["Path
[3369, 3470, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 154["Segment
[3478, 3575, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 155["Segment
[3583, 3603, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 156["Segment
[3611, 3717, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 157["Segment
[3725, 3746, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 158["Segment
[3754, 3810, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 159["Segment
[3818, 3825, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 153["Path
[3393, 3494, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 154["Segment
[3502, 3599, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 155["Segment
[3607, 3627, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 156["Segment
[3635, 3741, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 157["Segment
[3749, 3770, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 158["Segment
[3778, 3834, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 159["Segment
[3842, 3849, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
160[Solid2d]
end
1["Plane
[734, 751, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 12["Sweep Extrusion
[1318, 1363, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 12["Sweep Extrusion
[1341, 1387, 0]"]
+ %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
13[Wall]
%% face_code_ref=Missing NodePath
14[Wall]
@@ -150,7 +150,7 @@ flowchart LR
18["Cap Start"]
%% face_code_ref=Missing NodePath
19["Cap End"]
- %% face_code_ref=[ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ %% face_code_ref=[ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
20["SweepEdge Opposite"]
21["SweepEdge Adjacent"]
22["SweepEdge Opposite"]
@@ -161,82 +161,82 @@ flowchart LR
27["SweepEdge Adjacent"]
28["SweepEdge Opposite"]
29["SweepEdge Adjacent"]
- 30["EdgeCut Chamfer
[1369, 1651, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 31["EdgeCut Chamfer
[1369, 1651, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 32["EdgeCut Chamfer
[1369, 1651, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 33["EdgeCut Chamfer
[1369, 1651, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 37["Sweep Extrusion
[2067, 2103, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 30["EdgeCut Chamfer
[1393, 1675, 0]"]
+ %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 31["EdgeCut Chamfer
[1393, 1675, 0]"]
+ %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 32["EdgeCut Chamfer
[1393, 1675, 0]"]
+ %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 33["EdgeCut Chamfer
[1393, 1675, 0]"]
+ %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 37["Sweep Extrusion
[2091, 2127, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
38[Wall]
%% face_code_ref=Missing NodePath
39["Cap Start"]
- %% face_code_ref=[ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ %% face_code_ref=[ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
40["SweepEdge Opposite"]
41["SweepEdge Adjacent"]
- 45["Sweep Extrusion
[2238, 2291, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 45["Sweep Extrusion
[2262, 2315, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
46[Wall]
%% face_code_ref=Missing NodePath
47["SweepEdge Opposite"]
48["SweepEdge Adjacent"]
- 49["EdgeCut Chamfer
[2360, 2446, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 53["Sweep Extrusion
[2067, 2103, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 49["EdgeCut Chamfer
[2384, 2470, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 53["Sweep Extrusion
[2091, 2127, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
54[Wall]
%% face_code_ref=Missing NodePath
55["Cap Start"]
- %% face_code_ref=[ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ %% face_code_ref=[ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
56["SweepEdge Opposite"]
57["SweepEdge Adjacent"]
- 61["Sweep Extrusion
[2238, 2291, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 61["Sweep Extrusion
[2262, 2315, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
62[Wall]
%% face_code_ref=Missing NodePath
63["SweepEdge Opposite"]
64["SweepEdge Adjacent"]
- 65["EdgeCut Chamfer
[2360, 2446, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 69["Sweep Extrusion
[2067, 2103, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 65["EdgeCut Chamfer
[2384, 2470, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 69["Sweep Extrusion
[2091, 2127, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
70[Wall]
%% face_code_ref=Missing NodePath
71["Cap Start"]
- %% face_code_ref=[ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ %% face_code_ref=[ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
72["SweepEdge Opposite"]
73["SweepEdge Adjacent"]
- 77["Sweep Extrusion
[2238, 2291, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 77["Sweep Extrusion
[2262, 2315, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
78[Wall]
%% face_code_ref=Missing NodePath
79["SweepEdge Opposite"]
80["SweepEdge Adjacent"]
- 81["EdgeCut Chamfer
[2360, 2446, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 85["Sweep Extrusion
[2067, 2103, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 81["EdgeCut Chamfer
[2384, 2470, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 85["Sweep Extrusion
[2091, 2127, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
86[Wall]
%% face_code_ref=Missing NodePath
87["Cap Start"]
- %% face_code_ref=[ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ %% face_code_ref=[ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
88["SweepEdge Opposite"]
89["SweepEdge Adjacent"]
- 93["Sweep Extrusion
[2238, 2291, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 93["Sweep Extrusion
[2262, 2315, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
94[Wall]
%% face_code_ref=Missing NodePath
95["SweepEdge Opposite"]
96["SweepEdge Adjacent"]
- 97["EdgeCut Chamfer
[2360, 2446, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 98["Plane
[2620, 2637, 0]"]
- %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 102["Sweep Extrusion
[2690, 2711, 0]"]
- %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 97["EdgeCut Chamfer
[2384, 2470, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 98["Plane
[2644, 2661, 0]"]
+ %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 102["Sweep Extrusion
[2714, 2735, 0]"]
+ %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
103[Wall]
%% face_code_ref=Missing NodePath
104["Cap Start"]
@@ -245,10 +245,10 @@ flowchart LR
%% face_code_ref=Missing NodePath
106["SweepEdge Opposite"]
107["SweepEdge Adjacent"]
- 108["Plane
[2793, 2833, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
- 115["Sweep Extrusion
[2997, 3025, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 108["Plane
[2817, 2857, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
+ 115["Sweep Extrusion
[3021, 3049, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
116[Wall]
%% face_code_ref=Missing NodePath
117[Wall]
@@ -261,12 +261,12 @@ flowchart LR
121["SweepEdge Adjacent"]
122["SweepEdge Opposite"]
123["SweepEdge Adjacent"]
- 124["CompositeSolid Subtract
[3031, 3058, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 125["Plane
[3337, 3361, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 134["Sweep Extrusion
[3833, 3882, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
+ 124["CompositeSolid Subtract
[3055, 3082, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 125["Plane
[3361, 3385, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 134["Sweep Extrusion
[3857, 3906, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
135[Wall]
%% face_code_ref=Missing NodePath
136[Wall]
@@ -291,10 +291,10 @@ flowchart LR
149["SweepEdge Adjacent"]
150["SweepEdge Opposite"]
151["SweepEdge Adjacent"]
- 152["Plane
[3337, 3361, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 161["Sweep Extrusion
[3833, 3882, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
+ 152["Plane
[3361, 3385, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 161["Sweep Extrusion
[3857, 3906, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
162[Wall]
%% face_code_ref=Missing NodePath
163[Wall]
@@ -319,24 +319,24 @@ flowchart LR
176["SweepEdge Adjacent"]
177["SweepEdge Opposite"]
178["SweepEdge Adjacent"]
- 179["StartSketchOnFace
[1951, 1987, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 180["StartSketchOnFace
[2115, 2151, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 181["StartSketchOnFace
[1951, 1987, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 182["StartSketchOnFace
[2115, 2151, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 183["StartSketchOnFace
[1951, 1987, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 184["StartSketchOnFace
[2115, 2151, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 185["StartSketchOnFace
[1951, 1987, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 186["StartSketchOnFace
[2115, 2151, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 187["StartSketchOnPlane
[2779, 2834, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 179["StartSketchOnFace
[1975, 2011, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 180["StartSketchOnFace
[2139, 2175, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 181["StartSketchOnFace
[1975, 2011, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 182["StartSketchOnFace
[2139, 2175, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 183["StartSketchOnFace
[1975, 2011, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 184["StartSketchOnFace
[2139, 2175, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 185["StartSketchOnFace
[1975, 2011, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 186["StartSketchOnFace
[2139, 2175, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 187["StartSketchOnPlane
[2803, 2858, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
1 --- 2
1 --- 9
2 --- 3
diff --git a/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/ast.snap b/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/ast.snap
index f6fc8571f44..281f8553f87 100644
--- a/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/ast.snap
+++ b/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/ast.snap
@@ -652,51 +652,80 @@ description: Result of parsing counterdrilled-weldment.kcl
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XY",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XY",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Draw the base plate"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "plateProfile",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -842,7 +871,24 @@ description: Result of parsing counterdrilled-weldment.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "plateSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -1610,11 +1656,6 @@ description: Result of parsing counterdrilled-weldment.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Draw the base plate"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -1698,7 +1739,7 @@ description: Result of parsing counterdrilled-weldment.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "plateSketch",
+ "name": "plateProfile",
"start": 0,
"type": "Identifier"
},
diff --git a/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/ops.snap b/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/ops.snap
index 0d821341fd4..a4c2e8d6440 100644
--- a/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/ops.snap
+++ b/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/ops.snap
@@ -389,10 +389,6 @@ description: Operations executed counterdrilled-weldment.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -425,7 +421,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 11
+ "index": 12
},
{
"type": "VariableDeclarationDeclaration"
@@ -435,7 +431,7 @@ description: Operations executed counterdrilled-weldment.kcl
},
{
"type": "PipeBodyItem",
- "index": 7
+ "index": 6
}
]
},
@@ -475,7 +471,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 12
+ "index": 13
},
{
"type": "VariableDeclarationDeclaration"
@@ -549,7 +545,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 12
+ "index": 13
},
{
"type": "VariableDeclarationDeclaration"
@@ -611,7 +607,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 15
+ "index": 16
},
{
"type": "ExpressionStatementExpr"
@@ -645,7 +641,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -708,7 +704,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -762,7 +758,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -825,7 +821,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -901,7 +897,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -979,7 +975,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 15
+ "index": 16
},
{
"type": "ExpressionStatementExpr"
@@ -1013,7 +1009,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -1076,7 +1072,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -1130,7 +1126,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -1193,7 +1189,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -1269,7 +1265,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -1347,7 +1343,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 15
+ "index": 16
},
{
"type": "ExpressionStatementExpr"
@@ -1381,7 +1377,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -1444,7 +1440,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -1498,7 +1494,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -1561,7 +1557,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -1637,7 +1633,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -1715,7 +1711,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 15
+ "index": 16
},
{
"type": "ExpressionStatementExpr"
@@ -1749,7 +1745,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -1812,7 +1808,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -1866,7 +1862,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -1929,7 +1925,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -2005,7 +2001,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -2052,7 +2048,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 16
+ "index": 17
},
{
"type": "VariableDeclarationDeclaration"
@@ -2102,7 +2098,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 16
+ "index": 17
},
{
"type": "VariableDeclarationDeclaration"
@@ -2150,7 +2146,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 17
+ "index": 18
},
{
"type": "VariableDeclarationDeclaration"
@@ -2184,7 +2180,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 17
+ "index": 18
},
{
"type": "VariableDeclarationDeclaration"
@@ -2227,7 +2223,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 17
+ "index": 18
},
{
"type": "VariableDeclarationDeclaration"
@@ -2277,7 +2273,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 17
+ "index": 18
},
{
"type": "VariableDeclarationDeclaration"
@@ -2325,7 +2321,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 17
+ "index": 18
},
{
"type": "VariableDeclarationDeclaration"
@@ -2369,7 +2365,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 19
+ "index": 20
},
{
"type": "ExpressionStatementExpr"
@@ -2393,7 +2389,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 18
+ "index": 19
},
{
"type": "VariableDeclarationDeclaration"
@@ -2463,7 +2459,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 18
+ "index": 19
},
{
"type": "VariableDeclarationDeclaration"
@@ -2634,7 +2630,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 18
+ "index": 19
},
{
"type": "VariableDeclarationDeclaration"
@@ -2690,7 +2686,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 20
+ "index": 21
},
{
"type": "ExpressionStatementExpr"
@@ -2714,7 +2710,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 18
+ "index": 19
},
{
"type": "VariableDeclarationDeclaration"
@@ -2784,7 +2780,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 18
+ "index": 19
},
{
"type": "VariableDeclarationDeclaration"
@@ -2955,7 +2951,7 @@ description: Operations executed counterdrilled-weldment.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 18
+ "index": 19
},
{
"type": "VariableDeclarationDeclaration"
diff --git a/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/program_memory.snap b/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/program_memory.snap
index e1adf21a178..59f91262cde 100644
--- a/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/program_memory.snap
+++ b/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/program_memory.snap
@@ -509,10 +509,10 @@ description: Variables in memory after executing counterdrilled-weldment.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 867,
- "end": 888,
+ "commentStart": 890,
+ "end": 911,
"moduleId": 0,
- "start": 867,
+ "start": 890,
"type": "TagDeclarator",
"value": "rectangleSegmentA001"
},
@@ -523,10 +523,10 @@ description: Variables in memory after executing counterdrilled-weldment.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 976,
- "end": 997,
+ "commentStart": 999,
+ "end": 1020,
"moduleId": 0,
- "start": 976,
+ "start": 999,
"type": "TagDeclarator",
"value": "rectangleSegmentB001"
},
@@ -537,10 +537,10 @@ description: Variables in memory after executing counterdrilled-weldment.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 1099,
- "end": 1120,
+ "commentStart": 1122,
+ "end": 1143,
"moduleId": 0,
- "start": 1099,
+ "start": 1122,
"type": "TagDeclarator",
"value": "rectangleSegmentC001"
},
@@ -551,10 +551,10 @@ description: Variables in memory after executing counterdrilled-weldment.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 1190,
- "end": 1211,
+ "commentStart": 1213,
+ "end": 1234,
"moduleId": 0,
- "start": 1190,
+ "start": 1213,
"type": "TagDeclarator",
"value": "rectangleSegmentD001"
},
@@ -582,10 +582,10 @@ description: Variables in memory after executing counterdrilled-weldment.kcl
-2.25
],
"tag": {
- "commentStart": 867,
- "end": 888,
+ "commentStart": 890,
+ "end": 911,
"moduleId": 0,
- "start": 867,
+ "start": 890,
"type": "TagDeclarator",
"value": "rectangleSegmentA001"
},
@@ -608,10 +608,10 @@ description: Variables in memory after executing counterdrilled-weldment.kcl
-2.25
],
"tag": {
- "commentStart": 976,
- "end": 997,
+ "commentStart": 999,
+ "end": 1020,
"moduleId": 0,
- "start": 976,
+ "start": 999,
"type": "TagDeclarator",
"value": "rectangleSegmentB001"
},
@@ -634,10 +634,10 @@ description: Variables in memory after executing counterdrilled-weldment.kcl
2.25
],
"tag": {
- "commentStart": 1099,
- "end": 1120,
+ "commentStart": 1122,
+ "end": 1143,
"moduleId": 0,
- "start": 1099,
+ "start": 1122,
"type": "TagDeclarator",
"value": "rectangleSegmentC001"
},
@@ -660,10 +660,10 @@ description: Variables in memory after executing counterdrilled-weldment.kcl
2.25
],
"tag": {
- "commentStart": 1190,
- "end": 1211,
+ "commentStart": 1213,
+ "end": 1234,
"moduleId": 0,
- "start": 1190,
+ "start": 1213,
"type": "TagDeclarator",
"value": "rectangleSegmentD001"
},
@@ -886,7 +886,7 @@ description: Variables in memory after executing counterdrilled-weldment.kcl
"sectional": false
}
},
- "plateSketch": {
+ "plateProfile": {
"type": "Sketch",
"value": {
"type": "Sketch",
@@ -902,10 +902,10 @@ description: Variables in memory after executing counterdrilled-weldment.kcl
-2.25
],
"tag": {
- "commentStart": 867,
- "end": 888,
+ "commentStart": 890,
+ "end": 911,
"moduleId": 0,
- "start": 867,
+ "start": 890,
"type": "TagDeclarator",
"value": "rectangleSegmentA001"
},
@@ -928,10 +928,10 @@ description: Variables in memory after executing counterdrilled-weldment.kcl
-2.25
],
"tag": {
- "commentStart": 976,
- "end": 997,
+ "commentStart": 999,
+ "end": 1020,
"moduleId": 0,
- "start": 976,
+ "start": 999,
"type": "TagDeclarator",
"value": "rectangleSegmentB001"
},
@@ -954,10 +954,10 @@ description: Variables in memory after executing counterdrilled-weldment.kcl
2.25
],
"tag": {
- "commentStart": 1099,
- "end": 1120,
+ "commentStart": 1122,
+ "end": 1143,
"moduleId": 0,
- "start": 1099,
+ "start": 1122,
"type": "TagDeclarator",
"value": "rectangleSegmentC001"
},
@@ -980,10 +980,10 @@ description: Variables in memory after executing counterdrilled-weldment.kcl
2.25
],
"tag": {
- "commentStart": 1190,
- "end": 1211,
+ "commentStart": 1213,
+ "end": 1234,
"moduleId": 0,
- "start": 1190,
+ "start": 1213,
"type": "TagDeclarator",
"value": "rectangleSegmentD001"
},
@@ -1124,6 +1124,46 @@ description: Variables in memory after executing counterdrilled-weldment.kcl
}
}
},
+ "plateSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"rectangleSegmentA001": {
"type": "TagIdentifier",
"type": "TagIdentifier",
diff --git a/rust/kcl-lib/tests/kcl_samples/countersunk-plate/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/countersunk-plate/artifact_graph_flowchart.snap.md
index 169b34b7fc3..f3cff9af2c8 100644
--- a/rust/kcl-lib/tests/kcl_samples/countersunk-plate/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/countersunk-plate/artifact_graph_flowchart.snap.md
@@ -1,53 +1,53 @@
```mermaid
flowchart LR
subgraph path2 [Path]
- 2["Path
[812, 876, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 3["Segment
[882, 939, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 4["Segment
[945, 1004, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 5["Segment
[1010, 1067, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 6["Segment
[1073, 1126, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 7["Segment
[1132, 1190, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 8["Segment
[1196, 1255, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 9["Segment
[1261, 1317, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 10["Segment
[1323, 1388, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
- 11["Segment
[1394, 1401, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
+ 2["Path
[819, 896, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 3["Segment
[902, 959, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 4["Segment
[965, 1024, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 5["Segment
[1030, 1087, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 6["Segment
[1093, 1146, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 7["Segment
[1152, 1210, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 8["Segment
[1216, 1275, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 9["Segment
[1281, 1337, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 10["Segment
[1343, 1408, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
+ 11["Segment
[1414, 1421, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
12[Solid2d]
end
subgraph path13 [Path]
- 13["Path
[1425, 1487, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }, CallKwArg { index: 0 }]
- 14["Segment
[1425, 1487, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }, CallKwArg { index: 0 }]
+ 13["Path
[1445, 1507, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }, CallKwArg { index: 0 }]
+ 14["Segment
[1445, 1507, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }, CallKwArg { index: 0 }]
15[Solid2d]
end
subgraph path46 [Path]
- 46["Path
[1647, 1723, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
- 47["Segment
[1647, 1723, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
+ 46["Path
[1667, 1743, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
+ 47["Segment
[1667, 1743, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
48[Solid2d]
end
subgraph path54 [Path]
- 54["Path
[1647, 1723, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
- 55["Segment
[1647, 1723, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
+ 54["Path
[1667, 1743, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
+ 55["Segment
[1667, 1743, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
56[Solid2d]
end
- 1["Plane
[700, 717, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 16["Sweep Extrusion
[1494, 1526, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
+ 1["Plane
[702, 719, 0]"]
+ %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 16["Sweep Extrusion
[1514, 1546, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
17[Wall]
%% face_code_ref=Missing NodePath
18[Wall]
@@ -69,7 +69,7 @@ flowchart LR
26["Cap Start"]
%% face_code_ref=Missing NodePath
27["Cap End"]
- %% face_code_ref=[ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
+ %% face_code_ref=[ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
28["SweepEdge Opposite"]
29["SweepEdge Adjacent"]
30["SweepEdge Opposite"]
@@ -88,26 +88,26 @@ flowchart LR
43["SweepEdge Adjacent"]
44["SweepEdge Opposite"]
45["SweepEdge Adjacent"]
- 49["Sweep Extrusion
[1731, 1764, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 2 }]
+ 49["Sweep Extrusion
[1751, 1784, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 2 }]
50[Wall]
%% face_code_ref=Missing NodePath
51["SweepEdge Opposite"]
52["SweepEdge Adjacent"]
- 53["EdgeCut Chamfer
[1827, 1874, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 3 }]
- 57["Sweep Extrusion
[1731, 1764, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 2 }]
+ 53["EdgeCut Chamfer
[1847, 1894, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 3 }]
+ 57["Sweep Extrusion
[1751, 1784, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 2 }]
58[Wall]
%% face_code_ref=Missing NodePath
59["SweepEdge Opposite"]
60["SweepEdge Adjacent"]
- 61["EdgeCut Chamfer
[1827, 1874, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 3 }]
- 62["StartSketchOnFace
[1603, 1639, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
- 63["StartSketchOnFace
[1603, 1639, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
+ 61["EdgeCut Chamfer
[1847, 1894, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 3 }]
+ 62["StartSketchOnFace
[1623, 1659, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
+ 63["StartSketchOnFace
[1623, 1659, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
1 --- 2
1 --- 13
2 --- 3
diff --git a/rust/kcl-lib/tests/kcl_samples/countersunk-plate/ast.snap b/rust/kcl-lib/tests/kcl_samples/countersunk-plate/ast.snap
index 9ce5f693f38..f0612e0e17b 100644
--- a/rust/kcl-lib/tests/kcl_samples/countersunk-plate/ast.snap
+++ b/rust/kcl-lib/tests/kcl_samples/countersunk-plate/ast.snap
@@ -742,56 +742,80 @@ description: Result of parsing countersunk-plate.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "plateBody",
+ "name": "plateSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XY",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XY",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "plateBody",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -937,7 +961,24 @@ description: Result of parsing countersunk-plate.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "plateSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -2090,21 +2131,7 @@ description: Result of parsing countersunk-plate.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "0": [
- {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "NonCodeNode",
- "value": {
- "type": "blockComment",
- "value": "Use polar coordinates to start the sketch at the tangent point of the larger radius",
- "style": "line"
- }
- }
- ],
- "12": [
+ "11": [
{
"commentStart": 0,
"end": 0,
@@ -2132,6 +2159,9 @@ description: Result of parsing countersunk-plate.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
+ "preComments": [
+ "// Use polar coordinates to start the sketch at the tangent point of the larger radius"
+ ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
diff --git a/rust/kcl-lib/tests/kcl_samples/countersunk-plate/ops.snap b/rust/kcl-lib/tests/kcl_samples/countersunk-plate/ops.snap
index 49806438a37..63261e45d4b 100644
--- a/rust/kcl-lib/tests/kcl_samples/countersunk-plate/ops.snap
+++ b/rust/kcl-lib/tests/kcl_samples/countersunk-plate/ops.snap
@@ -319,10 +319,6 @@ description: Operations executed countersunk-plate.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -370,7 +366,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -380,7 +376,7 @@ description: Operations executed countersunk-plate.kcl
},
{
"type": "PipeBodyItem",
- "index": 1
+ "index": 0
},
{
"type": "CallKwArg",
@@ -464,7 +460,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -474,7 +470,7 @@ description: Operations executed countersunk-plate.kcl
},
{
"type": "PipeBodyItem",
- "index": 11
+ "index": 10
}
]
},
@@ -514,7 +510,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -524,7 +520,7 @@ description: Operations executed countersunk-plate.kcl
},
{
"type": "PipeBodyItem",
- "index": 12
+ "index": 11
}
]
},
@@ -558,7 +554,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 11
+ "index": 12
},
{
"type": "ExpressionStatementExpr"
@@ -592,7 +588,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 10
+ "index": 11
},
{
"type": "VariableDeclarationDeclaration"
@@ -652,7 +648,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 10
+ "index": 11
},
{
"type": "VariableDeclarationDeclaration"
@@ -725,7 +721,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 10
+ "index": 11
},
{
"type": "VariableDeclarationDeclaration"
@@ -782,7 +778,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 12
+ "index": 13
},
{
"type": "ExpressionStatementExpr"
@@ -816,7 +812,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 10
+ "index": 11
},
{
"type": "VariableDeclarationDeclaration"
@@ -876,7 +872,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 10
+ "index": 11
},
{
"type": "VariableDeclarationDeclaration"
@@ -949,7 +945,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 10
+ "index": 11
},
{
"type": "VariableDeclarationDeclaration"
diff --git a/rust/kcl-lib/tests/kcl_samples/countersunk-plate/program_memory.snap b/rust/kcl-lib/tests/kcl_samples/countersunk-plate/program_memory.snap
index 8c0e0bbd861..ae249e62608 100644
--- a/rust/kcl-lib/tests/kcl_samples/countersunk-plate/program_memory.snap
+++ b/rust/kcl-lib/tests/kcl_samples/countersunk-plate/program_memory.snap
@@ -424,6 +424,46 @@ description: Variables in memory after executing countersunk-plate.kcl
"sectional": false
}
},
+ "plateSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"plateThickness": {
"type": "Number",
"value": 0.375,
diff --git a/rust/kcl-lib/tests/kcl_samples/cpu-cooler/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/cpu-cooler/artifact_graph_flowchart.snap.md
index 807b1373afb..3f31fa3af3b 100644
--- a/rust/kcl-lib/tests/kcl_samples/cpu-cooler/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/cpu-cooler/artifact_graph_flowchart.snap.md
@@ -1,110 +1,110 @@
```mermaid
flowchart LR
subgraph path2 [Path]
- 2["Path
[323, 370, 2]"]
- 3["Segment
[376, 444, 2]"]
- 4["Segment
[450, 550, 2]"]
- 5["Segment
[556, 673, 2]"]
- 6["Segment
[679, 764, 2]"]
- 7["Segment
[770, 777, 2]"]
+ 2["Path
[336, 401, 2]"]
+ 3["Segment
[407, 475, 2]"]
+ 4["Segment
[481, 581, 2]"]
+ 5["Segment
[587, 704, 2]"]
+ 6["Segment
[710, 795, 2]"]
+ 7["Segment
[801, 808, 2]"]
8[Solid2d]
end
subgraph path9 [Path]
- 9["Path
[801, 836, 2]"]
- 10["Segment
[801, 836, 2]"]
+ 9["Path
[832, 867, 2]"]
+ 10["Segment
[832, 867, 2]"]
11[Solid2d]
end
subgraph path12 [Path]
- 12["Path
[861, 1008, 2]"]
- 13["Segment
[861, 1008, 2]"]
+ 12["Path
[892, 1039, 2]"]
+ 13["Segment
[892, 1039, 2]"]
14[Solid2d]
end
subgraph path15 [Path]
- 15["Path
[1033, 1181, 2]"]
- 16["Segment
[1033, 1181, 2]"]
+ 15["Path
[1064, 1212, 2]"]
+ 16["Segment
[1064, 1212, 2]"]
17[Solid2d]
end
subgraph path18 [Path]
- 18["Path
[1206, 1354, 2]"]
- 19["Segment
[1206, 1354, 2]"]
+ 18["Path
[1237, 1385, 2]"]
+ 19["Segment
[1237, 1385, 2]"]
20[Solid2d]
end
subgraph path21 [Path]
- 21["Path
[1379, 1528, 2]"]
- 22["Segment
[1379, 1528, 2]"]
+ 21["Path
[1410, 1559, 2]"]
+ 22["Segment
[1410, 1559, 2]"]
23[Solid2d]
end
subgraph path42 [Path]
- 42["Path
[1696, 1752, 2]"]
- 43["Segment
[1758, 1823, 2]"]
- 44["Segment
[1829, 1881, 2]"]
- 45["Segment
[1887, 1938, 2]"]
- 46["Segment
[1944, 1996, 2]"]
- 47["Segment
[2002, 2068, 2]"]
- 48["Segment
[2074, 2126, 2]"]
- 49["Segment
[2132, 2164, 2]"]
- 50["Segment
[2170, 2235, 2]"]
- 51["Segment
[2241, 2248, 2]"]
+ 42["Path
[1726, 1782, 2]"]
+ 43["Segment
[1788, 1853, 2]"]
+ 44["Segment
[1859, 1911, 2]"]
+ 45["Segment
[1917, 1968, 2]"]
+ 46["Segment
[1974, 2026, 2]"]
+ 47["Segment
[2032, 2098, 2]"]
+ 48["Segment
[2104, 2156, 2]"]
+ 49["Segment
[2162, 2194, 2]"]
+ 50["Segment
[2200, 2265, 2]"]
+ 51["Segment
[2271, 2278, 2]"]
52[Solid2d]
end
subgraph path81 [Path]
- 81["Path
[2597, 2710, 2]"]
- 82["Segment
[2716, 2771, 2]"]
- 83["Segment
[2777, 2812, 2]"]
- 84["Segment
[2818, 2873, 2]"]
- 85["Segment
[2879, 2915, 2]"]
- 86["Segment
[2921, 2976, 2]"]
- 87["Segment
[2982, 3018, 2]"]
- 88["Segment
[3024, 3079, 2]"]
- 89["Segment
[3085, 3141, 2]"]
+ 81["Path
[2626, 2739, 2]"]
+ 82["Segment
[2745, 2800, 2]"]
+ 83["Segment
[2806, 2841, 2]"]
+ 84["Segment
[2847, 2902, 2]"]
+ 85["Segment
[2908, 2944, 2]"]
+ 86["Segment
[2950, 3005, 2]"]
+ 87["Segment
[3011, 3047, 2]"]
+ 88["Segment
[3053, 3108, 2]"]
+ 89["Segment
[3114, 3170, 2]"]
end
subgraph path116 [Path]
- 116["Path
[3290, 3341, 2]"]
- 117["Segment
[3290, 3341, 2]"]
+ 116["Path
[3319, 3370, 2]"]
+ 117["Segment
[3319, 3370, 2]"]
118[Solid2d]
end
subgraph path123 [Path]
- 123["Path
[3520, 3582, 2]"]
- 124["Segment
[3588, 3656, 2]"]
- 125["Segment
[3662, 3762, 2]"]
- 126["Segment
[3768, 3885, 2]"]
- 127["Segment
[3891, 3976, 2]"]
- 128["Segment
[3982, 3989, 2]"]
+ 123["Path
[3549, 3611, 2]"]
+ 124["Segment
[3617, 3685, 2]"]
+ 125["Segment
[3691, 3791, 2]"]
+ 126["Segment
[3797, 3914, 2]"]
+ 127["Segment
[3920, 4005, 2]"]
+ 128["Segment
[4011, 4018, 2]"]
129[Solid2d]
end
subgraph path130 [Path]
- 130["Path
[4013, 4064, 2]"]
- 131["Segment
[4013, 4064, 2]"]
+ 130["Path
[4042, 4093, 2]"]
+ 131["Segment
[4042, 4093, 2]"]
132[Solid2d]
end
subgraph path133 [Path]
- 133["Path
[4089, 4236, 2]"]
- 134["Segment
[4089, 4236, 2]"]
+ 133["Path
[4118, 4265, 2]"]
+ 134["Segment
[4118, 4265, 2]"]
135[Solid2d]
end
subgraph path136 [Path]
- 136["Path
[4261, 4409, 2]"]
- 137["Segment
[4261, 4409, 2]"]
+ 136["Path
[4290, 4438, 2]"]
+ 137["Segment
[4290, 4438, 2]"]
138[Solid2d]
end
subgraph path139 [Path]
- 139["Path
[4434, 4582, 2]"]
- 140["Segment
[4434, 4582, 2]"]
+ 139["Path
[4463, 4611, 2]"]
+ 140["Segment
[4463, 4611, 2]"]
141[Solid2d]
end
subgraph path142 [Path]
- 142["Path
[4607, 4756, 2]"]
- 143["Segment
[4607, 4756, 2]"]
+ 142["Path
[4636, 4785, 2]"]
+ 143["Segment
[4636, 4785, 2]"]
144[Solid2d]
end
subgraph path163 [Path]
- 163["Path
[4898, 4936, 2]"]
- 164["Segment
[4898, 4936, 2]"]
+ 163["Path
[4926, 4964, 2]"]
+ 164["Segment
[4926, 4964, 2]"]
165[Solid2d]
end
subgraph path171 [Path]
- 171["Path
[5009, 5045, 2]"]
- 172["Segment
[5009, 5045, 2]"]
+ 171["Path
[5037, 5073, 2]"]
+ 172["Segment
[5037, 5073, 2]"]
173[Solid2d]
end
subgraph path180 [Path]
@@ -314,25 +314,25 @@ flowchart LR
569["Segment
[4048, 4066, 5]"]
end
subgraph path631 [Path]
- 631["Path
[4270, 4298, 5]"]
- 632["Segment
[4304, 4323, 5]"]
- 633["Segment
[4329, 4375, 5]"]
- 634["Segment
[4381, 4432, 5]"]
- 635["Segment
[4438, 4502, 5]"]
- 636["Segment
[4508, 4561, 5]"]
- 637["Segment
[4567, 4634, 5]"]
- 638["Segment
[4640, 4720, 5]"]
- 639["Segment
[4726, 4772, 5]"]
- 640["Segment
[4778, 4841, 5]"]
- 641["Segment
[4847, 4911, 5]"]
- 642["Segment
[4917, 4954, 5]"]
- 643["Segment
[4960, 5030, 5]"]
- 644["Segment
[5036, 5043, 5]"]
+ 631["Path
[4289, 4340, 5]"]
+ 632["Segment
[4346, 4365, 5]"]
+ 633["Segment
[4371, 4417, 5]"]
+ 634["Segment
[4423, 4474, 5]"]
+ 635["Segment
[4480, 4544, 5]"]
+ 636["Segment
[4550, 4603, 5]"]
+ 637["Segment
[4609, 4676, 5]"]
+ 638["Segment
[4682, 4762, 5]"]
+ 639["Segment
[4768, 4814, 5]"]
+ 640["Segment
[4820, 4883, 5]"]
+ 641["Segment
[4889, 4953, 5]"]
+ 642["Segment
[4959, 4996, 5]"]
+ 643["Segment
[5002, 5072, 5]"]
+ 644["Segment
[5078, 5085, 5]"]
645[Solid2d]
end
subgraph path686 [Path]
- 686["Path
[5592, 5649, 5]"]
- 687["Segment
[5592, 5649, 5]"]
+ 686["Path
[5634, 5691, 5]"]
+ 687["Segment
[5634, 5691, 5]"]
688[Solid2d]
end
subgraph path695 [Path]
@@ -398,16 +398,16 @@ flowchart LR
763[Solid2d]
end
subgraph path771 [Path]
- 771["Path
[360, 389, 7]"]
- 772["Segment
[395, 458, 7]"]
- 773["Segment
[464, 559, 7]"]
- 774["Segment
[565, 682, 7]"]
- 775["Segment
[688, 773, 7]"]
- 776["Segment
[779, 786, 7]"]
+ 771["Path
[380, 433, 7]"]
+ 772["Segment
[439, 502, 7]"]
+ 773["Segment
[508, 603, 7]"]
+ 774["Segment
[609, 726, 7]"]
+ 775["Segment
[732, 817, 7]"]
+ 776["Segment
[823, 830, 7]"]
777[Solid2d]
end
1["Plane
[300, 317, 2]"]
- 24["Sweep Extrusion
[1535, 1554, 2]"]
+ 24["Sweep Extrusion
[1566, 1585, 2]"]
25[Wall]
%% face_code_ref=Missing NodePath
26[Wall]
@@ -431,7 +431,7 @@ flowchart LR
39["SweepEdge Adjacent"]
40["SweepEdge Opposite"]
41["SweepEdge Adjacent"]
- 53["Sweep Extrusion
[2388, 2408, 2]"]
+ 53["Sweep Extrusion
[2418, 2438, 2]"]
54[Wall]
%% face_code_ref=Missing NodePath
55[Wall]
@@ -464,10 +464,10 @@ flowchart LR
75["SweepEdge Adjacent"]
76["SweepEdge Opposite"]
77["SweepEdge Adjacent"]
- 78["Sweep Extrusion
[2388, 2408, 2]"]
- 79["Sweep Extrusion
[2388, 2408, 2]"]
- 80["Sweep Extrusion
[2388, 2408, 2]"]
- 90["Sweep Extrusion
[3147, 3182, 2]"]
+ 78["Sweep Extrusion
[2418, 2438, 2]"]
+ 79["Sweep Extrusion
[2418, 2438, 2]"]
+ 80["Sweep Extrusion
[2418, 2438, 2]"]
+ 90["Sweep Extrusion
[3176, 3211, 2]"]
91[Wall]
%% face_code_ref=Missing NodePath
92[Wall]
@@ -501,12 +501,12 @@ flowchart LR
113["SweepEdge Adjacent"]
114["SweepEdge Opposite"]
115["SweepEdge Adjacent"]
- 119["Sweep Extrusion
[3347, 3385, 2]"]
+ 119["Sweep Extrusion
[3376, 3414, 2]"]
120[Wall]
%% face_code_ref=Missing NodePath
121["SweepEdge Opposite"]
122["SweepEdge Adjacent"]
- 145["Sweep Extrusion
[4763, 4782, 2]"]
+ 145["Sweep Extrusion
[4792, 4811, 2]"]
146[Wall]
%% face_code_ref=Missing NodePath
147[Wall]
@@ -531,18 +531,18 @@ flowchart LR
160["SweepEdge Adjacent"]
161["SweepEdge Opposite"]
162["SweepEdge Adjacent"]
- 166["Sweep Extrusion
[4942, 4962, 2]"]
+ 166["Sweep Extrusion
[4970, 4990, 2]"]
167[Wall]
%% face_code_ref=Missing NodePath
168["Cap End"]
169["SweepEdge Opposite"]
170["SweepEdge Adjacent"]
- 174["Sweep Extrusion
[5051, 5072, 2]"]
+ 174["Sweep Extrusion
[5079, 5100, 2]"]
175[Wall]
%% face_code_ref=Missing NodePath
176["SweepEdge Opposite"]
177["SweepEdge Adjacent"]
- 178["EdgeCut Fillet
[5113, 5624, 2]"]
+ 178["EdgeCut Fillet
[5141, 5652, 2]"]
179["Plane
[200, 227, 3]"]
183["Sweep Extrusion
[327, 347, 3]"]
184[Wall]
@@ -914,8 +914,8 @@ flowchart LR
627["SweepEdge Adjacent"]
628["SweepEdge Opposite"]
629["SweepEdge Adjacent"]
- 630["Plane
[4247, 4264, 5]"]
- 646["Sweep Extrusion
[5049, 5169, 5]"]
+ 630["Plane
[4253, 4270, 5]"]
+ 646["Sweep Extrusion
[5091, 5211, 5]"]
647[Wall]
%% face_code_ref=Missing NodePath
648[Wall]
@@ -967,13 +967,13 @@ flowchart LR
682["SweepEdge Adjacent"]
683["SweepEdge Opposite"]
684["SweepEdge Adjacent"]
- 685["EdgeCut Fillet
[5175, 5445, 5]"]
- 689["Sweep Extrusion
[5655, 5688, 5]"]
+ 685["EdgeCut Fillet
[5217, 5487, 5]"]
+ 689["Sweep Extrusion
[5697, 5730, 5]"]
690[Wall]
%% face_code_ref=Missing NodePath
691["SweepEdge Opposite"]
692["SweepEdge Adjacent"]
- 693["EdgeCut Chamfer
[5694, 5823, 5]"]
+ 693["EdgeCut Chamfer
[5736, 5865, 5]"]
694["Plane
[263, 304, 6]"]
706["Plane
[851, 892, 6]"]
718["Plane
[1468, 1510, 6]"]
@@ -1016,8 +1016,8 @@ flowchart LR
%% face_code_ref=Missing NodePath
768["SweepEdge Opposite"]
769["SweepEdge Adjacent"]
- 770["Plane
[336, 354, 7]"]
- 778["Sweep Extrusion
[792, 812, 7]"]
+ 770["Plane
[342, 360, 7]"]
+ 778["Sweep Extrusion
[836, 856, 7]"]
779[Wall]
%% face_code_ref=Missing NodePath
780[Wall]
@@ -1038,16 +1038,16 @@ flowchart LR
790["SweepEdge Adjacent"]
791["SweepEdge Opposite"]
792["SweepEdge Adjacent"]
- 793["EdgeCut Chamfer
[853, 1120, 7]"]
- 794["EdgeCut Chamfer
[853, 1120, 7]"]
- 795["EdgeCut Chamfer
[853, 1120, 7]"]
- 796["EdgeCut Chamfer
[853, 1120, 7]"]
- 797["StartSketchOnFace
[1647, 1690, 2]"]
- 798["StartSketchOnFace
[2548, 2591, 2]"]
- 799["StartSketchOnFace
[3247, 3284, 2]"]
- 800["StartSketchOnFace
[3471, 3508, 2]"]
- 801["StartSketchOnFace
[4849, 4892, 2]"]
- 802["StartSketchOnFace
[4964, 5003, 2]"]
+ 793["EdgeCut Chamfer
[897, 1164, 7]"]
+ 794["EdgeCut Chamfer
[897, 1164, 7]"]
+ 795["EdgeCut Chamfer
[897, 1164, 7]"]
+ 796["EdgeCut Chamfer
[897, 1164, 7]"]
+ 797["StartSketchOnFace
[1678, 1720, 2]"]
+ 798["StartSketchOnFace
[2578, 2620, 2]"]
+ 799["StartSketchOnFace
[3276, 3313, 2]"]
+ 800["StartSketchOnFace
[3500, 3537, 2]"]
+ 801["StartSketchOnFace
[4878, 4920, 2]"]
+ 802["StartSketchOnFace
[4992, 5031, 2]"]
803["StartSketchOnPlane
[240, 265, 3]"]
804["StartSketchOnPlane
[459, 502, 3]"]
805["StartSketchOnPlane
[537, 590, 4]"]
@@ -1058,7 +1058,7 @@ flowchart LR
810["StartSketchOnPlane
[1113, 1156, 5]"]
811["StartSketchOnPlane
[1697, 1750, 5]"]
812["StartSketchOnPlane
[2284, 2327, 5]"]
- 813["StartSketchOnFace
[5541, 5586, 5]"]
+ 813["StartSketchOnFace
[5583, 5628, 5]"]
814["StartSketchOnPlane
[249, 305, 6]"]
815["StartSketchOnPlane
[837, 893, 6]"]
816["StartSketchOnPlane
[1454, 1511, 6]"]
diff --git a/rust/kcl-lib/tests/kcl_samples/enclosure/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/enclosure/artifact_graph_flowchart.snap.md
index a1203fb167f..8f2826a808d 100644
--- a/rust/kcl-lib/tests/kcl_samples/enclosure/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/enclosure/artifact_graph_flowchart.snap.md
@@ -1,166 +1,166 @@
```mermaid
flowchart LR
subgraph path2 [Path]
- 2["Path
[305, 330, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 3["Segment
[336, 402, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 4["Segment
[408, 498, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 5["Segment
[504, 621, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 6["Segment
[627, 712, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 7["Segment
[718, 725, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 2["Path
[313, 349, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 3["Segment
[355, 421, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 4["Segment
[427, 517, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 5["Segment
[523, 640, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 6["Segment
[646, 731, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 7["Segment
[737, 744, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
8[Solid2d]
end
subgraph path26 [Path]
- 26["Path
[1607, 1690, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 27["Segment
[1607, 1690, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 26["Path
[1595, 1678, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 27["Segment
[1595, 1678, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
28[Solid2d]
end
subgraph path29 [Path]
- 29["Path
[1716, 1783, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
- 30["Segment
[1716, 1783, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 29["Path
[1704, 1771, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 30["Segment
[1704, 1771, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
31[Solid2d]
end
subgraph path42 [Path]
- 42["Path
[1607, 1690, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 43["Segment
[1607, 1690, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 42["Path
[1595, 1678, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 43["Segment
[1595, 1678, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
44[Solid2d]
end
subgraph path45 [Path]
- 45["Path
[1716, 1783, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
- 46["Segment
[1716, 1783, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 45["Path
[1704, 1771, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 46["Segment
[1704, 1771, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
47[Solid2d]
end
subgraph path58 [Path]
- 58["Path
[1607, 1690, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 59["Segment
[1607, 1690, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 58["Path
[1595, 1678, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 59["Segment
[1595, 1678, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
60[Solid2d]
end
subgraph path61 [Path]
- 61["Path
[1716, 1783, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
- 62["Segment
[1716, 1783, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 61["Path
[1704, 1771, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 62["Segment
[1704, 1771, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
63[Solid2d]
end
subgraph path74 [Path]
- 74["Path
[1607, 1690, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 75["Segment
[1607, 1690, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 74["Path
[1595, 1678, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 75["Segment
[1595, 1678, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
76[Solid2d]
end
subgraph path77 [Path]
- 77["Path
[1716, 1783, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
- 78["Segment
[1716, 1783, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 77["Path
[1704, 1771, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 78["Segment
[1704, 1771, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
79[Solid2d]
end
subgraph path90 [Path]
- 90["Path
[2351, 2386, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 91["Segment
[2392, 2458, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 92["Segment
[2464, 2554, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 93["Segment
[2560, 2677, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 94["Segment
[2683, 2768, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 95["Segment
[2774, 2781, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 90["Path
[2353, 2404, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 91["Segment
[2410, 2476, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 92["Segment
[2482, 2572, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 93["Segment
[2578, 2695, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 94["Segment
[2701, 2786, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 95["Segment
[2792, 2799, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
96[Solid2d]
end
subgraph path97 [Path]
- 97["Path
[2805, 2961, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }, CallKwArg { index: 0 }]
- 98["Segment
[2805, 2961, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }, CallKwArg { index: 0 }]
+ 97["Path
[2823, 2979, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }, CallKwArg { index: 0 }]
+ 98["Segment
[2823, 2979, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }, CallKwArg { index: 0 }]
99[Solid2d]
end
subgraph path100 [Path]
- 100["Path
[2986, 3153, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }, CallKwArg { index: 0 }]
- 101["Segment
[2986, 3153, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }, CallKwArg { index: 0 }]
+ 100["Path
[3004, 3171, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }, CallKwArg { index: 0 }]
+ 101["Segment
[3004, 3171, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }, CallKwArg { index: 0 }]
102[Solid2d]
end
subgraph path103 [Path]
- 103["Path
[3178, 3336, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }, CallKwArg { index: 0 }]
- 104["Segment
[3178, 3336, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }, CallKwArg { index: 0 }]
+ 103["Path
[3196, 3354, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }, CallKwArg { index: 0 }]
+ 104["Segment
[3196, 3354, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }, CallKwArg { index: 0 }]
105[Solid2d]
end
subgraph path106 [Path]
- 106["Path
[3361, 3530, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }, CallKwArg { index: 0 }]
- 107["Segment
[3361, 3530, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }, CallKwArg { index: 0 }]
+ 106["Path
[3379, 3548, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }, CallKwArg { index: 0 }]
+ 107["Segment
[3379, 3548, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }, CallKwArg { index: 0 }]
108[Solid2d]
end
subgraph path128 [Path]
- 128["Path
[3973, 4057, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 129["Segment
[4063, 4151, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 130["Segment
[4157, 4278, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 131["Segment
[4284, 4401, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 132["Segment
[4407, 4492, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 133["Segment
[4498, 4505, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 128["Path
[3999, 4083, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 129["Segment
[4089, 4177, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 130["Segment
[4183, 4304, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 131["Segment
[4310, 4427, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 132["Segment
[4433, 4518, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 133["Segment
[4524, 4531, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
134[Solid2d]
end
subgraph path135 [Path]
- 135["Path
[4529, 4701, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }, CallKwArg { index: 0 }]
- 136["Segment
[4529, 4701, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }, CallKwArg { index: 0 }]
+ 135["Path
[4555, 4727, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }, CallKwArg { index: 0 }]
+ 136["Segment
[4555, 4727, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }, CallKwArg { index: 0 }]
137[Solid2d]
end
subgraph path138 [Path]
- 138["Path
[4726, 4909, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }, CallKwArg { index: 0 }]
- 139["Segment
[4726, 4909, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }, CallKwArg { index: 0 }]
+ 138["Path
[4752, 4935, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }, CallKwArg { index: 0 }]
+ 139["Segment
[4752, 4935, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }, CallKwArg { index: 0 }]
140[Solid2d]
end
subgraph path141 [Path]
- 141["Path
[4934, 5108, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }, CallKwArg { index: 0 }]
- 142["Segment
[4934, 5108, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }, CallKwArg { index: 0 }]
+ 141["Path
[4960, 5134, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }, CallKwArg { index: 0 }]
+ 142["Segment
[4960, 5134, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }, CallKwArg { index: 0 }]
143[Solid2d]
end
subgraph path144 [Path]
- 144["Path
[5133, 5318, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }, CallKwArg { index: 0 }]
- 145["Segment
[5133, 5318, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }, CallKwArg { index: 0 }]
+ 144["Path
[5159, 5344, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }, CallKwArg { index: 0 }]
+ 145["Segment
[5159, 5344, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }, CallKwArg { index: 0 }]
146[Solid2d]
end
1["Plane
[282, 299, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 9["Sweep Extrusion
[739, 774, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 9["Sweep Extrusion
[751, 787, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
10[Wall]
%% face_code_ref=Missing NodePath
11[Wall]
@@ -181,12 +181,12 @@ flowchart LR
21["SweepEdge Adjacent"]
22["SweepEdge Opposite"]
23["SweepEdge Adjacent"]
- 24["EdgeCut Fillet
[780, 1062, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 25["Plane
[1576, 1599, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 32["Sweep Extrusion
[1800, 1851, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 24["EdgeCut Fillet
[793, 1075, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 25["Plane
[1564, 1587, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 32["Sweep Extrusion
[1784, 1839, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit]
33[Wall]
%% face_code_ref=Missing NodePath
34[Wall]
@@ -199,10 +199,10 @@ flowchart LR
38["SweepEdge Adjacent"]
39["SweepEdge Opposite"]
40["SweepEdge Adjacent"]
- 41["Plane
[1576, 1599, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 48["Sweep Extrusion
[1800, 1851, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 41["Plane
[1564, 1587, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 48["Sweep Extrusion
[1784, 1839, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit]
49[Wall]
%% face_code_ref=Missing NodePath
50[Wall]
@@ -215,10 +215,10 @@ flowchart LR
54["SweepEdge Adjacent"]
55["SweepEdge Opposite"]
56["SweepEdge Adjacent"]
- 57["Plane
[1576, 1599, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 64["Sweep Extrusion
[1800, 1851, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 57["Plane
[1564, 1587, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 64["Sweep Extrusion
[1784, 1839, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit]
65[Wall]
%% face_code_ref=Missing NodePath
66[Wall]
@@ -231,10 +231,10 @@ flowchart LR
70["SweepEdge Adjacent"]
71["SweepEdge Opposite"]
72["SweepEdge Adjacent"]
- 73["Plane
[1576, 1599, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 80["Sweep Extrusion
[1800, 1851, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 73["Plane
[1564, 1587, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 80["Sweep Extrusion
[1784, 1839, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit]
81[Wall]
%% face_code_ref=Missing NodePath
82[Wall]
@@ -247,10 +247,10 @@ flowchart LR
86["SweepEdge Adjacent"]
87["SweepEdge Opposite"]
88["SweepEdge Adjacent"]
- 89["Plane
[2328, 2345, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 109["Sweep Extrusion
[3545, 3587, 0]"]
- %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 89["Plane
[2317, 2334, 0]"]
+ %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 109["Sweep Extrusion
[3561, 3609, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
110[Wall]
%% face_code_ref=Missing NodePath
111[Wall]
@@ -264,7 +264,7 @@ flowchart LR
115["Cap Start"]
%% face_code_ref=Missing NodePath
116["Cap End"]
- %% face_code_ref=[ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ %% face_code_ref=[ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
117["SweepEdge Opposite"]
118["SweepEdge Adjacent"]
119["SweepEdge Opposite"]
@@ -275,10 +275,10 @@ flowchart LR
124["SweepEdge Adjacent"]
125["SweepEdge Opposite"]
126["SweepEdge Adjacent"]
- 127["EdgeCut Fillet
[3593, 3875, 0]"]
- %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 147["Sweep Extrusion
[5333, 5375, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 127["EdgeCut Fillet
[3615, 3897, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 147["Sweep Extrusion
[5352, 5400, 0]"]
+ %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
148[Wall]
%% face_code_ref=Missing NodePath
149[Wall]
@@ -303,10 +303,10 @@ flowchart LR
162["SweepEdge Adjacent"]
163["SweepEdge Opposite"]
164["SweepEdge Adjacent"]
- 165["EdgeCut Fillet
[5381, 5663, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 166["StartSketchOnFace
[3930, 3967, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 165["EdgeCut Fillet
[5406, 5688, 0]"]
+ %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 166["StartSketchOnFace
[3958, 3993, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
1 --- 2
2 --- 3
2 --- 4
diff --git a/rust/kcl-lib/tests/kcl_samples/enclosure/ast.snap b/rust/kcl-lib/tests/kcl_samples/enclosure/ast.snap
index 99f6c4c609a..05203049c6a 100644
--- a/rust/kcl-lib/tests/kcl_samples/enclosure/ast.snap
+++ b/rust/kcl-lib/tests/kcl_samples/enclosure/ast.snap
@@ -202,56 +202,85 @@ description: Result of parsing enclosure.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch001",
+ "name": "boxSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XY",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XY",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Model a box with base enclosure dimensions"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "boxProfile",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -325,7 +354,24 @@ description: Result of parsing enclosure.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "boxSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -921,11 +967,6 @@ description: Result of parsing enclosure.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Model a box with base enclosure dimensions"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -939,7 +980,7 @@ description: Result of parsing enclosure.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "extrude001",
+ "name": "box",
"start": 0,
"type": "Identifier"
},
@@ -1009,7 +1050,7 @@ description: Result of parsing enclosure.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch001",
+ "name": "boxProfile",
"start": 0,
"type": "Identifier"
},
@@ -1673,70 +1714,6 @@ description: Result of parsing enclosure.kcl
"type": "ArrayExpression",
"type": "ArrayExpression"
}
- },
- {
- "commentStart": 0,
- "end": 0,
- "key": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "zAxis",
- "start": 0,
- "type": "Identifier"
- },
- "moduleId": 0,
- "start": 0,
- "type": "ObjectProperty",
- "value": {
- "commentStart": 0,
- "elements": [
- {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0.0",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.0,
- "suffix": "None"
- }
- },
- {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0.0",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.0,
- "suffix": "None"
- }
- },
- {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "1.0",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 1.0,
- "suffix": "None"
- }
- }
- ],
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "ArrayExpression",
- "type": "ArrayExpression"
- }
}
],
"start": 0,
@@ -1766,7 +1743,7 @@ description: Result of parsing enclosure.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch002",
+ "name": "pillarProfile",
"start": 0,
"type": "Identifier"
},
@@ -2231,7 +2208,7 @@ description: Result of parsing enclosure.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "extrude002",
+ "name": "pillar",
"start": 0,
"type": "Identifier"
},
@@ -2326,7 +2303,7 @@ description: Result of parsing enclosure.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch002",
+ "name": "pillarProfile",
"start": 0,
"type": "Identifier"
},
@@ -2357,7 +2334,7 @@ description: Result of parsing enclosure.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "extrude002",
+ "name": "pillar",
"start": 0,
"type": "Identifier"
},
@@ -3262,56 +3239,85 @@ description: Result of parsing enclosure.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch003",
+ "name": "lidOuterSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XY",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XY",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Define lid position and outer surface"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "lidOuterProfile",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -3412,7 +3418,24 @@ description: Result of parsing enclosure.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "lidOuterSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -5262,11 +5285,6 @@ description: Result of parsing enclosure.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Define lid position and outer surface"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -5280,7 +5298,7 @@ description: Result of parsing enclosure.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "extrude003",
+ "name": "lidOuter",
"start": 0,
"type": "Identifier"
},
@@ -5350,7 +5368,7 @@ description: Result of parsing enclosure.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch003",
+ "name": "lidOuterProfile",
"start": 0,
"type": "Identifier"
},
@@ -5683,7 +5701,7 @@ description: Result of parsing enclosure.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch004",
+ "name": "lidInnerProfile",
"start": 0,
"type": "Identifier"
},
@@ -5753,7 +5771,7 @@ description: Result of parsing enclosure.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "extrude003",
+ "name": "lidOuter",
"start": 0,
"type": "Identifier"
},
@@ -7971,7 +7989,7 @@ description: Result of parsing enclosure.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "extrude004",
+ "name": "lid",
"start": 0,
"type": "Identifier"
},
@@ -8041,7 +8059,7 @@ description: Result of parsing enclosure.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch004",
+ "name": "lidInnerProfile",
"start": 0,
"type": "Identifier"
},
diff --git a/rust/kcl-lib/tests/kcl_samples/enclosure/ops.snap b/rust/kcl-lib/tests/kcl_samples/enclosure/ops.snap
index 8b6e6cde3da..a542ca7b614 100644
--- a/rust/kcl-lib/tests/kcl_samples/enclosure/ops.snap
+++ b/rust/kcl-lib/tests/kcl_samples/enclosure/ops.snap
@@ -191,10 +191,6 @@ description: Operations executed enclosure.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -234,7 +230,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 7
},
{
"type": "VariableDeclarationDeclaration"
@@ -308,7 +304,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 7
},
{
"type": "VariableDeclarationDeclaration"
@@ -370,7 +366,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 7
},
{
"type": "VariableDeclarationDeclaration"
@@ -432,7 +428,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 8
+ "index": 9
},
{
"type": "ExpressionStatementExpr"
@@ -456,7 +452,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -512,7 +508,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -575,7 +571,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -649,7 +645,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 10
},
{
"type": "ExpressionStatementExpr"
@@ -673,7 +669,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -729,7 +725,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -792,7 +788,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -866,7 +862,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 10
+ "index": 11
},
{
"type": "ExpressionStatementExpr"
@@ -890,7 +886,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -946,7 +942,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -1009,7 +1005,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -1083,7 +1079,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 11
+ "index": 12
},
{
"type": "ExpressionStatementExpr"
@@ -1107,7 +1103,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -1163,7 +1159,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -1226,7 +1222,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -1269,17 +1265,13 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 12
+ "index": 13
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -1312,7 +1304,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 12
+ "index": 14
},
{
"type": "VariableDeclarationDeclaration"
@@ -1322,7 +1314,7 @@ description: Operations executed enclosure.kcl
},
{
"type": "PipeBodyItem",
- "index": 7
+ "index": 6
}
]
},
@@ -1355,7 +1347,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 12
+ "index": 14
},
{
"type": "VariableDeclarationDeclaration"
@@ -1365,7 +1357,7 @@ description: Operations executed enclosure.kcl
},
{
"type": "PipeBodyItem",
- "index": 8
+ "index": 7
}
]
},
@@ -1398,7 +1390,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 12
+ "index": 14
},
{
"type": "VariableDeclarationDeclaration"
@@ -1408,7 +1400,7 @@ description: Operations executed enclosure.kcl
},
{
"type": "PipeBodyItem",
- "index": 9
+ "index": 8
}
]
},
@@ -1441,7 +1433,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 12
+ "index": 14
},
{
"type": "VariableDeclarationDeclaration"
@@ -1451,7 +1443,7 @@ description: Operations executed enclosure.kcl
},
{
"type": "PipeBodyItem",
- "index": 10
+ "index": 9
}
]
},
@@ -1491,7 +1483,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 13
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -1565,7 +1557,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 13
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -1606,7 +1598,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 16
},
{
"type": "VariableDeclarationDeclaration"
@@ -1649,7 +1641,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 16
},
{
"type": "VariableDeclarationDeclaration"
@@ -1692,7 +1684,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 16
},
{
"type": "VariableDeclarationDeclaration"
@@ -1735,7 +1727,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 16
},
{
"type": "VariableDeclarationDeclaration"
@@ -1778,7 +1770,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 16
},
{
"type": "VariableDeclarationDeclaration"
@@ -1828,7 +1820,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 15
+ "index": 17
},
{
"type": "VariableDeclarationDeclaration"
@@ -1902,7 +1894,7 @@ description: Operations executed enclosure.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 15
+ "index": 17
},
{
"type": "VariableDeclarationDeclaration"
diff --git a/rust/kcl-lib/tests/kcl_samples/enclosure/program_memory.snap b/rust/kcl-lib/tests/kcl_samples/enclosure/program_memory.snap
index 32207a800f8..2661bc43ab7 100644
--- a/rust/kcl-lib/tests/kcl_samples/enclosure/program_memory.snap
+++ b/rust/kcl-lib/tests/kcl_samples/enclosure/program_memory.snap
@@ -3,7 +3,7 @@ source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing enclosure.kcl
---
{
- "extrude001": {
+ "box": {
"type": "Solid",
"value": {
"type": "Solid",
@@ -15,10 +15,10 @@ description: Variables in memory after executing enclosure.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 380,
- "end": 401,
+ "commentStart": 399,
+ "end": 420,
"moduleId": 0,
- "start": 380,
+ "start": 399,
"type": "TagDeclarator",
"value": "rectangleSegmentA001"
},
@@ -29,10 +29,10 @@ description: Variables in memory after executing enclosure.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 476,
- "end": 497,
+ "commentStart": 495,
+ "end": 516,
"moduleId": 0,
- "start": 476,
+ "start": 495,
"type": "TagDeclarator",
"value": "rectangleSegmentB001"
},
@@ -43,10 +43,10 @@ description: Variables in memory after executing enclosure.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 599,
- "end": 620,
+ "commentStart": 618,
+ "end": 639,
"moduleId": 0,
- "start": 599,
+ "start": 618,
"type": "TagDeclarator",
"value": "rectangleSegmentC001"
},
@@ -57,10 +57,10 @@ description: Variables in memory after executing enclosure.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 690,
- "end": 711,
+ "commentStart": 709,
+ "end": 730,
"moduleId": 0,
- "start": 690,
+ "start": 709,
"type": "TagDeclarator",
"value": "rectangleSegmentD001"
},
@@ -81,10 +81,10 @@ description: Variables in memory after executing enclosure.kcl
0.0
],
"tag": {
- "commentStart": 380,
- "end": 401,
+ "commentStart": 399,
+ "end": 420,
"moduleId": 0,
- "start": 380,
+ "start": 399,
"type": "TagDeclarator",
"value": "rectangleSegmentA001"
},
@@ -107,10 +107,10 @@ description: Variables in memory after executing enclosure.kcl
0.0
],
"tag": {
- "commentStart": 476,
- "end": 497,
+ "commentStart": 495,
+ "end": 516,
"moduleId": 0,
- "start": 476,
+ "start": 495,
"type": "TagDeclarator",
"value": "rectangleSegmentB001"
},
@@ -133,10 +133,10 @@ description: Variables in memory after executing enclosure.kcl
175.0
],
"tag": {
- "commentStart": 599,
- "end": 620,
+ "commentStart": 618,
+ "end": 639,
"moduleId": 0,
- "start": 599,
+ "start": 618,
"type": "TagDeclarator",
"value": "rectangleSegmentC001"
},
@@ -159,10 +159,10 @@ description: Variables in memory after executing enclosure.kcl
175.0
],
"tag": {
- "commentStart": 690,
- "end": 711,
+ "commentStart": 709,
+ "end": 730,
"moduleId": 0,
- "start": 690,
+ "start": 709,
"type": "TagDeclarator",
"value": "rectangleSegmentD001"
},
@@ -358,200 +358,416 @@ description: Variables in memory after executing enclosure.kcl
"sectional": false
}
},
- "extrude003": {
- "type": "Solid",
+ "boxProfile": {
+ "type": "Sketch",
"value": {
- "type": "Solid",
+ "type": "Sketch",
"id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
+ "paths": [
{
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.0,
+ 0.0
+ ],
"tag": {
- "commentStart": 2436,
- "end": 2457,
+ "commentStart": 399,
+ "end": 420,
"moduleId": 0,
- "start": 2436,
+ "start": 399,
"type": "TagDeclarator",
- "value": "rectangleSegmentA002"
+ "value": "rectangleSegmentA001"
},
- "type": "extrudePlane"
+ "to": [
+ 125.0,
+ 0.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
},
{
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 125.0,
+ 0.0
+ ],
"tag": {
- "commentStart": 2532,
- "end": 2553,
+ "commentStart": 495,
+ "end": 516,
"moduleId": 0,
- "start": 2532,
+ "start": 495,
"type": "TagDeclarator",
- "value": "rectangleSegmentB002"
+ "value": "rectangleSegmentB001"
},
- "type": "extrudePlane"
+ "to": [
+ 125.00000000000001,
+ 175.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
},
{
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 125.00000000000001,
+ 175.0
+ ],
"tag": {
- "commentStart": 2655,
- "end": 2676,
+ "commentStart": 618,
+ "end": 639,
"moduleId": 0,
- "start": 2655,
+ "start": 618,
"type": "TagDeclarator",
- "value": "rectangleSegmentC002"
+ "value": "rectangleSegmentC001"
},
- "type": "extrudePlane"
+ "to": [
+ 0.000000000000014210854715202004,
+ 175.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
},
{
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.000000000000014210854715202004,
+ 175.0
+ ],
"tag": {
- "commentStart": 2746,
- "end": 2767,
+ "commentStart": 709,
+ "end": 730,
"moduleId": 0,
- "start": 2746,
+ "start": 709,
"type": "TagDeclarator",
- "value": "rectangleSegmentD002"
+ "value": "rectangleSegmentD001"
},
- "type": "extrudePlane"
+ "to": [
+ 0.0,
+ 0.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
},
{
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.0,
+ 0.0
+ ],
"tag": null,
- "type": "extrudeArc"
+ "to": [
+ 0.0,
+ 0.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
},
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
+ "type": "plane",
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
},
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
},
- {
- "faceId": "[uuid]",
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 0.0,
+ 0.0
+ ],
+ "to": [
+ 0.0,
+ 0.0
+ ],
+ "units": {
+ "type": "Mm"
+ },
+ "tag": null,
+ "__geoMeta": {
"id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
+ "sourceRange": []
}
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 150.0,
- 0.0
- ],
- "tag": {
- "commentStart": 2436,
- "end": 2457,
- "moduleId": 0,
- "start": 2436,
- "type": "TagDeclarator",
- "value": "rectangleSegmentA002"
- },
- "to": [
- 275.0,
- 0.0
- ],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 275.0,
- 0.0
- ],
- "tag": {
- "commentStart": 2532,
- "end": 2553,
- "moduleId": 0,
- "start": 2532,
- "type": "TagDeclarator",
- "value": "rectangleSegmentB002"
- },
- "to": [
- 275.0,
- 175.0
- ],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 275.0,
- 175.0
- ],
- "tag": {
- "commentStart": 2655,
- "end": 2676,
- "moduleId": 0,
- "start": 2655,
- "type": "TagDeclarator",
- "value": "rectangleSegmentC002"
- },
- "to": [
- 150.0,
- 175.0
- ],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
+ },
+ "tags": {
+ "rectangleSegmentA001": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentA001"
+ },
+ "rectangleSegmentB001": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentB001"
+ },
+ "rectangleSegmentC001": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentC001"
+ },
+ "rectangleSegmentD001": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentD001"
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Mm"
+ }
+ }
+ },
+ "boxSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
+ "function001": {
+ "type": "Function",
+ "value": null
+ },
+ "height": {
+ "type": "Number",
+ "value": 70.0,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Mm"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ "holeDia": {
+ "type": "Number",
+ "value": 4.0,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Mm"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ "length": {
+ "type": "Number",
+ "value": 175.0,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Mm"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ "lid": {
+ "type": "Solid",
+ "value": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 4155,
+ "end": 4176,
+ "moduleId": 0,
+ "start": 4155,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentA003"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 4282,
+ "end": 4303,
+ "moduleId": 0,
+ "start": 4282,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentB003"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 4405,
+ "end": 4426,
+ "moduleId": 0,
+ "start": 4405,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentC003"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 4496,
+ "end": 4517,
+ "moduleId": 0,
+ "start": 4496,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentD003"
},
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
- 150.0,
- 175.0
+ 153.0,
+ 3.0
],
"tag": {
- "commentStart": 2746,
- "end": 2767,
+ "commentStart": 4155,
+ "end": 4176,
"moduleId": 0,
- "start": 2746,
+ "start": 4155,
"type": "TagDeclarator",
- "value": "rectangleSegmentD002"
+ "value": "rectangleSegmentA003"
},
"to": [
- 150.0,
- 0.0
+ 272.0,
+ 3.0
],
"type": "ToPoint",
"units": {
@@ -564,42 +780,48 @@ description: Variables in memory after executing enclosure.kcl
"sourceRange": []
},
"from": [
- 150.0,
- 0.0
+ 272.0,
+ 3.0
],
- "tag": null,
+ "tag": {
+ "commentStart": 4282,
+ "end": 4303,
+ "moduleId": 0,
+ "start": 4282,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentB003"
+ },
"to": [
- 150.0,
- 0.0
+ 272.0,
+ 172.0
],
"type": "ToPoint",
"units": {
"type": "Mm"
}
- }
- ],
- "innerPaths": [
+ },
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
- "ccw": true,
- "center": [
- 163.0,
- 13.0
- ],
"from": [
- 167.0,
- 13.0
+ 272.0,
+ 172.0
],
- "radius": 4.0,
- "tag": null,
+ "tag": {
+ "commentStart": 4405,
+ "end": 4426,
+ "moduleId": 0,
+ "start": 4405,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentC003"
+ },
"to": [
- 167.0,
- 13.0
+ 153.0,
+ 172.0
],
- "type": "Circle",
+ "type": "ToPoint",
"units": {
"type": "Mm"
}
@@ -609,22 +831,23 @@ description: Variables in memory after executing enclosure.kcl
"id": "[uuid]",
"sourceRange": []
},
- "ccw": true,
- "center": [
- 163.0,
- 162.0
- ],
"from": [
- 167.0,
- 162.0
+ 153.0,
+ 172.0
],
- "radius": 4.0,
- "tag": null,
+ "tag": {
+ "commentStart": 4496,
+ "end": 4517,
+ "moduleId": 0,
+ "start": 4496,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentD003"
+ },
"to": [
- 167.0,
- 162.0
+ 153.0,
+ 3.0
],
- "type": "Circle",
+ "type": "ToPoint",
"units": {
"type": "Mm"
}
@@ -634,20 +857,91 @@ description: Variables in memory after executing enclosure.kcl
"id": "[uuid]",
"sourceRange": []
},
- "ccw": true,
- "center": [
- 262.0,
- 13.0
- ],
"from": [
- 266.0,
- 13.0
+ 153.0,
+ 3.0
],
- "radius": 4.0,
"tag": null,
"to": [
- 266.0,
- 13.0
+ 153.0,
+ 3.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 163.0,
+ 13.0
+ ],
+ "from": [
+ 170.0,
+ 13.0
+ ],
+ "radius": 7.0,
+ "tag": null,
+ "to": [
+ 170.0,
+ 13.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 163.0,
+ 162.0
+ ],
+ "from": [
+ 170.0,
+ 162.0
+ ],
+ "radius": 7.0,
+ "tag": null,
+ "to": [
+ 170.0,
+ 162.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 262.0,
+ 13.0
+ ],
+ "from": [
+ 269.0,
+ 13.0
+ ],
+ "radius": 7.0,
+ "tag": null,
+ "to": [
+ 269.0,
+ 13.0
],
"type": "Circle",
"units": {
@@ -665,13 +959,13 @@ description: Variables in memory after executing enclosure.kcl
162.0
],
"from": [
- 266.0,
+ 269.0,
162.0
],
- "radius": 4.0,
+ "radius": 7.0,
"tag": null,
"to": [
- 266.0,
+ 269.0,
162.0
],
"type": "Circle",
@@ -681,18 +975,10 @@ description: Variables in memory after executing enclosure.kcl
}
],
"on": {
- "artifactId": "[uuid]",
+ "type": "face",
"id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "XY",
+ "artifactId": "[uuid]",
+ "value": "end",
"xAxis": {
"x": 1.0,
"y": 0.0,
@@ -709,575 +995,98 @@ description: Variables in memory after executing enclosure.kcl
"type": "Unknown"
}
},
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 150.0,
- 0.0
- ],
- "to": [
- 150.0,
- 0.0
- ],
- "units": {
- "type": "Mm"
- },
- "tag": null,
- "__geoMeta": {
+ "solid": {
+ "type": "Solid",
"id": "[uuid]",
- "sourceRange": []
- }
- },
- "tags": {
- "rectangleSegmentA002": {
- "type": "TagIdentifier",
- "value": "rectangleSegmentA002"
- },
- "rectangleSegmentB002": {
- "type": "TagIdentifier",
- "value": "rectangleSegmentB002"
- },
- "rectangleSegmentC002": {
- "type": "TagIdentifier",
- "value": "rectangleSegmentC002"
- },
- "rectangleSegmentD002": {
- "type": "TagIdentifier",
- "value": "rectangleSegmentD002"
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Mm"
- }
- },
- "height": 3.0,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
- "edgeCuts": [
- {
- "type": "fillet",
- "id": "[uuid]",
- "radius": {
- "n": 12.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 2454,
+ "end": 2475,
+ "moduleId": 0,
+ "start": 2454,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentA002"
+ },
+ "type": "extrudePlane"
},
- "angle": {
- "type": "Degrees"
- }
- }
- },
- "edgeId": "[uuid]",
- "tag": null
- },
- {
- "type": "fillet",
- "id": "[uuid]",
- "radius": {
- "n": 12.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 2550,
+ "end": 2571,
+ "moduleId": 0,
+ "start": 2550,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentB002"
+ },
+ "type": "extrudePlane"
},
- "angle": {
- "type": "Degrees"
- }
- }
- },
- "edgeId": "[uuid]",
- "tag": null
- },
- {
- "type": "fillet",
- "id": "[uuid]",
- "radius": {
- "n": 12.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 2673,
+ "end": 2694,
+ "moduleId": 0,
+ "start": 2673,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentC002"
+ },
+ "type": "extrudePlane"
},
- "angle": {
- "type": "Degrees"
- }
- }
- },
- "edgeId": "[uuid]",
- "tag": null
- },
- {
- "type": "fillet",
- "id": "[uuid]",
- "radius": {
- "n": 12.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 2764,
+ "end": 2785,
+ "moduleId": 0,
+ "start": 2764,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentD002"
+ },
+ "type": "extrudePlane"
},
- "angle": {
- "type": "Degrees"
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
}
- }
- },
- "edgeId": "[uuid]",
- "tag": null
- }
- ],
- "units": {
- "type": "Mm"
- },
- "sectional": false
- }
- },
- "extrude004": {
- "type": "Solid",
- "value": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 4129,
- "end": 4150,
- "moduleId": 0,
- "start": 4129,
- "type": "TagDeclarator",
- "value": "rectangleSegmentA003"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 4256,
- "end": 4277,
- "moduleId": 0,
- "start": 4256,
- "type": "TagDeclarator",
- "value": "rectangleSegmentB003"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 4379,
- "end": 4400,
- "moduleId": 0,
- "start": 4379,
- "type": "TagDeclarator",
- "value": "rectangleSegmentC003"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 4470,
- "end": 4491,
- "moduleId": 0,
- "start": 4470,
- "type": "TagDeclarator",
- "value": "rectangleSegmentD003"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 153.0,
- 3.0
- ],
- "tag": {
- "commentStart": 4129,
- "end": 4150,
- "moduleId": 0,
- "start": 4129,
- "type": "TagDeclarator",
- "value": "rectangleSegmentA003"
- },
- "to": [
- 272.0,
- 3.0
- ],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 272.0,
- 3.0
- ],
- "tag": {
- "commentStart": 4256,
- "end": 4277,
- "moduleId": 0,
- "start": 4256,
- "type": "TagDeclarator",
- "value": "rectangleSegmentB003"
- },
- "to": [
- 272.0,
- 172.0
- ],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 272.0,
- 172.0
- ],
- "tag": {
- "commentStart": 4379,
- "end": 4400,
- "moduleId": 0,
- "start": 4379,
- "type": "TagDeclarator",
- "value": "rectangleSegmentC003"
- },
- "to": [
- 153.0,
- 172.0
- ],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 153.0,
- 172.0
- ],
- "tag": {
- "commentStart": 4470,
- "end": 4491,
- "moduleId": 0,
- "start": 4470,
- "type": "TagDeclarator",
- "value": "rectangleSegmentD003"
- },
- "to": [
- 153.0,
- 3.0
- ],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 153.0,
- 3.0
- ],
- "tag": null,
- "to": [
- 153.0,
- 3.0
],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 163.0,
- 13.0
- ],
- "from": [
- 170.0,
- 13.0
- ],
- "radius": 7.0,
- "tag": null,
- "to": [
- 170.0,
- 13.0
- ],
- "type": "Circle",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 163.0,
- 162.0
- ],
- "from": [
- 170.0,
- 162.0
- ],
- "radius": 7.0,
- "tag": null,
- "to": [
- 170.0,
- 162.0
- ],
- "type": "Circle",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 262.0,
- 13.0
- ],
- "from": [
- 269.0,
- 13.0
- ],
- "radius": 7.0,
- "tag": null,
- "to": [
- 269.0,
- 13.0
- ],
- "type": "Circle",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 262.0,
- 162.0
- ],
- "from": [
- 269.0,
- 162.0
- ],
- "radius": 7.0,
- "tag": null,
- "to": [
- 269.0,
- 162.0
- ],
- "type": "Circle",
- "units": {
- "type": "Mm"
- }
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 2436,
- "end": 2457,
- "moduleId": 0,
- "start": 2436,
- "type": "TagDeclarator",
- "value": "rectangleSegmentA002"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 2532,
- "end": 2553,
- "moduleId": 0,
- "start": 2532,
- "type": "TagDeclarator",
- "value": "rectangleSegmentB002"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 2655,
- "end": 2676,
- "moduleId": 0,
- "start": 2655,
- "type": "TagDeclarator",
- "value": "rectangleSegmentC002"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 2746,
- "end": 2767,
- "moduleId": 0,
- "start": 2746,
- "type": "TagDeclarator",
- "value": "rectangleSegmentD002"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
+ "sketch": {
+ "type": "Sketch",
"id": "[uuid]",
"paths": [
{
@@ -1290,10 +1099,10 @@ description: Variables in memory after executing enclosure.kcl
0.0
],
"tag": {
- "commentStart": 2436,
- "end": 2457,
+ "commentStart": 2454,
+ "end": 2475,
"moduleId": 0,
- "start": 2436,
+ "start": 2454,
"type": "TagDeclarator",
"value": "rectangleSegmentA002"
},
@@ -1316,10 +1125,10 @@ description: Variables in memory after executing enclosure.kcl
0.0
],
"tag": {
- "commentStart": 2532,
- "end": 2553,
+ "commentStart": 2550,
+ "end": 2571,
"moduleId": 0,
- "start": 2532,
+ "start": 2550,
"type": "TagDeclarator",
"value": "rectangleSegmentB002"
},
@@ -1342,10 +1151,10 @@ description: Variables in memory after executing enclosure.kcl
175.0
],
"tag": {
- "commentStart": 2655,
- "end": 2676,
+ "commentStart": 2673,
+ "end": 2694,
"moduleId": 0,
- "start": 2655,
+ "start": 2673,
"type": "TagDeclarator",
"value": "rectangleSegmentC002"
},
@@ -1368,10 +1177,10 @@ description: Variables in memory after executing enclosure.kcl
175.0
],
"tag": {
- "commentStart": 2746,
- "end": 2767,
+ "commentStart": 2764,
+ "end": 2785,
"moduleId": 0,
- "start": 2746,
+ "start": 2764,
"type": "TagDeclarator",
"value": "rectangleSegmentD002"
},
@@ -1797,110 +1606,7 @@ description: Variables in memory after executing enclosure.kcl
"sectional": false
}
},
- "function001": {
- "type": "Function",
- "value": null
- },
- "height": {
- "type": "Number",
- "value": 70.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- "holeDia": {
- "type": "Number",
- "value": 4.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- "length": {
- "type": "Number",
- "value": 175.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- "rectangleSegmentA001": {
- "type": "TagIdentifier",
- "type": "TagIdentifier",
- "value": "rectangleSegmentA001"
- },
- "rectangleSegmentA002": {
- "type": "TagIdentifier",
- "type": "TagIdentifier",
- "value": "rectangleSegmentA002"
- },
- "rectangleSegmentA003": {
- "type": "TagIdentifier",
- "type": "TagIdentifier",
- "value": "rectangleSegmentA003"
- },
- "rectangleSegmentB001": {
- "type": "TagIdentifier",
- "type": "TagIdentifier",
- "value": "rectangleSegmentB001"
- },
- "rectangleSegmentB002": {
- "type": "TagIdentifier",
- "type": "TagIdentifier",
- "value": "rectangleSegmentB002"
- },
- "rectangleSegmentB003": {
- "type": "TagIdentifier",
- "type": "TagIdentifier",
- "value": "rectangleSegmentB003"
- },
- "rectangleSegmentC001": {
- "type": "TagIdentifier",
- "type": "TagIdentifier",
- "value": "rectangleSegmentC001"
- },
- "rectangleSegmentC002": {
- "type": "TagIdentifier",
- "type": "TagIdentifier",
- "value": "rectangleSegmentC002"
- },
- "rectangleSegmentC003": {
- "type": "TagIdentifier",
- "type": "TagIdentifier",
- "value": "rectangleSegmentC003"
- },
- "rectangleSegmentD001": {
- "type": "TagIdentifier",
- "type": "TagIdentifier",
- "value": "rectangleSegmentD001"
- },
- "rectangleSegmentD002": {
- "type": "TagIdentifier",
- "type": "TagIdentifier",
- "value": "rectangleSegmentD002"
- },
- "rectangleSegmentD003": {
- "type": "TagIdentifier",
- "type": "TagIdentifier",
- "value": "rectangleSegmentD003"
- },
- "sketch001": {
+ "lidInnerProfile": {
"type": "Sketch",
"value": {
"type": "Sketch",
@@ -1912,20 +1618,20 @@ description: Variables in memory after executing enclosure.kcl
"sourceRange": []
},
"from": [
- 0.0,
- 0.0
+ 153.0,
+ 3.0
],
"tag": {
- "commentStart": 380,
- "end": 401,
+ "commentStart": 4155,
+ "end": 4176,
"moduleId": 0,
- "start": 380,
+ "start": 4155,
"type": "TagDeclarator",
- "value": "rectangleSegmentA001"
+ "value": "rectangleSegmentA003"
},
"to": [
- 125.0,
- 0.0
+ 272.0,
+ 3.0
],
"type": "ToPoint",
"units": {
@@ -1938,20 +1644,20 @@ description: Variables in memory after executing enclosure.kcl
"sourceRange": []
},
"from": [
- 125.0,
- 0.0
+ 272.0,
+ 3.0
],
"tag": {
- "commentStart": 476,
- "end": 497,
+ "commentStart": 4282,
+ "end": 4303,
"moduleId": 0,
- "start": 476,
+ "start": 4282,
"type": "TagDeclarator",
- "value": "rectangleSegmentB001"
+ "value": "rectangleSegmentB003"
},
"to": [
- 125.00000000000001,
- 175.0
+ 272.0,
+ 172.0
],
"type": "ToPoint",
"units": {
@@ -1964,20 +1670,20 @@ description: Variables in memory after executing enclosure.kcl
"sourceRange": []
},
"from": [
- 125.00000000000001,
- 175.0
+ 272.0,
+ 172.0
],
"tag": {
- "commentStart": 599,
- "end": 620,
+ "commentStart": 4405,
+ "end": 4426,
"moduleId": 0,
- "start": 599,
+ "start": 4405,
"type": "TagDeclarator",
- "value": "rectangleSegmentC001"
+ "value": "rectangleSegmentC003"
},
"to": [
- 0.000000000000014210854715202004,
- 175.0
+ 153.0,
+ 172.0
],
"type": "ToPoint",
"units": {
@@ -1990,20 +1696,20 @@ description: Variables in memory after executing enclosure.kcl
"sourceRange": []
},
"from": [
- 0.000000000000014210854715202004,
- 175.0
+ 153.0,
+ 172.0
],
"tag": {
- "commentStart": 690,
- "end": 711,
+ "commentStart": 4496,
+ "end": 4517,
"moduleId": 0,
- "start": 690,
+ "start": 4496,
"type": "TagDeclarator",
- "value": "rectangleSegmentD001"
+ "value": "rectangleSegmentD003"
},
"to": [
- 0.0,
- 0.0
+ 153.0,
+ 3.0
],
"type": "ToPoint",
"units": {
@@ -2016,13 +1722,13 @@ description: Variables in memory after executing enclosure.kcl
"sourceRange": []
},
"from": [
- 0.0,
- 0.0
+ 153.0,
+ 3.0
],
"tag": null,
"to": [
- 0.0,
- 0.0
+ 153.0,
+ 3.0
],
"type": "ToPoint",
"units": {
@@ -2030,115 +1736,28 @@ description: Variables in memory after executing enclosure.kcl
}
}
],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "XY",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 0.0,
- 0.0
- ],
- "to": [
- 0.0,
- 0.0
- ],
- "units": {
- "type": "Mm"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "tags": {
- "rectangleSegmentA001": {
- "type": "TagIdentifier",
- "value": "rectangleSegmentA001"
- },
- "rectangleSegmentB001": {
- "type": "TagIdentifier",
- "value": "rectangleSegmentB001"
- },
- "rectangleSegmentC001": {
- "type": "TagIdentifier",
- "value": "rectangleSegmentC001"
- },
- "rectangleSegmentD001": {
- "type": "TagIdentifier",
- "value": "rectangleSegmentD001"
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Mm"
- }
- }
- },
- "sketch003": {
- "type": "Sketch",
- "value": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
+ "innerPaths": [
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
+ "ccw": true,
+ "center": [
+ 163.0,
+ 13.0
+ ],
"from": [
- 150.0,
- 0.0
+ 170.0,
+ 13.0
],
- "tag": {
- "commentStart": 2436,
- "end": 2457,
- "moduleId": 0,
- "start": 2436,
- "type": "TagDeclarator",
- "value": "rectangleSegmentA002"
- },
+ "radius": 7.0,
+ "tag": null,
"to": [
- 275.0,
- 0.0
+ 170.0,
+ 13.0
],
- "type": "ToPoint",
+ "type": "Circle",
"units": {
"type": "Mm"
}
@@ -2148,23 +1767,22 @@ description: Variables in memory after executing enclosure.kcl
"id": "[uuid]",
"sourceRange": []
},
+ "ccw": true,
+ "center": [
+ 163.0,
+ 162.0
+ ],
"from": [
- 275.0,
- 0.0
+ 170.0,
+ 162.0
],
- "tag": {
- "commentStart": 2532,
- "end": 2553,
- "moduleId": 0,
- "start": 2532,
- "type": "TagDeclarator",
- "value": "rectangleSegmentB002"
- },
+ "radius": 7.0,
+ "tag": null,
"to": [
- 275.0,
- 175.0
+ 170.0,
+ 162.0
],
- "type": "ToPoint",
+ "type": "Circle",
"units": {
"type": "Mm"
}
@@ -2174,23 +1792,22 @@ description: Variables in memory after executing enclosure.kcl
"id": "[uuid]",
"sourceRange": []
},
+ "ccw": true,
+ "center": [
+ 262.0,
+ 13.0
+ ],
"from": [
- 275.0,
- 175.0
+ 269.0,
+ 13.0
],
- "tag": {
- "commentStart": 2655,
- "end": 2676,
- "moduleId": 0,
- "start": 2655,
- "type": "TagDeclarator",
- "value": "rectangleSegmentC002"
- },
+ "radius": 7.0,
+ "tag": null,
"to": [
- 150.0,
- 175.0
+ 269.0,
+ 13.0
],
- "type": "ToPoint",
+ "type": "Circle",
"units": {
"type": "Mm"
}
@@ -2200,195 +1817,542 @@ description: Variables in memory after executing enclosure.kcl
"id": "[uuid]",
"sourceRange": []
},
+ "ccw": true,
+ "center": [
+ 262.0,
+ 162.0
+ ],
"from": [
- 150.0,
- 175.0
+ 269.0,
+ 162.0
],
- "tag": {
- "commentStart": 2746,
- "end": 2767,
- "moduleId": 0,
- "start": 2746,
- "type": "TagDeclarator",
- "value": "rectangleSegmentD002"
- },
+ "radius": 7.0,
+ "tag": null,
"to": [
- 150.0,
- 0.0
+ 269.0,
+ 162.0
],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 150.0,
- 0.0
- ],
- "tag": null,
- "to": [
- 150.0,
- 0.0
- ],
- "type": "ToPoint",
+ "type": "Circle",
"units": {
"type": "Mm"
}
}
],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 163.0,
- 13.0
- ],
- "from": [
- 167.0,
- 13.0
- ],
- "radius": 4.0,
- "tag": null,
- "to": [
- 167.0,
- 13.0
- ],
- "type": "Circle",
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
"units": {
- "type": "Mm"
+ "type": "Unknown"
}
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 163.0,
- 162.0
- ],
- "from": [
- 167.0,
- 162.0
- ],
- "radius": 4.0,
- "tag": null,
- "to": [
- 167.0,
- 162.0
- ],
- "type": "Circle",
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
"units": {
- "type": "Mm"
+ "type": "Unknown"
}
},
- {
- "__geoMeta": {
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 2454,
+ "end": 2475,
+ "moduleId": 0,
+ "start": 2454,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentA002"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 2550,
+ "end": 2571,
+ "moduleId": 0,
+ "start": 2550,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentB002"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 2673,
+ "end": 2694,
+ "moduleId": 0,
+ "start": 2673,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentC002"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 2764,
+ "end": 2785,
+ "moduleId": 0,
+ "start": 2764,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentD002"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
"id": "[uuid]",
- "sourceRange": []
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 150.0,
+ 0.0
+ ],
+ "tag": {
+ "commentStart": 2454,
+ "end": 2475,
+ "moduleId": 0,
+ "start": 2454,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentA002"
+ },
+ "to": [
+ 275.0,
+ 0.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 275.0,
+ 0.0
+ ],
+ "tag": {
+ "commentStart": 2550,
+ "end": 2571,
+ "moduleId": 0,
+ "start": 2550,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentB002"
+ },
+ "to": [
+ 275.0,
+ 175.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 275.0,
+ 175.0
+ ],
+ "tag": {
+ "commentStart": 2673,
+ "end": 2694,
+ "moduleId": 0,
+ "start": 2673,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentC002"
+ },
+ "to": [
+ 150.0,
+ 175.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 150.0,
+ 175.0
+ ],
+ "tag": {
+ "commentStart": 2764,
+ "end": 2785,
+ "moduleId": 0,
+ "start": 2764,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentD002"
+ },
+ "to": [
+ 150.0,
+ 0.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 150.0,
+ 0.0
+ ],
+ "tag": null,
+ "to": [
+ 150.0,
+ 0.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 163.0,
+ 13.0
+ ],
+ "from": [
+ 167.0,
+ 13.0
+ ],
+ "radius": 4.0,
+ "tag": null,
+ "to": [
+ 167.0,
+ 13.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 163.0,
+ 162.0
+ ],
+ "from": [
+ 167.0,
+ 162.0
+ ],
+ "radius": 4.0,
+ "tag": null,
+ "to": [
+ 167.0,
+ 162.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 262.0,
+ 13.0
+ ],
+ "from": [
+ 266.0,
+ 13.0
+ ],
+ "radius": 4.0,
+ "tag": null,
+ "to": [
+ 266.0,
+ 13.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 262.0,
+ 162.0
+ ],
+ "from": [
+ 266.0,
+ 162.0
+ ],
+ "radius": 4.0,
+ "tag": null,
+ "to": [
+ 266.0,
+ 162.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Mm"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 150.0,
+ 0.0
+ ],
+ "to": [
+ 150.0,
+ 0.0
+ ],
+ "units": {
+ "type": "Mm"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "tags": {
+ "rectangleSegmentA002": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentA002"
+ },
+ "rectangleSegmentB002": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentB002"
+ },
+ "rectangleSegmentC002": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentC002"
+ },
+ "rectangleSegmentD002": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentD002"
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Mm"
+ }
},
- "ccw": true,
- "center": [
- 262.0,
- 13.0
- ],
- "from": [
- 266.0,
- 13.0
- ],
- "radius": 4.0,
- "tag": null,
- "to": [
- 266.0,
- 13.0
+ "height": 3.0,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "edgeCuts": [
+ {
+ "type": "fillet",
+ "id": "[uuid]",
+ "radius": {
+ "n": 12.0,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Mm"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ "edgeId": "[uuid]",
+ "tag": null
+ },
+ {
+ "type": "fillet",
+ "id": "[uuid]",
+ "radius": {
+ "n": 12.0,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Mm"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ "edgeId": "[uuid]",
+ "tag": null
+ },
+ {
+ "type": "fillet",
+ "id": "[uuid]",
+ "radius": {
+ "n": 12.0,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Mm"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ "edgeId": "[uuid]",
+ "tag": null
+ },
+ {
+ "type": "fillet",
+ "id": "[uuid]",
+ "radius": {
+ "n": 12.0,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Mm"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ "edgeId": "[uuid]",
+ "tag": null
+ }
],
- "type": "Circle",
"units": {
"type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
},
- "ccw": true,
- "center": [
- 262.0,
- 162.0
- ],
- "from": [
- 266.0,
- 162.0
- ],
- "radius": 4.0,
- "tag": null,
- "to": [
- 266.0,
- 162.0
- ],
- "type": "Circle",
- "units": {
- "type": "Mm"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "XY",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
+ "sectional": false
},
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
+ "units": {
+ "type": "Mm"
}
},
"start": {
"from": [
- 150.0,
- 0.0
+ 153.0,
+ 3.0
],
"to": [
- 150.0,
- 0.0
+ 153.0,
+ 3.0
],
"units": {
"type": "Mm"
@@ -2400,21 +2364,21 @@ description: Variables in memory after executing enclosure.kcl
}
},
"tags": {
- "rectangleSegmentA002": {
+ "rectangleSegmentA003": {
"type": "TagIdentifier",
- "value": "rectangleSegmentA002"
+ "value": "rectangleSegmentA003"
},
- "rectangleSegmentB002": {
+ "rectangleSegmentB003": {
"type": "TagIdentifier",
- "value": "rectangleSegmentB002"
+ "value": "rectangleSegmentB003"
},
- "rectangleSegmentC002": {
+ "rectangleSegmentC003": {
"type": "TagIdentifier",
- "value": "rectangleSegmentC002"
+ "value": "rectangleSegmentC003"
},
- "rectangleSegmentD002": {
+ "rectangleSegmentD003": {
"type": "TagIdentifier",
- "value": "rectangleSegmentD002"
+ "value": "rectangleSegmentD003"
}
},
"artifactId": "[uuid]",
@@ -2424,753 +2388,769 @@ description: Variables in memory after executing enclosure.kcl
}
}
},
- "sketch004": {
- "type": "Sketch",
+ "lidOuter": {
+ "type": "Solid",
"value": {
- "type": "Sketch",
+ "type": "Solid",
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 153.0,
- 3.0
- ],
- "tag": {
- "commentStart": 4129,
- "end": 4150,
- "moduleId": 0,
- "start": 4129,
- "type": "TagDeclarator",
- "value": "rectangleSegmentA003"
- },
- "to": [
- 272.0,
- 3.0
- ],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 272.0,
- 3.0
- ],
- "tag": {
- "commentStart": 4256,
- "end": 4277,
- "moduleId": 0,
- "start": 4256,
- "type": "TagDeclarator",
- "value": "rectangleSegmentB003"
- },
- "to": [
- 272.0,
- 172.0
- ],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
- },
+ "artifactId": "[uuid]",
+ "value": [
{
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 272.0,
- 172.0
- ],
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
"tag": {
- "commentStart": 4379,
- "end": 4400,
+ "commentStart": 2454,
+ "end": 2475,
"moduleId": 0,
- "start": 4379,
+ "start": 2454,
"type": "TagDeclarator",
- "value": "rectangleSegmentC003"
+ "value": "rectangleSegmentA002"
},
- "to": [
- 153.0,
- 172.0
- ],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
+ "type": "extrudePlane"
},
{
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 153.0,
- 172.0
- ],
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
"tag": {
- "commentStart": 4470,
- "end": 4491,
+ "commentStart": 2550,
+ "end": 2571,
"moduleId": 0,
- "start": 4470,
+ "start": 2550,
"type": "TagDeclarator",
- "value": "rectangleSegmentD003"
+ "value": "rectangleSegmentB002"
},
- "to": [
- 153.0,
- 3.0
- ],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
+ "type": "extrudePlane"
},
{
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 153.0,
- 3.0
- ],
- "tag": null,
- "to": [
- 153.0,
- 3.0
- ],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
- }
- ],
- "innerPaths": [
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 2673,
+ "end": 2694,
+ "moduleId": 0,
+ "start": 2673,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentC002"
+ },
+ "type": "extrudePlane"
+ },
{
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 2764,
+ "end": 2785,
+ "moduleId": 0,
+ "start": 2764,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentD002"
},
- "ccw": true,
- "center": [
- 163.0,
- 13.0
- ],
- "from": [
- 170.0,
- 13.0
- ],
- "radius": 7.0,
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
"tag": null,
- "to": [
- 170.0,
- 13.0
- ],
- "type": "Circle",
- "units": {
- "type": "Mm"
- }
+ "type": "extrudeArc"
},
{
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 163.0,
- 162.0
- ],
- "from": [
- 170.0,
- 162.0
- ],
- "radius": 7.0,
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
"tag": null,
- "to": [
- 170.0,
- 162.0
- ],
- "type": "Circle",
- "units": {
- "type": "Mm"
- }
+ "type": "extrudeArc"
},
{
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 262.0,
- 13.0
- ],
- "from": [
- 269.0,
- 13.0
- ],
- "radius": 7.0,
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
"tag": null,
- "to": [
- 269.0,
- 13.0
- ],
- "type": "Circle",
- "units": {
- "type": "Mm"
- }
+ "type": "extrudeArc"
},
{
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 262.0,
- 162.0
- ],
- "from": [
- 269.0,
- 162.0
- ],
- "radius": 7.0,
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
"tag": null,
- "to": [
- 269.0,
- 162.0
- ],
- "type": "Circle",
- "units": {
- "type": "Mm"
- }
+ "type": "extrudeArc"
}
],
- "on": {
- "type": "face",
+ "sketch": {
+ "type": "Sketch",
"id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 2436,
- "end": 2457,
- "moduleId": 0,
- "start": 2436,
- "type": "TagDeclarator",
- "value": "rectangleSegmentA002"
- },
- "type": "extrudePlane"
+ "sourceRange": []
},
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 2532,
- "end": 2553,
- "moduleId": 0,
- "start": 2532,
- "type": "TagDeclarator",
- "value": "rectangleSegmentB002"
- },
- "type": "extrudePlane"
+ "from": [
+ 150.0,
+ 0.0
+ ],
+ "tag": {
+ "commentStart": 2454,
+ "end": 2475,
+ "moduleId": 0,
+ "start": 2454,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentA002"
},
- {
- "faceId": "[uuid]",
+ "to": [
+ 275.0,
+ 0.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 2655,
- "end": 2676,
- "moduleId": 0,
- "start": 2655,
- "type": "TagDeclarator",
- "value": "rectangleSegmentC002"
- },
- "type": "extrudePlane"
+ "sourceRange": []
},
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 2746,
- "end": 2767,
- "moduleId": 0,
- "start": 2746,
- "type": "TagDeclarator",
- "value": "rectangleSegmentD002"
- },
- "type": "extrudePlane"
+ "from": [
+ 275.0,
+ 0.0
+ ],
+ "tag": {
+ "commentStart": 2550,
+ "end": 2571,
+ "moduleId": 0,
+ "start": 2550,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentB002"
},
- {
- "faceId": "[uuid]",
+ "to": [
+ 275.0,
+ 175.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
+ "sourceRange": []
},
- {
- "faceId": "[uuid]",
+ "from": [
+ 275.0,
+ 175.0
+ ],
+ "tag": {
+ "commentStart": 2673,
+ "end": 2694,
+ "moduleId": 0,
+ "start": 2673,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentC002"
+ },
+ "to": [
+ 150.0,
+ 175.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
+ "sourceRange": []
},
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
+ "from": [
+ 150.0,
+ 175.0
+ ],
+ "tag": {
+ "commentStart": 2764,
+ "end": 2785,
+ "moduleId": 0,
+ "start": 2764,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentD002"
},
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 150.0,
- 0.0
- ],
- "tag": {
- "commentStart": 2436,
- "end": 2457,
- "moduleId": 0,
- "start": 2436,
- "type": "TagDeclarator",
- "value": "rectangleSegmentA002"
- },
- "to": [
- 275.0,
- 0.0
- ],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 275.0,
- 0.0
- ],
- "tag": {
- "commentStart": 2532,
- "end": 2553,
- "moduleId": 0,
- "start": 2532,
- "type": "TagDeclarator",
- "value": "rectangleSegmentB002"
- },
- "to": [
- 275.0,
- 175.0
- ],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 275.0,
- 175.0
- ],
- "tag": {
- "commentStart": 2655,
- "end": 2676,
- "moduleId": 0,
- "start": 2655,
- "type": "TagDeclarator",
- "value": "rectangleSegmentC002"
- },
- "to": [
- 150.0,
- 175.0
- ],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 150.0,
- 175.0
- ],
- "tag": {
- "commentStart": 2746,
- "end": 2767,
- "moduleId": 0,
- "start": 2746,
- "type": "TagDeclarator",
- "value": "rectangleSegmentD002"
- },
- "to": [
- 150.0,
- 0.0
- ],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 150.0,
- 0.0
- ],
- "tag": null,
- "to": [
- 150.0,
- 0.0
- ],
- "type": "ToPoint",
- "units": {
- "type": "Mm"
- }
- }
+ "to": [
+ 150.0,
+ 0.0
],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 163.0,
- 13.0
- ],
- "from": [
- 167.0,
- 13.0
- ],
- "radius": 4.0,
- "tag": null,
- "to": [
- 167.0,
- 13.0
- ],
- "type": "Circle",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 163.0,
- 162.0
- ],
- "from": [
- 167.0,
- 162.0
- ],
- "radius": 4.0,
- "tag": null,
- "to": [
- 167.0,
- 162.0
- ],
- "type": "Circle",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 262.0,
- 13.0
- ],
- "from": [
- 266.0,
- 13.0
- ],
- "radius": 4.0,
- "tag": null,
- "to": [
- 266.0,
- 13.0
- ],
- "type": "Circle",
- "units": {
- "type": "Mm"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 262.0,
- 162.0
- ],
- "from": [
- 266.0,
- 162.0
- ],
- "radius": 4.0,
- "tag": null,
- "to": [
- 266.0,
- 162.0
- ],
- "type": "Circle",
- "units": {
- "type": "Mm"
- }
- }
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 150.0,
+ 0.0
],
- "on": {
- "artifactId": "[uuid]",
+ "tag": null,
+ "to": [
+ 150.0,
+ 0.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "XY",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
+ "sourceRange": []
},
- "start": {
- "from": [
- 150.0,
- 0.0
- ],
- "to": [
- 150.0,
- 0.0
- ],
- "units": {
+ "ccw": true,
+ "center": [
+ 163.0,
+ 13.0
+ ],
+ "from": [
+ 167.0,
+ 13.0
+ ],
+ "radius": 4.0,
+ "tag": null,
+ "to": [
+ 167.0,
+ 13.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 163.0,
+ 162.0
+ ],
+ "from": [
+ 167.0,
+ 162.0
+ ],
+ "radius": 4.0,
+ "tag": null,
+ "to": [
+ 167.0,
+ 162.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 262.0,
+ 13.0
+ ],
+ "from": [
+ 266.0,
+ 13.0
+ ],
+ "radius": 4.0,
+ "tag": null,
+ "to": [
+ 266.0,
+ 13.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 262.0,
+ 162.0
+ ],
+ "from": [
+ 266.0,
+ 162.0
+ ],
+ "radius": 4.0,
+ "tag": null,
+ "to": [
+ 266.0,
+ 162.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Mm"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 150.0,
+ 0.0
+ ],
+ "to": [
+ 150.0,
+ 0.0
+ ],
+ "units": {
+ "type": "Mm"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "tags": {
+ "rectangleSegmentA002": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentA002"
+ },
+ "rectangleSegmentB002": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentB002"
+ },
+ "rectangleSegmentC002": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentC002"
+ },
+ "rectangleSegmentD002": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentD002"
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "height": 3.0,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "edgeCuts": [
+ {
+ "type": "fillet",
+ "id": "[uuid]",
+ "radius": {
+ "n": 12.0,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Mm"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ "edgeId": "[uuid]",
+ "tag": null
+ },
+ {
+ "type": "fillet",
+ "id": "[uuid]",
+ "radius": {
+ "n": 12.0,
+ "ty": {
+ "type": "Default",
+ "len": {
"type": "Mm"
},
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
+ "angle": {
+ "type": "Degrees"
}
- },
- "tags": {
- "rectangleSegmentA002": {
- "type": "TagIdentifier",
- "value": "rectangleSegmentA002"
- },
- "rectangleSegmentB002": {
- "type": "TagIdentifier",
- "value": "rectangleSegmentB002"
- },
- "rectangleSegmentC002": {
- "type": "TagIdentifier",
- "value": "rectangleSegmentC002"
+ }
+ },
+ "edgeId": "[uuid]",
+ "tag": null
+ },
+ {
+ "type": "fillet",
+ "id": "[uuid]",
+ "radius": {
+ "n": 12.0,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Mm"
},
- "rectangleSegmentD002": {
- "type": "TagIdentifier",
- "value": "rectangleSegmentD002"
+ "angle": {
+ "type": "Degrees"
}
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Mm"
}
},
- "height": 3.0,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
- "edgeCuts": [
- {
- "type": "fillet",
- "id": "[uuid]",
- "radius": {
- "n": 12.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- "edgeId": "[uuid]",
- "tag": null
- },
- {
- "type": "fillet",
- "id": "[uuid]",
- "radius": {
- "n": 12.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- "edgeId": "[uuid]",
- "tag": null
- },
- {
- "type": "fillet",
- "id": "[uuid]",
- "radius": {
- "n": 12.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- "edgeId": "[uuid]",
- "tag": null
- },
- {
- "type": "fillet",
- "id": "[uuid]",
- "radius": {
- "n": 12.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
- },
- "angle": {
- "type": "Degrees"
- }
- }
+ "edgeId": "[uuid]",
+ "tag": null
+ },
+ {
+ "type": "fillet",
+ "id": "[uuid]",
+ "radius": {
+ "n": 12.0,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Mm"
},
- "edgeId": "[uuid]",
- "tag": null
+ "angle": {
+ "type": "Degrees"
+ }
}
+ },
+ "edgeId": "[uuid]",
+ "tag": null
+ }
+ ],
+ "units": {
+ "type": "Mm"
+ },
+ "sectional": false
+ }
+ },
+ "lidOuterProfile": {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 150.0,
+ 0.0
+ ],
+ "tag": {
+ "commentStart": 2454,
+ "end": 2475,
+ "moduleId": 0,
+ "start": 2454,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentA002"
+ },
+ "to": [
+ 275.0,
+ 0.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 275.0,
+ 0.0
+ ],
+ "tag": {
+ "commentStart": 2550,
+ "end": 2571,
+ "moduleId": 0,
+ "start": 2550,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentB002"
+ },
+ "to": [
+ 275.0,
+ 175.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 275.0,
+ 175.0
+ ],
+ "tag": {
+ "commentStart": 2673,
+ "end": 2694,
+ "moduleId": 0,
+ "start": 2673,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentC002"
+ },
+ "to": [
+ 150.0,
+ 175.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 150.0,
+ 175.0
+ ],
+ "tag": {
+ "commentStart": 2764,
+ "end": 2785,
+ "moduleId": 0,
+ "start": 2764,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentD002"
+ },
+ "to": [
+ 150.0,
+ 0.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 150.0,
+ 0.0
+ ],
+ "tag": null,
+ "to": [
+ 150.0,
+ 0.0
],
+ "type": "ToPoint",
"units": {
"type": "Mm"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
},
- "sectional": false
+ "ccw": true,
+ "center": [
+ 163.0,
+ 13.0
+ ],
+ "from": [
+ 167.0,
+ 13.0
+ ],
+ "radius": 4.0,
+ "tag": null,
+ "to": [
+ 167.0,
+ 13.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Mm"
+ }
},
- "units": {
- "type": "Mm"
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 163.0,
+ 162.0
+ ],
+ "from": [
+ 167.0,
+ 162.0
+ ],
+ "radius": 4.0,
+ "tag": null,
+ "to": [
+ 167.0,
+ 162.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 262.0,
+ 13.0
+ ],
+ "from": [
+ 266.0,
+ 13.0
+ ],
+ "radius": 4.0,
+ "tag": null,
+ "to": [
+ 266.0,
+ 13.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 262.0,
+ 162.0
+ ],
+ "from": [
+ 266.0,
+ 162.0
+ ],
+ "radius": 4.0,
+ "tag": null,
+ "to": [
+ 266.0,
+ 162.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Mm"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
}
},
"start": {
"from": [
- 153.0,
- 3.0
+ 150.0,
+ 0.0
],
"to": [
- 153.0,
- 3.0
+ 150.0,
+ 0.0
],
"units": {
"type": "Mm"
@@ -3182,21 +3162,21 @@ description: Variables in memory after executing enclosure.kcl
}
},
"tags": {
- "rectangleSegmentA003": {
+ "rectangleSegmentA002": {
"type": "TagIdentifier",
- "value": "rectangleSegmentA003"
+ "value": "rectangleSegmentA002"
},
- "rectangleSegmentB003": {
+ "rectangleSegmentB002": {
"type": "TagIdentifier",
- "value": "rectangleSegmentB003"
+ "value": "rectangleSegmentB002"
},
- "rectangleSegmentC003": {
+ "rectangleSegmentC002": {
"type": "TagIdentifier",
- "value": "rectangleSegmentC003"
+ "value": "rectangleSegmentC002"
},
- "rectangleSegmentD003": {
+ "rectangleSegmentD002": {
"type": "TagIdentifier",
- "value": "rectangleSegmentD003"
+ "value": "rectangleSegmentD002"
}
},
"artifactId": "[uuid]",
@@ -3206,6 +3186,106 @@ description: Variables in memory after executing enclosure.kcl
}
}
},
+ "lidOuterSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
+ "rectangleSegmentA001": {
+ "type": "TagIdentifier",
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentA001"
+ },
+ "rectangleSegmentA002": {
+ "type": "TagIdentifier",
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentA002"
+ },
+ "rectangleSegmentA003": {
+ "type": "TagIdentifier",
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentA003"
+ },
+ "rectangleSegmentB001": {
+ "type": "TagIdentifier",
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentB001"
+ },
+ "rectangleSegmentB002": {
+ "type": "TagIdentifier",
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentB002"
+ },
+ "rectangleSegmentB003": {
+ "type": "TagIdentifier",
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentB003"
+ },
+ "rectangleSegmentC001": {
+ "type": "TagIdentifier",
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentC001"
+ },
+ "rectangleSegmentC002": {
+ "type": "TagIdentifier",
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentC002"
+ },
+ "rectangleSegmentC003": {
+ "type": "TagIdentifier",
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentC003"
+ },
+ "rectangleSegmentD001": {
+ "type": "TagIdentifier",
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentD001"
+ },
+ "rectangleSegmentD002": {
+ "type": "TagIdentifier",
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentD002"
+ },
+ "rectangleSegmentD003": {
+ "type": "TagIdentifier",
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentD003"
+ },
"wallThickness": {
"type": "Number",
"value": 3.0,
diff --git a/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/artifact_graph_flowchart.snap.md
index 7463e622a7d..146d8740c3f 100644
--- a/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/artifact_graph_flowchart.snap.md
@@ -15,17 +15,17 @@ flowchart LR
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
end
subgraph path9 [Path]
- 9["Path
[1195, 1257, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 10["Segment
[1195, 1257, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 9["Path
[1196, 1271, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 10["Segment
[1196, 1271, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
11[Solid2d]
end
subgraph path12 [Path]
- 12["Path
[1283, 1361, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
- 13["Segment
[1283, 1361, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 12["Path
[1297, 1375, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }, CallKwArg { index: 0 }]
+ 13["Segment
[1297, 1375, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }, CallKwArg { index: 0 }]
14[Solid2d]
end
subgraph path22 [Path]
@@ -43,17 +43,17 @@ flowchart LR
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
end
subgraph path29 [Path]
- 29["Path
[1195, 1257, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 30["Segment
[1195, 1257, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 29["Path
[1196, 1271, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 30["Segment
[1196, 1271, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
31[Solid2d]
end
subgraph path32 [Path]
- 32["Path
[1283, 1361, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
- 33["Segment
[1283, 1361, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 32["Path
[1297, 1375, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }, CallKwArg { index: 0 }]
+ 33["Segment
[1297, 1375, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }, CallKwArg { index: 0 }]
34[Solid2d]
end
subgraph path42 [Path]
@@ -71,17 +71,17 @@ flowchart LR
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
end
subgraph path49 [Path]
- 49["Path
[1195, 1257, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 50["Segment
[1195, 1257, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 49["Path
[1196, 1271, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 50["Segment
[1196, 1271, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
51[Solid2d]
end
subgraph path52 [Path]
- 52["Path
[1283, 1361, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
- 53["Segment
[1283, 1361, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 52["Path
[1297, 1375, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }, CallKwArg { index: 0 }]
+ 53["Segment
[1297, 1375, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }, CallKwArg { index: 0 }]
54[Solid2d]
end
subgraph path62 [Path]
@@ -99,120 +99,120 @@ flowchart LR
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
end
subgraph path69 [Path]
- 69["Path
[1195, 1257, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 70["Segment
[1195, 1257, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 69["Path
[1196, 1271, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 70["Segment
[1196, 1271, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
71[Solid2d]
end
subgraph path72 [Path]
- 72["Path
[1283, 1361, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
- 73["Segment
[1283, 1361, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
+ 72["Path
[1297, 1375, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }, CallKwArg { index: 0 }]
+ 73["Segment
[1297, 1375, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }, CallKwArg { index: 0 }]
74[Solid2d]
end
subgraph path82 [Path]
- 82["Path
[1941, 1976, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 83["Segment
[1982, 2016, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 84["Segment
[2022, 2061, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 85["Segment
[2067, 2105, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 86["Segment
[2111, 2150, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 87["Segment
[2156, 2190, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 88["Segment
[2196, 2239, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 89["Segment
[2245, 2278, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 90["Segment
[2284, 2323, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
- 91["Segment
[2329, 2368, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
- 92["Segment
[2374, 2413, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
- 93["Segment
[2419, 2462, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
- 94["Segment
[2468, 2519, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 13 }]
- 95["Segment
[2525, 2569, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 14 }]
- 96["Segment
[2575, 2614, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
- 97["Segment
[2620, 2658, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 98["Segment
[2664, 2729, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 17 }]
- 99["Segment
[2735, 2742, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 18 }]
+ 82["Path
[1966, 2015, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 83["Segment
[2021, 2055, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 84["Segment
[2061, 2100, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 85["Segment
[2106, 2144, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 86["Segment
[2150, 2189, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 87["Segment
[2195, 2229, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 88["Segment
[2235, 2278, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 89["Segment
[2284, 2317, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 90["Segment
[2323, 2362, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
+ 91["Segment
[2368, 2407, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
+ 92["Segment
[2413, 2452, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
+ 93["Segment
[2458, 2501, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
+ 94["Segment
[2507, 2558, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
+ 95["Segment
[2564, 2608, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 13 }]
+ 96["Segment
[2614, 2653, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 14 }]
+ 97["Segment
[2659, 2697, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 98["Segment
[2703, 2768, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
+ 99["Segment
[2774, 2781, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 17 }]
100[Solid2d]
end
subgraph path101 [Path]
- 101["Path
[2827, 2900, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 19 }, CallKwArg { index: 0 }]
- 102["Segment
[2827, 2900, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 19 }, CallKwArg { index: 0 }]
+ 101["Path
[2866, 2939, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 18 }, CallKwArg { index: 0 }]
+ 102["Segment
[2866, 2939, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 18 }, CallKwArg { index: 0 }]
103[Solid2d]
end
subgraph path104 [Path]
- 104["Path
[2925, 2998, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 20 }, CallKwArg { index: 0 }]
- 105["Segment
[2925, 2998, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 20 }, CallKwArg { index: 0 }]
+ 104["Path
[2964, 3037, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 19 }, CallKwArg { index: 0 }]
+ 105["Segment
[2964, 3037, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 19 }, CallKwArg { index: 0 }]
106[Solid2d]
end
subgraph path107 [Path]
- 107["Path
[3023, 3096, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 21 }, CallKwArg { index: 0 }]
- 108["Segment
[3023, 3096, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 21 }, CallKwArg { index: 0 }]
+ 107["Path
[3062, 3135, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 20 }, CallKwArg { index: 0 }]
+ 108["Segment
[3062, 3135, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 20 }, CallKwArg { index: 0 }]
109[Solid2d]
end
subgraph path110 [Path]
- 110["Path
[3121, 3194, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 22 }, CallKwArg { index: 0 }]
- 111["Segment
[3121, 3194, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 22 }, CallKwArg { index: 0 }]
+ 110["Path
[3160, 3233, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 21 }, CallKwArg { index: 0 }]
+ 111["Segment
[3160, 3233, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 21 }, CallKwArg { index: 0 }]
112[Solid2d]
end
subgraph path113 [Path]
- 113["Path
[3258, 3397, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 23 }, CallKwArg { index: 0 }]
- 114["Segment
[3258, 3397, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 23 }, CallKwArg { index: 0 }]
+ 113["Path
[3297, 3436, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 22 }, CallKwArg { index: 0 }]
+ 114["Segment
[3297, 3436, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 22 }, CallKwArg { index: 0 }]
115[Solid2d]
end
subgraph path116 [Path]
- 116["Path
[3422, 3559, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 24 }, CallKwArg { index: 0 }]
- 117["Segment
[3422, 3559, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 24 }, CallKwArg { index: 0 }]
+ 116["Path
[3461, 3598, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 23 }, CallKwArg { index: 0 }]
+ 117["Segment
[3461, 3598, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 23 }, CallKwArg { index: 0 }]
118[Solid2d]
end
subgraph path119 [Path]
- 119["Path
[3584, 3731, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 25 }, CallKwArg { index: 0 }]
- 120["Segment
[3584, 3731, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 25 }, CallKwArg { index: 0 }]
+ 119["Path
[3623, 3770, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 24 }, CallKwArg { index: 0 }]
+ 120["Segment
[3623, 3770, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 24 }, CallKwArg { index: 0 }]
121[Solid2d]
end
subgraph path122 [Path]
- 122["Path
[3756, 3902, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 26 }, CallKwArg { index: 0 }]
- 123["Segment
[3756, 3902, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 26 }, CallKwArg { index: 0 }]
+ 122["Path
[3795, 3941, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 25 }, CallKwArg { index: 0 }]
+ 123["Segment
[3795, 3941, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 25 }, CallKwArg { index: 0 }]
124[Solid2d]
end
1["Plane
[720, 745, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 8["Plane
[1170, 1187, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 15["Sweep Sweep
[1370, 1393, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 8["Plane
[1169, 1186, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 15["Sweep Sweep
[1384, 1407, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
16[Wall]
%% face_code_ref=Missing NodePath
17["Cap Start"]
@@ -223,10 +223,10 @@ flowchart LR
20["SweepEdge Adjacent"]
21["Plane
[720, 745, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 28["Plane
[1170, 1187, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 35["Sweep Sweep
[1370, 1393, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 28["Plane
[1169, 1186, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 35["Sweep Sweep
[1384, 1407, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
36[Wall]
%% face_code_ref=Missing NodePath
37["Cap Start"]
@@ -237,10 +237,10 @@ flowchart LR
40["SweepEdge Adjacent"]
41["Plane
[720, 745, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 48["Plane
[1170, 1187, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 55["Sweep Sweep
[1370, 1393, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 48["Plane
[1169, 1186, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 55["Sweep Sweep
[1384, 1407, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
56[Wall]
%% face_code_ref=Missing NodePath
57["Cap Start"]
@@ -251,10 +251,10 @@ flowchart LR
60["SweepEdge Adjacent"]
61["Plane
[720, 745, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 68["Plane
[1170, 1187, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 75["Sweep Sweep
[1370, 1393, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 68["Plane
[1169, 1186, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 75["Sweep Sweep
[1384, 1407, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
76[Wall]
%% face_code_ref=Missing NodePath
77["Cap Start"]
@@ -263,10 +263,10 @@ flowchart LR
%% face_code_ref=Missing NodePath
79["SweepEdge Opposite"]
80["SweepEdge Adjacent"]
- 81["Plane
[1918, 1935, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 125["Sweep Extrusion
[3955, 3984, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 27 }]
+ 81["Plane
[1932, 1949, 0]"]
+ %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 125["Sweep Extrusion
[3994, 4023, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 26 }]
126[Wall]
%% face_code_ref=Missing NodePath
127[Wall]
@@ -339,10 +339,10 @@ flowchart LR
176["SweepEdge Adjacent"]
177["SweepEdge Opposite"]
178["SweepEdge Adjacent"]
- 179["EdgeCut Fillet
[3990, 4124, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 28 }]
- 180["EdgeCut Fillet
[4130, 4264, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 29 }]
+ 179["EdgeCut Fillet
[4029, 4163, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 27 }]
+ 180["EdgeCut Fillet
[4169, 4303, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 28 }]
1 --- 2
2 --- 3
2 --- 4
diff --git a/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/ast.snap b/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/ast.snap
index 00d916a3e33..cb00cc2b6ba 100644
--- a/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/ast.snap
+++ b/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/ast.snap
@@ -1325,56 +1325,80 @@ description: Result of parsing exhaust-manifold.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sweepProfile",
+ "name": "sweepSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XY",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XY",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "tube",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -1504,7 +1528,24 @@ description: Result of parsing exhaust-manifold.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "sweepSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -1802,7 +1843,7 @@ description: Result of parsing exhaust-manifold.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "3": [
+ "4": [
{
"commentStart": 0,
"end": 0,
@@ -2542,51 +2583,80 @@ description: Result of parsing exhaust-manifold.kcl
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XY",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XY",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Create the mounting flange for the header"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "flangeProfile",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -2691,7 +2761,24 @@ description: Result of parsing exhaust-manifold.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "flangeSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -6259,7 +6346,7 @@ description: Result of parsing exhaust-manifold.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "18": [
+ "17": [
{
"commentStart": 0,
"end": 0,
@@ -6273,7 +6360,7 @@ description: Result of parsing exhaust-manifold.kcl
}
}
],
- "22": [
+ "21": [
{
"commentStart": 0,
"end": 0,
@@ -6287,7 +6374,7 @@ description: Result of parsing exhaust-manifold.kcl
}
}
],
- "26": [
+ "25": [
{
"commentStart": 0,
"end": 0,
@@ -6315,11 +6402,6 @@ description: Result of parsing exhaust-manifold.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Create the mounting flange for the header"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
diff --git a/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/ops.snap b/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/ops.snap
index 839860620b7..3760b07d0cb 100644
--- a/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/ops.snap
+++ b/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/ops.snap
@@ -364,10 +364,6 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -413,7 +409,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "FunctionExpressionBodyItem",
- "index": 3
+ "index": 4
},
{
"type": "VariableDeclarationDeclaration"
@@ -423,7 +419,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 2
+ "index": 1
}
]
},
@@ -469,7 +465,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "FunctionExpressionBodyItem",
- "index": 3
+ "index": 4
},
{
"type": "VariableDeclarationDeclaration"
@@ -479,7 +475,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 3
+ "index": 2
}
]
},
@@ -716,10 +712,6 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -765,7 +757,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "FunctionExpressionBodyItem",
- "index": 3
+ "index": 4
},
{
"type": "VariableDeclarationDeclaration"
@@ -775,7 +767,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 2
+ "index": 1
}
]
},
@@ -821,7 +813,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "FunctionExpressionBodyItem",
- "index": 3
+ "index": 4
},
{
"type": "VariableDeclarationDeclaration"
@@ -831,7 +823,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 3
+ "index": 2
}
]
},
@@ -1068,10 +1060,6 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -1117,7 +1105,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "FunctionExpressionBodyItem",
- "index": 3
+ "index": 4
},
{
"type": "VariableDeclarationDeclaration"
@@ -1127,7 +1115,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 2
+ "index": 1
}
]
},
@@ -1173,7 +1161,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "FunctionExpressionBodyItem",
- "index": 3
+ "index": 4
},
{
"type": "VariableDeclarationDeclaration"
@@ -1183,7 +1171,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 3
+ "index": 2
}
]
},
@@ -1420,10 +1408,6 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -1469,7 +1453,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "FunctionExpressionBodyItem",
- "index": 3
+ "index": 4
},
{
"type": "VariableDeclarationDeclaration"
@@ -1479,7 +1463,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 2
+ "index": 1
}
]
},
@@ -1525,7 +1509,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "FunctionExpressionBodyItem",
- "index": 3
+ "index": 4
},
{
"type": "VariableDeclarationDeclaration"
@@ -1535,7 +1519,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 3
+ "index": 2
}
]
},
@@ -1566,10 +1550,6 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -1602,7 +1582,7 @@ description: Operations executed exhaust-manifold.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -1612,7 +1592,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 19
+ "index": 18
}
]
},
@@ -1645,7 +1625,7 @@ description: Operations executed exhaust-manifold.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -1655,7 +1635,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 20
+ "index": 19
}
]
},
@@ -1688,7 +1668,7 @@ description: Operations executed exhaust-manifold.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -1698,7 +1678,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 21
+ "index": 20
}
]
},
@@ -1731,7 +1711,7 @@ description: Operations executed exhaust-manifold.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -1741,7 +1721,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 22
+ "index": 21
}
]
},
@@ -1774,7 +1754,7 @@ description: Operations executed exhaust-manifold.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -1784,7 +1764,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 23
+ "index": 22
}
]
},
@@ -1817,7 +1797,7 @@ description: Operations executed exhaust-manifold.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -1827,7 +1807,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 24
+ "index": 23
}
]
},
@@ -1860,7 +1840,7 @@ description: Operations executed exhaust-manifold.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -1870,7 +1850,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 25
+ "index": 24
}
]
},
@@ -1903,7 +1883,7 @@ description: Operations executed exhaust-manifold.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -1913,7 +1893,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 26
+ "index": 25
}
]
},
@@ -1953,7 +1933,7 @@ description: Operations executed exhaust-manifold.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -1963,7 +1943,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 27
+ "index": 26
}
]
},
@@ -2019,7 +1999,7 @@ description: Operations executed exhaust-manifold.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -2029,7 +2009,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 28
+ "index": 27
}
]
},
@@ -2085,7 +2065,7 @@ description: Operations executed exhaust-manifold.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -2095,7 +2075,7 @@ description: Operations executed exhaust-manifold.kcl
},
{
"type": "PipeBodyItem",
- "index": 29
+ "index": 28
}
]
},
diff --git a/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/program_memory.snap b/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/program_memory.snap
index 3fc5d9184f3..d8d2d60979d 100644
--- a/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/program_memory.snap
+++ b/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/program_memory.snap
@@ -16,7 +16,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
}
}
},
- "flangeSketch": {
+ "flangeProfile": {
"type": "Solid",
"value": {
"type": "Solid",
@@ -28,10 +28,10 @@ description: Variables in memory after executing exhaust-manifold.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2009,
- "end": 2015,
+ "commentStart": 2048,
+ "end": 2054,
"moduleId": 0,
- "start": 2009,
+ "start": 2048,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -63,10 +63,10 @@ description: Variables in memory after executing exhaust-manifold.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2183,
- "end": 2189,
+ "commentStart": 2222,
+ "end": 2228,
"moduleId": 0,
- "start": 2183,
+ "start": 2222,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -77,10 +77,10 @@ description: Variables in memory after executing exhaust-manifold.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2232,
- "end": 2238,
+ "commentStart": 2271,
+ "end": 2277,
"moduleId": 0,
- "start": 2232,
+ "start": 2271,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -91,10 +91,10 @@ description: Variables in memory after executing exhaust-manifold.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2271,
- "end": 2277,
+ "commentStart": 2310,
+ "end": 2316,
"moduleId": 0,
- "start": 2271,
+ "start": 2310,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -126,10 +126,10 @@ description: Variables in memory after executing exhaust-manifold.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2455,
- "end": 2461,
+ "commentStart": 2494,
+ "end": 2500,
"moduleId": 0,
- "start": 2455,
+ "start": 2494,
"type": "TagDeclarator",
"value": "seg07"
},
@@ -140,10 +140,10 @@ description: Variables in memory after executing exhaust-manifold.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2512,
- "end": 2518,
+ "commentStart": 2551,
+ "end": 2557,
"moduleId": 0,
- "start": 2512,
+ "start": 2551,
"type": "TagDeclarator",
"value": "seg08"
},
@@ -154,10 +154,10 @@ description: Variables in memory after executing exhaust-manifold.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2562,
- "end": 2568,
+ "commentStart": 2601,
+ "end": 2607,
"moduleId": 0,
- "start": 2562,
+ "start": 2601,
"type": "TagDeclarator",
"value": "seg09"
},
@@ -255,10 +255,10 @@ description: Variables in memory after executing exhaust-manifold.kcl
-1.25
],
"tag": {
- "commentStart": 2009,
- "end": 2015,
+ "commentStart": 2048,
+ "end": 2054,
"moduleId": 0,
- "start": 2009,
+ "start": 2048,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -353,10 +353,10 @@ description: Variables in memory after executing exhaust-manifold.kcl
-1.2499999999999996
],
"tag": {
- "commentStart": 2183,
- "end": 2189,
+ "commentStart": 2222,
+ "end": 2228,
"moduleId": 0,
- "start": 2183,
+ "start": 2222,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -379,10 +379,10 @@ description: Variables in memory after executing exhaust-manifold.kcl
-1.2499999999999996
],
"tag": {
- "commentStart": 2232,
- "end": 2238,
+ "commentStart": 2271,
+ "end": 2277,
"moduleId": 0,
- "start": 2232,
+ "start": 2271,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -405,10 +405,10 @@ description: Variables in memory after executing exhaust-manifold.kcl
1.3500000000000005
],
"tag": {
- "commentStart": 2271,
- "end": 2277,
+ "commentStart": 2310,
+ "end": 2316,
"moduleId": 0,
- "start": 2271,
+ "start": 2310,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -503,10 +503,10 @@ description: Variables in memory after executing exhaust-manifold.kcl
1.3500000000000008
],
"tag": {
- "commentStart": 2455,
- "end": 2461,
+ "commentStart": 2494,
+ "end": 2500,
"moduleId": 0,
- "start": 2455,
+ "start": 2494,
"type": "TagDeclarator",
"value": "seg07"
},
@@ -529,10 +529,10 @@ description: Variables in memory after executing exhaust-manifold.kcl
1.3500000000000008
],
"tag": {
- "commentStart": 2512,
- "end": 2518,
+ "commentStart": 2551,
+ "end": 2557,
"moduleId": 0,
- "start": 2512,
+ "start": 2551,
"type": "TagDeclarator",
"value": "seg08"
},
@@ -555,10 +555,10 @@ description: Variables in memory after executing exhaust-manifold.kcl
-1.25
],
"tag": {
- "commentStart": 2562,
- "end": 2568,
+ "commentStart": 2601,
+ "end": 2607,
"moduleId": 0,
- "start": 2562,
+ "start": 2601,
"type": "TagDeclarator",
"value": "seg09"
},
@@ -1040,6 +1040,46 @@ description: Variables in memory after executing exhaust-manifold.kcl
"sectional": false
}
},
+ "flangeSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"plateHeight": {
"type": "Number",
"value": 0.125,
diff --git a/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/artifact_commands.snap b/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/artifact_commands.snap
index b43ff138888..63174f640da 100644
--- a/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/artifact_commands.snap
+++ b/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/artifact_commands.snap
@@ -713,31 +713,6 @@ description: Artifact commands focusrite-scarlett-mounting-bracket.kcl
]
}
},
- {
- "cmdId": "[uuid]",
- "range": [],
- "command": {
- "type": "make_plane",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 49.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": [],
@@ -1273,31 +1248,6 @@ description: Artifact commands focusrite-scarlett-mounting-bracket.kcl
"edge_id": "[uuid]"
}
},
- {
- "cmdId": "[uuid]",
- "range": [],
- "command": {
- "type": "make_plane",
- "origin": {
- "x": -52.0,
- "y": 0.0,
- "z": 0.0
- },
- "x_axis": {
- "x": 0.0,
- "y": 1.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": [],
diff --git a/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/artifact_graph_flowchart.snap.md
index 9e9189a649e..a7b2b46aa06 100644
--- a/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/artifact_graph_flowchart.snap.md
@@ -1,93 +1,93 @@
```mermaid
flowchart LR
subgraph path2 [Path]
- 2["Path
[831, 869, 0]"]
+ 2["Path
[795, 833, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 3["Segment
[877, 927, 0]"]
+ 3["Segment
[841, 891, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 4["Segment
[935, 984, 0]"]
+ 4["Segment
[899, 948, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 5["Segment
[992, 1044, 0]"]
+ 5["Segment
[956, 1008, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 6["Segment
[1052, 1100, 0]"]
+ 6["Segment
[1016, 1064, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 7["Segment
[1108, 1152, 0]"]
+ 7["Segment
[1072, 1116, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 8["Segment
[1160, 1205, 0]"]
+ 8["Segment
[1124, 1169, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 9["Segment
[1213, 1262, 0]"]
+ 9["Segment
[1177, 1226, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 10["Segment
[1270, 1289, 0]"]
+ 10["Segment
[1234, 1253, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
11[Solid2d]
end
subgraph path41 [Path]
- 41["Path
[1992, 2046, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 42["Segment
[2052, 2105, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 43["Segment
[2111, 2161, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 44["Segment
[2167, 2221, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 45["Segment
[2227, 2247, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 41["Path
[1929, 1995, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 42["Segment
[2001, 2054, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 43["Segment
[2060, 2110, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 44["Segment
[2116, 2170, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 45["Segment
[2176, 2196, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
46[Solid2d]
end
subgraph path47 [Path]
- 47["Path
[2271, 2434, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }, CallKwArg { index: 0 }]
- 48["Segment
[2271, 2434, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }, CallKwArg { index: 0 }]
+ 47["Path
[2220, 2383, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }, CallKwArg { index: 0 }]
+ 48["Segment
[2220, 2383, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }, CallKwArg { index: 0 }]
49[Solid2d]
end
- subgraph path70 [Path]
- 70["Path
[2816, 2871, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 71["Segment
[2877, 2931, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 72["Segment
[2937, 2987, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 73["Segment
[2993, 3046, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 74["Segment
[3052, 3072, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 75[Solid2d]
+ subgraph path69 [Path]
+ 69["Path
[2736, 2803, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 70["Segment
[2809, 2863, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 71["Segment
[2869, 2919, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 72["Segment
[2925, 2978, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 73["Segment
[2984, 3004, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 74[Solid2d]
end
- subgraph path76 [Path]
- 76["Path
[3096, 3262, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }, CallKwArg { index: 0 }]
- 77["Segment
[3096, 3262, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }, CallKwArg { index: 0 }]
- 78[Solid2d]
+ subgraph path75 [Path]
+ 75["Path
[3028, 3194, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }, CallKwArg { index: 0 }]
+ 76["Segment
[3028, 3194, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }, CallKwArg { index: 0 }]
+ 77[Solid2d]
end
- subgraph path99 [Path]
- 99["Path
[3842, 3883, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 100["Segment
[3889, 3909, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 101["Segment
[3915, 3938, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 102["Segment
[3944, 3951, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 103[Solid2d]
+ subgraph path98 [Path]
+ 98["Path
[3746, 3798, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 99["Segment
[3804, 3824, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 100["Segment
[3830, 3853, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 101["Segment
[3859, 3866, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 102[Solid2d]
end
- subgraph path117 [Path]
- 117["Path
[4066, 4106, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 118["Segment
[4112, 4132, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 119["Segment
[4138, 4159, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 120["Segment
[4165, 4186, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 121["Segment
[4192, 4199, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 122[Solid2d]
+ subgraph path115 [Path]
+ 115["Path
[3952, 4003, 0]"]
+ %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 116["Segment
[4009, 4029, 0]"]
+ %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 117["Segment
[4035, 4056, 0]"]
+ %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 118["Segment
[4062, 4083, 0]"]
+ %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 119["Segment
[4089, 4096, 0]"]
+ %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 120[Solid2d]
end
- 1["Plane
[796, 823, 0]"]
+ 1["Plane
[760, 787, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 12["Sweep Extrusion
[1409, 1443, 0]"]
+ 12["Sweep Extrusion
[1373, 1407, 0]"]
%% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
13[Wall]
%% face_code_ref=Missing NodePath
@@ -125,12 +125,12 @@ flowchart LR
36["SweepEdge Adjacent"]
37["SweepEdge Opposite"]
38["SweepEdge Adjacent"]
- 39["EdgeCut Fillet
[1449, 1708, 0]"]
+ 39["EdgeCut Fillet
[1413, 1672, 0]"]
%% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 40["Plane
[1963, 1986, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 50["Sweep Extrusion
[2441, 2466, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 40["Plane
[1897, 1920, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 50["Sweep Extrusion
[2390, 2415, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
51[Wall]
%% face_code_ref=Missing NodePath
52[Wall]
@@ -155,12 +155,12 @@ flowchart LR
65["SweepEdge Adjacent"]
66["SweepEdge Opposite"]
67["SweepEdge Adjacent"]
- 68["EdgeCut Fillet
[2472, 2617, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 69["Plane
[2787, 2810, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 79["Sweep Extrusion
[3269, 3294, 0]"]
+ 68["EdgeCut Fillet
[2421, 2566, 0]"]
%% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 78["Sweep Extrusion
[3201, 3226, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 79[Wall]
+ %% face_code_ref=Missing NodePath
80[Wall]
%% face_code_ref=Missing NodePath
81[Wall]
@@ -169,68 +169,64 @@ flowchart LR
%% face_code_ref=Missing NodePath
83[Wall]
%% face_code_ref=Missing NodePath
- 84[Wall]
- %% face_code_ref=Missing NodePath
- 85["Cap Start"]
- %% face_code_ref=Missing NodePath
- 86["Cap End"]
- %% face_code_ref=Missing NodePath
- 87["SweepEdge Opposite"]
- 88["SweepEdge Adjacent"]
- 89["SweepEdge Opposite"]
- 90["SweepEdge Adjacent"]
- 91["SweepEdge Opposite"]
- 92["SweepEdge Adjacent"]
- 93["SweepEdge Opposite"]
- 94["SweepEdge Adjacent"]
- 95["SweepEdge Opposite"]
- 96["SweepEdge Adjacent"]
- 97["EdgeCut Fillet
[3300, 3445, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 98["Plane
[3813, 3836, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 104["Sweep Extrusion
[3957, 3985, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 84["Cap Start"]
+ %% face_code_ref=Missing NodePath
+ 85["Cap End"]
+ %% face_code_ref=Missing NodePath
+ 86["SweepEdge Opposite"]
+ 87["SweepEdge Adjacent"]
+ 88["SweepEdge Opposite"]
+ 89["SweepEdge Adjacent"]
+ 90["SweepEdge Opposite"]
+ 91["SweepEdge Adjacent"]
+ 92["SweepEdge Opposite"]
+ 93["SweepEdge Adjacent"]
+ 94["SweepEdge Opposite"]
+ 95["SweepEdge Adjacent"]
+ 96["EdgeCut Fillet
[3232, 3377, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 97["Plane
[3711, 3734, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 103["Sweep Extrusion
[3872, 3900, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 104[Wall]
+ %% face_code_ref=Missing NodePath
105[Wall]
%% face_code_ref=Missing NodePath
106[Wall]
%% face_code_ref=Missing NodePath
- 107[Wall]
+ 107["Cap Start"]
%% face_code_ref=Missing NodePath
- 108["Cap Start"]
+ 108["Cap End"]
%% face_code_ref=Missing NodePath
- 109["Cap End"]
+ 109["SweepEdge Opposite"]
+ 110["SweepEdge Adjacent"]
+ 111["SweepEdge Opposite"]
+ 112["SweepEdge Adjacent"]
+ 113["SweepEdge Opposite"]
+ 114["SweepEdge Adjacent"]
+ 121["Sweep Extrusion
[4102, 4130, 0]"]
+ %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 122[Wall]
+ %% face_code_ref=Missing NodePath
+ 123[Wall]
%% face_code_ref=Missing NodePath
- 110["SweepEdge Opposite"]
- 111["SweepEdge Adjacent"]
- 112["SweepEdge Opposite"]
- 113["SweepEdge Adjacent"]
- 114["SweepEdge Opposite"]
- 115["SweepEdge Adjacent"]
- 116["Plane
[4037, 4060, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 123["Sweep Extrusion
[4205, 4233, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
124[Wall]
%% face_code_ref=Missing NodePath
125[Wall]
%% face_code_ref=Missing NodePath
- 126[Wall]
- %% face_code_ref=Missing NodePath
- 127[Wall]
- %% face_code_ref=Missing NodePath
- 128["Cap Start"]
+ 126["Cap Start"]
%% face_code_ref=Missing NodePath
- 129["Cap End"]
+ 127["Cap End"]
%% face_code_ref=Missing NodePath
+ 128["SweepEdge Opposite"]
+ 129["SweepEdge Adjacent"]
130["SweepEdge Opposite"]
131["SweepEdge Adjacent"]
132["SweepEdge Opposite"]
133["SweepEdge Adjacent"]
134["SweepEdge Opposite"]
135["SweepEdge Adjacent"]
- 136["SweepEdge Opposite"]
- 137["SweepEdge Adjacent"]
1 --- 2
2 --- 3
2 --- 4
@@ -335,6 +331,8 @@ flowchart LR
34 <--x 39
40 --- 41
40 --- 47
+ 40 --- 69
+ 40 --- 75
41 --- 42
41 --- 43
41 --- 44
@@ -403,166 +401,164 @@ flowchart LR
66 <--x 56
65 <--x 68
69 --- 70
- 69 --- 76
- 70 --- 71
- 70 --- 72
- 70 --- 73
- 70 --- 74
- 70 --- 75
- 76 --- 70
- 70 ---- 79
+ 69 --- 71
+ 69 --- 72
+ 69 --- 73
+ 69 --- 74
+ 75 --- 69
+ 69 ---- 78
+ 70 --- 79
+ 70 x--> 85
+ 70 --- 86
+ 70 --- 87
71 --- 80
- 71 x--> 86
- 71 --- 87
+ 71 x--> 85
71 --- 88
+ 71 --- 89
72 --- 81
- 72 x--> 86
- 72 --- 89
+ 72 x--> 85
72 --- 90
+ 72 --- 91
73 --- 82
- 73 x--> 86
- 73 --- 91
+ 73 x--> 85
73 --- 92
- 74 --- 83
- 74 x--> 86
- 74 --- 93
- 74 --- 94
- 76 --- 77
- 76 --- 78
- 76 x---> 79
- 77 --- 84
- 77 x--> 86
- 77 --- 95
- 77 --- 96
- 79 --- 80
- 79 --- 81
- 79 --- 82
- 79 --- 83
- 79 --- 84
- 79 --- 85
+ 73 --- 93
+ 75 --- 76
+ 75 --- 77
+ 75 x---> 78
+ 76 --- 83
+ 76 x--> 85
+ 76 --- 94
+ 76 --- 95
+ 78 --- 79
+ 78 --- 80
+ 78 --- 81
+ 78 --- 82
+ 78 --- 83
+ 78 --- 84
+ 78 --- 85
+ 78 --- 86
+ 78 --- 87
+ 78 --- 88
+ 78 --- 89
+ 78 --- 90
+ 78 --- 91
+ 78 --- 92
+ 78 --- 93
+ 78 --- 94
+ 78 --- 95
79 --- 86
79 --- 87
- 79 --- 88
- 79 --- 89
- 79 --- 90
- 79 --- 91
- 79 --- 92
- 79 --- 93
- 79 --- 94
- 79 --- 95
- 79 --- 96
- 80 --- 87
+ 93 <--x 79
+ 87 <--x 80
80 --- 88
- 94 <--x 80
- 88 <--x 81
- 81 --- 89
+ 80 --- 89
+ 89 <--x 81
81 --- 90
- 90 <--x 82
- 82 --- 91
+ 81 --- 91
+ 91 <--x 82
82 --- 92
- 92 <--x 83
- 83 --- 93
+ 82 --- 93
83 --- 94
- 84 --- 95
- 84 --- 96
- 87 <--x 85
- 89 <--x 85
- 91 <--x 85
- 93 <--x 85
- 95 <--x 85
- 88 <--x 97
+ 83 --- 95
+ 86 <--x 84
+ 88 <--x 84
+ 90 <--x 84
+ 92 <--x 84
+ 94 <--x 84
+ 87 <--x 96
+ 97 --- 98
+ 97 --- 115
98 --- 99
- 99 --- 100
- 99 --- 101
- 99 --- 102
- 99 --- 103
- 99 ---- 104
- 100 --- 107
- 100 x--> 108
- 100 --- 114
- 100 --- 115
- 101 --- 106
- 101 x--> 108
- 101 --- 112
- 101 --- 113
- 102 --- 105
- 102 x--> 108
- 102 --- 110
- 102 --- 111
- 104 --- 105
- 104 --- 106
- 104 --- 107
- 104 --- 108
+ 98 --- 100
+ 98 --- 101
+ 98 --- 102
+ 98 ---- 103
+ 99 --- 106
+ 99 x--> 107
+ 99 --- 113
+ 99 --- 114
+ 100 --- 105
+ 100 x--> 107
+ 100 --- 111
+ 100 --- 112
+ 101 --- 104
+ 101 x--> 107
+ 101 --- 109
+ 101 --- 110
+ 103 --- 104
+ 103 --- 105
+ 103 --- 106
+ 103 --- 107
+ 103 --- 108
+ 103 --- 109
+ 103 --- 110
+ 103 --- 111
+ 103 --- 112
+ 103 --- 113
+ 103 --- 114
104 --- 109
104 --- 110
- 104 --- 111
- 104 --- 112
- 104 --- 113
- 104 --- 114
- 104 --- 115
- 105 --- 110
+ 112 <--x 104
105 --- 111
- 113 <--x 105
- 106 --- 112
+ 105 --- 112
+ 114 <--x 105
+ 110 <--x 106
106 --- 113
- 115 <--x 106
- 111 <--x 107
- 107 --- 114
- 107 --- 115
- 110 <--x 109
- 112 <--x 109
- 114 <--x 109
- 116 --- 117
- 117 --- 118
- 117 --- 119
- 117 --- 120
- 117 --- 121
- 117 --- 122
- 117 ---- 123
+ 106 --- 114
+ 109 <--x 108
+ 111 <--x 108
+ 113 <--x 108
+ 115 --- 116
+ 115 --- 117
+ 115 --- 118
+ 115 --- 119
+ 115 --- 120
+ 115 ---- 121
+ 116 --- 122
+ 116 x--> 126
+ 116 --- 128
+ 116 --- 129
+ 117 --- 123
+ 117 x--> 126
+ 117 --- 130
+ 117 --- 131
118 --- 124
- 118 x--> 128
- 118 --- 130
- 118 --- 131
+ 118 x--> 126
+ 118 --- 132
+ 118 --- 133
119 --- 125
- 119 x--> 128
- 119 --- 132
- 119 --- 133
- 120 --- 126
- 120 x--> 128
- 120 --- 134
- 120 --- 135
+ 119 x--> 126
+ 119 --- 134
+ 119 --- 135
+ 121 --- 122
+ 121 --- 123
+ 121 --- 124
+ 121 --- 125
+ 121 --- 126
121 --- 127
- 121 x--> 128
- 121 --- 136
- 121 --- 137
- 123 --- 124
- 123 --- 125
- 123 --- 126
- 123 --- 127
- 123 --- 128
- 123 --- 129
+ 121 --- 128
+ 121 --- 129
+ 121 --- 130
+ 121 --- 131
+ 121 --- 132
+ 121 --- 133
+ 121 --- 134
+ 121 --- 135
+ 122 --- 128
+ 122 --- 129
+ 135 <--x 122
+ 129 <--x 123
123 --- 130
123 --- 131
- 123 --- 132
- 123 --- 133
- 123 --- 134
- 123 --- 135
- 123 --- 136
- 123 --- 137
- 124 --- 130
- 124 --- 131
- 137 <--x 124
- 131 <--x 125
- 125 --- 132
- 125 --- 133
- 133 <--x 126
- 126 --- 134
- 126 --- 135
- 135 <--x 127
- 127 --- 136
- 127 --- 137
- 130 <--x 129
- 132 <--x 129
- 134 <--x 129
- 136 <--x 129
+ 131 <--x 124
+ 124 --- 132
+ 124 --- 133
+ 133 <--x 125
+ 125 --- 134
+ 125 --- 135
+ 128 <--x 127
+ 130 <--x 127
+ 132 <--x 127
+ 134 <--x 127
```
diff --git a/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/ast.snap b/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/ast.snap
index 56473f3f390..417885d0357 100644
--- a/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/ast.snap
+++ b/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/ast.snap
@@ -739,124 +739,6 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl
"type": "ObjectExpression",
"type": "ObjectExpression"
}
- },
- {
- "commentStart": 0,
- "end": 0,
- "key": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "zAxis",
- "start": 0,
- "type": "Identifier"
- },
- "moduleId": 0,
- "start": 0,
- "type": "ObjectProperty",
- "value": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "properties": [
- {
- "commentStart": 0,
- "end": 0,
- "key": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "x",
- "start": 0,
- "type": "Identifier"
- },
- "moduleId": 0,
- "start": 0,
- "type": "ObjectProperty",
- "value": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.0,
- "suffix": "None"
- }
- }
- },
- {
- "commentStart": 0,
- "end": 0,
- "key": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "y",
- "start": 0,
- "type": "Identifier"
- },
- "moduleId": 0,
- "start": 0,
- "type": "ObjectProperty",
- "value": {
- "argument": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "1",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 1.0,
- "suffix": "None"
- }
- },
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "operator": "-",
- "start": 0,
- "type": "UnaryExpression",
- "type": "UnaryExpression"
- }
- },
- {
- "commentStart": 0,
- "end": 0,
- "key": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "z",
- "start": 0,
- "type": "Identifier"
- },
- "moduleId": 0,
- "start": 0,
- "type": "ObjectProperty",
- "value": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.0,
- "suffix": "None"
- }
- }
- }
- ],
- "start": 0,
- "type": "ObjectExpression",
- "type": "ObjectExpression"
- }
}
],
"start": 0,
@@ -3534,115 +3416,6 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl
"type": "ObjectExpression",
"type": "ObjectExpression"
}
- },
- {
- "commentStart": 0,
- "end": 0,
- "key": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "zAxis",
- "start": 0,
- "type": "Identifier"
- },
- "moduleId": 0,
- "start": 0,
- "type": "ObjectProperty",
- "value": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "properties": [
- {
- "commentStart": 0,
- "end": 0,
- "key": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "x",
- "start": 0,
- "type": "Identifier"
- },
- "moduleId": 0,
- "start": 0,
- "type": "ObjectProperty",
- "value": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.0,
- "suffix": "None"
- }
- }
- },
- {
- "commentStart": 0,
- "end": 0,
- "key": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "y",
- "start": 0,
- "type": "Identifier"
- },
- "moduleId": 0,
- "start": 0,
- "type": "ObjectProperty",
- "value": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.0,
- "suffix": "None"
- }
- }
- },
- {
- "commentStart": 0,
- "end": 0,
- "key": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "z",
- "start": 0,
- "type": "Identifier"
- },
- "moduleId": 0,
- "start": 0,
- "type": "ObjectProperty",
- "value": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "1",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 1.0,
- "suffix": "None"
- }
- }
- }
- ],
- "start": 0,
- "type": "ObjectExpression",
- "type": "ObjectExpression"
- }
}
],
"start": 0,
@@ -3669,56 +3442,85 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "tabsR",
+ "name": "tabsSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "tabPlane",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "tabPlane",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Build the tabs of the mounting bracket (right side)"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "tabsR",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -3900,7 +3702,24 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "tabsSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -5307,7 +5126,7 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "9": [
+ "8": [
{
"commentStart": 0,
"end": 0,
@@ -5335,11 +5154,6 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Build the tabs of the mounting bracket (right side)"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -5359,50 +5173,6 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl
},
"init": {
"body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "tabPlane",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
- },
{
"arguments": [
{
@@ -5593,7 +5363,24 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "tabsSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -7009,7 +6796,7 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "9": [
+ "8": [
{
"commentStart": 0,
"end": 0,
@@ -7443,115 +7230,6 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl
"type": "ObjectExpression",
"type": "ObjectExpression"
}
- },
- {
- "commentStart": 0,
- "end": 0,
- "key": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "zAxis",
- "start": 0,
- "type": "Identifier"
- },
- "moduleId": 0,
- "start": 0,
- "type": "ObjectProperty",
- "value": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "properties": [
- {
- "commentStart": 0,
- "end": 0,
- "key": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "x",
- "start": 0,
- "type": "Identifier"
- },
- "moduleId": 0,
- "start": 0,
- "type": "ObjectProperty",
- "value": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "1",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 1.0,
- "suffix": "None"
- }
- }
- },
- {
- "commentStart": 0,
- "end": 0,
- "key": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "y",
- "start": 0,
- "type": "Identifier"
- },
- "moduleId": 0,
- "start": 0,
- "type": "ObjectProperty",
- "value": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.0,
- "suffix": "None"
- }
- }
- },
- {
- "commentStart": 0,
- "end": 0,
- "key": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "z",
- "start": 0,
- "type": "Identifier"
- },
- "moduleId": 0,
- "start": 0,
- "type": "ObjectProperty",
- "value": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.0,
- "suffix": "None"
- }
- }
- }
- ],
- "start": 0,
- "type": "ObjectExpression",
- "type": "ObjectExpression"
- }
}
],
"start": 0,
@@ -7578,56 +7256,85 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "retFront",
+ "name": "retSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "retPlane",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "retPlane",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Build the retention bump in the front"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "retFront",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -7764,7 +7471,24 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "retSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -8052,7 +7776,7 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "5": [
+ "4": [
{
"commentStart": 0,
"end": 0,
@@ -8080,11 +7804,6 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Build the retention bump in the front"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -8104,50 +7823,6 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl
},
"init": {
"body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "retPlane",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
- },
{
"arguments": [
{
@@ -8275,7 +7950,24 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "retSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
diff --git a/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/ops.snap b/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/ops.snap
index 456a83ee21d..3a22bdf19db 100644
--- a/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/ops.snap
+++ b/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/ops.snap
@@ -568,10 +568,6 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -604,7 +600,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -614,7 +610,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
},
{
"type": "PipeBodyItem",
- "index": 6
+ "index": 5
}
]
},
@@ -654,7 +650,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -664,7 +660,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
},
{
"type": "PipeBodyItem",
- "index": 7
+ "index": 6
}
]
},
@@ -720,7 +716,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -730,7 +726,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
},
{
"type": "PipeBodyItem",
- "index": 8
+ "index": 7
}
]
},
@@ -824,37 +820,6 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
"sourceRange": []
}
},
- "nodePath": {
- "steps": [
- {
- "type": "ProgramBodyItem",
- "index": 14
- },
- {
- "type": "VariableDeclarationDeclaration"
- },
- {
- "type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 9
- }
- ]
- },
- "sourceRange": []
- },
- {
- "type": "StdLibCall",
- "name": "startSketchOn",
- "unlabeledArg": {
- "value": {
- "type": "Plane",
- "artifact_id": "[uuid]"
- },
- "sourceRange": []
- },
- "labeledArgs": {},
"nodePath": {
"steps": [
{
@@ -869,7 +834,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
},
{
"type": "PipeBodyItem",
- "index": 0
+ "index": 8
}
]
},
@@ -902,7 +867,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 15
+ "index": 16
},
{
"type": "VariableDeclarationDeclaration"
@@ -912,7 +877,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
},
{
"type": "PipeBodyItem",
- "index": 6
+ "index": 5
}
]
},
@@ -952,7 +917,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 15
+ "index": 16
},
{
"type": "VariableDeclarationDeclaration"
@@ -962,7 +927,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
},
{
"type": "PipeBodyItem",
- "index": 7
+ "index": 6
}
]
},
@@ -1018,7 +983,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 15
+ "index": 16
},
{
"type": "VariableDeclarationDeclaration"
@@ -1028,7 +993,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
},
{
"type": "PipeBodyItem",
- "index": 8
+ "index": 7
}
]
},
@@ -1126,7 +1091,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 15
+ "index": 16
},
{
"type": "VariableDeclarationDeclaration"
@@ -1136,7 +1101,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
},
{
"type": "PipeBodyItem",
- "index": 9
+ "index": 8
}
]
},
@@ -1157,17 +1122,13 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 17
+ "index": 18
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -1207,38 +1168,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 17
- },
- {
- "type": "VariableDeclarationDeclaration"
- },
- {
- "type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 5
- }
- ]
- },
- "sourceRange": []
- },
- {
- "type": "StdLibCall",
- "name": "startSketchOn",
- "unlabeledArg": {
- "value": {
- "type": "Plane",
- "artifact_id": "[uuid]"
- },
- "sourceRange": []
- },
- "labeledArgs": {},
- "nodePath": {
- "steps": [
- {
- "type": "ProgramBodyItem",
- "index": 18
+ "index": 19
},
{
"type": "VariableDeclarationDeclaration"
@@ -1248,7 +1178,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
},
{
"type": "PipeBodyItem",
- "index": 0
+ "index": 4
}
]
},
@@ -1288,7 +1218,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 18
+ "index": 20
},
{
"type": "VariableDeclarationDeclaration"
@@ -1298,7 +1228,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
},
{
"type": "PipeBodyItem",
- "index": 6
+ "index": 5
}
]
},
diff --git a/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/program_memory.snap b/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/program_memory.snap
index a278c75e993..d0e82428a41 100644
--- a/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/program_memory.snap
+++ b/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/program_memory.snap
@@ -15,10 +15,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 920,
- "end": 926,
+ "commentStart": 884,
+ "end": 890,
"moduleId": 0,
- "start": 920,
+ "start": 884,
"type": "TagDeclarator",
"value": "edge1"
},
@@ -29,10 +29,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 977,
- "end": 983,
+ "commentStart": 941,
+ "end": 947,
"moduleId": 0,
- "start": 977,
+ "start": 941,
"type": "TagDeclarator",
"value": "edge2"
},
@@ -43,10 +43,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 1037,
- "end": 1043,
+ "commentStart": 1001,
+ "end": 1007,
"moduleId": 0,
- "start": 1037,
+ "start": 1001,
"type": "TagDeclarator",
"value": "edge3"
},
@@ -57,10 +57,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 1093,
- "end": 1099,
+ "commentStart": 1057,
+ "end": 1063,
"moduleId": 0,
- "start": 1093,
+ "start": 1057,
"type": "TagDeclarator",
"value": "edge4"
},
@@ -71,10 +71,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 1145,
- "end": 1151,
+ "commentStart": 1109,
+ "end": 1115,
"moduleId": 0,
- "start": 1145,
+ "start": 1109,
"type": "TagDeclarator",
"value": "edge5"
},
@@ -85,10 +85,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 1198,
- "end": 1204,
+ "commentStart": 1162,
+ "end": 1168,
"moduleId": 0,
- "start": 1198,
+ "start": 1162,
"type": "TagDeclarator",
"value": "edge6"
},
@@ -99,10 +99,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 1255,
- "end": 1261,
+ "commentStart": 1219,
+ "end": 1225,
"moduleId": 0,
- "start": 1255,
+ "start": 1219,
"type": "TagDeclarator",
"value": "edge7"
},
@@ -113,10 +113,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 1282,
- "end": 1288,
+ "commentStart": 1246,
+ "end": 1252,
"moduleId": 0,
- "start": 1282,
+ "start": 1246,
"type": "TagDeclarator",
"value": "edge8"
},
@@ -137,10 +137,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
49.0
],
"tag": {
- "commentStart": 920,
- "end": 926,
+ "commentStart": 884,
+ "end": 890,
"moduleId": 0,
- "start": 920,
+ "start": 884,
"type": "TagDeclarator",
"value": "edge1"
},
@@ -163,10 +163,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
-4.0
],
"tag": {
- "commentStart": 977,
- "end": 983,
+ "commentStart": 941,
+ "end": 947,
"moduleId": 0,
- "start": 977,
+ "start": 941,
"type": "TagDeclarator",
"value": "edge2"
},
@@ -189,10 +189,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
-4.0
],
"tag": {
- "commentStart": 1037,
- "end": 1043,
+ "commentStart": 1001,
+ "end": 1007,
"moduleId": 0,
- "start": 1037,
+ "start": 1001,
"type": "TagDeclarator",
"value": "edge3"
},
@@ -215,10 +215,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
49.0
],
"tag": {
- "commentStart": 1093,
- "end": 1099,
+ "commentStart": 1057,
+ "end": 1063,
"moduleId": 0,
- "start": 1093,
+ "start": 1057,
"type": "TagDeclarator",
"value": "edge4"
},
@@ -241,10 +241,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
49.0
],
"tag": {
- "commentStart": 1145,
- "end": 1151,
+ "commentStart": 1109,
+ "end": 1115,
"moduleId": 0,
- "start": 1145,
+ "start": 1109,
"type": "TagDeclarator",
"value": "edge5"
},
@@ -267,10 +267,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
0.0
],
"tag": {
- "commentStart": 1198,
- "end": 1204,
+ "commentStart": 1162,
+ "end": 1168,
"moduleId": 0,
- "start": 1198,
+ "start": 1162,
"type": "TagDeclarator",
"value": "edge6"
},
@@ -293,10 +293,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
0.0
],
"tag": {
- "commentStart": 1255,
- "end": 1261,
+ "commentStart": 1219,
+ "end": 1225,
"moduleId": 0,
- "start": 1255,
+ "start": 1219,
"type": "TagDeclarator",
"value": "edge7"
},
@@ -319,10 +319,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
49.0
],
"tag": {
- "commentStart": 1282,
- "end": 1288,
+ "commentStart": 1246,
+ "end": 1252,
"moduleId": 0,
- "start": 1282,
+ "start": 1246,
"type": "TagDeclarator",
"value": "edge8"
},
@@ -649,50 +649,6 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
}
}
}
- },
- "zAxis": {
- "type": "Object",
- "value": {
- "x": {
- "type": "Number",
- "value": 0.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- "y": {
- "type": "Number",
- "value": -1.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- "z": {
- "type": "Number",
- "value": 0.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- }
- }
}
}
},
@@ -716,10 +672,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
49.0
],
"tag": {
- "commentStart": 920,
- "end": 926,
+ "commentStart": 884,
+ "end": 890,
"moduleId": 0,
- "start": 920,
+ "start": 884,
"type": "TagDeclarator",
"value": "edge1"
},
@@ -742,10 +698,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
-4.0
],
"tag": {
- "commentStart": 977,
- "end": 983,
+ "commentStart": 941,
+ "end": 947,
"moduleId": 0,
- "start": 977,
+ "start": 941,
"type": "TagDeclarator",
"value": "edge2"
},
@@ -768,10 +724,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
-4.0
],
"tag": {
- "commentStart": 1037,
- "end": 1043,
+ "commentStart": 1001,
+ "end": 1007,
"moduleId": 0,
- "start": 1037,
+ "start": 1001,
"type": "TagDeclarator",
"value": "edge3"
},
@@ -794,10 +750,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
49.0
],
"tag": {
- "commentStart": 1093,
- "end": 1099,
+ "commentStart": 1057,
+ "end": 1063,
"moduleId": 0,
- "start": 1093,
+ "start": 1057,
"type": "TagDeclarator",
"value": "edge4"
},
@@ -820,10 +776,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
49.0
],
"tag": {
- "commentStart": 1145,
- "end": 1151,
+ "commentStart": 1109,
+ "end": 1115,
"moduleId": 0,
- "start": 1145,
+ "start": 1109,
"type": "TagDeclarator",
"value": "edge5"
},
@@ -846,10 +802,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
0.0
],
"tag": {
- "commentStart": 1198,
- "end": 1204,
+ "commentStart": 1162,
+ "end": 1168,
"moduleId": 0,
- "start": 1198,
+ "start": 1162,
"type": "TagDeclarator",
"value": "edge6"
},
@@ -872,10 +828,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
0.0
],
"tag": {
- "commentStart": 1255,
- "end": 1261,
+ "commentStart": 1219,
+ "end": 1225,
"moduleId": 0,
- "start": 1255,
+ "start": 1219,
"type": "TagDeclarator",
"value": "edge7"
},
@@ -898,10 +854,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
49.0
],
"tag": {
- "commentStart": 1282,
- "end": 1288,
+ "commentStart": 1246,
+ "end": 1252,
"moduleId": 0,
- "start": 1282,
+ "start": 1246,
"type": "TagDeclarator",
"value": "edge8"
},
@@ -1628,49 +1584,45 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
}
}
}
+ }
+ }
+ },
+ "retSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": -52.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "Custom",
+ "xAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
},
"zAxis": {
- "type": "Object",
- "value": {
- "x": {
- "type": "Number",
- "value": 1.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- "y": {
- "type": "Number",
- "value": 0.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- "z": {
- "type": "Number",
- "value": 0.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- }
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
}
}
}
@@ -1822,50 +1774,6 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
}
}
}
- },
- "zAxis": {
- "type": "Object",
- "value": {
- "x": {
- "type": "Number",
- "value": 0.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- "y": {
- "type": "Number",
- "value": 0.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- "z": {
- "type": "Number",
- "value": 1.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Mm"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- }
- }
}
}
},
@@ -1910,10 +1818,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2923,
- "end": 2930,
+ "commentStart": 2855,
+ "end": 2862,
"moduleId": 0,
- "start": 2923,
+ "start": 2855,
"type": "TagDeclarator",
"value": "edge21"
},
@@ -1924,10 +1832,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2979,
- "end": 2986,
+ "commentStart": 2911,
+ "end": 2918,
"moduleId": 0,
- "start": 2979,
+ "start": 2911,
"type": "TagDeclarator",
"value": "edge22"
},
@@ -1938,10 +1846,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 3038,
- "end": 3045,
+ "commentStart": 2970,
+ "end": 2977,
"moduleId": 0,
- "start": 3038,
+ "start": 2970,
"type": "TagDeclarator",
"value": "edge23"
},
@@ -1952,10 +1860,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 3064,
- "end": 3071,
+ "commentStart": 2996,
+ "end": 3003,
"moduleId": 0,
- "start": 3064,
+ "start": 2996,
"type": "TagDeclarator",
"value": "edge24"
},
@@ -1983,10 +1891,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
44.0
],
"tag": {
- "commentStart": 2923,
- "end": 2930,
+ "commentStart": 2855,
+ "end": 2862,
"moduleId": 0,
- "start": 2923,
+ "start": 2855,
"type": "TagDeclarator",
"value": "edge21"
},
@@ -2009,10 +1917,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
35.666666666666664
],
"tag": {
- "commentStart": 2979,
- "end": 2986,
+ "commentStart": 2911,
+ "end": 2918,
"moduleId": 0,
- "start": 2979,
+ "start": 2911,
"type": "TagDeclarator",
"value": "edge22"
},
@@ -2035,10 +1943,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
18.999999999999996
],
"tag": {
- "commentStart": 3038,
- "end": 3045,
+ "commentStart": 2970,
+ "end": 2977,
"moduleId": 0,
- "start": 3038,
+ "start": 2970,
"type": "TagDeclarator",
"value": "edge23"
},
@@ -2061,10 +1969,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
10.666666666666663
],
"tag": {
- "commentStart": 3064,
- "end": 3071,
+ "commentStart": 2996,
+ "end": 3003,
"moduleId": 0,
- "start": 3064,
+ "start": 2996,
"type": "TagDeclarator",
"value": "edge24"
},
@@ -2244,10 +2152,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2923,
- "end": 2930,
+ "commentStart": 2855,
+ "end": 2862,
"moduleId": 0,
- "start": 2923,
+ "start": 2855,
"type": "TagDeclarator",
"value": "edge21"
},
@@ -2258,10 +2166,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2979,
- "end": 2986,
+ "commentStart": 2911,
+ "end": 2918,
"moduleId": 0,
- "start": 2979,
+ "start": 2911,
"type": "TagDeclarator",
"value": "edge22"
},
@@ -2272,10 +2180,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 3038,
- "end": 3045,
+ "commentStart": 2970,
+ "end": 2977,
"moduleId": 0,
- "start": 3038,
+ "start": 2970,
"type": "TagDeclarator",
"value": "edge23"
},
@@ -2286,10 +2194,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 3064,
- "end": 3071,
+ "commentStart": 2996,
+ "end": 3003,
"moduleId": 0,
- "start": 3064,
+ "start": 2996,
"type": "TagDeclarator",
"value": "edge24"
},
@@ -2317,10 +2225,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
44.0
],
"tag": {
- "commentStart": 2923,
- "end": 2930,
+ "commentStart": 2855,
+ "end": 2862,
"moduleId": 0,
- "start": 2923,
+ "start": 2855,
"type": "TagDeclarator",
"value": "edge21"
},
@@ -2343,10 +2251,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
35.666666666666664
],
"tag": {
- "commentStart": 2979,
- "end": 2986,
+ "commentStart": 2911,
+ "end": 2918,
"moduleId": 0,
- "start": 2979,
+ "start": 2911,
"type": "TagDeclarator",
"value": "edge22"
},
@@ -2369,10 +2277,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
18.999999999999996
],
"tag": {
- "commentStart": 3038,
- "end": 3045,
+ "commentStart": 2970,
+ "end": 2977,
"moduleId": 0,
- "start": 3038,
+ "start": 2970,
"type": "TagDeclarator",
"value": "edge23"
},
@@ -2395,10 +2303,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
10.666666666666663
],
"tag": {
- "commentStart": 3064,
- "end": 3071,
+ "commentStart": 2996,
+ "end": 3003,
"moduleId": 0,
- "start": 3064,
+ "start": 2996,
"type": "TagDeclarator",
"value": "edge24"
},
@@ -2583,10 +2491,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2097,
- "end": 2104,
+ "commentStart": 2046,
+ "end": 2053,
"moduleId": 0,
- "start": 2097,
+ "start": 2046,
"type": "TagDeclarator",
"value": "edge11"
},
@@ -2597,10 +2505,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2153,
- "end": 2160,
+ "commentStart": 2102,
+ "end": 2109,
"moduleId": 0,
- "start": 2153,
+ "start": 2102,
"type": "TagDeclarator",
"value": "edge12"
},
@@ -2611,10 +2519,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2213,
- "end": 2220,
+ "commentStart": 2162,
+ "end": 2169,
"moduleId": 0,
- "start": 2213,
+ "start": 2162,
"type": "TagDeclarator",
"value": "edge13"
},
@@ -2625,10 +2533,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2239,
- "end": 2246,
+ "commentStart": 2188,
+ "end": 2195,
"moduleId": 0,
- "start": 2239,
+ "start": 2188,
"type": "TagDeclarator",
"value": "edge14"
},
@@ -2656,10 +2564,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
44.0
],
"tag": {
- "commentStart": 2097,
- "end": 2104,
+ "commentStart": 2046,
+ "end": 2053,
"moduleId": 0,
- "start": 2097,
+ "start": 2046,
"type": "TagDeclarator",
"value": "edge11"
},
@@ -2682,10 +2590,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
35.666666666666664
],
"tag": {
- "commentStart": 2153,
- "end": 2160,
+ "commentStart": 2102,
+ "end": 2109,
"moduleId": 0,
- "start": 2153,
+ "start": 2102,
"type": "TagDeclarator",
"value": "edge12"
},
@@ -2708,10 +2616,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
18.999999999999996
],
"tag": {
- "commentStart": 2213,
- "end": 2220,
+ "commentStart": 2162,
+ "end": 2169,
"moduleId": 0,
- "start": 2213,
+ "start": 2162,
"type": "TagDeclarator",
"value": "edge13"
},
@@ -2734,10 +2642,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
10.666666666666663
],
"tag": {
- "commentStart": 2239,
- "end": 2246,
+ "commentStart": 2188,
+ "end": 2195,
"moduleId": 0,
- "start": 2239,
+ "start": 2188,
"type": "TagDeclarator",
"value": "edge14"
},
@@ -2917,10 +2825,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2097,
- "end": 2104,
+ "commentStart": 2046,
+ "end": 2053,
"moduleId": 0,
- "start": 2097,
+ "start": 2046,
"type": "TagDeclarator",
"value": "edge11"
},
@@ -2931,10 +2839,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2153,
- "end": 2160,
+ "commentStart": 2102,
+ "end": 2109,
"moduleId": 0,
- "start": 2153,
+ "start": 2102,
"type": "TagDeclarator",
"value": "edge12"
},
@@ -2945,10 +2853,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2213,
- "end": 2220,
+ "commentStart": 2162,
+ "end": 2169,
"moduleId": 0,
- "start": 2213,
+ "start": 2162,
"type": "TagDeclarator",
"value": "edge13"
},
@@ -2959,10 +2867,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2239,
- "end": 2246,
+ "commentStart": 2188,
+ "end": 2195,
"moduleId": 0,
- "start": 2239,
+ "start": 2188,
"type": "TagDeclarator",
"value": "edge14"
},
@@ -2990,10 +2898,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
44.0
],
"tag": {
- "commentStart": 2097,
- "end": 2104,
+ "commentStart": 2046,
+ "end": 2053,
"moduleId": 0,
- "start": 2097,
+ "start": 2046,
"type": "TagDeclarator",
"value": "edge11"
},
@@ -3016,10 +2924,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
35.666666666666664
],
"tag": {
- "commentStart": 2153,
- "end": 2160,
+ "commentStart": 2102,
+ "end": 2109,
"moduleId": 0,
- "start": 2153,
+ "start": 2102,
"type": "TagDeclarator",
"value": "edge12"
},
@@ -3042,10 +2950,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
18.999999999999996
],
"tag": {
- "commentStart": 2213,
- "end": 2220,
+ "commentStart": 2162,
+ "end": 2169,
"moduleId": 0,
- "start": 2213,
+ "start": 2162,
"type": "TagDeclarator",
"value": "edge13"
},
@@ -3068,10 +2976,10 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
10.666666666666663
],
"tag": {
- "commentStart": 2239,
- "end": 2246,
+ "commentStart": 2188,
+ "end": 2195,
"moduleId": 0,
- "start": 2239,
+ "start": 2188,
"type": "TagDeclarator",
"value": "edge14"
},
@@ -3241,6 +3149,46 @@ description: Variables in memory after executing focusrite-scarlett-mounting-bra
}
]
},
+ "tabsSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 49.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"thk": {
"type": "Number",
"value": 4.0,
diff --git a/rust/kcl-lib/tests/kcl_samples/french-press/artifact_commands.snap b/rust/kcl-lib/tests/kcl_samples/french-press/artifact_commands.snap
index 0fb63d534ec..e9c59608b53 100644
--- a/rust/kcl-lib/tests/kcl_samples/french-press/artifact_commands.snap
+++ b/rust/kcl-lib/tests/kcl_samples/french-press/artifact_commands.snap
@@ -1398,31 +1398,6 @@ description: Artifact commands french-press.kcl
"edge_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": 0.0,
- "z": 1.0
- },
- "size": 60.0,
- "clobber": false,
- "hide": true
- }
- },
{
"cmdId": "[uuid]",
"range": [],
diff --git a/rust/kcl-lib/tests/kcl_samples/french-press/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/french-press/artifact_graph_flowchart.snap.md
index 4a4eb0bc507..272fe4eb9fa 100644
--- a/rust/kcl-lib/tests/kcl_samples/french-press/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/french-press/artifact_graph_flowchart.snap.md
@@ -1,210 +1,210 @@
```mermaid
flowchart LR
subgraph path2 [Path]
- 2["Path
[283, 327, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 3["Segment
[333, 397, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 4["Segment
[403, 501, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 5["Segment
[507, 624, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 6["Segment
[630, 686, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 7["Segment
[692, 699, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 2["Path
[291, 346, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 3["Segment
[352, 416, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 4["Segment
[422, 520, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 5["Segment
[526, 643, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 6["Segment
[649, 705, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 7["Segment
[711, 718, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
8[Solid2d]
end
subgraph path19 [Path]
- 19["Path
[989, 1033, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 20["Segment
[1039, 1058, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 21["Segment
[1064, 1098, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 22["Segment
[1104, 1155, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 23["Segment
[1161, 1212, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 24["Segment
[1218, 1269, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 25["Segment
[1275, 1333, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 26["Segment
[1339, 1388, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 27["Segment
[1394, 1434, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
- 28["Segment
[1440, 1459, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
- 29["Segment
[1465, 1518, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
- 30["Segment
[1524, 1573, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
- 31["Segment
[1579, 1649, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 13 }]
- 32["Segment
[1655, 1706, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 14 }]
- 33["Segment
[1712, 1782, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
- 34["Segment
[1788, 1839, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 35["Segment
[1845, 1901, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 17 }]
- 36["Segment
[1907, 1914, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 18 }]
+ 19["Path
[1009, 1064, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 20["Segment
[1070, 1089, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 21["Segment
[1095, 1129, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 22["Segment
[1135, 1186, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 23["Segment
[1192, 1243, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 24["Segment
[1249, 1300, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 25["Segment
[1306, 1364, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 26["Segment
[1370, 1419, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 27["Segment
[1425, 1465, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
+ 28["Segment
[1471, 1490, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
+ 29["Segment
[1496, 1549, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
+ 30["Segment
[1555, 1604, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
+ 31["Segment
[1610, 1680, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
+ 32["Segment
[1686, 1737, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 13 }]
+ 33["Segment
[1743, 1813, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 14 }]
+ 34["Segment
[1819, 1870, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 35["Segment
[1876, 1932, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
+ 36["Segment
[1938, 1945, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 17 }]
37[Solid2d]
end
subgraph path90 [Path]
- 90["Path
[2181, 2240, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 91["Segment
[2181, 2240, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 90["Path
[2240, 2310, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 91["Segment
[2240, 2310, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit]
92[Solid2d]
end
subgraph path99 [Path]
- 99["Path
[2346, 2376, 0]"]
- %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 100["Segment
[2382, 2401, 0]"]
- %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 101["Segment
[2407, 2457, 0]"]
- %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 102["Segment
[2463, 2519, 0]"]
- %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 103["Segment
[2525, 2532, 0]"]
- %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 99["Path
[2425, 2466, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 100["Segment
[2472, 2491, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 101["Segment
[2497, 2547, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 102["Segment
[2553, 2609, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 103["Segment
[2615, 2622, 0]"]
+ %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
104[Solid2d]
end
subgraph path118 [Path]
- 118["Path
[2770, 2801, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 119["Segment
[2807, 2852, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 120["Segment
[2858, 2935, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 121["Segment
[2941, 2980, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 122["Segment
[2986, 3032, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 123["Segment
[3038, 3063, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 124["Segment
[3069, 3125, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 125["Segment
[3131, 3138, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
+ 118["Path
[2869, 2911, 0]"]
+ %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 119["Segment
[2917, 2962, 0]"]
+ %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 120["Segment
[2968, 3045, 0]"]
+ %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 121["Segment
[3051, 3090, 0]"]
+ %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 122["Segment
[3096, 3142, 0]"]
+ %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 123["Segment
[3148, 3173, 0]"]
+ %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 124["Segment
[3179, 3235, 0]"]
+ %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 125["Segment
[3241, 3248, 0]"]
+ %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
126[Solid2d]
end
- subgraph path141 [Path]
- 141["Path
[3218, 3245, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 142["Segment
[3251, 3271, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 143["Segment
[3277, 3320, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 144["Segment
[3326, 3344, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 145["Segment
[3350, 3370, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 146["Segment
[3376, 3396, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 147["Segment
[3402, 3442, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 148["Segment
[3448, 3504, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 149["Segment
[3510, 3517, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
- 150[Solid2d]
+ subgraph path140 [Path]
+ 140["Path
[3306, 3344, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 141["Segment
[3350, 3370, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 142["Segment
[3376, 3419, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 143["Segment
[3425, 3443, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 144["Segment
[3449, 3469, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 145["Segment
[3475, 3495, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 146["Segment
[3501, 3541, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 147["Segment
[3547, 3603, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 148["Segment
[3609, 3616, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
+ 149[Solid2d]
end
- subgraph path167 [Path]
- 167["Path
[3621, 3680, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 168["Segment
[3621, 3680, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 169[Solid2d]
+ subgraph path166 [Path]
+ 166["Path
[3728, 3798, 0]"]
+ %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 167["Segment
[3728, 3798, 0]"]
+ %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 168[Solid2d]
end
- subgraph path170 [Path]
- 170["Path
[3704, 3741, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
- 171["Segment
[3704, 3741, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
- 172[Solid2d]
+ subgraph path169 [Path]
+ 169["Path
[3822, 3859, 0]"]
+ %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }, CallKwArg { index: 0 }]
+ 170["Segment
[3822, 3859, 0]"]
+ %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }, CallKwArg { index: 0 }]
+ 171[Solid2d]
end
- subgraph path182 [Path]
- 182["Path
[3885, 3923, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 183["Segment
[3885, 3923, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 184[Solid2d]
+ subgraph path181 [Path]
+ 181["Path
[4012, 4061, 0]"]
+ %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 182["Segment
[4012, 4061, 0]"]
+ %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 183[Solid2d]
end
- subgraph path196 [Path]
- 196["Path
[4201, 4239, 0]"]
- %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 197["Segment
[4201, 4239, 0]"]
- %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 198[Solid2d]
+ subgraph path195 [Path]
+ 195["Path
[4348, 4397, 0]"]
+ %% [ProgramBodyItem { index: 26 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 196["Segment
[4348, 4397, 0]"]
+ %% [ProgramBodyItem { index: 26 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 197[Solid2d]
end
- subgraph path207 [Path]
- 207["Path
[4491, 4543, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 208["Segment
[4491, 4543, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 209[Solid2d]
+ subgraph path206 [Path]
+ 206["Path
[4658, 4721, 0]"]
+ %% [ProgramBodyItem { index: 29 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 207["Segment
[4658, 4721, 0]"]
+ %% [ProgramBodyItem { index: 29 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 208[Solid2d]
end
- subgraph path217 [Path]
- 217["Path
[4788, 4832, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 218["Segment
[4838, 4878, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 219["Segment
[4884, 4903, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 220["Segment
[4909, 4928, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 221["Segment
[4934, 4953, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 222["Segment
[4959, 4984, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 223["Segment
[4990, 5098, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 224["Segment
[5104, 5160, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 225["Segment
[5166, 5173, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
- 226[Solid2d]
+ subgraph path216 [Path]
+ 216["Path
[4975, 5030, 0]"]
+ %% [ProgramBodyItem { index: 32 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 217["Segment
[5036, 5076, 0]"]
+ %% [ProgramBodyItem { index: 32 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 218["Segment
[5082, 5101, 0]"]
+ %% [ProgramBodyItem { index: 32 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 219["Segment
[5107, 5126, 0]"]
+ %% [ProgramBodyItem { index: 32 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 220["Segment
[5132, 5151, 0]"]
+ %% [ProgramBodyItem { index: 32 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 221["Segment
[5157, 5182, 0]"]
+ %% [ProgramBodyItem { index: 32 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 222["Segment
[5188, 5296, 0]"]
+ %% [ProgramBodyItem { index: 32 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 223["Segment
[5302, 5358, 0]"]
+ %% [ProgramBodyItem { index: 32 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 224["Segment
[5364, 5371, 0]"]
+ %% [ProgramBodyItem { index: 32 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
+ 225[Solid2d]
end
- subgraph path243 [Path]
- 243["Path
[5303, 5332, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 244["Segment
[5338, 5359, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 245["Segment
[5365, 5405, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 246["Segment
[5411, 5451, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 247["Segment
[5457, 5498, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 248["Segment
[5504, 5526, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 249["Segment
[5532, 5553, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 250["Segment
[5559, 5584, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 251["Segment
[5590, 5630, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
- 252["Segment
[5636, 5677, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
- 253["Segment
[5683, 5724, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
- 254["Segment
[5730, 5751, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
- 255["Segment
[5757, 5813, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 13 }]
- 256["Segment
[5819, 5826, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 14 }]
- 257[Solid2d]
+ subgraph path242 [Path]
+ 242["Path
[5529, 5569, 0]"]
+ %% [ProgramBodyItem { index: 35 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 243["Segment
[5575, 5596, 0]"]
+ %% [ProgramBodyItem { index: 35 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 244["Segment
[5602, 5642, 0]"]
+ %% [ProgramBodyItem { index: 35 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 245["Segment
[5648, 5688, 0]"]
+ %% [ProgramBodyItem { index: 35 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 246["Segment
[5694, 5735, 0]"]
+ %% [ProgramBodyItem { index: 35 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 247["Segment
[5741, 5763, 0]"]
+ %% [ProgramBodyItem { index: 35 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 248["Segment
[5769, 5790, 0]"]
+ %% [ProgramBodyItem { index: 35 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 249["Segment
[5796, 5821, 0]"]
+ %% [ProgramBodyItem { index: 35 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 250["Segment
[5827, 5867, 0]"]
+ %% [ProgramBodyItem { index: 35 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
+ 251["Segment
[5873, 5914, 0]"]
+ %% [ProgramBodyItem { index: 35 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
+ 252["Segment
[5920, 5961, 0]"]
+ %% [ProgramBodyItem { index: 35 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
+ 253["Segment
[5967, 5988, 0]"]
+ %% [ProgramBodyItem { index: 35 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
+ 254["Segment
[5994, 6050, 0]"]
+ %% [ProgramBodyItem { index: 35 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
+ 255["Segment
[6056, 6063, 0]"]
+ %% [ProgramBodyItem { index: 35 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 13 }]
+ 256[Solid2d]
end
1["Plane
[260, 277, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 9["Sweep Revolve
[705, 735, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 9["Sweep Revolve
[732, 774, 0]"]
+ %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit]
10[Wall]
%% face_code_ref=Missing NodePath
11[Wall]
@@ -217,10 +217,10 @@ flowchart LR
15["SweepEdge Adjacent"]
16["SweepEdge Adjacent"]
17["SweepEdge Adjacent"]
- 18["Plane
[960, 983, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 38["Sweep Extrusion
[1920, 1942, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 19 }]
+ 18["Plane
[972, 995, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 38["Sweep Extrusion
[1959, 1993, 0]"]
+ %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
39[Wall]
%% face_code_ref=Missing NodePath
40[Wall]
@@ -289,20 +289,20 @@ flowchart LR
86["SweepEdge Adjacent"]
87["SweepEdge Opposite"]
88["SweepEdge Adjacent"]
- 89["Plane
[2147, 2174, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
- 93["Sweep Extrusion
[2255, 2289, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 89["Plane
[2198, 2225, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, CallKwUnlabeledArg]
+ 93["Sweep Extrusion
[2325, 2360, 0]"]
+ %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit]
94[Wall]
%% face_code_ref=Missing NodePath
95["Cap Start"]
%% face_code_ref=Missing NodePath
96["Cap End"]
- %% face_code_ref=[ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ %% face_code_ref=[ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit]
97["SweepEdge Opposite"]
98["SweepEdge Adjacent"]
- 105["Sweep Extrusion
[2681, 2716, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 105["Sweep Extrusion
[2771, 2807, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit]
106[Wall]
%% face_code_ref=Missing NodePath
107[Wall]
@@ -315,14 +315,14 @@ flowchart LR
112["SweepEdge Adjacent"]
113["SweepEdge Opposite"]
114["SweepEdge Adjacent"]
- 115["Sweep Extrusion
[2681, 2716, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit]
- 116["Sweep Extrusion
[2681, 2716, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit]
- 117["Plane
[2747, 2764, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 127["Sweep Revolve
[3144, 3161, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
+ 115["Sweep Extrusion
[2771, 2807, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 116["Sweep Extrusion
[2771, 2807, 0]"]
+ %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 117["Plane
[2838, 2855, 0]"]
+ %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 127["Sweep Revolve
[3254, 3271, 0]"]
+ %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
128[Wall]
%% face_code_ref=Missing NodePath
129[Wall]
@@ -341,10 +341,10 @@ flowchart LR
137["SweepEdge Adjacent"]
138["SweepEdge Adjacent"]
139["SweepEdge Adjacent"]
- 140["Plane
[3195, 3212, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 151["Sweep Revolve
[3523, 3540, 0]"]
- %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
+ 150["Sweep Revolve
[3622, 3639, 0]"]
+ %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
+ 151[Wall]
+ %% face_code_ref=Missing NodePath
152[Wall]
%% face_code_ref=Missing NodePath
153[Wall]
@@ -357,79 +357,79 @@ flowchart LR
%% face_code_ref=Missing NodePath
157[Wall]
%% face_code_ref=Missing NodePath
- 158[Wall]
- %% face_code_ref=Missing NodePath
+ 158["SweepEdge Adjacent"]
159["SweepEdge Adjacent"]
160["SweepEdge Adjacent"]
161["SweepEdge Adjacent"]
162["SweepEdge Adjacent"]
163["SweepEdge Adjacent"]
164["SweepEdge Adjacent"]
- 165["SweepEdge Adjacent"]
- 166["Plane
[3584, 3614, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
- 173["Sweep Extrusion
[3757, 3791, 0]"]
- %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit]
- 174[Wall]
+ 165["Plane
[3683, 3713, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, CallKwUnlabeledArg]
+ 172["Sweep Extrusion
[3875, 3910, 0]"]
+ %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 173[Wall]
%% face_code_ref=Missing NodePath
- 175[Wall]
- %% face_code_ref=Missing NodePath
- 176["Cap Start"]
+ 174[Wall]
%% face_code_ref=Missing NodePath
- 177["Cap End"]
- %% face_code_ref=[ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 178["SweepEdge Opposite"]
- 179["SweepEdge Adjacent"]
- 180["SweepEdge Opposite"]
- 181["SweepEdge Adjacent"]
- 185["Sweep Extrusion
[4072, 4107, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit]
- 186[Wall]
+ 175["Cap Start"]
+ %% face_code_ref=Missing NodePath
+ 176["Cap End"]
+ %% face_code_ref=[ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 177["SweepEdge Opposite"]
+ 178["SweepEdge Adjacent"]
+ 179["SweepEdge Opposite"]
+ 180["SweepEdge Adjacent"]
+ 184["Sweep Extrusion
[4210, 4246, 0]"]
+ %% [ProgramBodyItem { index: 24 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 185[Wall]
+ %% face_code_ref=Missing NodePath
+ 186["SweepEdge Opposite"]
+ 187["SweepEdge Adjacent"]
+ 188["Sweep Extrusion
[4210, 4246, 0]"]
+ %% [ProgramBodyItem { index: 24 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 189["Sweep Extrusion
[4210, 4246, 0]"]
+ %% [ProgramBodyItem { index: 24 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 190["Sweep Extrusion
[4210, 4246, 0]"]
+ %% [ProgramBodyItem { index: 24 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 191["Sweep Extrusion
[4210, 4246, 0]"]
+ %% [ProgramBodyItem { index: 24 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 192["Sweep Extrusion
[4210, 4246, 0]"]
+ %% [ProgramBodyItem { index: 24 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 193["Sweep Extrusion
[4210, 4246, 0]"]
+ %% [ProgramBodyItem { index: 24 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 194["Sweep Extrusion
[4210, 4246, 0]"]
+ %% [ProgramBodyItem { index: 24 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 198["Sweep Extrusion
[4546, 4582, 0]"]
+ %% [ProgramBodyItem { index: 27 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 199[Wall]
+ %% face_code_ref=Missing NodePath
+ 200["SweepEdge Opposite"]
+ 201["SweepEdge Adjacent"]
+ 202["Sweep Extrusion
[4546, 4582, 0]"]
+ %% [ProgramBodyItem { index: 27 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 203["Sweep Extrusion
[4546, 4582, 0]"]
+ %% [ProgramBodyItem { index: 27 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 204["Sweep Extrusion
[4546, 4582, 0]"]
+ %% [ProgramBodyItem { index: 27 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 205["Plane
[4627, 4644, 0]"]
+ %% [ProgramBodyItem { index: 28 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 209["Sweep Extrusion
[4817, 4859, 0]"]
+ %% [ProgramBodyItem { index: 30 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 210[Wall]
+ %% face_code_ref=Missing NodePath
+ 211["Cap Start"]
+ %% face_code_ref=Missing NodePath
+ 212["Cap End"]
+ %% face_code_ref=Missing NodePath
+ 213["SweepEdge Opposite"]
+ 214["SweepEdge Adjacent"]
+ 215["Plane
[4944, 4961, 0]"]
+ %% [ProgramBodyItem { index: 31 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 226["Sweep Revolve
[5385, 5414, 0]"]
+ %% [ProgramBodyItem { index: 33 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 227[Wall]
%% face_code_ref=Missing NodePath
- 187["SweepEdge Opposite"]
- 188["SweepEdge Adjacent"]
- 189["Sweep Extrusion
[4072, 4107, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit]
- 190["Sweep Extrusion
[4072, 4107, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit]
- 191["Sweep Extrusion
[4072, 4107, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit]
- 192["Sweep Extrusion
[4072, 4107, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit]
- 193["Sweep Extrusion
[4072, 4107, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit]
- 194["Sweep Extrusion
[4072, 4107, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit]
- 195["Sweep Extrusion
[4072, 4107, 0]"]
- %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit]
- 199["Sweep Extrusion
[4388, 4423, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit]
- 200[Wall]
- %% face_code_ref=Missing NodePath
- 201["SweepEdge Opposite"]
- 202["SweepEdge Adjacent"]
- 203["Sweep Extrusion
[4388, 4423, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit]
- 204["Sweep Extrusion
[4388, 4423, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit]
- 205["Sweep Extrusion
[4388, 4423, 0]"]
- %% [ProgramBodyItem { index: 17 }, VariableDeclarationDeclaration, VariableDeclarationInit]
- 206["Plane
[4468, 4485, 0]"]
- %% [ProgramBodyItem { index: 18 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 210["Sweep Extrusion
[4639, 4680, 0]"]
- %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 211[Wall]
- %% face_code_ref=Missing NodePath
- 212["Cap Start"]
- %% face_code_ref=Missing NodePath
- 213["Cap End"]
- %% face_code_ref=Missing NodePath
- 214["SweepEdge Opposite"]
- 215["SweepEdge Adjacent"]
- 216["Plane
[4765, 4782, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 227["Sweep Revolve
[5179, 5196, 0]"]
- %% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
228[Wall]
%% face_code_ref=Missing NodePath
229[Wall]
@@ -442,19 +442,19 @@ flowchart LR
%% face_code_ref=Missing NodePath
233[Wall]
%% face_code_ref=Missing NodePath
- 234[Wall]
- %% face_code_ref=Missing NodePath
+ 234["SweepEdge Adjacent"]
235["SweepEdge Adjacent"]
236["SweepEdge Adjacent"]
237["SweepEdge Adjacent"]
238["SweepEdge Adjacent"]
239["SweepEdge Adjacent"]
240["SweepEdge Adjacent"]
- 241["SweepEdge Adjacent"]
- 242["Plane
[5251, 5296, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
- 258["Sweep Extrusion
[5840, 5885, 0]"]
- %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 241["Plane
[5469, 5514, 0]"]
+ %% [ProgramBodyItem { index: 34 }, VariableDeclarationDeclaration, VariableDeclarationInit, CallKwUnlabeledArg]
+ 257["Sweep Extrusion
[6077, 6123, 0]"]
+ %% [ProgramBodyItem { index: 36 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 258[Wall]
+ %% face_code_ref=Missing NodePath
259[Wall]
%% face_code_ref=Missing NodePath
260[Wall]
@@ -477,48 +477,46 @@ flowchart LR
%% face_code_ref=Missing NodePath
269[Wall]
%% face_code_ref=Missing NodePath
- 270[Wall]
- %% face_code_ref=Missing NodePath
- 271["Cap Start"]
- %% face_code_ref=Missing NodePath
- 272["Cap End"]
- %% face_code_ref=Missing NodePath
- 273["SweepEdge Opposite"]
- 274["SweepEdge Adjacent"]
- 275["SweepEdge Opposite"]
- 276["SweepEdge Adjacent"]
- 277["SweepEdge Opposite"]
- 278["SweepEdge Adjacent"]
- 279["SweepEdge Opposite"]
- 280["SweepEdge Adjacent"]
- 281["SweepEdge Opposite"]
- 282["SweepEdge Adjacent"]
- 283["SweepEdge Opposite"]
- 284["SweepEdge Adjacent"]
- 285["SweepEdge Opposite"]
- 286["SweepEdge Adjacent"]
- 287["SweepEdge Opposite"]
- 288["SweepEdge Adjacent"]
- 289["SweepEdge Opposite"]
- 290["SweepEdge Adjacent"]
- 291["SweepEdge Opposite"]
- 292["SweepEdge Adjacent"]
- 293["SweepEdge Opposite"]
- 294["SweepEdge Adjacent"]
- 295["SweepEdge Opposite"]
- 296["SweepEdge Adjacent"]
- 297["StartSketchOnPlane
[2133, 2175, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 298["StartSketchOnFace
[2303, 2340, 0]"]
- %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 299["StartSketchOnPlane
[3570, 3615, 0]"]
- %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 300["StartSketchOnFace
[3842, 3879, 0]"]
- %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 301["StartSketchOnFace
[4158, 4195, 0]"]
- %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 302["StartSketchOnPlane
[5237, 5297, 0]"]
- %% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 270["Cap Start"]
+ %% face_code_ref=Missing NodePath
+ 271["Cap End"]
+ %% face_code_ref=Missing NodePath
+ 272["SweepEdge Opposite"]
+ 273["SweepEdge Adjacent"]
+ 274["SweepEdge Opposite"]
+ 275["SweepEdge Adjacent"]
+ 276["SweepEdge Opposite"]
+ 277["SweepEdge Adjacent"]
+ 278["SweepEdge Opposite"]
+ 279["SweepEdge Adjacent"]
+ 280["SweepEdge Opposite"]
+ 281["SweepEdge Adjacent"]
+ 282["SweepEdge Opposite"]
+ 283["SweepEdge Adjacent"]
+ 284["SweepEdge Opposite"]
+ 285["SweepEdge Adjacent"]
+ 286["SweepEdge Opposite"]
+ 287["SweepEdge Adjacent"]
+ 288["SweepEdge Opposite"]
+ 289["SweepEdge Adjacent"]
+ 290["SweepEdge Opposite"]
+ 291["SweepEdge Adjacent"]
+ 292["SweepEdge Opposite"]
+ 293["SweepEdge Adjacent"]
+ 294["SweepEdge Opposite"]
+ 295["SweepEdge Adjacent"]
+ 296["StartSketchOnPlane
[2184, 2226, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 297["StartSketchOnFace
[2374, 2411, 0]"]
+ %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 298["StartSketchOnPlane
[3669, 3714, 0]"]
+ %% [ProgramBodyItem { index: 19 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 299["StartSketchOnFace
[3961, 3998, 0]"]
+ %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 300["StartSketchOnFace
[4297, 4334, 0]"]
+ %% [ProgramBodyItem { index: 25 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 301["StartSketchOnPlane
[5455, 5515, 0]"]
+ %% [ProgramBodyItem { index: 34 }, VariableDeclarationDeclaration, VariableDeclarationInit]
1 --- 2
2 --- 3
2 --- 4
@@ -754,7 +752,7 @@ flowchart LR
85 <--x 56
87 <--x 56
89 --- 90
- 89 <--x 297
+ 89 <--x 296
90 --- 91
90 --- 92
90 ---- 93
@@ -777,7 +775,7 @@ flowchart LR
100 <--x 96
101 <--x 96
102 <--x 96
- 96 <--x 298
+ 96 <--x 297
99 --- 100
99 --- 101
99 --- 102
@@ -812,6 +810,7 @@ flowchart LR
108 --- 113
108 --- 114
117 --- 118
+ 117 --- 140
118 --- 119
118 --- 120
118 --- 121
@@ -864,53 +863,54 @@ flowchart LR
138 <--x 133
133 --- 139
140 --- 141
- 141 --- 142
- 141 --- 143
- 141 --- 144
- 141 --- 145
- 141 --- 146
- 141 --- 147
- 141 --- 148
- 141 --- 149
- 141 --- 150
- 141 ---- 151
- 151 <--x 142
+ 140 --- 142
+ 140 --- 143
+ 140 --- 144
+ 140 --- 145
+ 140 --- 146
+ 140 --- 147
+ 140 --- 148
+ 140 --- 149
+ 140 ---- 150
+ 150 <--x 141
+ 141 --- 151
+ 141 --- 158
+ 150 <--x 142
142 --- 152
142 --- 159
- 151 <--x 143
+ 150 <--x 143
143 --- 153
143 --- 160
- 151 <--x 144
+ 150 <--x 144
144 --- 154
144 --- 161
- 151 <--x 145
+ 150 <--x 145
145 --- 155
145 --- 162
- 151 <--x 146
+ 150 <--x 146
146 --- 156
146 --- 163
- 151 <--x 147
+ 150 <--x 147
147 --- 157
147 --- 164
- 151 <--x 148
- 148 --- 158
- 148 --- 165
- 151 --- 152
- 151 --- 153
- 151 --- 154
- 151 --- 155
- 151 --- 156
- 151 --- 157
+ 150 --- 151
+ 150 --- 152
+ 150 --- 153
+ 150 --- 154
+ 150 --- 155
+ 150 --- 156
+ 150 --- 157
+ 150 --- 158
+ 150 --- 159
+ 150 --- 160
+ 150 --- 161
+ 150 --- 162
+ 150 --- 163
+ 150 --- 164
151 --- 158
- 151 --- 159
- 151 --- 160
- 151 --- 161
- 151 --- 162
- 151 --- 163
- 151 --- 164
- 151 --- 165
+ 164 <--x 151
+ 158 <--x 152
152 --- 159
- 165 <--x 152
159 <--x 153
153 --- 160
160 <--x 154
@@ -921,134 +921,134 @@ flowchart LR
156 --- 163
163 <--x 157
157 --- 164
- 164 <--x 158
- 158 --- 165
+ 165 --- 166
+ 165 --- 169
+ 165 <--x 298
166 --- 167
- 166 --- 170
- 166 <--x 299
- 167 --- 168
- 167 --- 169
- 170 --- 167
- 167 ---- 173
- 168 --- 174
- 168 x--> 176
- 168 --- 178
- 168 --- 179
- 170 --- 171
- 170 --- 172
- 170 x---> 173
- 171 --- 175
- 171 x--> 176
- 171 --- 180
- 171 --- 181
- 173 --- 174
- 173 --- 175
- 173 --- 176
+ 166 --- 168
+ 169 --- 166
+ 166 ---- 172
+ 167 --- 173
+ 167 x--> 175
+ 167 --- 177
+ 167 --- 178
+ 169 --- 170
+ 169 --- 171
+ 169 x---> 172
+ 170 --- 174
+ 170 x--> 175
+ 170 --- 179
+ 170 --- 180
+ 172 --- 173
+ 172 --- 174
+ 172 --- 175
+ 172 --- 176
+ 172 --- 177
+ 172 --- 178
+ 172 --- 179
+ 172 --- 180
173 --- 177
173 --- 178
- 173 --- 179
- 173 --- 180
- 173 --- 181
- 174 --- 178
174 --- 179
- 175 --- 180
- 175 --- 181
- 187 <--x 176
- 201 <--x 176
- 178 <--x 177
- 180 <--x 177
- 177 --- 182
- 183 <--x 177
- 177 --- 196
- 197 <--x 177
- 177 <--x 300
- 177 <--x 301
- 182 --- 183
- 182 --- 184
- 182 ---- 185
- 183 --- 186
- 183 --- 187
- 183 --- 188
+ 174 --- 180
+ 186 <--x 175
+ 200 <--x 175
+ 177 <--x 176
+ 179 <--x 176
+ 176 --- 181
+ 182 <--x 176
+ 176 --- 195
+ 196 <--x 176
+ 176 <--x 299
+ 176 <--x 300
+ 181 --- 182
+ 181 --- 183
+ 181 ---- 184
+ 182 --- 185
+ 182 --- 186
+ 182 --- 187
+ 184 --- 185
+ 184 --- 186
+ 184 --- 187
185 --- 186
185 --- 187
- 185 --- 188
- 186 --- 187
- 186 --- 188
- 196 --- 197
- 196 --- 198
- 196 ---- 199
- 197 --- 200
- 197 --- 201
- 197 --- 202
+ 195 --- 196
+ 195 --- 197
+ 195 ---- 198
+ 196 --- 199
+ 196 --- 200
+ 196 --- 201
+ 198 --- 199
+ 198 --- 200
+ 198 --- 201
199 --- 200
199 --- 201
- 199 --- 202
- 200 --- 201
- 200 --- 202
+ 205 --- 206
206 --- 207
- 207 --- 208
- 207 --- 209
- 207 ---- 210
- 208 --- 211
- 208 x--> 212
- 208 --- 214
- 208 --- 215
- 210 --- 211
- 210 --- 212
+ 206 --- 208
+ 206 ---- 209
+ 207 --- 210
+ 207 x--> 211
+ 207 --- 213
+ 207 --- 214
+ 209 --- 210
+ 209 --- 211
+ 209 --- 212
+ 209 --- 213
+ 209 --- 214
210 --- 213
210 --- 214
- 210 --- 215
- 211 --- 214
- 211 --- 215
- 214 <--x 213
+ 213 <--x 212
+ 215 --- 216
216 --- 217
- 217 --- 218
- 217 --- 219
- 217 --- 220
- 217 --- 221
- 217 --- 222
- 217 --- 223
- 217 --- 224
- 217 --- 225
- 217 --- 226
- 217 ---- 227
- 227 <--x 218
+ 216 --- 218
+ 216 --- 219
+ 216 --- 220
+ 216 --- 221
+ 216 --- 222
+ 216 --- 223
+ 216 --- 224
+ 216 --- 225
+ 216 ---- 226
+ 226 <--x 217
+ 217 --- 227
+ 217 --- 234
+ 226 <--x 218
218 --- 228
218 --- 235
- 227 <--x 219
+ 226 <--x 219
219 --- 229
219 --- 236
- 227 <--x 220
+ 226 <--x 220
220 --- 230
220 --- 237
- 227 <--x 221
+ 226 <--x 221
221 --- 231
221 --- 238
- 227 <--x 222
+ 226 <--x 222
222 --- 232
222 --- 239
- 227 <--x 223
+ 226 <--x 223
223 --- 233
223 --- 240
- 227 <--x 224
- 224 --- 234
- 224 --- 241
- 227 --- 228
- 227 --- 229
- 227 --- 230
- 227 --- 231
- 227 --- 232
- 227 --- 233
+ 226 --- 227
+ 226 --- 228
+ 226 --- 229
+ 226 --- 230
+ 226 --- 231
+ 226 --- 232
+ 226 --- 233
+ 226 --- 234
+ 226 --- 235
+ 226 --- 236
+ 226 --- 237
+ 226 --- 238
+ 226 --- 239
+ 226 --- 240
227 --- 234
- 227 --- 235
- 227 --- 236
- 227 --- 237
- 227 --- 238
- 227 --- 239
- 227 --- 240
- 227 --- 241
+ 240 <--x 227
+ 234 <--x 228
228 --- 235
- 241 <--x 228
235 <--x 229
229 --- 236
236 <--x 230
@@ -1059,157 +1059,155 @@ flowchart LR
232 --- 239
239 <--x 233
233 --- 240
- 240 <--x 234
- 234 --- 241
+ 241 --- 242
+ 241 <--x 301
242 --- 243
- 242 <--x 302
- 243 --- 244
- 243 --- 245
- 243 --- 246
- 243 --- 247
- 243 --- 248
- 243 --- 249
- 243 --- 250
- 243 --- 251
- 243 --- 252
- 243 --- 253
- 243 --- 254
- 243 --- 255
- 243 --- 256
- 243 --- 257
- 243 ---- 258
- 244 --- 270
- 244 x--> 272
- 244 --- 295
- 244 --- 296
- 245 --- 269
- 245 x--> 272
- 245 --- 293
- 245 --- 294
- 246 --- 268
- 246 x--> 272
- 246 --- 291
- 246 --- 292
- 247 --- 267
- 247 x--> 272
- 247 --- 289
- 247 --- 290
- 248 --- 266
- 248 x--> 272
- 248 --- 287
- 248 --- 288
- 249 --- 265
- 249 x--> 272
- 249 --- 285
- 249 --- 286
- 250 --- 264
- 250 x--> 272
- 250 --- 283
- 250 --- 284
- 251 --- 263
- 251 x--> 272
- 251 --- 281
- 251 --- 282
- 252 --- 262
- 252 x--> 272
- 252 --- 279
- 252 --- 280
- 253 --- 261
- 253 x--> 272
- 253 --- 277
- 253 --- 278
- 254 --- 260
- 254 x--> 272
- 254 --- 275
- 254 --- 276
- 255 --- 259
- 255 x--> 272
- 255 --- 273
- 255 --- 274
- 258 --- 259
- 258 --- 260
- 258 --- 261
- 258 --- 262
- 258 --- 263
- 258 --- 264
- 258 --- 265
- 258 --- 266
- 258 --- 267
- 258 --- 268
- 258 --- 269
- 258 --- 270
- 258 --- 271
+ 242 --- 244
+ 242 --- 245
+ 242 --- 246
+ 242 --- 247
+ 242 --- 248
+ 242 --- 249
+ 242 --- 250
+ 242 --- 251
+ 242 --- 252
+ 242 --- 253
+ 242 --- 254
+ 242 --- 255
+ 242 --- 256
+ 242 ---- 257
+ 243 --- 269
+ 243 x--> 271
+ 243 --- 294
+ 243 --- 295
+ 244 --- 268
+ 244 x--> 271
+ 244 --- 292
+ 244 --- 293
+ 245 --- 267
+ 245 x--> 271
+ 245 --- 290
+ 245 --- 291
+ 246 --- 266
+ 246 x--> 271
+ 246 --- 288
+ 246 --- 289
+ 247 --- 265
+ 247 x--> 271
+ 247 --- 286
+ 247 --- 287
+ 248 --- 264
+ 248 x--> 271
+ 248 --- 284
+ 248 --- 285
+ 249 --- 263
+ 249 x--> 271
+ 249 --- 282
+ 249 --- 283
+ 250 --- 262
+ 250 x--> 271
+ 250 --- 280
+ 250 --- 281
+ 251 --- 261
+ 251 x--> 271
+ 251 --- 278
+ 251 --- 279
+ 252 --- 260
+ 252 x--> 271
+ 252 --- 276
+ 252 --- 277
+ 253 --- 259
+ 253 x--> 271
+ 253 --- 274
+ 253 --- 275
+ 254 --- 258
+ 254 x--> 271
+ 254 --- 272
+ 254 --- 273
+ 257 --- 258
+ 257 --- 259
+ 257 --- 260
+ 257 --- 261
+ 257 --- 262
+ 257 --- 263
+ 257 --- 264
+ 257 --- 265
+ 257 --- 266
+ 257 --- 267
+ 257 --- 268
+ 257 --- 269
+ 257 --- 270
+ 257 --- 271
+ 257 --- 272
+ 257 --- 273
+ 257 --- 274
+ 257 --- 275
+ 257 --- 276
+ 257 --- 277
+ 257 --- 278
+ 257 --- 279
+ 257 --- 280
+ 257 --- 281
+ 257 --- 282
+ 257 --- 283
+ 257 --- 284
+ 257 --- 285
+ 257 --- 286
+ 257 --- 287
+ 257 --- 288
+ 257 --- 289
+ 257 --- 290
+ 257 --- 291
+ 257 --- 292
+ 257 --- 293
+ 257 --- 294
+ 257 --- 295
258 --- 272
258 --- 273
- 258 --- 274
- 258 --- 275
- 258 --- 276
- 258 --- 277
- 258 --- 278
- 258 --- 279
- 258 --- 280
- 258 --- 281
- 258 --- 282
- 258 --- 283
- 258 --- 284
- 258 --- 285
- 258 --- 286
- 258 --- 287
- 258 --- 288
- 258 --- 289
- 258 --- 290
- 258 --- 291
- 258 --- 292
- 258 --- 293
- 258 --- 294
- 258 --- 295
- 258 --- 296
- 259 --- 273
+ 275 <--x 258
259 --- 274
- 276 <--x 259
- 260 --- 275
+ 259 --- 275
+ 277 <--x 259
260 --- 276
- 278 <--x 260
- 261 --- 277
+ 260 --- 277
+ 279 <--x 260
261 --- 278
- 280 <--x 261
- 262 --- 279
+ 261 --- 279
+ 281 <--x 261
262 --- 280
- 282 <--x 262
- 263 --- 281
+ 262 --- 281
+ 283 <--x 262
263 --- 282
- 284 <--x 263
- 264 --- 283
+ 263 --- 283
+ 285 <--x 263
264 --- 284
- 286 <--x 264
- 265 --- 285
+ 264 --- 285
+ 287 <--x 264
265 --- 286
- 288 <--x 265
- 266 --- 287
+ 265 --- 287
+ 289 <--x 265
266 --- 288
- 290 <--x 266
- 267 --- 289
+ 266 --- 289
+ 291 <--x 266
267 --- 290
- 292 <--x 267
- 268 --- 291
+ 267 --- 291
+ 293 <--x 267
268 --- 292
- 294 <--x 268
- 269 --- 293
+ 268 --- 293
+ 295 <--x 268
+ 273 <--x 269
269 --- 294
- 296 <--x 269
+ 269 --- 295
+ 272 <--x 270
274 <--x 270
- 270 --- 295
- 270 --- 296
- 273 <--x 271
- 275 <--x 271
- 277 <--x 271
- 279 <--x 271
- 281 <--x 271
- 283 <--x 271
- 285 <--x 271
- 287 <--x 271
- 289 <--x 271
- 291 <--x 271
- 293 <--x 271
- 295 <--x 271
+ 276 <--x 270
+ 278 <--x 270
+ 280 <--x 270
+ 282 <--x 270
+ 284 <--x 270
+ 286 <--x 270
+ 288 <--x 270
+ 290 <--x 270
+ 292 <--x 270
+ 294 <--x 270
```
diff --git a/rust/kcl-lib/tests/kcl_samples/french-press/ast.snap b/rust/kcl-lib/tests/kcl_samples/french-press/ast.snap
index cc9644dd419..922a0cb3afb 100644
--- a/rust/kcl-lib/tests/kcl_samples/french-press/ast.snap
+++ b/rust/kcl-lib/tests/kcl_samples/french-press/ast.snap
@@ -133,51 +133,80 @@ description: Result of parsing french-press.kcl
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XZ",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XZ",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Upper ring of the metal structure"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "profile001",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -278,7 +307,24 @@ description: Result of parsing french-press.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "sketch001",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -844,111 +890,11 @@ description: Result of parsing french-press.kcl
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
- },
- {
- "arguments": [
- {
- "type": "LabeledArg",
- "label": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "angle",
- "start": 0,
- "type": "Identifier"
- },
- "arg": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "360",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 360.0,
- "suffix": "None"
- }
- }
- },
- {
- "type": "LabeledArg",
- "label": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "axis",
- "start": 0,
- "type": "Identifier"
- },
- "arg": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "Y",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
- }
- ],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "revolve",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": null
}
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "nonCodeMeta": {
- "nonCodeNodes": {
- "7": [
- {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "NonCodeNode",
- "value": {
- "type": "newLineBlockComment",
- "value": "Create an angled plane to sketch the supports",
- "style": "line"
- }
- }
- ]
- },
- "startNodes": []
- },
"start": 0,
"type": "PipeExpression",
"type": "PipeExpression"
@@ -960,11 +906,6 @@ description: Result of parsing french-press.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Upper ring of the metal structure"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -978,88 +919,137 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "plane001",
+ "name": "revolve001",
"start": 0,
"type": "Identifier"
},
"init": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "properties": [
+ "arguments": [
{
- "commentStart": 0,
- "end": 0,
- "key": {
+ "type": "LabeledArg",
+ "label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "origin",
+ "name": "angle",
"start": 0,
"type": "Identifier"
},
- "moduleId": 0,
- "start": 0,
- "type": "ObjectProperty",
- "value": {
+ "arg": {
"commentStart": 0,
- "elements": [
- {
- "argument": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0.26",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.26,
- "suffix": "None"
- }
- },
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "operator": "-",
- "start": 0,
- "type": "UnaryExpression",
- "type": "UnaryExpression"
- },
- {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0.26",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.26,
- "suffix": "None"
- }
- },
- {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0.0",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.0,
- "suffix": "None"
- }
- }
- ],
"end": 0,
"moduleId": 0,
+ "raw": "360",
"start": 0,
- "type": "ArrayExpression",
- "type": "ArrayExpression"
+ "type": "Literal",
+ "type": "Literal",
+ "value": {
+ "value": 360.0,
+ "suffix": "None"
+ }
+ }
+ },
+ {
+ "type": "LabeledArg",
+ "label": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "axis",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "arg": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "Y",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
}
+ }
+ ],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "revolve",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "profile001",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "plane001",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "properties": [
{
"commentStart": 0,
"end": 0,
@@ -1067,7 +1057,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "xAxis",
+ "name": "origin",
"start": 0,
"type": "Identifier"
},
@@ -1078,28 +1068,37 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"elements": [
{
+ "argument": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "raw": "0.26",
+ "start": 0,
+ "type": "Literal",
+ "type": "Literal",
+ "value": {
+ "value": 0.26,
+ "suffix": "None"
+ }
+ },
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "raw": "1",
+ "operator": "-",
"start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 1.0,
- "suffix": "None"
- }
+ "type": "UnaryExpression",
+ "type": "UnaryExpression"
},
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "raw": "1",
+ "raw": "0.26",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
- "value": 1.0,
+ "value": 0.26,
"suffix": "None"
}
},
@@ -1131,7 +1130,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "yAxis",
+ "name": "xAxis",
"start": 0,
"type": "Identifier"
},
@@ -1145,12 +1144,12 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "raw": "0.0",
+ "raw": "1",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
- "value": 0.0,
+ "value": 1.0,
"suffix": "None"
}
},
@@ -1158,12 +1157,12 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "raw": "0.0",
+ "raw": "1",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
- "value": 0.0,
+ "value": 1.0,
"suffix": "None"
}
},
@@ -1171,12 +1170,12 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "raw": "1.0",
+ "raw": "0.0",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
- "value": 1.0,
+ "value": 0.0,
"suffix": "None"
}
}
@@ -1195,7 +1194,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "zAxis",
+ "name": "yAxis",
"start": 0,
"type": "Identifier"
},
@@ -1209,12 +1208,12 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "raw": "1.0",
+ "raw": "0.0",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
- "value": 1.0,
+ "value": 0.0,
"suffix": "None"
}
},
@@ -1235,12 +1234,12 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "raw": "0.0",
+ "raw": "1.0",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
- "value": 0.0,
+ "value": 1.0,
"suffix": "None"
}
}
@@ -1264,6 +1263,11 @@ description: Result of parsing french-press.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Create an angled plane to sketch the supports"
+ ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -1282,67 +1286,96 @@ description: Result of parsing french-press.kcl
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "plane001",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
},
- {
- "arguments": [
- {
- "type": "LabeledArg",
- "label": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "at",
- "start": 0,
- "type": "Identifier"
- },
- "arg": {
- "commentStart": 0,
- "elements": [
- {
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "plane001",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Cross section of the metal supports"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "profile002",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
+ {
+ "arguments": [
+ {
+ "type": "LabeledArg",
+ "label": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "at",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "arg": {
+ "commentStart": 0,
+ "elements": [
+ {
"commentStart": 0,
"end": 0,
"left": {
@@ -1427,7 +1460,24 @@ description: Result of parsing french-press.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "sketch002",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -3107,7 +3157,41 @@ description: Result of parsing french-press.kcl
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
- },
+ }
+ ],
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "PipeExpression",
+ "type": "PipeExpression"
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "extrude002",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -3158,7 +3242,24 @@ description: Result of parsing french-press.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "profile002",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -3383,7 +3484,7 @@ description: Result of parsing french-press.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "20": [
+ "1": [
{
"commentStart": 0,
"end": 0,
@@ -3411,11 +3512,6 @@ description: Result of parsing french-press.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Cross section of the metal supports"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -3434,257 +3530,288 @@ description: Result of parsing french-press.kcl
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "arguments": [
- {
- "type": "LabeledArg",
- "label": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "offset",
- "start": 0,
- "type": "Identifier"
- },
- "arg": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "1",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 1.0,
- "suffix": "None"
- }
- }
- }
- ],
- "callee": {
- "abs_path": false,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "arguments": [
+ {
+ "type": "LabeledArg",
+ "label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "offsetPlane",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
+ "name": "offset",
"start": 0,
- "type": "Name"
+ "type": "Identifier"
},
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
+ "arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XY",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
+ "raw": "1",
"start": 0,
- "type": "Name",
- "type": "Name"
+ "type": "Literal",
+ "type": "Literal",
+ "value": {
+ "value": 1.0,
+ "suffix": "None"
+ }
}
}
+ ],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "offsetPlane",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
},
- {
- "arguments": [
- {
- "type": "LabeledArg",
- "label": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XY",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "profile003",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "arguments": [
+ {
+ "type": "LabeledArg",
+ "label": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "center",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "arg": {
+ "commentStart": 0,
+ "elements": [
+ {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "center",
+ "raw": "0",
"start": 0,
- "type": "Identifier"
+ "type": "Literal",
+ "type": "Literal",
+ "value": {
+ "value": 0.0,
+ "suffix": "None"
+ }
},
- "arg": {
+ {
"commentStart": 0,
- "elements": [
- {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.0,
- "suffix": "None"
- }
- },
- {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.0,
- "suffix": "None"
- }
- }
- ],
"end": 0,
"moduleId": 0,
+ "raw": "0",
"start": 0,
- "type": "ArrayExpression",
- "type": "ArrayExpression"
+ "type": "Literal",
+ "type": "Literal",
+ "value": {
+ "value": 0.0,
+ "suffix": "None"
+ }
}
- },
- {
- "type": "LabeledArg",
- "label": {
+ ],
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "ArrayExpression",
+ "type": "ArrayExpression"
+ }
+ },
+ {
+ "type": "LabeledArg",
+ "label": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "radius",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "arg": {
+ "commentStart": 0,
+ "end": 0,
+ "left": {
+ "commentStart": 0,
+ "end": 0,
+ "left": {
+ "abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "radius",
- "start": 0,
- "type": "Identifier"
- },
- "arg": {
- "commentStart": 0,
- "end": 0,
- "left": {
+ "name": {
"commentStart": 0,
"end": 0,
- "left": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "carafeDiameter",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- },
"moduleId": 0,
- "operator": "/",
- "right": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "2",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 2.0,
- "suffix": "None"
- }
- },
+ "name": "carafeDiameter",
"start": 0,
- "type": "BinaryExpression",
- "type": "BinaryExpression"
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ },
+ "moduleId": 0,
+ "operator": "/",
+ "right": {
+ "commentStart": 0,
+ "end": 0,
"moduleId": 0,
- "operator": "-",
- "right": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0.15",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.15,
- "suffix": "None"
- }
- },
+ "raw": "2",
"start": 0,
- "type": "BinaryExpression",
- "type": "BinaryExpression"
- }
- }
- ],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
+ "type": "Literal",
+ "type": "Literal",
+ "value": {
+ "value": 2.0,
+ "suffix": "None"
+ }
+ },
+ "start": 0,
+ "type": "BinaryExpression",
+ "type": "BinaryExpression"
+ },
"moduleId": 0,
- "name": {
+ "operator": "-",
+ "right": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "circle",
+ "raw": "0.15",
"start": 0,
- "type": "Identifier"
+ "type": "Literal",
+ "type": "Literal",
+ "value": {
+ "value": 0.15,
+ "suffix": "None"
+ }
},
- "path": [],
"start": 0,
- "type": "Name"
- },
+ "type": "BinaryExpression",
+ "type": "BinaryExpression"
+ }
+ }
+ ],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "circle",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": null
- }
- ],
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
- "type": "PipeExpression",
- "type": "PipeExpression"
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "sketch003",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
"moduleId": 0,
"start": 0,
@@ -3706,7 +3833,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "extrude001",
+ "name": "extrude003",
"start": 0,
"type": "Identifier"
},
@@ -3769,7 +3896,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch003",
+ "name": "profile003",
"start": 0,
"type": "Identifier"
},
@@ -3804,63 +3931,18 @@ description: Result of parsing french-press.kcl
"type": "Identifier"
},
"init": {
- "body": [
+ "arguments": [
{
- "arguments": [
- {
- "type": "LabeledArg",
- "label": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "face",
- "start": 0,
- "type": "Identifier"
- },
- "arg": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "END",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
- }
- ],
- "callee": {
- "abs_path": false,
+ "type": "LabeledArg",
+ "label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
+ "name": "face",
"start": 0,
- "type": "Name"
+ "type": "Identifier"
},
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
+ "arg": {
"abs_path": false,
"commentStart": 0,
"end": 0,
@@ -3869,7 +3951,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "extrude001",
+ "name": "END",
"start": 0,
"type": "Identifier"
},
@@ -3878,7 +3960,76 @@ description: Result of parsing french-press.kcl
"type": "Name",
"type": "Name"
}
+ }
+ ],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "startSketchOn",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "extrude003",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "profile004",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -3952,7 +4103,24 @@ description: Result of parsing french-press.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "sketch004",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -4431,46 +4599,114 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "extrude002",
+ "name": "extrude004",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "arguments": [
+ {
+ "type": "LabeledArg",
+ "label": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "length",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "arg": {
+ "argument": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "raw": "0.050",
+ "start": 0,
+ "type": "Literal",
+ "type": "Literal",
+ "value": {
+ "value": 0.05,
+ "suffix": "None"
+ }
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "operator": "-",
+ "start": 0,
+ "type": "UnaryExpression",
+ "type": "UnaryExpression"
+ }
+ }
+ ],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "extrude",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "profile004",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "sketch005",
"start": 0,
"type": "Identifier"
},
"init": {
- "arguments": [
- {
- "type": "LabeledArg",
- "label": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "length",
- "start": 0,
- "type": "Identifier"
- },
- "arg": {
- "argument": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0.050",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.05,
- "suffix": "None"
- }
- },
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "operator": "-",
- "start": 0,
- "type": "UnaryExpression",
- "type": "UnaryExpression"
- }
- }
- ],
+ "arguments": [],
"callee": {
"abs_path": false,
"commentStart": 0,
@@ -4480,7 +4716,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "extrude",
+ "name": "startSketchOn",
"start": 0,
"type": "Identifier"
},
@@ -4503,7 +4739,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch004",
+ "name": "XZ",
"start": 0,
"type": "Identifier"
},
@@ -4520,6 +4756,11 @@ description: Result of parsing french-press.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Filter screen"
+ ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -4533,56 +4774,12 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch005",
+ "name": "profile005",
"start": 0,
"type": "Identifier"
},
"init": {
"body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XZ",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
- },
{
"arguments": [
{
@@ -4656,7 +4853,24 @@ description: Result of parsing french-press.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "sketch005",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -5364,7 +5578,7 @@ description: Result of parsing french-press.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "9": [
+ "8": [
{
"commentStart": 0,
"end": 0,
@@ -5392,11 +5606,6 @@ description: Result of parsing french-press.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Filter screen"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -5410,56 +5619,12 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch006",
+ "name": "profile006",
"start": 0,
"type": "Identifier"
},
"init": {
"body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XZ",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
- },
{
"arguments": [
{
@@ -5533,7 +5698,24 @@ description: Result of parsing french-press.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "sketch005",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -6166,7 +6348,7 @@ description: Result of parsing french-press.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "10": [
+ "9": [
{
"commentStart": 0,
"end": 0,
@@ -6207,107 +6389,131 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch007",
+ "name": "sketch007",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "startSketchOn",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "arguments": [
+ {
+ "type": "LabeledArg",
+ "label": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "offset",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "arg": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "raw": "1.12",
+ "start": 0,
+ "type": "Literal",
+ "type": "Literal",
+ "value": {
+ "value": 1.12,
+ "suffix": "None"
+ }
+ }
+ }
+ ],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "offsetPlane",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XY",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "profile007",
"start": 0,
"type": "Identifier"
},
"init": {
"body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "arguments": [
- {
- "type": "LabeledArg",
- "label": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "offset",
- "start": 0,
- "type": "Identifier"
- },
- "arg": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "1.12",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 1.12,
- "suffix": "None"
- }
- }
- }
- ],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "offsetPlane",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XY",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
- }
- },
{
"arguments": [
{
@@ -6454,7 +6660,24 @@ description: Result of parsing french-press.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "sketch007",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -6622,7 +6845,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "extrude003",
+ "name": "extrude007",
"start": 0,
"type": "Identifier"
},
@@ -6685,7 +6908,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch007",
+ "name": "profile007",
"start": 0,
"type": "Identifier"
},
@@ -6720,63 +6943,18 @@ description: Result of parsing french-press.kcl
"type": "Identifier"
},
"init": {
- "body": [
+ "arguments": [
{
- "arguments": [
- {
- "type": "LabeledArg",
- "label": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "face",
- "start": 0,
- "type": "Identifier"
- },
- "arg": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "END",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
- }
- ],
- "callee": {
- "abs_path": false,
+ "type": "LabeledArg",
+ "label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
+ "name": "face",
"start": 0,
- "type": "Name"
+ "type": "Identifier"
},
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
+ "arg": {
"abs_path": false,
"commentStart": 0,
"end": 0,
@@ -6785,7 +6963,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "extrude003",
+ "name": "END",
"start": 0,
"type": "Identifier"
},
@@ -6794,7 +6972,81 @@ description: Result of parsing french-press.kcl
"type": "Name",
"type": "Name"
}
+ }
+ ],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "startSketchOn",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "extrude007",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Pattern holes in the spiral plate"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "profile008",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -6878,21 +7130,38 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "circle",
+ "name": "circle",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "sketch008",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
+ "type": "Name",
"type": "Name"
- },
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": null
+ }
},
{
"arguments": [
@@ -7053,11 +7322,6 @@ description: Result of parsing french-press.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Pattern holes in the spiral plate"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -7071,7 +7335,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "extrude004",
+ "name": "extrude008",
"start": 0,
"type": "Identifier"
},
@@ -7143,7 +7407,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch008",
+ "name": "profile008",
"start": 0,
"type": "Identifier"
},
@@ -7178,63 +7442,18 @@ description: Result of parsing french-press.kcl
"type": "Identifier"
},
"init": {
- "body": [
+ "arguments": [
{
- "arguments": [
- {
- "type": "LabeledArg",
- "label": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "face",
- "start": 0,
- "type": "Identifier"
- },
- "arg": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "END",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
- }
- ],
- "callee": {
- "abs_path": false,
+ "type": "LabeledArg",
+ "label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
+ "name": "face",
"start": 0,
- "type": "Name"
+ "type": "Identifier"
},
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
+ "arg": {
"abs_path": false,
"commentStart": 0,
"end": 0,
@@ -7243,7 +7462,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "extrude003",
+ "name": "END",
"start": 0,
"type": "Identifier"
},
@@ -7252,7 +7471,81 @@ description: Result of parsing french-press.kcl
"type": "Name",
"type": "Name"
}
+ }
+ ],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "startSketchOn",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "extrude007",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Pattern holes in the spiral plate"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "profile009",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -7350,7 +7643,24 @@ description: Result of parsing french-press.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "sketch009",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -7511,11 +7821,6 @@ description: Result of parsing french-press.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Pattern holes in the spiral plate"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -7529,46 +7834,114 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "extrude005",
+ "name": "extrude009",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "arguments": [
+ {
+ "type": "LabeledArg",
+ "label": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "length",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "arg": {
+ "argument": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "raw": "0.050",
+ "start": 0,
+ "type": "Literal",
+ "type": "Literal",
+ "value": {
+ "value": 0.05,
+ "suffix": "None"
+ }
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "operator": "-",
+ "start": 0,
+ "type": "UnaryExpression",
+ "type": "UnaryExpression"
+ }
+ }
+ ],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "extrude",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "profile009",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "sketch010",
"start": 0,
"type": "Identifier"
},
"init": {
- "arguments": [
- {
- "type": "LabeledArg",
- "label": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "length",
- "start": 0,
- "type": "Identifier"
- },
- "arg": {
- "argument": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0.050",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.05,
- "suffix": "None"
- }
- },
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "operator": "-",
- "start": 0,
- "type": "UnaryExpression",
- "type": "UnaryExpression"
- }
- }
- ],
+ "arguments": [],
"callee": {
"abs_path": false,
"commentStart": 0,
@@ -7578,7 +7951,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "extrude",
+ "name": "startSketchOn",
"start": 0,
"type": "Identifier"
},
@@ -7601,7 +7974,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch009",
+ "name": "XY",
"start": 0,
"type": "Identifier"
},
@@ -7618,6 +7991,11 @@ description: Result of parsing french-press.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Extrude a glass carafe body"
+ ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -7631,208 +8009,152 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch010",
+ "name": "profile010",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
+ "arguments": [
{
- "arguments": [],
- "callee": {
- "abs_path": false,
+ "type": "LabeledArg",
+ "label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
+ "name": "center",
"start": 0,
- "type": "Name"
+ "type": "Identifier"
},
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
+ "arg": {
"commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XY",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
- },
- {
- "arguments": [
- {
- "type": "LabeledArg",
- "label": {
+ "elements": [
+ {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "center",
+ "raw": "0",
"start": 0,
- "type": "Identifier"
+ "type": "Literal",
+ "type": "Literal",
+ "value": {
+ "value": 0.0,
+ "suffix": "None"
+ }
},
- "arg": {
+ {
"commentStart": 0,
- "elements": [
- {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.0,
- "suffix": "None"
- }
- },
- {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "raw": "0",
- "start": 0,
- "type": "Literal",
- "type": "Literal",
- "value": {
- "value": 0.0,
- "suffix": "None"
- }
- }
- ],
"end": 0,
"moduleId": 0,
+ "raw": "0",
"start": 0,
- "type": "ArrayExpression",
- "type": "ArrayExpression"
+ "type": "Literal",
+ "type": "Literal",
+ "value": {
+ "value": 0.0,
+ "suffix": "None"
+ }
}
- },
- {
- "type": "LabeledArg",
- "label": {
+ ],
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "ArrayExpression",
+ "type": "ArrayExpression"
+ }
+ },
+ {
+ "type": "LabeledArg",
+ "label": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "radius",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "arg": {
+ "commentStart": 0,
+ "end": 0,
+ "left": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "radius",
+ "name": "carafeDiameter",
"start": 0,
"type": "Identifier"
},
- "arg": {
- "commentStart": 0,
- "end": 0,
- "left": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "carafeDiameter",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- },
- "moduleId": 0,
- "operator": "/",
- "right": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 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": 0,
- "end": 0,
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ },
"moduleId": 0,
- "name": {
+ "operator": "/",
+ "right": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "circle",
+ "raw": "2",
"start": 0,
- "type": "Identifier"
+ "type": "Literal",
+ "type": "Literal",
+ "value": {
+ "value": 2.0,
+ "suffix": "None"
+ }
},
- "path": [],
"start": 0,
- "type": "Name"
- },
+ "type": "BinaryExpression",
+ "type": "BinaryExpression"
+ }
+ }
+ ],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "circle",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "sketch010",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": null
- }
- ],
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "nonCodeMeta": {
- "nonCodeNodes": {
- "1": [
- {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "NonCodeNode",
- "value": {
- "type": "newLineBlockComment",
- "value": "Perform a shell operation to hollow the carafe body with the top face removed",
- "style": "line"
- }
- }
- ]
+ "type": "Identifier"
},
- "startNodes": []
- },
- "start": 0,
- "type": "PipeExpression",
- "type": "PipeExpression"
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
"moduleId": 0,
"start": 0,
@@ -7841,11 +8163,6 @@ description: Result of parsing french-press.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Extrude a glass carafe body"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -7929,7 +8246,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch010",
+ "name": "profile010",
"start": 0,
"type": "Identifier"
},
@@ -8064,6 +8381,11 @@ description: Result of parsing french-press.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Perform a shell operation to hollow the carafe body with the top face removed"
+ ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -8082,51 +8404,75 @@ description: Result of parsing french-press.kcl
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XZ",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XZ",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "profile011",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -8227,7 +8573,24 @@ description: Result of parsing french-press.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "sketch011",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -8976,40 +9339,52 @@ description: Result of parsing french-press.kcl
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
- },
+ }
+ ],
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "PipeExpression",
+ "type": "PipeExpression"
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "revolve011",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "arguments": [
{
- "arguments": [
- {
- "type": "LabeledArg",
- "label": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "axis",
- "start": 0,
- "type": "Identifier"
- },
- "arg": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "Y",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
- }
- ],
- "callee": {
+ "type": "LabeledArg",
+ "label": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "axis",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "arg": {
"abs_path": false,
"commentStart": 0,
"end": 0,
@@ -9018,48 +9393,58 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "revolve",
+ "name": "Y",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
+ "type": "Name",
"type": "Name"
- },
+ }
+ }
+ ],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "revolve",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": null
- }
- ],
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "nonCodeMeta": {
- "nonCodeNodes": {
- "10": [
- {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "NonCodeNode",
- "value": {
- "type": "newLineBlockComment",
- "value": "Draw and extrude handle",
- "style": "line"
- }
- }
- ]
- },
- "startNodes": []
- },
"start": 0,
- "type": "PipeExpression",
- "type": "PipeExpression"
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "profile011",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
"moduleId": 0,
"start": 0,
@@ -9086,129 +9471,158 @@ description: Result of parsing french-press.kcl
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "startSketchOn",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "arguments": [
+ {
+ "type": "LabeledArg",
+ "label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "startSketchOn",
+ "name": "offset",
"start": 0,
"type": "Identifier"
},
- "path": [],
- "start": 0,
- "type": "Name"
- },
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "arguments": [
- {
- "type": "LabeledArg",
- "label": {
+ "arg": {
+ "commentStart": 0,
+ "end": 0,
+ "left": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "offset",
+ "name": "handleThickness",
"start": 0,
"type": "Identifier"
},
- "arg": {
- "commentStart": 0,
- "end": 0,
- "left": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "handleThickness",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- },
- "moduleId": 0,
- "operator": "/",
- "right": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 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": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "offsetPlane",
+ "path": [],
"start": 0,
- "type": "Identifier"
+ "type": "Name",
+ "type": "Name"
},
- "path": [],
- "start": 0,
- "type": "Name"
- },
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
"moduleId": 0,
- "name": {
+ "operator": "/",
+ "right": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "XZ",
+ "raw": "2",
"start": 0,
- "type": "Identifier"
+ "type": "Literal",
+ "type": "Literal",
+ "value": {
+ "value": 2.0,
+ "suffix": "None"
+ }
},
- "path": [],
"start": 0,
- "type": "Name",
- "type": "Name"
+ "type": "BinaryExpression",
+ "type": "BinaryExpression"
}
}
+ ],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "offsetPlane",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
},
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XZ",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Draw and extrude handle"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "profile012",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -9282,7 +9696,24 @@ description: Result of parsing french-press.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "sketch012",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -10308,7 +10739,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "extrude007",
+ "name": "extrude012",
"start": 0,
"type": "Identifier"
},
@@ -10385,7 +10816,7 @@ description: Result of parsing french-press.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "sketch012",
+ "name": "profile012",
"start": 0,
"type": "Identifier"
},
@@ -10499,7 +10930,7 @@ description: Result of parsing french-press.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "6": [
+ "11": [
{
"commentStart": 0,
"end": 0,
@@ -10511,7 +10942,7 @@ description: Result of parsing french-press.kcl
}
}
],
- "7": [
+ "12": [
{
"commentStart": 0,
"end": 0,
@@ -10523,7 +10954,7 @@ description: Result of parsing french-press.kcl
}
}
],
- "8": [
+ "14": [
{
"commentStart": 0,
"end": 0,
@@ -10535,7 +10966,7 @@ description: Result of parsing french-press.kcl
}
}
],
- "12": [
+ "20": [
{
"commentStart": 0,
"end": 0,
@@ -10547,7 +10978,7 @@ description: Result of parsing french-press.kcl
}
}
],
- "14": [
+ "23": [
{
"commentStart": 0,
"end": 0,
@@ -10559,7 +10990,7 @@ description: Result of parsing french-press.kcl
}
}
],
- "16": [
+ "26": [
{
"commentStart": 0,
"end": 0,
diff --git a/rust/kcl-lib/tests/kcl_samples/french-press/ops.snap b/rust/kcl-lib/tests/kcl_samples/french-press/ops.snap
index 831cab7f169..563e74c2890 100644
--- a/rust/kcl-lib/tests/kcl_samples/french-press/ops.snap
+++ b/rust/kcl-lib/tests/kcl_samples/french-press/ops.snap
@@ -125,10 +125,6 @@ description: Operations executed french-press.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -238,17 +234,13 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 3
+ "index": 5
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 7
}
]
},
@@ -269,17 +261,13 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 5
+ "index": 7
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -319,7 +307,7 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 5
+ "index": 9
},
{
"type": "VariableDeclarationDeclaration"
@@ -329,7 +317,7 @@ description: Operations executed french-press.kcl
},
{
"type": "PipeBodyItem",
- "index": 19
+ "index": 0
}
]
},
@@ -477,7 +465,7 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 5
+ "index": 9
},
{
"type": "VariableDeclarationDeclaration"
@@ -487,7 +475,7 @@ description: Operations executed french-press.kcl
},
{
"type": "PipeBodyItem",
- "index": 20
+ "index": 1
}
]
},
@@ -525,7 +513,7 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -533,10 +521,6 @@ description: Operations executed french-press.kcl
{
"type": "VariableDeclarationInit"
},
- {
- "type": "PipeBodyItem",
- "index": 0
- },
{
"type": "CallKwUnlabeledArg"
}
@@ -559,17 +543,13 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -609,7 +589,7 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 12
},
{
"type": "VariableDeclarationDeclaration"
@@ -646,17 +626,13 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 8
+ "index": 13
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -713,7 +689,7 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 15
},
{
"type": "VariableDeclarationDeclaration"
@@ -740,17 +716,13 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 10
+ "index": 16
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -844,38 +816,7 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 10
- },
- {
- "type": "VariableDeclarationDeclaration"
- },
- {
- "type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 9
- }
- ]
- },
- "sourceRange": []
- },
- {
- "type": "StdLibCall",
- "name": "startSketchOn",
- "unlabeledArg": {
- "value": {
- "type": "Plane",
- "artifact_id": "[uuid]"
- },
- "sourceRange": []
- },
- "labeledArgs": {},
- "nodePath": {
- "steps": [
- {
- "type": "ProgramBodyItem",
- "index": 11
+ "index": 17
},
{
"type": "VariableDeclarationDeclaration"
@@ -885,7 +826,7 @@ description: Operations executed french-press.kcl
},
{
"type": "PipeBodyItem",
- "index": 0
+ "index": 8
}
]
},
@@ -979,7 +920,7 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 11
+ "index": 18
},
{
"type": "VariableDeclarationDeclaration"
@@ -989,7 +930,7 @@ description: Operations executed french-press.kcl
},
{
"type": "PipeBodyItem",
- "index": 10
+ "index": 9
}
]
},
@@ -1027,7 +968,7 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 12
+ "index": 19
},
{
"type": "VariableDeclarationDeclaration"
@@ -1035,10 +976,6 @@ description: Operations executed french-press.kcl
{
"type": "VariableDeclarationInit"
},
- {
- "type": "PipeBodyItem",
- "index": 0
- },
{
"type": "CallKwUnlabeledArg"
}
@@ -1061,17 +998,13 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 12
+ "index": 19
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -1104,7 +1037,7 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 12
+ "index": 20
},
{
"type": "VariableDeclarationDeclaration"
@@ -1114,7 +1047,7 @@ description: Operations executed french-press.kcl
},
{
"type": "PipeBodyItem",
- "index": 2
+ "index": 1
}
]
},
@@ -1154,7 +1087,7 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 13
+ "index": 21
},
{
"type": "VariableDeclarationDeclaration"
@@ -1191,17 +1124,13 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 14
+ "index": 22
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -1288,7 +1217,7 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 15
+ "index": 24
},
{
"type": "VariableDeclarationDeclaration"
@@ -1325,17 +1254,13 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 16
+ "index": 25
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -1398,7 +1323,7 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 17
+ "index": 27
},
{
"type": "VariableDeclarationDeclaration"
@@ -1425,17 +1350,13 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 18
+ "index": 28
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -1475,7 +1396,7 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 19
+ "index": 30
},
{
"type": "VariableDeclarationDeclaration"
@@ -1537,7 +1458,7 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 19
+ "index": 30
},
{
"type": "VariableDeclarationDeclaration"
@@ -1568,17 +1489,13 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 20
+ "index": 31
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -1672,17 +1589,13 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 20
+ "index": 33
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 10
}
]
},
@@ -1720,7 +1633,7 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 21
+ "index": 34
},
{
"type": "VariableDeclarationDeclaration"
@@ -1728,10 +1641,6 @@ description: Operations executed french-press.kcl
{
"type": "VariableDeclarationInit"
},
- {
- "type": "PipeBodyItem",
- "index": 0
- },
{
"type": "CallKwUnlabeledArg"
}
@@ -1754,17 +1663,13 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 21
+ "index": 34
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -1804,7 +1709,7 @@ description: Operations executed french-press.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 22
+ "index": 36
},
{
"type": "VariableDeclarationDeclaration"
diff --git a/rust/kcl-lib/tests/kcl_samples/french-press/program_memory.snap b/rust/kcl-lib/tests/kcl_samples/french-press/program_memory.snap
index d58599b7d8e..bf56686ddba 100644
--- a/rust/kcl-lib/tests/kcl_samples/french-press/program_memory.snap
+++ b/rust/kcl-lib/tests/kcl_samples/french-press/program_memory.snap
@@ -64,122 +64,6 @@ description: Variables in memory after executing french-press.kcl
"type": "TagIdentifier",
"value": "edgeLen"
},
- "extrude001": {
- "type": "Solid",
- "value": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 2.055,
- 0.0
- ],
- "radius": 2.055,
- "tag": null,
- "to": [
- 2.055,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 25.4,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 2.055,
- 0.0
- ],
- "to": [
- 2.055,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- },
"extrude002": {
"type": "HomArray",
"value": [
@@ -197,6 +81,146 @@ description: Variables in memory after executing french-press.kcl
"tag": null,
"type": "extrudePlane"
},
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1122,
+ "end": 1128,
+ "moduleId": 0,
+ "start": 1122,
+ "type": "TagDeclarator",
+ "value": "edge1"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1236,
+ "end": 1242,
+ "moduleId": 0,
+ "start": 1236,
+ "type": "TagDeclarator",
+ "value": "edge2"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1357,
+ "end": 1363,
+ "moduleId": 0,
+ "start": 1357,
+ "type": "TagDeclarator",
+ "value": "edge3"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1456,
+ "end": 1464,
+ "moduleId": 0,
+ "start": 1456,
+ "type": "TagDeclarator",
+ "value": "edgeLen"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1542,
+ "end": 1548,
+ "moduleId": 0,
+ "start": 1542,
+ "type": "TagDeclarator",
+ "value": "edge4"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1673,
+ "end": 1679,
+ "moduleId": 0,
+ "start": 1673,
+ "type": "TagDeclarator",
+ "value": "edge5"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1806,
+ "end": 1812,
+ "moduleId": 0,
+ "start": 1806,
+ "type": "TagDeclarator",
+ "value": "edge6"
+ },
+ "type": "extrudePlane"
+ },
{
"faceId": "[uuid]",
"id": "[uuid]",
@@ -222,13 +246,13 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
},
"from": [
- 0.3,
- 0.17
+ 2.205,
+ 5.7
],
"tag": null,
"to": [
- 0.3,
- 1.3699999999999999
+ 2.305,
+ 5.7
],
"type": "ToPoint",
"units": {
@@ -240,22 +264,23 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"sourceRange": []
},
- "ccw": false,
- "center": [
- 0.29999999999999993,
- 0.16999999999999993
- ],
"from": [
- 0.3,
- 1.3699999999999999
+ 2.305,
+ 5.7
],
- "radius": 1.2,
- "tag": null,
- "to": [
- 1.3392304845413263,
- -0.42999999999999994
+ "tag": {
+ "commentStart": 1122,
+ "end": 1128,
+ "moduleId": 0,
+ "start": 1122,
+ "type": "TagDeclarator",
+ "value": "edge1"
+ },
+ "to": [
+ 2.305,
+ 0.5
],
- "type": "Arc",
+ "type": "ToPoint",
"units": {
"type": "Inches"
}
@@ -265,16 +290,22 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"sourceRange": []
},
+ "ccw": true,
+ "center": [
+ 2.605,
+ 0.49999999999999994
+ ],
"from": [
- 1.3392304845413263,
- -0.42999999999999994
+ 2.305,
+ 0.5
],
+ "radius": 0.3,
"tag": null,
"to": [
- 0.3,
- 0.17
+ 2.333107663889005,
+ 0.37321452147779016
],
- "type": "ToPoint",
+ "type": "Arc",
"units": {
"type": "Inches"
}
@@ -285,237 +316,269 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
},
"from": [
- 0.3,
- 0.17
+ 2.333107663889005,
+ 0.37321452147779016
],
- "tag": null,
+ "tag": {
+ "commentStart": 1236,
+ "end": 1242,
+ "moduleId": 0,
+ "start": 1236,
+ "type": "TagDeclarator",
+ "value": "edge2"
+ },
"to": [
- 0.3,
- 0.17
+ 2.633107663889005,
+ -0.14640072079287297
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": false,
+ "center": [
+ 2.113492421618342,
+ -0.4464007207928729
+ ],
+ "from": [
+ 2.633107663889005,
+ -0.14640072079287297
+ ],
+ "radius": 0.6,
+ "tag": null,
+ "to": [
+ 1.8134924216183421,
+ -0.9660159630635361
+ ],
+ "type": "Arc",
"units": {
- "type": "Unknown"
+ "type": "Inches"
}
},
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 1.8134924216183421,
+ -0.9660159630635361
+ ],
+ "tag": {
+ "commentStart": 1357,
+ "end": 1363,
+ "moduleId": 0,
+ "start": 1357,
+ "type": "TagDeclarator",
+ "value": "edge3"
+ },
+ "to": [
+ 0.486713854183493,
+ -0.2
+ ],
+ "type": "ToPoint",
"units": {
- "type": "Unknown"
+ "type": "Inches"
}
},
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 2.055,
- 0.0
- ],
- "radius": 2.055,
- "tag": null,
- "to": [
- 2.055,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 25.4,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 2.055,
- 0.0
- ],
- "to": [
- 2.055,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "ccw": true,
+ "center": [
+ 0.23671385418349294,
+ -0.6330127018922194
+ ],
+ "from": [
+ 0.486713854183493,
+ -0.2
+ ],
+ "radius": 0.5,
+ "tag": null,
+ "to": [
+ 0.23671385418349297,
+ -0.13301270189221936
+ ],
+ "type": "Arc",
"units": {
"type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
},
- "sectional": false
+ "from": [
+ 0.23671385418349297,
+ -0.13301270189221936
+ ],
+ "tag": {
+ "commentStart": 1456,
+ "end": 1464,
+ "moduleId": 0,
+ "start": 1456,
+ "type": "TagDeclarator",
+ "value": "edgeLen"
+ },
+ "to": [
+ 0.1,
+ -0.13301270189221936
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
},
- "units": {
- "type": "Inches"
- }
- },
- "start": {
- "from": [
- 0.3,
- 0.17
- ],
- "to": [
- 0.3,
- 0.17
- ],
- "units": {
- "type": "Inches"
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.1,
+ -0.13301270189221936
+ ],
+ "tag": null,
+ "to": [
+ 0.1,
+ -0.03301270189221936
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
},
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": -0.05,
- "startCapId": null,
- "endCapId": null,
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- },
- {
- "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": null,
- "type": "extrudePlane"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
- 0.3,
- 0.17
+ 0.1,
+ -0.03301270189221936
+ ],
+ "tag": {
+ "commentStart": 1542,
+ "end": 1548,
+ "moduleId": 0,
+ "start": 1542,
+ "type": "TagDeclarator",
+ "value": "edge4"
+ },
+ "to": [
+ 0.271713854183493,
+ -0.03301270189221936
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": false,
+ "center": [
+ 0.2717138541834929,
+ -0.6330127018922194
+ ],
+ "from": [
+ 0.271713854183493,
+ -0.03301270189221936
],
+ "radius": 0.6,
"tag": null,
"to": [
- 0.3,
- 1.3699999999999999
+ 0.571713854183493,
+ -0.11339745962155623
+ ],
+ "type": "Arc",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.571713854183493,
+ -0.11339745962155623
+ ],
+ "tag": {
+ "commentStart": 1673,
+ "end": 1679,
+ "moduleId": 0,
+ "start": 1673,
+ "type": "TagDeclarator",
+ "value": "edge5"
+ },
+ "to": [
+ 1.8681815324858868,
+ -0.8619134226850923
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 2.118181532485887,
+ -0.42890072079287295
+ ],
+ "from": [
+ 1.8681815324858868,
+ -0.8619134226850923
+ ],
+ "radius": 0.5,
+ "tag": null,
+ "to": [
+ 2.551194234378106,
+ -0.17890072079287297
+ ],
+ "type": "Arc",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.551194234378106,
+ -0.17890072079287297
+ ],
+ "tag": {
+ "commentStart": 1806,
+ "end": 1812,
+ "moduleId": 0,
+ "start": 1806,
+ "type": "TagDeclarator",
+ "value": "edge6"
+ },
+ "to": [
+ 2.2686942343781062,
+ 0.31040363234533463
],
"type": "ToPoint",
"units": {
@@ -529,18 +592,18 @@ description: Variables in memory after executing french-press.kcl
},
"ccw": false,
"center": [
- 0.29999999999999993,
- 0.16999999999999993
+ 2.8124789066000964,
+ 0.5639745893897542
],
"from": [
- 0.3,
- 1.3699999999999999
+ 2.2686942343781062,
+ 0.31040363234533463
],
- "radius": 1.2,
+ "radius": 0.6,
"tag": null,
"to": [
- 1.3392304845413263,
- -0.42999999999999994
+ 2.2124789066000963,
+ 0.5639745893897543
],
"type": "Arc",
"units": {
@@ -553,13 +616,13 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
},
"from": [
- 1.3392304845413263,
- -0.42999999999999994
+ 2.2124789066000963,
+ 0.5639745893897543
],
"tag": null,
"to": [
- 0.3,
- 0.17
+ 2.205,
+ 5.7
],
"type": "ToPoint",
"units": {
@@ -572,13 +635,13 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
},
"from": [
- 0.3,
- 0.17
+ 2.205,
+ 5.7
],
"tag": null,
"to": [
- 0.3,
- 0.17
+ 2.205,
+ 5.7
],
"type": "ToPoint",
"units": {
@@ -587,13 +650,21 @@ description: Variables in memory after executing french-press.kcl
}
],
"on": {
- "type": "face",
- "id": "[uuid]",
"artifactId": "[uuid]",
- "value": "end",
+ "id": "[uuid]",
+ "origin": {
+ "x": -0.26,
+ "y": 0.26,
+ "z": 0.0,
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
"xAxis": {
- "x": 1.0,
- "y": 0.0,
+ "x": 0.7071067811865475,
+ "y": 0.7071067811865475,
"z": 0.0,
"units": {
"type": "Unknown"
@@ -601,137 +672,29 @@ description: Variables in memory after executing french-press.kcl
},
"yAxis": {
"x": 0.0,
- "y": 1.0,
- "z": 0.0,
+ "y": 0.0,
+ "z": 1.0,
"units": {
"type": "Unknown"
}
},
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 2.055,
- 0.0
- ],
- "radius": 2.055,
- "tag": null,
- "to": [
- 2.055,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 25.4,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 2.055,
- 0.0
- ],
- "to": [
- 2.055,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "zAxis": {
+ "x": 0.7071067811865475,
+ "y": -0.7071067811865475,
+ "z": 0.0,
"units": {
- "type": "Inches"
- },
- "sectional": false
- },
- "units": {
- "type": "Inches"
+ "type": "Unknown"
+ }
}
},
"start": {
"from": [
- 0.3,
- 0.17
+ 2.205,
+ 5.7
],
"to": [
- 0.3,
- 0.17
+ 2.205,
+ 5.7
],
"units": {
"type": "Inches"
@@ -742,15 +705,45 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
}
},
+ "tags": {
+ "edge1": {
+ "type": "TagIdentifier",
+ "value": "edge1"
+ },
+ "edge2": {
+ "type": "TagIdentifier",
+ "value": "edge2"
+ },
+ "edge3": {
+ "type": "TagIdentifier",
+ "value": "edge3"
+ },
+ "edge4": {
+ "type": "TagIdentifier",
+ "value": "edge4"
+ },
+ "edge5": {
+ "type": "TagIdentifier",
+ "value": "edge5"
+ },
+ "edge6": {
+ "type": "TagIdentifier",
+ "value": "edge6"
+ },
+ "edgeLen": {
+ "type": "TagIdentifier",
+ "value": "edgeLen"
+ }
+ },
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
}
},
- "height": -0.05,
- "startCapId": null,
- "endCapId": null,
+ "height": 0.75,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
"units": {
"type": "Inches"
},
@@ -771,6 +764,20 @@ description: Variables in memory after executing french-press.kcl
"tag": null,
"type": "extrudePlane"
},
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1122,
+ "end": 1128,
+ "moduleId": 0,
+ "start": 1122,
+ "type": "TagDeclarator",
+ "value": "edge1"
+ },
+ "type": "extrudePlane"
+ },
{
"faceId": "[uuid]",
"id": "[uuid]",
@@ -782,71 +789,153 @@ description: Variables in memory after executing french-press.kcl
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
- "tag": null,
+ "tag": {
+ "commentStart": 1236,
+ "end": 1242,
+ "moduleId": 0,
+ "start": 1236,
+ "type": "TagDeclarator",
+ "value": "edge2"
+ },
"type": "extrudePlane"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.3,
- 0.17
- ],
- "tag": null,
- "to": [
- 0.3,
- 1.3699999999999999
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1357,
+ "end": 1363,
+ "moduleId": 0,
+ "start": 1357,
+ "type": "TagDeclarator",
+ "value": "edge3"
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": false,
- "center": [
- 0.29999999999999993,
- 0.16999999999999993
- ],
- "from": [
- 0.3,
- 1.3699999999999999
- ],
- "radius": 1.2,
- "tag": null,
- "to": [
- 1.3392304845413263,
- -0.42999999999999994
- ],
- "type": "Arc",
- "units": {
- "type": "Inches"
- }
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1456,
+ "end": 1464,
+ "moduleId": 0,
+ "start": 1456,
+ "type": "TagDeclarator",
+ "value": "edgeLen"
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 1.3392304845413263,
- -0.42999999999999994
- ],
- "tag": null,
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1542,
+ "end": 1548,
+ "moduleId": 0,
+ "start": 1542,
+ "type": "TagDeclarator",
+ "value": "edge4"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1673,
+ "end": 1679,
+ "moduleId": 0,
+ "start": 1673,
+ "type": "TagDeclarator",
+ "value": "edge5"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1806,
+ "end": 1812,
+ "moduleId": 0,
+ "start": 1806,
+ "type": "TagDeclarator",
+ "value": "edge6"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.205,
+ 5.7
+ ],
+ "tag": null,
"to": [
- 0.3,
- 0.17
+ 2.305,
+ 5.7
],
"type": "ToPoint",
"units": {
@@ -859,571 +948,436 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
},
"from": [
- 0.3,
- 0.17
+ 2.305,
+ 5.7
+ ],
+ "tag": {
+ "commentStart": 1122,
+ "end": 1128,
+ "moduleId": 0,
+ "start": 1122,
+ "type": "TagDeclarator",
+ "value": "edge1"
+ },
+ "to": [
+ 2.305,
+ 0.5
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 2.605,
+ 0.49999999999999994
+ ],
+ "from": [
+ 2.305,
+ 0.5
],
+ "radius": 0.3,
"tag": null,
"to": [
- 0.3,
- 0.17
+ 2.333107663889005,
+ 0.37321452147779016
+ ],
+ "type": "Arc",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.333107663889005,
+ 0.37321452147779016
+ ],
+ "tag": {
+ "commentStart": 1236,
+ "end": 1242,
+ "moduleId": 0,
+ "start": 1236,
+ "type": "TagDeclarator",
+ "value": "edge2"
+ },
+ "to": [
+ 2.633107663889005,
+ -0.14640072079287297
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": false,
+ "center": [
+ 2.113492421618342,
+ -0.4464007207928729
+ ],
+ "from": [
+ 2.633107663889005,
+ -0.14640072079287297
+ ],
+ "radius": 0.6,
+ "tag": null,
+ "to": [
+ 1.8134924216183421,
+ -0.9660159630635361
+ ],
+ "type": "Arc",
"units": {
- "type": "Unknown"
+ "type": "Inches"
}
},
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 1.8134924216183421,
+ -0.9660159630635361
+ ],
+ "tag": {
+ "commentStart": 1357,
+ "end": 1363,
+ "moduleId": 0,
+ "start": 1357,
+ "type": "TagDeclarator",
+ "value": "edge3"
+ },
+ "to": [
+ 0.486713854183493,
+ -0.2
+ ],
+ "type": "ToPoint",
"units": {
- "type": "Unknown"
+ "type": "Inches"
}
},
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.23671385418349294,
+ -0.6330127018922194
],
- "sketch": {
- "type": "Sketch",
+ "from": [
+ 0.486713854183493,
+ -0.2
+ ],
+ "radius": 0.5,
+ "tag": null,
+ "to": [
+ 0.23671385418349297,
+ -0.13301270189221936
+ ],
+ "type": "Arc",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 2.055,
- 0.0
- ],
- "radius": 2.055,
- "tag": null,
- "to": [
- 2.055,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 25.4,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 2.055,
- 0.0
- ],
- "to": [
- 2.055,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "from": [
+ 0.23671385418349297,
+ -0.13301270189221936
+ ],
+ "tag": {
+ "commentStart": 1456,
+ "end": 1464,
+ "moduleId": 0,
+ "start": 1456,
+ "type": "TagDeclarator",
+ "value": "edgeLen"
+ },
+ "to": [
+ 0.1,
+ -0.13301270189221936
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
},
- "sectional": false
+ "from": [
+ 0.1,
+ -0.13301270189221936
+ ],
+ "tag": null,
+ "to": [
+ 0.1,
+ -0.03301270189221936
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
},
- "units": {
- "type": "Inches"
- }
- },
- "start": {
- "from": [
- 0.3,
- 0.17
- ],
- "to": [
- 0.3,
- 0.17
- ],
- "units": {
- "type": "Inches"
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.1,
+ -0.03301270189221936
+ ],
+ "tag": {
+ "commentStart": 1542,
+ "end": 1548,
+ "moduleId": 0,
+ "start": 1542,
+ "type": "TagDeclarator",
+ "value": "edge4"
+ },
+ "to": [
+ 0.271713854183493,
+ -0.03301270189221936
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
},
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": -0.05,
- "startCapId": null,
- "endCapId": null,
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- }
- ]
- },
- "extrude003": {
- "type": "Solid",
- "value": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- },
- "extrude004": {
- "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,
+ "ccw": false,
"center": [
- 1.4,
- 0.0
+ 0.2717138541834929,
+ -0.6330127018922194
],
"from": [
- 1.7,
- 0.0
+ 0.271713854183493,
+ -0.03301270189221936
],
- "radius": 0.3,
+ "radius": 0.6,
"tag": null,
"to": [
- 1.7,
- 0.0
+ 0.571713854183493,
+ -0.11339745962155623
],
- "type": "Circle",
+ "type": "Arc",
"units": {
"type": "Inches"
}
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.571713854183493,
+ -0.11339745962155623
+ ],
+ "tag": {
+ "commentStart": 1673,
+ "end": 1679,
+ "moduleId": 0,
+ "start": 1673,
+ "type": "TagDeclarator",
+ "value": "edge5"
+ },
+ "to": [
+ 1.8681815324858868,
+ -0.8619134226850923
+ ],
+ "type": "ToPoint",
"units": {
- "type": "Unknown"
+ "type": "Inches"
}
},
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 2.118181532485887,
+ -0.42890072079287295
+ ],
+ "from": [
+ 1.8681815324858868,
+ -0.8619134226850923
+ ],
+ "radius": 0.5,
+ "tag": null,
+ "to": [
+ 2.551194234378106,
+ -0.17890072079287297
+ ],
+ "type": "Arc",
"units": {
- "type": "Unknown"
+ "type": "Inches"
}
},
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.551194234378106,
+ -0.17890072079287297
],
- "sketch": {
- "type": "Sketch",
+ "tag": {
+ "commentStart": 1806,
+ "end": 1812,
+ "moduleId": 0,
+ "start": 1806,
+ "type": "TagDeclarator",
+ "value": "edge6"
+ },
+ "to": [
+ 2.2686942343781062,
+ 0.31040363234533463
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "ccw": false,
+ "center": [
+ 2.8124789066000964,
+ 0.5639745893897542
+ ],
+ "from": [
+ 2.2686942343781062,
+ 0.31040363234533463
+ ],
+ "radius": 0.6,
+ "tag": null,
+ "to": [
+ 2.2124789066000963,
+ 0.5639745893897543
+ ],
+ "type": "Arc",
"units": {
"type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
},
- "sectional": false
+ "from": [
+ 2.2124789066000963,
+ 0.5639745893897543
+ ],
+ "tag": null,
+ "to": [
+ 2.205,
+ 5.7
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
},
- "units": {
- "type": "Inches"
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.205,
+ 5.7
+ ],
+ "tag": null,
+ "to": [
+ 2.205,
+ 5.7
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": -0.26,
+ "y": 0.26,
+ "z": 0.0,
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 0.7071067811865475,
+ "y": 0.7071067811865475,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.7071067811865475,
+ "y": -0.7071067811865475,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
}
},
"start": {
"from": [
- 1.7,
- 0.0
+ 2.205,
+ 5.7
],
"to": [
- 1.7,
- 0.0
+ 2.205,
+ 5.7
],
"units": {
"type": "Inches"
@@ -1434,15 +1388,45 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
}
},
+ "tags": {
+ "edge1": {
+ "type": "TagIdentifier",
+ "value": "edge1"
+ },
+ "edge2": {
+ "type": "TagIdentifier",
+ "value": "edge2"
+ },
+ "edge3": {
+ "type": "TagIdentifier",
+ "value": "edge3"
+ },
+ "edge4": {
+ "type": "TagIdentifier",
+ "value": "edge4"
+ },
+ "edge5": {
+ "type": "TagIdentifier",
+ "value": "edge5"
+ },
+ "edge6": {
+ "type": "TagIdentifier",
+ "value": "edge6"
+ },
+ "edgeLen": {
+ "type": "TagIdentifier",
+ "value": "edgeLen"
+ }
+ },
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
}
},
- "height": -0.05,
- "startCapId": null,
- "endCapId": null,
+ "height": 0.75,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
"units": {
"type": "Inches"
},
@@ -1456,268 +1440,319 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"artifactId": "[uuid]",
"value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1122,
+ "end": 1128,
+ "moduleId": 0,
+ "start": 1122,
+ "type": "TagDeclarator",
+ "value": "edge1"
+ },
+ "type": "extrudePlane"
+ },
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": null,
"type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 1.4,
- 0.0
- ],
- "from": [
- 1.7,
- 0.0
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1236,
+ "end": 1242,
+ "moduleId": 0,
+ "start": 1236,
+ "type": "TagDeclarator",
+ "value": "edge2"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1357,
+ "end": 1363,
+ "moduleId": 0,
+ "start": 1357,
+ "type": "TagDeclarator",
+ "value": "edge3"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1456,
+ "end": 1464,
+ "moduleId": 0,
+ "start": 1456,
+ "type": "TagDeclarator",
+ "value": "edgeLen"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1542,
+ "end": 1548,
+ "moduleId": 0,
+ "start": 1542,
+ "type": "TagDeclarator",
+ "value": "edge4"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1673,
+ "end": 1679,
+ "moduleId": 0,
+ "start": 1673,
+ "type": "TagDeclarator",
+ "value": "edge5"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1806,
+ "end": 1812,
+ "moduleId": 0,
+ "start": 1806,
+ "type": "TagDeclarator",
+ "value": "edge6"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.205,
+ 5.7
],
- "radius": 0.3,
"tag": null,
"to": [
- 1.7,
- 0.0
+ 2.305,
+ 5.7
],
- "type": "Circle",
+ "type": "ToPoint",
"units": {
"type": "Inches"
}
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.305,
+ 5.7
+ ],
+ "tag": {
+ "commentStart": 1122,
+ "end": 1128,
+ "moduleId": 0,
+ "start": 1122,
+ "type": "TagDeclarator",
+ "value": "edge1"
+ },
+ "to": [
+ 2.305,
+ 0.5
+ ],
+ "type": "ToPoint",
"units": {
- "type": "Unknown"
+ "type": "Inches"
}
},
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 2.605,
+ 0.49999999999999994
+ ],
+ "from": [
+ 2.305,
+ 0.5
+ ],
+ "radius": 0.3,
+ "tag": null,
+ "to": [
+ 2.333107663889005,
+ 0.37321452147779016
+ ],
+ "type": "Arc",
"units": {
- "type": "Unknown"
+ "type": "Inches"
}
},
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.333107663889005,
+ 0.37321452147779016
],
- "sketch": {
- "type": "Sketch",
+ "tag": {
+ "commentStart": 1236,
+ "end": 1242,
+ "moduleId": 0,
+ "start": 1236,
+ "type": "TagDeclarator",
+ "value": "edge2"
+ },
+ "to": [
+ 2.633107663889005,
+ -0.14640072079287297
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "ccw": false,
+ "center": [
+ 2.113492421618342,
+ -0.4464007207928729
+ ],
+ "from": [
+ 2.633107663889005,
+ -0.14640072079287297
+ ],
+ "radius": 0.6,
+ "tag": null,
+ "to": [
+ 1.8134924216183421,
+ -0.9660159630635361
+ ],
+ "type": "Arc",
"units": {
"type": "Inches"
- },
- "sectional": false
+ }
},
- "units": {
- "type": "Inches"
- }
- },
- "start": {
- "from": [
- 1.7,
- 0.0
- ],
- "to": [
- 1.7,
- 0.0
- ],
- "units": {
- "type": "Inches"
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 1.8134924216183421,
+ -0.9660159630635361
+ ],
+ "tag": {
+ "commentStart": 1357,
+ "end": 1363,
+ "moduleId": 0,
+ "start": 1357,
+ "type": "TagDeclarator",
+ "value": "edge3"
+ },
+ "to": [
+ 0.486713854183493,
+ -0.2
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
},
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": -0.05,
- "startCapId": null,
- "endCapId": null,
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- },
- {
- "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]",
@@ -1725,499 +1760,146 @@ description: Variables in memory after executing french-press.kcl
},
"ccw": true,
"center": [
- 1.4,
- 0.0
+ 0.23671385418349294,
+ -0.6330127018922194
],
"from": [
- 1.7,
- 0.0
+ 0.486713854183493,
+ -0.2
],
- "radius": 0.3,
+ "radius": 0.5,
"tag": null,
"to": [
- 1.7,
- 0.0
+ 0.23671385418349297,
+ -0.13301270189221936
],
- "type": "Circle",
+ "type": "Arc",
"units": {
"type": "Inches"
}
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
},
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.23671385418349297,
+ -0.13301270189221936
+ ],
+ "tag": {
+ "commentStart": 1456,
+ "end": 1464,
+ "moduleId": 0,
+ "start": 1456,
+ "type": "TagDeclarator",
+ "value": "edgeLen"
+ },
+ "to": [
+ 0.1,
+ -0.13301270189221936
+ ],
+ "type": "ToPoint",
"units": {
- "type": "Unknown"
+ "type": "Inches"
}
},
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "from": [
+ 0.1,
+ -0.13301270189221936
+ ],
+ "tag": null,
+ "to": [
+ 0.1,
+ -0.03301270189221936
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
- },
- "sectional": false
+ }
},
- "units": {
- "type": "Inches"
- }
- },
- "start": {
- "from": [
- 1.7,
- 0.0
- ],
- "to": [
- 1.7,
- 0.0
- ],
- "units": {
- "type": "Inches"
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.1,
+ -0.03301270189221936
+ ],
+ "tag": {
+ "commentStart": 1542,
+ "end": 1548,
+ "moduleId": 0,
+ "start": 1542,
+ "type": "TagDeclarator",
+ "value": "edge4"
+ },
+ "to": [
+ 0.271713854183493,
+ -0.03301270189221936
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
},
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": -0.05,
- "startCapId": null,
- "endCapId": null,
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- },
- {
- "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,
+ "ccw": false,
"center": [
- 1.4,
- 0.0
+ 0.2717138541834929,
+ -0.6330127018922194
],
"from": [
- 1.7,
- 0.0
+ 0.271713854183493,
+ -0.03301270189221936
],
- "radius": 0.3,
+ "radius": 0.6,
"tag": null,
"to": [
- 1.7,
- 0.0
+ 0.571713854183493,
+ -0.11339745962155623
],
- "type": "Circle",
+ "type": "Arc",
"units": {
"type": "Inches"
}
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
},
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "from": [
+ 0.571713854183493,
+ -0.11339745962155623
+ ],
+ "tag": {
+ "commentStart": 1673,
+ "end": 1679,
+ "moduleId": 0,
+ "start": 1673,
+ "type": "TagDeclarator",
+ "value": "edge5"
+ },
+ "to": [
+ 1.8681815324858868,
+ -0.8619134226850923
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
- },
- "sectional": false
- },
- "units": {
- "type": "Inches"
- }
- },
- "start": {
- "from": [
- 1.7,
- 0.0
- ],
- "to": [
- 1.7,
- 0.0
- ],
- "units": {
- "type": "Inches"
+ }
},
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": -0.05,
- "startCapId": null,
- "endCapId": null,
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- },
- {
- "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]",
@@ -2225,283 +1907,130 @@ description: Variables in memory after executing french-press.kcl
},
"ccw": true,
"center": [
- 1.4,
- 0.0
+ 2.118181532485887,
+ -0.42890072079287295
],
"from": [
- 1.7,
- 0.0
+ 1.8681815324858868,
+ -0.8619134226850923
],
- "radius": 0.3,
+ "radius": 0.5,
"tag": null,
"to": [
- 1.7,
- 0.0
+ 2.551194234378106,
+ -0.17890072079287297
],
- "type": "Circle",
+ "type": "Arc",
"units": {
"type": "Inches"
}
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
},
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "from": [
+ 2.551194234378106,
+ -0.17890072079287297
+ ],
+ "tag": {
+ "commentStart": 1806,
+ "end": 1812,
+ "moduleId": 0,
+ "start": 1806,
+ "type": "TagDeclarator",
+ "value": "edge6"
+ },
+ "to": [
+ 2.2686942343781062,
+ 0.31040363234533463
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
- },
- "sectional": false
- },
- "units": {
- "type": "Inches"
- }
- },
- "start": {
- "from": [
- 1.7,
- 0.0
- ],
- "to": [
- 1.7,
- 0.0
- ],
- "units": {
- "type": "Inches"
+ }
},
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": -0.05,
- "startCapId": null,
- "endCapId": null,
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- },
- {
- "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,
+ "ccw": false,
"center": [
- 1.4,
- 0.0
+ 2.8124789066000964,
+ 0.5639745893897542
],
"from": [
- 1.7,
- 0.0
+ 2.2686942343781062,
+ 0.31040363234533463
],
- "radius": 0.3,
+ "radius": 0.6,
"tag": null,
"to": [
- 1.7,
- 0.0
+ 2.2124789066000963,
+ 0.5639745893897543
],
- "type": "Circle",
+ "type": "Arc",
"units": {
"type": "Inches"
}
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.2124789066000963,
+ 0.5639745893897543
+ ],
+ "tag": null,
+ "to": [
+ 2.205,
+ 5.7
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.205,
+ 5.7
+ ],
+ "tag": null,
+ "to": [
+ 2.205,
+ 5.7
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": -0.26,
+ "y": 0.26,
+ "z": 0.0,
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 0.7071067811865475,
+ "y": 0.7071067811865475,
"z": 0.0,
"units": {
"type": "Unknown"
@@ -2509,171 +2038,29 @@ description: Variables in memory after executing french-press.kcl
},
"yAxis": {
"x": 0.0,
- "y": 1.0,
- "z": 0.0,
+ "y": 0.0,
+ "z": 1.0,
"units": {
"type": "Unknown"
}
},
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "zAxis": {
+ "x": 0.7071067811865475,
+ "y": -0.7071067811865475,
+ "z": 0.0,
"units": {
- "type": "Inches"
- },
- "sectional": false
- },
- "units": {
- "type": "Inches"
+ "type": "Unknown"
+ }
}
},
"start": {
"from": [
- 1.7,
- 0.0
+ 2.205,
+ 5.7
],
"to": [
- 1.7,
- 0.0
+ 2.205,
+ 5.7
],
"units": {
"type": "Inches"
@@ -2684,15 +2071,45 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
}
},
+ "tags": {
+ "edge1": {
+ "type": "TagIdentifier",
+ "value": "edge1"
+ },
+ "edge2": {
+ "type": "TagIdentifier",
+ "value": "edge2"
+ },
+ "edge3": {
+ "type": "TagIdentifier",
+ "value": "edge3"
+ },
+ "edge4": {
+ "type": "TagIdentifier",
+ "value": "edge4"
+ },
+ "edge5": {
+ "type": "TagIdentifier",
+ "value": "edge5"
+ },
+ "edge6": {
+ "type": "TagIdentifier",
+ "value": "edge6"
+ },
+ "edgeLen": {
+ "type": "TagIdentifier",
+ "value": "edgeLen"
+ }
+ },
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
}
},
- "height": -0.05,
- "startCapId": null,
- "endCapId": null,
+ "height": 0.75,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
"units": {
"type": "Inches"
},
@@ -2706,18 +2123,217 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"artifactId": "[uuid]",
"value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1122,
+ "end": 1128,
+ "moduleId": 0,
+ "start": 1122,
+ "type": "TagDeclarator",
+ "value": "edge1"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1236,
+ "end": 1242,
+ "moduleId": 0,
+ "start": 1236,
+ "type": "TagDeclarator",
+ "value": "edge2"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1357,
+ "end": 1363,
+ "moduleId": 0,
+ "start": 1357,
+ "type": "TagDeclarator",
+ "value": "edge3"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1456,
+ "end": 1464,
+ "moduleId": 0,
+ "start": 1456,
+ "type": "TagDeclarator",
+ "value": "edgeLen"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1542,
+ "end": 1548,
+ "moduleId": 0,
+ "start": 1542,
+ "type": "TagDeclarator",
+ "value": "edge4"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1673,
+ "end": 1679,
+ "moduleId": 0,
+ "start": 1673,
+ "type": "TagDeclarator",
+ "value": "edge5"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 1806,
+ "end": 1812,
+ "moduleId": 0,
+ "start": 1806,
+ "type": "TagDeclarator",
+ "value": "edge6"
+ },
+ "type": "extrudePlane"
+ },
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": null,
"type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
}
],
"sketch": {
"type": "Sketch",
"id": "[uuid]",
"paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.205,
+ 5.7
+ ],
+ "tag": null,
+ "to": [
+ 2.305,
+ 5.7
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.305,
+ 5.7
+ ],
+ "tag": {
+ "commentStart": 1122,
+ "end": 1128,
+ "moduleId": 0,
+ "start": 1122,
+ "type": "TagDeclarator",
+ "value": "edge1"
+ },
+ "to": [
+ 2.305,
+ 0.5
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
{
"__geoMeta": {
"id": "[uuid]",
@@ -2725,249 +2341,101 @@ description: Variables in memory after executing french-press.kcl
},
"ccw": true,
"center": [
- 1.4,
- 0.0
+ 2.605,
+ 0.49999999999999994
],
"from": [
- 1.7,
- 0.0
+ 2.305,
+ 0.5
],
"radius": 0.3,
"tag": null,
"to": [
- 1.7,
- 0.0
+ 2.333107663889005,
+ 0.37321452147779016
],
- "type": "Circle",
+ "type": "Arc",
"units": {
"type": "Inches"
}
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.333107663889005,
+ 0.37321452147779016
+ ],
+ "tag": {
+ "commentStart": 1236,
+ "end": 1242,
+ "moduleId": 0,
+ "start": 1236,
+ "type": "TagDeclarator",
+ "value": "edge2"
+ },
+ "to": [
+ 2.633107663889005,
+ -0.14640072079287297
+ ],
+ "type": "ToPoint",
"units": {
- "type": "Unknown"
+ "type": "Inches"
}
},
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": false,
+ "center": [
+ 2.113492421618342,
+ -0.4464007207928729
+ ],
+ "from": [
+ 2.633107663889005,
+ -0.14640072079287297
+ ],
+ "radius": 0.6,
+ "tag": null,
+ "to": [
+ 1.8134924216183421,
+ -0.9660159630635361
+ ],
+ "type": "Arc",
"units": {
- "type": "Unknown"
+ "type": "Inches"
}
},
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "from": [
+ 1.8134924216183421,
+ -0.9660159630635361
+ ],
+ "tag": {
+ "commentStart": 1357,
+ "end": 1363,
+ "moduleId": 0,
+ "start": 1357,
+ "type": "TagDeclarator",
+ "value": "edge3"
+ },
+ "to": [
+ 0.486713854183493,
+ -0.2
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
- },
- "sectional": false
- },
- "units": {
- "type": "Inches"
- }
- },
- "start": {
- "from": [
- 1.7,
- 0.0
- ],
- "to": [
- 1.7,
- 0.0
- ],
- "units": {
- "type": "Inches"
+ }
},
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": -0.05,
- "startCapId": null,
- "endCapId": null,
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- },
- {
- "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]",
@@ -2975,754 +2443,146 @@ description: Variables in memory after executing french-press.kcl
},
"ccw": true,
"center": [
- 1.4,
- 0.0
+ 0.23671385418349294,
+ -0.6330127018922194
],
"from": [
- 1.7,
- 0.0
+ 0.486713854183493,
+ -0.2
],
- "radius": 0.3,
+ "radius": 0.5,
"tag": null,
"to": [
- 1.7,
- 0.0
+ 0.23671385418349297,
+ -0.13301270189221936
],
- "type": "Circle",
+ "type": "Arc",
"units": {
"type": "Inches"
}
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
},
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "from": [
+ 0.23671385418349297,
+ -0.13301270189221936
+ ],
+ "tag": {
+ "commentStart": 1456,
+ "end": 1464,
+ "moduleId": 0,
+ "start": 1456,
+ "type": "TagDeclarator",
+ "value": "edgeLen"
+ },
+ "to": [
+ 0.1,
+ -0.13301270189221936
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
- },
- "sectional": false
- },
- "units": {
- "type": "Inches"
- }
- },
- "start": {
- "from": [
- 1.7,
- 0.0
- ],
- "to": [
- 1.7,
- 0.0
- ],
- "units": {
- "type": "Inches"
+ }
},
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": -0.05,
- "startCapId": null,
- "endCapId": null,
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- }
- ]
- },
- "extrude005": {
- "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": [
- 0.6,
- 0.0
- ],
"from": [
- 0.8,
- 0.0
+ 0.1,
+ -0.13301270189221936
],
- "radius": 0.2,
"tag": null,
"to": [
- 0.8,
- 0.0
+ 0.1,
+ -0.03301270189221936
],
- "type": "Circle",
+ "type": "ToPoint",
"units": {
"type": "Inches"
}
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
},
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "from": [
+ 0.1,
+ -0.03301270189221936
+ ],
+ "tag": {
+ "commentStart": 1542,
+ "end": 1548,
+ "moduleId": 0,
+ "start": 1542,
+ "type": "TagDeclarator",
+ "value": "edge4"
+ },
+ "to": [
+ 0.271713854183493,
+ -0.03301270189221936
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
- },
- "sectional": false
- },
- "units": {
- "type": "Inches"
- }
- },
- "start": {
- "from": [
- 0.8,
- 0.0
- ],
- "to": [
- 0.8,
- 0.0
- ],
- "units": {
- "type": "Inches"
+ }
},
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": -0.05,
- "startCapId": null,
- "endCapId": null,
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- },
- {
- "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,
+ "ccw": false,
"center": [
- 0.6,
- 0.0
+ 0.2717138541834929,
+ -0.6330127018922194
],
"from": [
- 0.8,
- 0.0
+ 0.271713854183493,
+ -0.03301270189221936
],
- "radius": 0.2,
+ "radius": 0.6,
"tag": null,
"to": [
- 0.8,
- 0.0
+ 0.571713854183493,
+ -0.11339745962155623
],
- "type": "Circle",
+ "type": "Arc",
"units": {
"type": "Inches"
}
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
},
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "from": [
+ 0.571713854183493,
+ -0.11339745962155623
+ ],
+ "tag": {
+ "commentStart": 1673,
+ "end": 1679,
+ "moduleId": 0,
+ "start": 1673,
+ "type": "TagDeclarator",
+ "value": "edge5"
+ },
+ "to": [
+ 1.8681815324858868,
+ -0.8619134226850923
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
- },
- "sectional": false
- },
- "units": {
- "type": "Inches"
- }
- },
- "start": {
- "from": [
- 0.8,
- 0.0
- ],
- "to": [
- 0.8,
- 0.0
- ],
- "units": {
- "type": "Inches"
+ }
},
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": -0.05,
- "startCapId": null,
- "endCapId": null,
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- },
- {
- "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]",
@@ -3730,455 +2590,160 @@ description: Variables in memory after executing french-press.kcl
},
"ccw": true,
"center": [
- 0.6,
- 0.0
+ 2.118181532485887,
+ -0.42890072079287295
],
"from": [
- 0.8,
- 0.0
+ 1.8681815324858868,
+ -0.8619134226850923
],
- "radius": 0.2,
+ "radius": 0.5,
"tag": null,
"to": [
- 0.8,
- 0.0
+ 2.551194234378106,
+ -0.17890072079287297
],
- "type": "Circle",
+ "type": "Arc",
"units": {
"type": "Inches"
}
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
},
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "from": [
+ 2.551194234378106,
+ -0.17890072079287297
+ ],
+ "tag": {
+ "commentStart": 1806,
+ "end": 1812,
+ "moduleId": 0,
+ "start": 1806,
+ "type": "TagDeclarator",
+ "value": "edge6"
+ },
+ "to": [
+ 2.2686942343781062,
+ 0.31040363234533463
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
- },
- "sectional": false
- },
- "units": {
- "type": "Inches"
- }
- },
- "start": {
- "from": [
- 0.8,
- 0.0
- ],
- "to": [
- 0.8,
- 0.0
- ],
- "units": {
- "type": "Inches"
+ }
},
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": -0.05,
- "startCapId": null,
- "endCapId": null,
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- },
- {
- "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,
+ "ccw": false,
"center": [
- 0.6,
- 0.0
+ 2.8124789066000964,
+ 0.5639745893897542
],
"from": [
- 0.8,
- 0.0
+ 2.2686942343781062,
+ 0.31040363234533463
],
- "radius": 0.2,
+ "radius": 0.6,
"tag": null,
"to": [
- 0.8,
- 0.0
+ 2.2124789066000963,
+ 0.5639745893897543
],
- "type": "Circle",
+ "type": "Arc",
"units": {
"type": "Inches"
}
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
},
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "from": [
+ 2.2124789066000963,
+ 0.5639745893897543
+ ],
+ "tag": null,
+ "to": [
+ 2.205,
+ 5.7
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
},
- "sectional": false
+ "from": [
+ 2.205,
+ 5.7
+ ],
+ "tag": null,
+ "to": [
+ 2.205,
+ 5.7
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": -0.26,
+ "y": 0.26,
+ "z": 0.0,
+ "units": {
+ "type": "Inches"
+ }
},
- "units": {
- "type": "Inches"
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 0.7071067811865475,
+ "y": 0.7071067811865475,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.7071067811865475,
+ "y": -0.7071067811865475,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
}
},
"start": {
"from": [
- 0.8,
- 0.0
+ 2.205,
+ 5.7
],
"to": [
- 0.8,
- 0.0
+ 2.205,
+ 5.7
],
"units": {
"type": "Inches"
@@ -4189,15 +2754,45 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
}
},
+ "tags": {
+ "edge1": {
+ "type": "TagIdentifier",
+ "value": "edge1"
+ },
+ "edge2": {
+ "type": "TagIdentifier",
+ "value": "edge2"
+ },
+ "edge3": {
+ "type": "TagIdentifier",
+ "value": "edge3"
+ },
+ "edge4": {
+ "type": "TagIdentifier",
+ "value": "edge4"
+ },
+ "edge5": {
+ "type": "TagIdentifier",
+ "value": "edge5"
+ },
+ "edge6": {
+ "type": "TagIdentifier",
+ "value": "edge6"
+ },
+ "edgeLen": {
+ "type": "TagIdentifier",
+ "value": "edgeLen"
+ }
+ },
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
}
},
- "height": -0.05,
- "startCapId": null,
- "endCapId": null,
+ "height": 0.75,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
"units": {
"type": "Inches"
},
@@ -4206,7 +2801,7 @@ description: Variables in memory after executing french-press.kcl
}
]
},
- "extrude006": {
+ "extrude003": {
"type": "Solid",
"value": {
"type": "Solid",
@@ -4236,13 +2831,13 @@ description: Variables in memory after executing french-press.kcl
0.0
],
"from": [
- 2.205,
+ 2.055,
0.0
],
- "radius": 2.205,
+ "radius": 2.055,
"tag": null,
"to": [
- 2.205,
+ 2.055,
0.0
],
"type": "Circle",
@@ -4257,13 +2852,13 @@ description: Variables in memory after executing french-press.kcl
"origin": {
"x": 0.0,
"y": 0.0,
- "z": 0.0,
+ "z": 25.4,
"units": {
"type": "Mm"
}
},
"type": "plane",
- "value": "XY",
+ "value": "Custom",
"xAxis": {
"x": 1.0,
"y": 0.0,
@@ -4291,11 +2886,11 @@ description: Variables in memory after executing french-press.kcl
},
"start": {
"from": [
- 2.205,
+ 2.055,
0.0
],
"to": [
- 2.205,
+ 2.055,
0.0
],
"units": {
@@ -4313,7 +2908,7 @@ description: Variables in memory after executing french-press.kcl
"type": "Inches"
}
},
- "height": 7.32,
+ "height": 0.05,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
@@ -4322,958 +2917,596 @@ description: Variables in memory after executing french-press.kcl
"sectional": false
}
},
- "extrude007": {
- "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": null,
- "type": "extrudeArc"
- },
- {
- "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": "extrudePlane"
- },
- {
- "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": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
+ "extrude004": {
+ "type": "HomArray",
+ "value": [
+ {
+ "type": "Solid",
+ "value": {
+ "type": "Solid",
"id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.3,
- 6.4
- ],
- "tag": null,
- "to": [
- 2.86,
- 6.4
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": false,
- "center": [
- 2.86,
- 5.155614035087721
- ],
- "from": [
- 2.86,
- 6.4
- ],
- "tag": null,
- "to": [
- 4.1,
- 5.26
- ],
- "type": "TangentialArcTo",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": false,
- "center": [
- -24.039664515669777,
- 2.89114029614839
- ],
- "from": [
- 4.1,
- 5.26
- ],
- "tag": null,
- "to": [
- 4.17,
- 1.6
- ],
- "type": "TangentialArcTo",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
"id": "[uuid]",
- "sourceRange": []
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
},
- "ccw": false,
- "center": [
- 3.1336451558572067,
- 1.6474333716247522
- ],
- "from": [
- 4.17,
- 1.6
- ],
- "tag": null,
- "to": [
- 3.13,
- 0.61
- ],
- "type": "TangentialArcTo",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
+ {
+ "faceId": "[uuid]",
"id": "[uuid]",
- "sourceRange": []
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
},
- "from": [
- 3.13,
- 0.61
- ],
- "tag": null,
- "to": [
- 2.04,
- 0.61
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
+ {
+ "faceId": "[uuid]",
"id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.04,
- 0.61
- ],
- "tag": null,
- "to": [
- 2.04,
- 1.04
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
}
- },
- {
- "__geoMeta": {
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.3,
+ 0.17
+ ],
+ "tag": null,
+ "to": [
+ 0.3,
+ 1.3699999999999999
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": false,
+ "center": [
+ 0.29999999999999993,
+ 0.16999999999999993
+ ],
+ "from": [
+ 0.3,
+ 1.3699999999999999
+ ],
+ "radius": 1.2,
+ "tag": null,
+ "to": [
+ 1.3392304845413263,
+ -0.42999999999999994
+ ],
+ "type": "Arc",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 1.3392304845413263,
+ -0.42999999999999994
+ ],
+ "tag": null,
+ "to": [
+ 0.3,
+ 0.17
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.3,
+ 0.17
+ ],
+ "tag": null,
+ "to": [
+ 0.3,
+ 0.17
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "type": "face",
"id": "[uuid]",
- "sourceRange": []
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 2.055,
+ 0.0
+ ],
+ "radius": 2.055,
+ "tag": null,
+ "to": [
+ 2.055,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 25.4,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 2.055,
+ 0.0
+ ],
+ "to": [
+ 2.055,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
},
- "from": [
- 2.04,
- 1.04
- ],
- "tag": null,
- "to": [
- 3.0300000000000002,
- 1.02
- ],
- "type": "ToPoint",
+ "start": {
+ "from": [
+ 0.3,
+ 0.17
+ ],
+ "to": [
+ 0.3,
+ 0.17
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
"units": {
"type": "Inches"
}
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 3.041879904469464,
- 1.6080552712384852
- ],
- "from": [
- 3.0300000000000002,
- 1.02
- ],
- "tag": null,
- "to": [
- 3.63,
- 1.6
- ],
- "type": "TangentialArcTo",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- -49.51058427201375,
- 2.327847634072964
- ],
- "from": [
- 3.63,
- 1.6
- ],
- "tag": null,
- "to": [
- 3.56,
- 5.15
- ],
- "type": "TangentialArcTo",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 2.7870780851185235,
- 5.108898070547343
- ],
- "from": [
- 3.56,
- 5.15
- ],
- "tag": null,
- "to": [
- 2.72,
- 5.88
- ],
- "type": "TangentialArcTo",
- "units": {
- "type": "Inches"
- }
+ "height": -0.05,
+ "startCapId": null,
+ "endCapId": null,
+ "units": {
+ "type": "Inches"
},
- {
- "__geoMeta": {
+ "sectional": false
+ }
+ },
+ {
+ "type": "Solid",
+ "value": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
"id": "[uuid]",
- "sourceRange": []
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
},
- "from": [
- 2.72,
- 5.88
- ],
- "tag": null,
- "to": [
- 2.3200000000000003,
- 5.88
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
+ {
+ "faceId": "[uuid]",
"id": "[uuid]",
- "sourceRange": []
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
},
- "from": [
- 2.3200000000000003,
- 5.88
- ],
- "tag": null,
- "to": [
- 2.3,
- 6.4
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
+ {
+ "faceId": "[uuid]",
"id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.3,
- 6.4
- ],
- "tag": null,
- "to": [
- 2.3,
- 6.4
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": -8.254999999999999,
- "z": 0.0,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": -1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
}
- }
- },
- "start": {
- "from": [
- 2.3,
- 6.4
- ],
- "to": [
- 2.3,
- 6.4
],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
+ "sketch": {
+ "type": "Sketch",
"id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": -0.65,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- },
- "handleThickness": {
- "type": "Number",
- "value": 0.65,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Inches"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- "plane001": {
- "type": "Object",
- "value": {
- "origin": {
- "type": "HomArray",
- "value": [
- {
- "type": "Number",
- "value": -0.26,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Inches"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- {
- "type": "Number",
- "value": 0.26,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Inches"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- {
- "type": "Number",
- "value": 0.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Inches"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- }
- ]
- },
- "xAxis": {
- "type": "HomArray",
- "value": [
- {
- "type": "Number",
- "value": 1.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Inches"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- {
- "type": "Number",
- "value": 1.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Inches"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- {
- "type": "Number",
- "value": 0.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Inches"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- }
- ]
- },
- "yAxis": {
- "type": "HomArray",
- "value": [
- {
- "type": "Number",
- "value": 0.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Inches"
- },
- "angle": {
- "type": "Degrees"
- }
- }
- },
- {
- "type": "Number",
- "value": 0.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Inches"
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.3,
+ 0.17
+ ],
+ "tag": null,
+ "to": [
+ 0.3,
+ 1.3699999999999999
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
},
- "angle": {
- "type": "Degrees"
- }
- }
- },
- {
- "type": "Number",
- "value": 1.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Inches"
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": false,
+ "center": [
+ 0.29999999999999993,
+ 0.16999999999999993
+ ],
+ "from": [
+ 0.3,
+ 1.3699999999999999
+ ],
+ "radius": 1.2,
+ "tag": null,
+ "to": [
+ 1.3392304845413263,
+ -0.42999999999999994
+ ],
+ "type": "Arc",
+ "units": {
+ "type": "Inches"
+ }
},
- "angle": {
- "type": "Degrees"
- }
- }
- }
- ]
- },
- "zAxis": {
- "type": "HomArray",
- "value": [
- {
- "type": "Number",
- "value": 1.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Inches"
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 1.3392304845413263,
+ -0.42999999999999994
+ ],
+ "tag": null,
+ "to": [
+ 0.3,
+ 0.17
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
},
- "angle": {
- "type": "Degrees"
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.3,
+ 0.17
+ ],
+ "tag": null,
+ "to": [
+ 0.3,
+ 0.17
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
}
- }
- },
- {
- "type": "Number",
- "value": 0.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Inches"
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
},
- "angle": {
- "type": "Degrees"
- }
- }
- },
- {
- "type": "Number",
- "value": 0.0,
- "ty": {
- "type": "Default",
- "len": {
- "type": "Inches"
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
},
- "angle": {
- "type": "Degrees"
- }
- }
- }
- ]
- }
- }
- },
- "rectangleSegmentA001": {
- "type": "TagIdentifier",
- "type": "TagIdentifier",
- "value": "rectangleSegmentA001"
- },
- "rectangleSegmentB001": {
- "type": "TagIdentifier",
- "type": "TagIdentifier",
- "value": "rectangleSegmentB001"
- },
- "rectangleSegmentC001": {
- "type": "TagIdentifier",
- "type": "TagIdentifier",
- "value": "rectangleSegmentC001"
- },
- "seg1": {
- "type": "TagIdentifier",
- "type": "TagIdentifier",
- "value": "seg1"
- },
- "sketch001": {
- "type": "Solid",
- "value": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 375,
- "end": 396,
- "moduleId": 0,
- "start": 375,
- "type": "TagDeclarator",
- "value": "rectangleSegmentA001"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 479,
- "end": 500,
- "moduleId": 0,
- "start": 479,
- "type": "TagDeclarator",
- "value": "rectangleSegmentB001"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 602,
- "end": 623,
- "moduleId": 0,
- "start": 602,
- "type": "TagDeclarator",
- "value": "rectangleSegmentC001"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 2.055,
+ 0.0
+ ],
+ "radius": 2.055,
+ "tag": null,
+ "to": [
+ 2.055,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 25.4,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 2.055,
+ 0.0
+ ],
+ "to": [
+ 2.055,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
},
- "from": [
- 2.205,
- 5.7
- ],
- "tag": {
- "commentStart": 375,
- "end": 396,
- "moduleId": 0,
- "start": 375,
- "type": "TagDeclarator",
- "value": "rectangleSegmentA001"
+ "start": {
+ "from": [
+ 0.3,
+ 0.17
+ ],
+ "to": [
+ 0.3,
+ 0.17
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
},
- "to": [
- 2.305,
- 5.7
- ],
- "type": "ToPoint",
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
"units": {
"type": "Inches"
}
},
- {
- "__geoMeta": {
+ "height": -0.05,
+ "startCapId": null,
+ "endCapId": null,
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ }
+ },
+ {
+ "type": "Solid",
+ "value": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
"id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.305,
- 5.7
- ],
- "tag": {
- "commentStart": 479,
- "end": 500,
- "moduleId": 0,
- "start": 479,
- "type": "TagDeclarator",
- "value": "rectangleSegmentB001"
- },
- "to": [
- 2.305,
- 6.45
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.305,
- 6.45
- ],
- "tag": {
- "commentStart": 602,
- "end": 623,
- "moduleId": 0,
- "start": 602,
- "type": "TagDeclarator",
- "value": "rectangleSegmentC001"
- },
- "to": [
- 2.205,
- 6.45
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.205,
- 6.45
- ],
- "tag": null,
- "to": [
- 2.205,
- 5.7
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.205,
- 5.7
- ],
- "tag": null,
- "to": [
- 2.205,
- 5.7
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "XZ",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": -1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 2.205,
- 5.7
- ],
- "to": [
- 2.205,
- 5.7
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "tags": {
- "rectangleSegmentA001": {
- "type": "TagIdentifier",
- "value": "rectangleSegmentA001"
- },
- "rectangleSegmentB001": {
- "type": "TagIdentifier",
- "value": "rectangleSegmentB001"
- },
- "rectangleSegmentC001": {
- "type": "TagIdentifier",
- "value": "rectangleSegmentC001"
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.0,
- "startCapId": null,
- "endCapId": null,
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- },
- "sketch002": {
- "type": "HomArray",
- "value": [
- {
- "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": 1091,
- "end": 1097,
- "moduleId": 0,
- "start": 1091,
- "type": "TagDeclarator",
- "value": "edge1"
- },
- "type": "extrudePlane"
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
},
{
"faceId": "[uuid]",
@@ -5282,208 +3515,56 @@ description: Variables in memory after executing french-press.kcl
"tag": null,
"type": "extrudeArc"
},
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1205,
- "end": 1211,
- "moduleId": 0,
- "start": 1205,
- "type": "TagDeclarator",
- "value": "edge2"
- },
- "type": "extrudePlane"
- },
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1326,
- "end": 1332,
- "moduleId": 0,
- "start": 1326,
- "type": "TagDeclarator",
- "value": "edge3"
- },
"type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1425,
- "end": 1433,
- "moduleId": 0,
- "start": 1425,
- "type": "TagDeclarator",
- "value": "edgeLen"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1511,
- "end": 1517,
- "moduleId": 0,
- "start": 1511,
- "type": "TagDeclarator",
- "value": "edge4"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1642,
- "end": 1648,
- "moduleId": 0,
- "start": 1642,
- "type": "TagDeclarator",
- "value": "edge5"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1775,
- "end": 1781,
- "moduleId": 0,
- "start": 1775,
- "type": "TagDeclarator",
- "value": "edge6"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.205,
- 5.7
- ],
- "tag": null,
- "to": [
- 2.305,
- 5.7
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.305,
- 5.7
- ],
- "tag": {
- "commentStart": 1091,
- "end": 1097,
- "moduleId": 0,
- "start": 1091,
- "type": "TagDeclarator",
- "value": "edge1"
- },
- "to": [
- 2.305,
- 0.5
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.3,
+ 0.17
+ ],
+ "tag": null,
+ "to": [
+ 0.3,
+ 1.3699999999999999
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
- "ccw": true,
+ "ccw": false,
"center": [
- 2.605,
- 0.49999999999999994
+ 0.29999999999999993,
+ 0.16999999999999993
],
"from": [
- 2.305,
- 0.5
+ 0.3,
+ 1.3699999999999999
],
- "radius": 0.3,
+ "radius": 1.2,
"tag": null,
"to": [
- 2.333107663889005,
- 0.37321452147779016
+ 1.3392304845413263,
+ -0.42999999999999994
],
"type": "Arc",
"units": {
@@ -5496,20 +3577,13 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
},
"from": [
- 2.333107663889005,
- 0.37321452147779016
+ 1.3392304845413263,
+ -0.42999999999999994
],
- "tag": {
- "commentStart": 1205,
- "end": 1211,
- "moduleId": 0,
- "start": 1205,
- "type": "TagDeclarator",
- "value": "edge2"
- },
+ "tag": null,
"to": [
- 2.633107663889005,
- -0.14640072079287297
+ 0.3,
+ 0.17
],
"type": "ToPoint",
"units": {
@@ -5521,363 +3595,170 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"sourceRange": []
},
- "ccw": false,
- "center": [
- 2.113492421618342,
- -0.4464007207928729
- ],
"from": [
- 2.633107663889005,
- -0.14640072079287297
+ 0.3,
+ 0.17
],
- "radius": 0.6,
"tag": null,
"to": [
- 1.8134924216183421,
- -0.9660159630635361
- ],
- "type": "Arc",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 1.8134924216183421,
- -0.9660159630635361
- ],
- "tag": {
- "commentStart": 1326,
- "end": 1332,
- "moduleId": 0,
- "start": 1326,
- "type": "TagDeclarator",
- "value": "edge3"
- },
- "to": [
- 0.486713854183493,
- -0.2
+ 0.3,
+ 0.17
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.23671385418349294,
- -0.6330127018922194
- ],
- "from": [
- 0.486713854183493,
- -0.2
- ],
- "radius": 0.5,
- "tag": null,
- "to": [
- 0.23671385418349297,
- -0.13301270189221936
- ],
- "type": "Arc",
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
"units": {
- "type": "Inches"
+ "type": "Unknown"
}
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.23671385418349297,
- -0.13301270189221936
- ],
- "tag": {
- "commentStart": 1425,
- "end": 1433,
- "moduleId": 0,
- "start": 1425,
- "type": "TagDeclarator",
- "value": "edgeLen"
- },
- "to": [
- 0.1,
- -0.13301270189221936
- ],
- "type": "ToPoint",
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
"units": {
- "type": "Inches"
+ "type": "Unknown"
}
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.1,
- -0.13301270189221936
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
],
- "tag": null,
- "to": [
- 0.1,
- -0.03301270189221936
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.1,
- -0.03301270189221936
- ],
- "tag": {
- "commentStart": 1511,
- "end": 1517,
- "moduleId": 0,
- "start": 1511,
- "type": "TagDeclarator",
- "value": "edge4"
- },
- "to": [
- 0.271713854183493,
- -0.03301270189221936
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": false,
- "center": [
- 0.2717138541834929,
- -0.6330127018922194
- ],
- "from": [
- 0.271713854183493,
- -0.03301270189221936
- ],
- "radius": 0.6,
- "tag": null,
- "to": [
- 0.571713854183493,
- -0.11339745962155623
- ],
- "type": "Arc",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.571713854183493,
- -0.11339745962155623
- ],
- "tag": {
- "commentStart": 1642,
- "end": 1648,
- "moduleId": 0,
- "start": 1642,
- "type": "TagDeclarator",
- "value": "edge5"
- },
- "to": [
- 1.8681815324858868,
- -0.8619134226850923
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
+ "sketch": {
+ "type": "Sketch",
"id": "[uuid]",
- "sourceRange": []
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 2.055,
+ 0.0
+ ],
+ "radius": 2.055,
+ "tag": null,
+ "to": [
+ 2.055,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 25.4,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 2.055,
+ 0.0
+ ],
+ "to": [
+ 2.055,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
},
- "ccw": true,
- "center": [
- 2.118181532485887,
- -0.42890072079287295
- ],
- "from": [
- 1.8681815324858868,
- -0.8619134226850923
- ],
- "radius": 0.5,
- "tag": null,
- "to": [
- 2.551194234378106,
- -0.17890072079287297
- ],
- "type": "Arc",
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
"units": {
"type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.551194234378106,
- -0.17890072079287297
- ],
- "tag": {
- "commentStart": 1775,
- "end": 1781,
- "moduleId": 0,
- "start": 1775,
- "type": "TagDeclarator",
- "value": "edge6"
},
- "to": [
- 2.2686942343781062,
- 0.31040363234533463
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
+ "sectional": false
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": false,
- "center": [
- 2.8124789066000964,
- 0.5639745893897542
- ],
- "from": [
- 2.2686942343781062,
- 0.31040363234533463
- ],
- "radius": 0.6,
- "tag": null,
- "to": [
- 2.2124789066000963,
- 0.5639745893897543
- ],
- "type": "Arc",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.2124789066000963,
- 0.5639745893897543
- ],
- "tag": null,
- "to": [
- 2.205,
- 5.7
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.205,
- 5.7
- ],
- "tag": null,
- "to": [
- 2.205,
- 5.7
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": -0.26,
- "y": 0.26,
- "z": 0.0,
- "units": {
- "type": "Inches"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 0.7071067811865475,
- "y": 0.7071067811865475,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.7071067811865475,
- "y": -0.7071067811865475,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 2.205,
- 5.7
- ],
- "to": [
- 2.205,
- 5.7
- ],
- "units": {
- "type": "Inches"
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 0.3,
+ 0.17
+ ],
+ "to": [
+ 0.3,
+ 0.17
+ ],
+ "units": {
+ "type": "Inches"
},
"tag": null,
"__geoMeta": {
@@ -5885,269 +3766,311 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
}
},
- "tags": {
- "edge1": {
- "type": "TagIdentifier",
- "value": "edge1"
- },
- "edge2": {
- "type": "TagIdentifier",
- "value": "edge2"
- },
- "edge3": {
- "type": "TagIdentifier",
- "value": "edge3"
- },
- "edge4": {
- "type": "TagIdentifier",
- "value": "edge4"
- },
- "edge5": {
- "type": "TagIdentifier",
- "value": "edge5"
- },
- "edge6": {
- "type": "TagIdentifier",
- "value": "edge6"
- },
- "edgeLen": {
- "type": "TagIdentifier",
- "value": "edgeLen"
- }
- },
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
}
},
- "height": 0.75,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "height": -0.05,
+ "startCapId": null,
+ "endCapId": null,
"units": {
"type": "Inches"
},
"sectional": false
}
- },
- {
- "type": "Solid",
- "value": {
- "type": "Solid",
+ }
+ ]
+ },
+ "extrude006": {
+ "type": "Solid",
+ "value": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
"id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1091,
- "end": 1097,
- "moduleId": 0,
- "start": 1091,
- "type": "TagDeclarator",
- "value": "edge1"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1205,
- "end": 1211,
- "moduleId": 0,
- "start": 1205,
- "type": "TagDeclarator",
- "value": "edge2"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1326,
- "end": 1332,
- "moduleId": 0,
- "start": 1326,
- "type": "TagDeclarator",
- "value": "edge3"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1425,
- "end": 1433,
- "moduleId": 0,
- "start": 1425,
- "type": "TagDeclarator",
- "value": "edgeLen"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1511,
- "end": 1517,
- "moduleId": 0,
- "start": 1511,
- "type": "TagDeclarator",
- "value": "edge4"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
+ "sourceRange": []
},
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1642,
- "end": 1648,
- "moduleId": 0,
- "start": 1642,
- "type": "TagDeclarator",
- "value": "edge5"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 2.205,
+ 0.0
+ ],
+ "radius": 2.205,
+ "tag": null,
+ "to": [
+ 2.205,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 2.205,
+ 0.0
+ ],
+ "to": [
+ 2.205,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 7.32,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ }
+ },
+ "extrude007": {
+ "type": "Solid",
+ "value": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1775,
- "end": 1781,
- "moduleId": 0,
- "start": 1775,
- "type": "TagDeclarator",
- "value": "edge6"
- },
- "type": "extrudePlane"
+ "sourceRange": []
},
- {
- "faceId": "[uuid]",
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
+ "sourceRange": []
},
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
}
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
],
- "sketch": {
- "type": "Sketch",
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.205,
- 5.7
- ],
- "tag": null,
- "to": [
- 2.305,
- 5.7
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.305,
- 5.7
- ],
- "tag": {
- "commentStart": 1091,
- "end": 1097,
- "moduleId": 0,
- "start": 1091,
- "type": "TagDeclarator",
- "value": "edge1"
- },
- "to": [
- 2.305,
- 0.5
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ }
+ },
+ "extrude008": {
+ "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]",
@@ -6155,379 +4078,533 @@ description: Variables in memory after executing french-press.kcl
},
"ccw": true,
"center": [
- 2.605,
- 0.49999999999999994
+ 1.4,
+ 0.0
],
"from": [
- 2.305,
- 0.5
+ 1.7,
+ 0.0
],
"radius": 0.3,
"tag": null,
"to": [
- 2.333107663889005,
- 0.37321452147779016
- ],
- "type": "Arc",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.333107663889005,
- 0.37321452147779016
- ],
- "tag": {
- "commentStart": 1205,
- "end": 1211,
- "moduleId": 0,
- "start": 1205,
- "type": "TagDeclarator",
- "value": "edge2"
- },
- "to": [
- 2.633107663889005,
- -0.14640072079287297
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": false,
- "center": [
- 2.113492421618342,
- -0.4464007207928729
- ],
- "from": [
- 2.633107663889005,
- -0.14640072079287297
- ],
- "radius": 0.6,
- "tag": null,
- "to": [
- 1.8134924216183421,
- -0.9660159630635361
+ 1.7,
+ 0.0
],
- "type": "Arc",
+ "type": "Circle",
"units": {
"type": "Inches"
}
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 1.8134924216183421,
- -0.9660159630635361
- ],
- "tag": {
- "commentStart": 1326,
- "end": 1332,
- "moduleId": 0,
- "start": 1326,
- "type": "TagDeclarator",
- "value": "edge3"
- },
- "to": [
- 0.486713854183493,
- -0.2
- ],
- "type": "ToPoint",
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
"units": {
- "type": "Inches"
+ "type": "Unknown"
}
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.23671385418349294,
- -0.6330127018922194
- ],
- "from": [
- 0.486713854183493,
- -0.2
- ],
- "radius": 0.5,
- "tag": null,
- "to": [
- 0.23671385418349297,
- -0.13301270189221936
- ],
- "type": "Arc",
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
"units": {
- "type": "Inches"
+ "type": "Unknown"
}
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.23671385418349297,
- -0.13301270189221936
- ],
- "tag": {
- "commentStart": 1425,
- "end": 1433,
- "moduleId": 0,
- "start": 1425,
- "type": "TagDeclarator",
- "value": "edgeLen"
- },
- "to": [
- 0.1,
- -0.13301270189221936
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
+ "sketch": {
+ "type": "Sketch",
"id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.1,
- -0.13301270189221936
- ],
- "tag": null,
- "to": [
- 0.1,
- -0.03301270189221936
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.1,
- -0.03301270189221936
- ],
- "tag": {
- "commentStart": 1511,
- "end": 1517,
- "moduleId": 0,
- "start": 1511,
- "type": "TagDeclarator",
- "value": "edge4"
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
},
- "to": [
- 0.271713854183493,
- -0.03301270189221936
- ],
- "type": "ToPoint",
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
"units": {
"type": "Inches"
- }
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
},
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": -0.05,
+ "startCapId": null,
+ "endCapId": null,
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ }
+ },
+ {
+ "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": false,
+ "ccw": true,
"center": [
- 0.2717138541834929,
- -0.6330127018922194
+ 1.4,
+ 0.0
],
"from": [
- 0.271713854183493,
- -0.03301270189221936
+ 1.7,
+ 0.0
],
- "radius": 0.6,
+ "radius": 0.3,
"tag": null,
"to": [
- 0.571713854183493,
- -0.11339745962155623
+ 1.7,
+ 0.0
],
- "type": "Arc",
+ "type": "Circle",
"units": {
"type": "Inches"
}
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.571713854183493,
- -0.11339745962155623
- ],
- "tag": {
- "commentStart": 1642,
- "end": 1648,
- "moduleId": 0,
- "start": 1642,
- "type": "TagDeclarator",
- "value": "edge5"
- },
- "to": [
- 1.8681815324858868,
- -0.8619134226850923
- ],
- "type": "ToPoint",
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
"units": {
- "type": "Inches"
+ "type": "Unknown"
}
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 2.118181532485887,
- -0.42890072079287295
- ],
- "from": [
- 1.8681815324858868,
- -0.8619134226850923
- ],
- "radius": 0.5,
- "tag": null,
- "to": [
- 2.551194234378106,
- -0.17890072079287297
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
],
- "type": "Arc",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
+ "sketch": {
+ "type": "Sketch",
"id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.551194234378106,
- -0.17890072079287297
- ],
- "tag": {
- "commentStart": 1775,
- "end": 1781,
- "moduleId": 0,
- "start": 1775,
- "type": "TagDeclarator",
- "value": "edge6"
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
},
- "to": [
- 2.2686942343781062,
- 0.31040363234533463
- ],
- "type": "ToPoint",
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
"units": {
"type": "Inches"
- }
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
},
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": -0.05,
+ "startCapId": null,
+ "endCapId": null,
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ }
+ },
+ {
+ "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": false,
+ "ccw": true,
"center": [
- 2.8124789066000964,
- 0.5639745893897542
+ 1.4,
+ 0.0
],
"from": [
- 2.2686942343781062,
- 0.31040363234533463
+ 1.7,
+ 0.0
],
- "radius": 0.6,
+ "radius": 0.3,
"tag": null,
"to": [
- 2.2124789066000963,
- 0.5639745893897543
+ 1.7,
+ 0.0
],
- "type": "Arc",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.2124789066000963,
- 0.5639745893897543
- ],
- "tag": null,
- "to": [
- 2.205,
- 5.7
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.205,
- 5.7
- ],
- "tag": null,
- "to": [
- 2.205,
- 5.7
- ],
- "type": "ToPoint",
+ "type": "Circle",
"units": {
"type": "Inches"
}
}
],
"on": {
- "artifactId": "[uuid]",
+ "type": "face",
"id": "[uuid]",
- "origin": {
- "x": -0.26,
- "y": 0.26,
- "z": 0.0,
- "units": {
- "type": "Inches"
- }
- },
- "type": "plane",
- "value": "Custom",
+ "artifactId": "[uuid]",
+ "value": "end",
"xAxis": {
- "x": 0.7071067811865475,
- "y": 0.7071067811865475,
+ "x": 1.0,
+ "y": 0.0,
"z": 0.0,
"units": {
"type": "Unknown"
@@ -6535,29 +4612,171 @@ description: Variables in memory after executing french-press.kcl
},
"yAxis": {
"x": 0.0,
- "y": 0.0,
- "z": 1.0,
+ "y": 1.0,
+ "z": 0.0,
"units": {
"type": "Unknown"
}
},
- "zAxis": {
- "x": 0.7071067811865475,
- "y": -0.7071067811865475,
- "z": 0.0,
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
"units": {
- "type": "Unknown"
- }
+ "type": "Inches"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
}
},
"start": {
"from": [
- 2.205,
- 5.7
+ 1.7,
+ 0.0
],
"to": [
- 2.205,
- 5.7
+ 1.7,
+ 0.0
],
"units": {
"type": "Inches"
@@ -6568,46 +4787,16 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
}
},
- "tags": {
- "edge1": {
- "type": "TagIdentifier",
- "value": "edge1"
- },
- "edge2": {
- "type": "TagIdentifier",
- "value": "edge2"
- },
- "edge3": {
- "type": "TagIdentifier",
- "value": "edge3"
- },
- "edge4": {
- "type": "TagIdentifier",
- "value": "edge4"
- },
- "edge5": {
- "type": "TagIdentifier",
- "value": "edge5"
- },
- "edge6": {
- "type": "TagIdentifier",
- "value": "edge6"
- },
- "edgeLen": {
- "type": "TagIdentifier",
- "value": "edgeLen"
- }
- },
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
}
},
- "height": 0.75,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
- "units": {
+ "height": -0.05,
+ "startCapId": null,
+ "endCapId": null,
+ "units": {
"type": "Inches"
},
"sectional": false
@@ -6620,217 +4809,18 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"artifactId": "[uuid]",
"value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1091,
- "end": 1097,
- "moduleId": 0,
- "start": 1091,
- "type": "TagDeclarator",
- "value": "edge1"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1205,
- "end": 1211,
- "moduleId": 0,
- "start": 1205,
- "type": "TagDeclarator",
- "value": "edge2"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1326,
- "end": 1332,
- "moduleId": 0,
- "start": 1326,
- "type": "TagDeclarator",
- "value": "edge3"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1425,
- "end": 1433,
- "moduleId": 0,
- "start": 1425,
- "type": "TagDeclarator",
- "value": "edgeLen"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1511,
- "end": 1517,
- "moduleId": 0,
- "start": 1511,
- "type": "TagDeclarator",
- "value": "edge4"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1642,
- "end": 1648,
- "moduleId": 0,
- "start": 1642,
- "type": "TagDeclarator",
- "value": "edge5"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1775,
- "end": 1781,
- "moduleId": 0,
- "start": 1775,
- "type": "TagDeclarator",
- "value": "edge6"
- },
- "type": "extrudePlane"
- },
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": null,
"type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
}
],
"sketch": {
"type": "Sketch",
"id": "[uuid]",
"paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.205,
- 5.7
- ],
- "tag": null,
- "to": [
- 2.305,
- 5.7
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.305,
- 5.7
- ],
- "tag": {
- "commentStart": 1091,
- "end": 1097,
- "moduleId": 0,
- "start": 1091,
- "type": "TagDeclarator",
- "value": "edge1"
- },
- "to": [
- 2.305,
- 0.5
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
{
"__geoMeta": {
"id": "[uuid]",
@@ -6838,101 +4828,249 @@ description: Variables in memory after executing french-press.kcl
},
"ccw": true,
"center": [
- 2.605,
- 0.49999999999999994
+ 1.4,
+ 0.0
],
"from": [
- 2.305,
- 0.5
+ 1.7,
+ 0.0
],
"radius": 0.3,
"tag": null,
"to": [
- 2.333107663889005,
- 0.37321452147779016
+ 1.7,
+ 0.0
],
- "type": "Arc",
+ "type": "Circle",
"units": {
"type": "Inches"
}
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.333107663889005,
- 0.37321452147779016
- ],
- "tag": {
- "commentStart": 1205,
- "end": 1211,
- "moduleId": 0,
- "start": 1205,
- "type": "TagDeclarator",
- "value": "edge2"
- },
- "to": [
- 2.633107663889005,
- -0.14640072079287297
- ],
- "type": "ToPoint",
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
"units": {
- "type": "Inches"
+ "type": "Unknown"
}
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": false,
- "center": [
- 2.113492421618342,
- -0.4464007207928729
- ],
- "from": [
- 2.633107663889005,
- -0.14640072079287297
- ],
- "radius": 0.6,
- "tag": null,
- "to": [
- 1.8134924216183421,
- -0.9660159630635361
- ],
- "type": "Arc",
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
"units": {
- "type": "Inches"
+ "type": "Unknown"
}
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 1.8134924216183421,
- -0.9660159630635361
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
],
- "tag": {
- "commentStart": 1326,
- "end": 1332,
- "moduleId": 0,
- "start": 1326,
- "type": "TagDeclarator",
- "value": "edge3"
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
},
- "to": [
- 0.486713854183493,
- -0.2
- ],
- "type": "ToPoint",
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
"units": {
"type": "Inches"
- }
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
},
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": -0.05,
+ "startCapId": null,
+ "endCapId": null,
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ }
+ },
+ {
+ "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]",
@@ -6940,277 +5078,283 @@ description: Variables in memory after executing french-press.kcl
},
"ccw": true,
"center": [
- 0.23671385418349294,
- -0.6330127018922194
+ 1.4,
+ 0.0
],
"from": [
- 0.486713854183493,
- -0.2
+ 1.7,
+ 0.0
],
- "radius": 0.5,
+ "radius": 0.3,
"tag": null,
"to": [
- 0.23671385418349297,
- -0.13301270189221936
+ 1.7,
+ 0.0
],
- "type": "Arc",
+ "type": "Circle",
"units": {
"type": "Inches"
}
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.23671385418349297,
- -0.13301270189221936
- ],
- "tag": {
- "commentStart": 1425,
- "end": 1433,
- "moduleId": 0,
- "start": 1425,
- "type": "TagDeclarator",
- "value": "edgeLen"
- },
- "to": [
- 0.1,
- -0.13301270189221936
- ],
- "type": "ToPoint",
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
"units": {
- "type": "Inches"
+ "type": "Unknown"
}
},
- {
- "__geoMeta": {
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
"id": "[uuid]",
- "sourceRange": []
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
},
- "from": [
- 0.1,
- -0.13301270189221936
- ],
- "tag": null,
- "to": [
- 0.1,
- -0.03301270189221936
- ],
- "type": "ToPoint",
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
"units": {
"type": "Inches"
- }
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
},
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": -0.05,
+ "startCapId": null,
+ "endCapId": null,
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ }
+ },
+ {
+ "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.4,
+ 0.0
+ ],
"from": [
- 0.1,
- -0.03301270189221936
+ 1.7,
+ 0.0
],
- "tag": {
- "commentStart": 1511,
- "end": 1517,
- "moduleId": 0,
- "start": 1511,
- "type": "TagDeclarator",
- "value": "edge4"
- },
+ "radius": 0.3,
+ "tag": null,
"to": [
- 0.271713854183493,
- -0.03301270189221936
+ 1.7,
+ 0.0
],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": false,
- "center": [
- 0.2717138541834929,
- -0.6330127018922194
- ],
- "from": [
- 0.271713854183493,
- -0.03301270189221936
- ],
- "radius": 0.6,
- "tag": null,
- "to": [
- 0.571713854183493,
- -0.11339745962155623
- ],
- "type": "Arc",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.571713854183493,
- -0.11339745962155623
- ],
- "tag": {
- "commentStart": 1642,
- "end": 1648,
- "moduleId": 0,
- "start": 1642,
- "type": "TagDeclarator",
- "value": "edge5"
- },
- "to": [
- 1.8681815324858868,
- -0.8619134226850923
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 2.118181532485887,
- -0.42890072079287295
- ],
- "from": [
- 1.8681815324858868,
- -0.8619134226850923
- ],
- "radius": 0.5,
- "tag": null,
- "to": [
- 2.551194234378106,
- -0.17890072079287297
- ],
- "type": "Arc",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.551194234378106,
- -0.17890072079287297
- ],
- "tag": {
- "commentStart": 1775,
- "end": 1781,
- "moduleId": 0,
- "start": 1775,
- "type": "TagDeclarator",
- "value": "edge6"
- },
- "to": [
- 2.2686942343781062,
- 0.31040363234533463
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": false,
- "center": [
- 2.8124789066000964,
- 0.5639745893897542
- ],
- "from": [
- 2.2686942343781062,
- 0.31040363234533463
- ],
- "radius": 0.6,
- "tag": null,
- "to": [
- 2.2124789066000963,
- 0.5639745893897543
- ],
- "type": "Arc",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.2124789066000963,
- 0.5639745893897543
- ],
- "tag": null,
- "to": [
- 2.205,
- 5.7
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.205,
- 5.7
- ],
- "tag": null,
- "to": [
- 2.205,
- 5.7
- ],
- "type": "ToPoint",
+ "type": "Circle",
"units": {
"type": "Inches"
}
}
],
"on": {
- "artifactId": "[uuid]",
+ "type": "face",
"id": "[uuid]",
- "origin": {
- "x": -0.26,
- "y": 0.26,
- "z": 0.0,
- "units": {
- "type": "Inches"
- }
- },
- "type": "plane",
- "value": "Custom",
+ "artifactId": "[uuid]",
+ "value": "end",
"xAxis": {
- "x": 0.7071067811865475,
- "y": 0.7071067811865475,
+ "x": 1.0,
+ "y": 0.0,
"z": 0.0,
"units": {
"type": "Unknown"
@@ -7218,302 +5362,215 @@ description: Variables in memory after executing french-press.kcl
},
"yAxis": {
"x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.7071067811865475,
- "y": -0.7071067811865475,
+ "y": 1.0,
"z": 0.0,
"units": {
"type": "Unknown"
}
- }
- },
- "start": {
- "from": [
- 2.205,
- 5.7
- ],
- "to": [
- 2.205,
- 5.7
- ],
- "units": {
- "type": "Inches"
},
- "tag": null,
- "__geoMeta": {
+ "solid": {
+ "type": "Solid",
"id": "[uuid]",
- "sourceRange": []
- }
- },
- "tags": {
- "edge1": {
- "type": "TagIdentifier",
- "value": "edge1"
- },
- "edge2": {
- "type": "TagIdentifier",
- "value": "edge2"
- },
- "edge3": {
- "type": "TagIdentifier",
- "value": "edge3"
- },
- "edge4": {
- "type": "TagIdentifier",
- "value": "edge4"
- },
- "edge5": {
- "type": "TagIdentifier",
- "value": "edge5"
- },
- "edge6": {
- "type": "TagIdentifier",
- "value": "edge6"
- },
- "edgeLen": {
- "type": "TagIdentifier",
- "value": "edgeLen"
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.75,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- },
- {
- "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": 1091,
- "end": 1097,
- "moduleId": 0,
- "start": 1091,
- "type": "TagDeclarator",
- "value": "edge1"
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
},
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
+ "units": {
+ "type": "Inches"
+ }
},
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1205,
- "end": 1211,
- "moduleId": 0,
- "start": 1205,
- "type": "TagDeclarator",
- "value": "edge2"
+ "start": {
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
},
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
"tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1326,
- "end": 1332,
- "moduleId": 0,
- "start": 1326,
- "type": "TagDeclarator",
- "value": "edge3"
- },
- "type": "extrudePlane"
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
},
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": -0.05,
+ "startCapId": null,
+ "endCapId": null,
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ }
+ },
+ {
+ "type": "Solid",
+ "value": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": null,
"type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1425,
- "end": 1433,
- "moduleId": 0,
- "start": 1425,
- "type": "TagDeclarator",
- "value": "edgeLen"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1511,
- "end": 1517,
- "moduleId": 0,
- "start": 1511,
- "type": "TagDeclarator",
- "value": "edge4"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1642,
- "end": 1648,
- "moduleId": 0,
- "start": 1642,
- "type": "TagDeclarator",
- "value": "edge5"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": {
- "commentStart": 1775,
- "end": 1781,
- "moduleId": 0,
- "start": 1775,
- "type": "TagDeclarator",
- "value": "edge6"
- },
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
}
],
"sketch": {
"type": "Sketch",
"id": "[uuid]",
"paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.205,
- 5.7
- ],
- "tag": null,
- "to": [
- 2.305,
- 5.7
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.305,
- 5.7
- ],
- "tag": {
- "commentStart": 1091,
- "end": 1097,
- "moduleId": 0,
- "start": 1091,
- "type": "TagDeclarator",
- "value": "edge1"
- },
- "to": [
- 2.305,
- 0.5
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
{
"__geoMeta": {
"id": "[uuid]",
@@ -7521,248 +5578,504 @@ description: Variables in memory after executing french-press.kcl
},
"ccw": true,
"center": [
- 2.605,
- 0.49999999999999994
+ 1.4,
+ 0.0
],
"from": [
- 2.305,
- 0.5
+ 1.7,
+ 0.0
],
"radius": 0.3,
"tag": null,
"to": [
- 2.333107663889005,
- 0.37321452147779016
- ],
- "type": "Arc",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.333107663889005,
- 0.37321452147779016
- ],
- "tag": {
- "commentStart": 1205,
- "end": 1211,
- "moduleId": 0,
- "start": 1205,
- "type": "TagDeclarator",
- "value": "edge2"
- },
- "to": [
- 2.633107663889005,
- -0.14640072079287297
+ 1.7,
+ 0.0
],
- "type": "ToPoint",
+ "type": "Circle",
"units": {
"type": "Inches"
}
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": false,
- "center": [
- 2.113492421618342,
- -0.4464007207928729
- ],
- "from": [
- 2.633107663889005,
- -0.14640072079287297
- ],
- "radius": 0.6,
- "tag": null,
- "to": [
- 1.8134924216183421,
- -0.9660159630635361
- ],
- "type": "Arc",
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
"units": {
- "type": "Inches"
+ "type": "Unknown"
}
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 1.8134924216183421,
- -0.9660159630635361
- ],
- "tag": {
- "commentStart": 1326,
- "end": 1332,
- "moduleId": 0,
- "start": 1326,
- "type": "TagDeclarator",
- "value": "edge3"
- },
- "to": [
- 0.486713854183493,
- -0.2
- ],
- "type": "ToPoint",
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
"units": {
- "type": "Inches"
+ "type": "Unknown"
}
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.23671385418349294,
- -0.6330127018922194
- ],
- "from": [
- 0.486713854183493,
- -0.2
- ],
- "radius": 0.5,
- "tag": null,
- "to": [
- 0.23671385418349297,
- -0.13301270189221936
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
],
- "type": "Arc",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
+ "sketch": {
+ "type": "Sketch",
"id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.23671385418349297,
- -0.13301270189221936
- ],
- "tag": {
- "commentStart": 1425,
- "end": 1433,
- "moduleId": 0,
- "start": 1425,
- "type": "TagDeclarator",
- "value": "edgeLen"
- },
- "to": [
- 0.1,
- -0.13301270189221936
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
},
- "from": [
- 0.1,
- -0.13301270189221936
- ],
- "tag": null,
- "to": [
- 0.1,
- -0.03301270189221936
- ],
- "type": "ToPoint",
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
"units": {
"type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.1,
- -0.03301270189221936
- ],
- "tag": {
- "commentStart": 1511,
- "end": 1517,
- "moduleId": 0,
- "start": 1511,
- "type": "TagDeclarator",
- "value": "edge4"
},
- "to": [
- 0.271713854183493,
- -0.03301270189221936
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
},
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": -0.05,
+ "startCapId": null,
+ "endCapId": null,
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ }
+ },
+ {
+ "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": false,
+ "ccw": true,
"center": [
- 0.2717138541834929,
- -0.6330127018922194
+ 1.4,
+ 0.0
],
"from": [
- 0.271713854183493,
- -0.03301270189221936
+ 1.7,
+ 0.0
],
- "radius": 0.6,
+ "radius": 0.3,
"tag": null,
"to": [
- 0.571713854183493,
- -0.11339745962155623
+ 1.7,
+ 0.0
],
- "type": "Arc",
+ "type": "Circle",
"units": {
"type": "Inches"
}
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.571713854183493,
- -0.11339745962155623
- ],
- "tag": {
- "commentStart": 1642,
- "end": 1648,
- "moduleId": 0,
- "start": 1642,
- "type": "TagDeclarator",
- "value": "edge5"
- },
- "to": [
- 1.8681815324858868,
- -0.8619134226850923
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
],
- "type": "ToPoint",
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
"units": {
"type": "Inches"
- }
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
},
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": -0.05,
+ "startCapId": null,
+ "endCapId": null,
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ }
+ }
+ ]
+ },
+ "extrude009": {
+ "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]",
@@ -7770,130 +6083,283 @@ description: Variables in memory after executing french-press.kcl
},
"ccw": true,
"center": [
- 2.118181532485887,
- -0.42890072079287295
+ 0.6,
+ 0.0
],
"from": [
- 1.8681815324858868,
- -0.8619134226850923
+ 0.8,
+ 0.0
],
- "radius": 0.5,
+ "radius": 0.2,
"tag": null,
"to": [
- 2.551194234378106,
- -0.17890072079287297
+ 0.8,
+ 0.0
],
- "type": "Arc",
+ "type": "Circle",
"units": {
"type": "Inches"
}
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.551194234378106,
- -0.17890072079287297
- ],
- "tag": {
- "commentStart": 1775,
- "end": 1781,
- "moduleId": 0,
- "start": 1775,
- "type": "TagDeclarator",
- "value": "edge6"
- },
- "to": [
- 2.2686942343781062,
- 0.31040363234533463
- ],
- "type": "ToPoint",
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
"units": {
- "type": "Inches"
+ "type": "Unknown"
}
},
- {
- "__geoMeta": {
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
"id": "[uuid]",
- "sourceRange": []
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
},
- "ccw": false,
- "center": [
- 2.8124789066000964,
- 0.5639745893897542
- ],
- "from": [
- 2.2686942343781062,
- 0.31040363234533463
- ],
- "radius": 0.6,
- "tag": null,
- "to": [
- 2.2124789066000963,
- 0.5639745893897543
- ],
- "type": "Arc",
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
"units": {
"type": "Inches"
- }
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 0.8,
+ 0.0
+ ],
+ "to": [
+ 0.8,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
},
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": -0.05,
+ "startCapId": null,
+ "endCapId": null,
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ }
+ },
+ {
+ "type": "Solid",
+ "value": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
+ "ccw": true,
+ "center": [
+ 0.6,
+ 0.0
+ ],
"from": [
- 2.2124789066000963,
- 0.5639745893897543
+ 0.8,
+ 0.0
],
+ "radius": 0.2,
"tag": null,
"to": [
- 2.205,
- 5.7
+ 0.8,
+ 0.0
],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.205,
- 5.7
- ],
- "tag": null,
- "to": [
- 2.205,
- 5.7
- ],
- "type": "ToPoint",
+ "type": "Circle",
"units": {
"type": "Inches"
}
}
],
"on": {
- "artifactId": "[uuid]",
+ "type": "face",
"id": "[uuid]",
- "origin": {
- "x": -0.26,
- "y": 0.26,
- "z": 0.0,
- "units": {
- "type": "Inches"
- }
- },
- "type": "plane",
- "value": "Custom",
+ "artifactId": "[uuid]",
+ "value": "end",
"xAxis": {
- "x": 0.7071067811865475,
- "y": 0.7071067811865475,
+ "x": 1.0,
+ "y": 0.0,
"z": 0.0,
"units": {
"type": "Unknown"
@@ -7901,29 +6367,171 @@ description: Variables in memory after executing french-press.kcl
},
"yAxis": {
"x": 0.0,
- "y": 0.0,
- "z": 1.0,
+ "y": 1.0,
+ "z": 0.0,
"units": {
"type": "Unknown"
}
},
- "zAxis": {
- "x": 0.7071067811865475,
- "y": -0.7071067811865475,
- "z": 0.0,
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
"units": {
- "type": "Unknown"
- }
+ "type": "Inches"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
}
},
"start": {
"from": [
- 2.205,
- 5.7
+ 0.8,
+ 0.0
],
"to": [
- 2.205,
- 5.7
+ 0.8,
+ 0.0
],
"units": {
"type": "Inches"
@@ -7934,935 +6542,563 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
}
},
- "tags": {
- "edge1": {
- "type": "TagIdentifier",
- "value": "edge1"
- },
- "edge2": {
- "type": "TagIdentifier",
- "value": "edge2"
- },
- "edge3": {
- "type": "TagIdentifier",
- "value": "edge3"
- },
- "edge4": {
- "type": "TagIdentifier",
- "value": "edge4"
- },
- "edge5": {
- "type": "TagIdentifier",
- "value": "edge5"
- },
- "edge6": {
- "type": "TagIdentifier",
- "value": "edge6"
- },
- "edgeLen": {
- "type": "TagIdentifier",
- "value": "edgeLen"
- }
- },
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
}
},
- "height": 0.75,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "height": -0.05,
+ "startCapId": null,
+ "endCapId": null,
"units": {
"type": "Inches"
},
"sectional": false
}
- }
- ]
- },
- "sketch003": {
- "type": "Sketch",
- "value": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 2.055,
- 0.0
- ],
- "radius": 2.055,
- "tag": null,
- "to": [
- 2.055,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 25.4,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 2.055,
- 0.0
- ],
- "to": [
- 2.055,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
},
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- }
- },
- "sketch004": {
- "type": "HomArray",
- "value": [
{
- "type": "Sketch",
+ "type": "Solid",
"value": {
- "type": "Sketch",
+ "type": "Solid",
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.3,
- 0.17
- ],
- "tag": null,
- "to": [
- 0.3,
- 1.3699999999999999
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": false,
- "center": [
- 0.29999999999999993,
- 0.16999999999999993
- ],
- "from": [
- 0.3,
- 1.3699999999999999
- ],
- "radius": 1.2,
- "tag": null,
- "to": [
- 1.3392304845413263,
- -0.42999999999999994
- ],
- "type": "Arc",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 1.3392304845413263,
- -0.42999999999999994
- ],
- "tag": null,
- "to": [
- 0.3,
- 0.17
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
+ "artifactId": "[uuid]",
+ "value": [
{
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.3,
- 0.17
- ],
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
"tag": null,
- "to": [
- 0.3,
- 0.17
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
+ "type": "extrudeArc"
}
],
- "on": {
- "type": "face",
+ "sketch": {
+ "type": "Sketch",
"id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.6,
+ 0.0
+ ],
+ "from": [
+ 0.8,
+ 0.0
+ ],
+ "radius": 0.2,
+ "tag": null,
+ "to": [
+ 0.8,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
}
- },
- "solid": {
- "type": "Solid",
+ ],
+ "on": {
+ "type": "face",
"id": "[uuid]",
"artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
}
- ],
- "sketch": {
- "type": "Sketch",
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
"id": "[uuid]",
- "paths": [
+ "artifactId": "[uuid]",
+ "value": [
{
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 2.055,
- 0.0
- ],
- "radius": 2.055,
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
"tag": null,
- "to": [
- 2.055,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
}
],
- "on": {
- "artifactId": "[uuid]",
+ "sketch": {
+ "type": "Sketch",
"id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 25.4,
- "units": {
- "type": "Mm"
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
}
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
}
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
}
},
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
"units": {
- "type": "Unknown"
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
}
- }
- },
- "start": {
- "from": [
- 2.055,
- 0.0
- ],
- "to": [
- 2.055,
- 0.0
- ],
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
"units": {
"type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
}
},
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
"units": {
"type": "Inches"
- }
+ },
+ "sectional": false
},
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 0.8,
+ 0.0
+ ],
+ "to": [
+ 0.8,
+ 0.0
+ ],
"units": {
"type": "Inches"
},
- "sectional": false
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
},
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
"units": {
"type": "Inches"
}
},
- "start": {
- "from": [
- 0.3,
- 0.17
- ],
- "to": [
- 0.3,
- 0.17
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
+ "height": -0.05,
+ "startCapId": null,
+ "endCapId": null,
"units": {
"type": "Inches"
- }
+ },
+ "sectional": false
}
},
{
- "type": "Sketch",
+ "type": "Solid",
"value": {
- "type": "Sketch",
+ "type": "Solid",
"id": "[uuid]",
- "paths": [
+ "artifactId": "[uuid]",
+ "value": [
{
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.3,
- 0.17
- ],
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
"tag": null,
- "to": [
- 0.3,
- 1.3699999999999999
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.6,
+ 0.0
+ ],
+ "from": [
+ 0.8,
+ 0.0
+ ],
+ "radius": 0.2,
+ "tag": null,
+ "to": [
+ 0.8,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
}
- },
- {
- "__geoMeta": {
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
"id": "[uuid]",
- "sourceRange": []
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
},
- "ccw": false,
- "center": [
- 0.29999999999999993,
- 0.16999999999999993
- ],
- "from": [
- 0.3,
- 1.3699999999999999
- ],
- "radius": 1.2,
- "tag": null,
- "to": [
- 1.3392304845413263,
- -0.42999999999999994
- ],
- "type": "Arc",
"units": {
"type": "Inches"
}
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
+ "start": {
"from": [
- 1.3392304845413263,
- -0.42999999999999994
+ 0.8,
+ 0.0
],
- "tag": null,
"to": [
- 0.3,
- 0.17
+ 0.8,
+ 0.0
],
- "type": "ToPoint",
"units": {
"type": "Inches"
- }
- },
- {
+ },
+ "tag": null,
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
- },
- "from": [
- 0.3,
- 0.17
- ],
- "tag": null,
- "to": [
- 0.3,
- 0.17
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
}
},
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 2.055,
- 0.0
- ],
- "radius": 2.055,
- "tag": null,
- "to": [
- 2.055,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 25.4,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 2.055,
- 0.0
- ],
- "to": [
- 2.055,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
- "units": {
- "type": "Inches"
- },
- "sectional": false
- },
- "units": {
- "type": "Inches"
- }
- },
- "start": {
- "from": [
- 0.3,
- 0.17
- ],
- "to": [
- 0.3,
- 0.17
- ],
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
"units": {
"type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
}
},
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
+ "height": -0.05,
+ "startCapId": null,
+ "endCapId": null,
"units": {
"type": "Inches"
- }
+ },
+ "sectional": false
}
- },
- {
- "type": "Sketch",
- "value": {
- "type": "Sketch",
+ }
+ ]
+ },
+ "extrude012": {
+ "type": "Solid",
+ "value": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.3,
- 0.17
- ],
- "tag": null,
- "to": [
- 0.3,
- 1.3699999999999999
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": false,
- "center": [
- 0.29999999999999993,
- 0.16999999999999993
- ],
- "from": [
- 0.3,
- 1.3699999999999999
- ],
- "radius": 1.2,
- "tag": null,
- "to": [
- 1.3392304845413263,
- -0.42999999999999994
- ],
- "type": "Arc",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 1.3392304845413263,
- -0.42999999999999994
- ],
- "tag": null,
- "to": [
- 0.3,
- 0.17
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.3,
- 0.17
- ],
- "tag": null,
- "to": [
- 0.3,
- 0.17
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 2.055,
- 0.0
- ],
- "radius": 2.055,
- "tag": null,
- "to": [
- 2.055,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 25.4,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 2.055,
- 0.0
- ],
- "to": [
- 2.055,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
- "units": {
- "type": "Inches"
- },
- "sectional": false
- },
- "units": {
- "type": "Inches"
- }
- },
- "start": {
- "from": [
- 0.3,
- 0.17
- ],
- "to": [
- 0.3,
- 0.17
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- }
- }
- ]
- },
- "sketch005": {
- "type": "Solid",
- "value": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ },
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": null,
- "type": "extrudePlane"
+ "type": "extrudeArc"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
- "tag": {
- "commentStart": 2929,
- "end": 2934,
- "moduleId": 0,
- "start": 2929,
- "type": "TagDeclarator",
- "value": "seg1"
- },
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
"type": "extrudePlane"
},
{
@@ -8879,6 +7115,27 @@ description: Variables in memory after executing french-press.kcl
"tag": null,
"type": "extrudePlane"
},
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
{
"faceId": "[uuid]",
"id": "[uuid]",
@@ -8904,13 +7161,13 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
},
"from": [
- 0.15,
- 1.11
+ 2.3,
+ 6.4
],
"tag": null,
"to": [
- 2.005,
- 1.11
+ 2.86,
+ 6.4
],
"type": "ToPoint",
"units": {
@@ -8922,23 +7179,21 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"sourceRange": []
},
+ "ccw": false,
+ "center": [
+ 2.86,
+ 5.155614035087721
+ ],
"from": [
- 2.005,
- 1.11
+ 2.86,
+ 6.4
],
- "tag": {
- "commentStart": 2929,
- "end": 2934,
- "moduleId": 0,
- "start": 2929,
- "type": "TagDeclarator",
- "value": "seg1"
- },
+ "tag": null,
"to": [
- 2.1350000000000002,
- 1.1850555349946517
+ 4.1,
+ 5.26
],
- "type": "ToPoint",
+ "type": "TangentialArcTo",
"units": {
"type": "Inches"
}
@@ -8948,16 +7203,21 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"sourceRange": []
},
+ "ccw": false,
+ "center": [
+ -24.039664515669777,
+ 2.89114029614839
+ ],
"from": [
- 2.1350000000000002,
- 1.1850555349946517
+ 4.1,
+ 5.26
],
"tag": null,
"to": [
- 2.16,
- 1.1417542648054297
+ 4.17,
+ 1.6
],
- "type": "ToPoint",
+ "type": "TangentialArcTo",
"units": {
"type": "Inches"
}
@@ -8967,16 +7227,21 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"sourceRange": []
},
+ "ccw": false,
+ "center": [
+ 3.1336451558572067,
+ 1.6474333716247522
+ ],
"from": [
- 2.16,
- 1.1417542648054297
+ 4.17,
+ 1.6
],
"tag": null,
"to": [
- 2.03,
- 1.0666987298107782
+ 3.13,
+ 0.61
],
- "type": "ToPoint",
+ "type": "TangentialArcTo",
"units": {
"type": "Inches"
}
@@ -8987,13 +7252,13 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
},
"from": [
- 2.03,
- 1.0666987298107782
+ 3.13,
+ 0.61
],
"tag": null,
"to": [
- 0.15,
- 1.0666987298107782
+ 2.04,
+ 0.61
],
"type": "ToPoint",
"units": {
@@ -9006,13 +7271,13 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
},
"from": [
- 0.15,
- 1.0666987298107782
+ 2.04,
+ 0.61
],
"tag": null,
"to": [
- 0.15,
- 1.11
+ 2.04,
+ 1.04
],
"type": "ToPoint",
"units": {
@@ -9025,173 +7290,39 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
},
"from": [
- 0.15,
- 1.11
+ 2.04,
+ 1.04
],
"tag": null,
"to": [
- 0.15,
- 1.11
+ 3.0300000000000002,
+ 1.02
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "XZ",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": -1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 0.15,
- 1.11
- ],
- "to": [
- 0.15,
- 1.11
- ],
- "units": {
- "type": "Inches"
},
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "tags": {
- "seg1": {
- "type": "TagIdentifier",
- "value": "seg1"
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.0,
- "startCapId": null,
- "endCapId": null,
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- },
- "sketch006": {
- "type": "Solid",
- "value": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudePlane"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
+ "ccw": true,
+ "center": [
+ 3.041879904469464,
+ 1.6080552712384852
+ ],
"from": [
- 0.1,
- 1.0
+ 3.0300000000000002,
+ 1.02
],
"tag": null,
"to": [
- 0.2,
- 1.0
+ 3.63,
+ 1.6
],
- "type": "ToPoint",
+ "type": "TangentialArcTo",
"units": {
"type": "Inches"
}
@@ -9201,16 +7332,21 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"sourceRange": []
},
+ "ccw": true,
+ "center": [
+ -49.51058427201375,
+ 2.327847634072964
+ ],
"from": [
- 0.2,
- 1.0
+ 3.63,
+ 1.6
],
"tag": null,
"to": [
- 0.05,
- 0.9735509528937303
+ 3.56,
+ 5.15
],
- "type": "ToPoint",
+ "type": "TangentialArcTo",
"units": {
"type": "Inches"
}
@@ -9220,16 +7356,21 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"sourceRange": []
},
+ "ccw": true,
+ "center": [
+ 2.7870780851185235,
+ 5.108898070547343
+ ],
"from": [
- 0.05,
- 0.9735509528937303
+ 3.56,
+ 5.15
],
"tag": null,
"to": [
- 0.05,
- 10.97355095289373
+ 2.72,
+ 5.88
],
- "type": "ToPoint",
+ "type": "TangentialArcTo",
"units": {
"type": "Inches"
}
@@ -9240,13 +7381,13 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
},
"from": [
- 0.05,
- 10.97355095289373
+ 2.72,
+ 5.88
],
"tag": null,
"to": [
- 0.65,
- 10.97355095289373
+ 2.3200000000000003,
+ 5.88
],
"type": "ToPoint",
"units": {
@@ -9259,56 +7400,13 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
},
"from": [
- 0.65,
- 10.97355095289373
+ 2.3200000000000003,
+ 5.88
],
"tag": null,
"to": [
- 0.65,
- 10.923550952893729
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": false,
- "center": [
- 0.050000000000000044,
- 10.923550952893729
- ],
- "from": [
- 0.65,
- 10.923550952893729
- ],
- "tag": null,
- "to": [
- 0.05000000000000008,
- 10.32355095289373
- ],
- "type": "TangentialArc",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 0.05000000000000008,
- 10.32355095289373
- ],
- "tag": null,
- "to": [
- 0.1,
- 1.0
+ 2.3,
+ 6.4
],
"type": "ToPoint",
"units": {
@@ -9321,13 +7419,13 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
},
"from": [
- 0.1,
- 1.0
+ 2.3,
+ 6.4
],
"tag": null,
"to": [
- 0.1,
- 1.0
+ 2.3,
+ 6.4
],
"type": "ToPoint",
"units": {
@@ -9340,14 +7438,14 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"origin": {
"x": 0.0,
- "y": 0.0,
+ "y": -8.254999999999999,
"z": 0.0,
"units": {
"type": "Mm"
}
},
"type": "plane",
- "value": "XZ",
+ "value": "Custom",
"xAxis": {
"x": 1.0,
"y": 0.0,
@@ -9375,12 +7473,12 @@ description: Variables in memory after executing french-press.kcl
},
"start": {
"from": [
- 0.1,
- 1.0
+ 2.3,
+ 6.4
],
"to": [
- 0.1,
- 1.0
+ 2.3,
+ 6.4
],
"units": {
"type": "Inches"
@@ -9397,16 +7495,166 @@ description: Variables in memory after executing french-press.kcl
"type": "Inches"
}
},
- "height": 0.0,
- "startCapId": null,
- "endCapId": null,
+ "height": -0.65,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"sectional": false
}
},
- "sketch007": {
+ "handleThickness": {
+ "type": "Number",
+ "value": 0.65,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Inches"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ "plane001": {
+ "type": "Object",
+ "value": {
+ "origin": {
+ "type": "HomArray",
+ "value": [
+ {
+ "type": "Number",
+ "value": -0.26,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Inches"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ {
+ "type": "Number",
+ "value": 0.26,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Inches"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ {
+ "type": "Number",
+ "value": 0.0,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Inches"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ }
+ ]
+ },
+ "xAxis": {
+ "type": "HomArray",
+ "value": [
+ {
+ "type": "Number",
+ "value": 1.0,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Inches"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ {
+ "type": "Number",
+ "value": 1.0,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Inches"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ {
+ "type": "Number",
+ "value": 0.0,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Inches"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ }
+ ]
+ },
+ "yAxis": {
+ "type": "HomArray",
+ "value": [
+ {
+ "type": "Number",
+ "value": 0.0,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Inches"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ {
+ "type": "Number",
+ "value": 0.0,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Inches"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ {
+ "type": "Number",
+ "value": 1.0,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Inches"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "profile001": {
"type": "Sketch",
"value": {
"type": "Sketch",
@@ -9417,49 +7665,113 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"sourceRange": []
},
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
"from": [
- 1.965,
- 0.0
+ 2.205,
+ 5.7
],
- "radius": 1.965,
- "tag": null,
+ "tag": {
+ "commentStart": 394,
+ "end": 415,
+ "moduleId": 0,
+ "start": 394,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentA001"
+ },
"to": [
- 1.965,
- 0.0
+ 2.305,
+ 5.7
],
- "type": "Circle",
+ "type": "ToPoint",
"units": {
"type": "Inches"
}
- }
- ],
- "innerPaths": [
+ },
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
"from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
+ 2.305,
+ 5.7
],
- "type": "Circle",
+ "tag": {
+ "commentStart": 498,
+ "end": 519,
+ "moduleId": 0,
+ "start": 498,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentB001"
+ },
+ "to": [
+ 2.305,
+ 6.45
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.305,
+ 6.45
+ ],
+ "tag": {
+ "commentStart": 621,
+ "end": 642,
+ "moduleId": 0,
+ "start": 621,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentC001"
+ },
+ "to": [
+ 2.205,
+ 6.45
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.205,
+ 6.45
+ ],
+ "tag": null,
+ "to": [
+ 2.205,
+ 5.7
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.205,
+ 5.7
+ ],
+ "tag": null,
+ "to": [
+ 2.205,
+ 5.7
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
}
@@ -9471,13 +7783,13 @@ description: Variables in memory after executing french-press.kcl
"origin": {
"x": 0.0,
"y": 0.0,
- "z": 28.448,
+ "z": 0.0,
"units": {
"type": "Mm"
}
},
"type": "plane",
- "value": "Custom",
+ "value": "XZ",
"xAxis": {
"x": 1.0,
"y": 0.0,
@@ -9488,16 +7800,16 @@ description: Variables in memory after executing french-press.kcl
},
"yAxis": {
"x": 0.0,
- "y": 1.0,
- "z": 0.0,
+ "y": 0.0,
+ "z": 1.0,
"units": {
"type": "Unknown"
}
},
"zAxis": {
"x": 0.0,
- "y": 0.0,
- "z": 1.0,
+ "y": -1.0,
+ "z": 0.0,
"units": {
"type": "Unknown"
}
@@ -9505,12 +7817,12 @@ description: Variables in memory after executing french-press.kcl
},
"start": {
"from": [
- 1.965,
- 0.0
+ 2.205,
+ 5.7
],
"to": [
- 1.965,
- 0.0
+ 2.205,
+ 5.7
],
"units": {
"type": "Inches"
@@ -9521,6 +7833,20 @@ description: Variables in memory after executing french-press.kcl
"sourceRange": []
}
},
+ "tags": {
+ "rectangleSegmentA001": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentA001"
+ },
+ "rectangleSegmentB001": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentB001"
+ },
+ "rectangleSegmentC001": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentC001"
+ }
+ },
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
@@ -9528,1181 +7854,696 @@ description: Variables in memory after executing french-press.kcl
}
}
},
- "sketch008": {
- "type": "HomArray",
- "value": [
- {
- "type": "Sketch",
- "value": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 1.4,
- 0.0
- ],
- "from": [
- 1.7,
- 0.0
- ],
- "radius": 0.3,
- "tag": null,
- "to": [
- 1.7,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
+ "profile002": {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.205,
+ 5.7
],
- "on": {
- "type": "face",
+ "tag": null,
+ "to": [
+ 2.305,
+ 5.7
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
- "units": {
- "type": "Inches"
- },
- "sectional": false
- },
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "start": {
- "from": [
- 1.7,
- 0.0
- ],
- "to": [
- 1.7,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
+ "from": [
+ 2.305,
+ 5.7
+ ],
+ "tag": {
+ "commentStart": 1122,
+ "end": 1128,
+ "moduleId": 0,
+ "start": 1122,
+ "type": "TagDeclarator",
+ "value": "edge1"
},
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
+ "to": [
+ 2.305,
+ 0.5
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
}
- }
- },
- {
- "type": "Sketch",
- "value": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 1.4,
- 0.0
- ],
- "from": [
- 1.7,
- 0.0
- ],
- "radius": 0.3,
- "tag": null,
- "to": [
- 1.7,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 2.605,
+ 0.49999999999999994
],
- "on": {
- "type": "face",
+ "from": [
+ 2.305,
+ 0.5
+ ],
+ "radius": 0.3,
+ "tag": null,
+ "to": [
+ 2.333107663889005,
+ 0.37321452147779016
+ ],
+ "type": "Arc",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
- "units": {
- "type": "Inches"
- },
- "sectional": false
- },
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "start": {
- "from": [
- 1.7,
- 0.0
- ],
- "to": [
- 1.7,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
+ "from": [
+ 2.333107663889005,
+ 0.37321452147779016
+ ],
+ "tag": {
+ "commentStart": 1236,
+ "end": 1242,
+ "moduleId": 0,
+ "start": 1236,
+ "type": "TagDeclarator",
+ "value": "edge2"
},
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
+ "to": [
+ 2.633107663889005,
+ -0.14640072079287297
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
}
- }
- },
- {
- "type": "Sketch",
- "value": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 1.4,
- 0.0
- ],
- "from": [
- 1.7,
- 0.0
- ],
- "radius": 0.3,
- "tag": null,
- "to": [
- 1.7,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": false,
+ "center": [
+ 2.113492421618342,
+ -0.4464007207928729
],
- "on": {
- "type": "face",
+ "from": [
+ 2.633107663889005,
+ -0.14640072079287297
+ ],
+ "radius": 0.6,
+ "tag": null,
+ "to": [
+ 1.8134924216183421,
+ -0.9660159630635361
+ ],
+ "type": "Arc",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
- "units": {
- "type": "Inches"
- },
- "sectional": false
- },
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "start": {
- "from": [
- 1.7,
- 0.0
- ],
- "to": [
- 1.7,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
+ "from": [
+ 1.8134924216183421,
+ -0.9660159630635361
+ ],
+ "tag": {
+ "commentStart": 1357,
+ "end": 1363,
+ "moduleId": 0,
+ "start": 1357,
+ "type": "TagDeclarator",
+ "value": "edge3"
},
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
+ "to": [
+ 0.486713854183493,
+ -0.2
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
}
- }
- },
- {
- "type": "Sketch",
- "value": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 1.4,
- 0.0
- ],
- "from": [
- 1.7,
- 0.0
- ],
- "radius": 0.3,
- "tag": null,
- "to": [
- 1.7,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.23671385418349294,
+ -0.6330127018922194
],
- "on": {
- "type": "face",
+ "from": [
+ 0.486713854183493,
+ -0.2
+ ],
+ "radius": 0.5,
+ "tag": null,
+ "to": [
+ 0.23671385418349297,
+ -0.13301270189221936
+ ],
+ "type": "Arc",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
- "units": {
- "type": "Inches"
- },
- "sectional": false
- },
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "start": {
- "from": [
- 1.7,
- 0.0
- ],
- "to": [
- 1.7,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
+ "from": [
+ 0.23671385418349297,
+ -0.13301270189221936
+ ],
+ "tag": {
+ "commentStart": 1456,
+ "end": 1464,
+ "moduleId": 0,
+ "start": 1456,
+ "type": "TagDeclarator",
+ "value": "edgeLen"
},
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
+ "to": [
+ 0.1,
+ -0.13301270189221936
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
}
- }
- },
- {
- "type": "Sketch",
- "value": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 1.4,
- 0.0
- ],
- "from": [
- 1.7,
- 0.0
- ],
- "radius": 0.3,
- "tag": null,
- "to": [
- 1.7,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.1,
+ -0.13301270189221936
],
- "on": {
- "type": "face",
+ "tag": null,
+ "to": [
+ 0.1,
+ -0.03301270189221936
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
- "units": {
- "type": "Inches"
- },
- "sectional": false
- },
- "units": {
- "type": "Inches"
- }
+ "sourceRange": []
},
- "start": {
- "from": [
- 1.7,
- 0.0
- ],
- "to": [
- 1.7,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
+ "from": [
+ 0.1,
+ -0.03301270189221936
+ ],
+ "tag": {
+ "commentStart": 1542,
+ "end": 1548,
+ "moduleId": 0,
+ "start": 1542,
+ "type": "TagDeclarator",
+ "value": "edge4"
},
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
+ "to": [
+ 0.271713854183493,
+ -0.03301270189221936
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": false,
+ "center": [
+ 0.2717138541834929,
+ -0.6330127018922194
+ ],
+ "from": [
+ 0.271713854183493,
+ -0.03301270189221936
+ ],
+ "radius": 0.6,
+ "tag": null,
+ "to": [
+ 0.571713854183493,
+ -0.11339745962155623
+ ],
+ "type": "Arc",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.571713854183493,
+ -0.11339745962155623
+ ],
+ "tag": {
+ "commentStart": 1673,
+ "end": 1679,
+ "moduleId": 0,
+ "start": 1673,
+ "type": "TagDeclarator",
+ "value": "edge5"
+ },
+ "to": [
+ 1.8681815324858868,
+ -0.8619134226850923
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 2.118181532485887,
+ -0.42890072079287295
+ ],
+ "from": [
+ 1.8681815324858868,
+ -0.8619134226850923
+ ],
+ "radius": 0.5,
+ "tag": null,
+ "to": [
+ 2.551194234378106,
+ -0.17890072079287297
+ ],
+ "type": "Arc",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.551194234378106,
+ -0.17890072079287297
+ ],
+ "tag": {
+ "commentStart": 1806,
+ "end": 1812,
+ "moduleId": 0,
+ "start": 1806,
+ "type": "TagDeclarator",
+ "value": "edge6"
+ },
+ "to": [
+ 2.2686942343781062,
+ 0.31040363234533463
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": false,
+ "center": [
+ 2.8124789066000964,
+ 0.5639745893897542
+ ],
+ "from": [
+ 2.2686942343781062,
+ 0.31040363234533463
+ ],
+ "radius": 0.6,
+ "tag": null,
+ "to": [
+ 2.2124789066000963,
+ 0.5639745893897543
+ ],
+ "type": "Arc",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.2124789066000963,
+ 0.5639745893897543
+ ],
+ "tag": null,
+ "to": [
+ 2.205,
+ 5.7
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.205,
+ 5.7
+ ],
+ "tag": null,
+ "to": [
+ 2.205,
+ 5.7
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": -0.26,
+ "y": 0.26,
+ "z": 0.0,
"units": {
"type": "Inches"
}
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 0.7071067811865475,
+ "y": 0.7071067811865475,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.7071067811865475,
+ "y": -0.7071067811865475,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
}
},
- {
- "type": "Sketch",
- "value": {
- "type": "Sketch",
+ "start": {
+ "from": [
+ 2.205,
+ 5.7
+ ],
+ "to": [
+ 2.205,
+ 5.7
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 1.4,
- 0.0
- ],
- "from": [
- 1.7,
- 0.0
- ],
- "radius": 0.3,
- "tag": null,
- "to": [
- 1.7,
- 0.0
+ "sourceRange": []
+ }
+ },
+ "tags": {
+ "edge1": {
+ "type": "TagIdentifier",
+ "value": "edge1"
+ },
+ "edge2": {
+ "type": "TagIdentifier",
+ "value": "edge2"
+ },
+ "edge3": {
+ "type": "TagIdentifier",
+ "value": "edge3"
+ },
+ "edge4": {
+ "type": "TagIdentifier",
+ "value": "edge4"
+ },
+ "edge5": {
+ "type": "TagIdentifier",
+ "value": "edge5"
+ },
+ "edge6": {
+ "type": "TagIdentifier",
+ "value": "edge6"
+ },
+ "edgeLen": {
+ "type": "TagIdentifier",
+ "value": "edgeLen"
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ "profile003": {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 2.055,
+ 0.0
+ ],
+ "radius": 2.055,
+ "tag": null,
+ "to": [
+ 2.055,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 25.4,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 2.055,
+ 0.0
+ ],
+ "to": [
+ 2.055,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ "profile004": {
+ "type": "HomArray",
+ "value": [
+ {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.3,
+ 0.17
],
- "type": "Circle",
+ "tag": null,
+ "to": [
+ 0.3,
+ 1.3699999999999999
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": false,
+ "center": [
+ 0.29999999999999993,
+ 0.16999999999999993
+ ],
+ "from": [
+ 0.3,
+ 1.3699999999999999
+ ],
+ "radius": 1.2,
+ "tag": null,
+ "to": [
+ 1.3392304845413263,
+ -0.42999999999999994
+ ],
+ "type": "Arc",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 1.3392304845413263,
+ -0.42999999999999994
+ ],
+ "tag": null,
+ "to": [
+ 0.3,
+ 0.17
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.3,
+ 0.17
+ ],
+ "tag": null,
+ "to": [
+ 0.3,
+ 0.17
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
}
@@ -10734,13 +8575,6 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"artifactId": "[uuid]",
"value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
{
"faceId": "[uuid]",
"id": "[uuid]",
@@ -10764,40 +8598,13 @@ description: Variables in memory after executing french-press.kcl
0.0
],
"from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
+ 2.055,
0.0
],
- "radius": 0.15,
+ "radius": 2.055,
"tag": null,
"to": [
- 0.15,
+ 2.055,
0.0
],
"type": "Circle",
@@ -10812,7 +8619,7 @@ description: Variables in memory after executing french-press.kcl
"origin": {
"x": 0.0,
"y": 0.0,
- "z": 28.448,
+ "z": 25.4,
"units": {
"type": "Mm"
}
@@ -10846,11 +8653,11 @@ description: Variables in memory after executing french-press.kcl
},
"start": {
"from": [
- 1.965,
+ 2.055,
0.0
],
"to": [
- 1.965,
+ 2.055,
0.0
],
"units": {
@@ -10882,12 +8689,12 @@ description: Variables in memory after executing french-press.kcl
},
"start": {
"from": [
- 1.7,
- 0.0
+ 0.3,
+ 0.17
],
"to": [
- 1.7,
- 0.0
+ 0.3,
+ 0.17
],
"units": {
"type": "Inches"
@@ -10916,22 +8723,79 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"sourceRange": []
},
- "ccw": true,
- "center": [
- 1.4,
- 0.0
+ "from": [
+ 0.3,
+ 0.17
+ ],
+ "tag": null,
+ "to": [
+ 0.3,
+ 1.3699999999999999
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": false,
+ "center": [
+ 0.29999999999999993,
+ 0.16999999999999993
],
"from": [
- 1.7,
- 0.0
+ 0.3,
+ 1.3699999999999999
],
- "radius": 0.3,
+ "radius": 1.2,
"tag": null,
"to": [
- 1.7,
- 0.0
+ 1.3392304845413263,
+ -0.42999999999999994
],
- "type": "Circle",
+ "type": "Arc",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 1.3392304845413263,
+ -0.42999999999999994
+ ],
+ "tag": null,
+ "to": [
+ 0.3,
+ 0.17
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.3,
+ 0.17
+ ],
+ "tag": null,
+ "to": [
+ 0.3,
+ 0.17
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
}
@@ -10963,13 +8827,6 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"artifactId": "[uuid]",
"value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
{
"faceId": "[uuid]",
"id": "[uuid]",
@@ -10993,40 +8850,13 @@ description: Variables in memory after executing french-press.kcl
0.0
],
"from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
+ 2.055,
0.0
],
- "radius": 0.15,
+ "radius": 2.055,
"tag": null,
"to": [
- 0.15,
+ 2.055,
0.0
],
"type": "Circle",
@@ -11041,7 +8871,7 @@ description: Variables in memory after executing french-press.kcl
"origin": {
"x": 0.0,
"y": 0.0,
- "z": 28.448,
+ "z": 25.4,
"units": {
"type": "Mm"
}
@@ -11075,11 +8905,11 @@ description: Variables in memory after executing french-press.kcl
},
"start": {
"from": [
- 1.965,
+ 2.055,
0.0
],
"to": [
- 1.965,
+ 2.055,
0.0
],
"units": {
@@ -11111,12 +8941,12 @@ description: Variables in memory after executing french-press.kcl
},
"start": {
"from": [
- 1.7,
- 0.0
+ 0.3,
+ 0.17
],
"to": [
- 1.7,
- 0.0
+ 0.3,
+ 0.17
],
"units": {
"type": "Inches"
@@ -11145,22 +8975,79 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"sourceRange": []
},
- "ccw": true,
+ "from": [
+ 0.3,
+ 0.17
+ ],
+ "tag": null,
+ "to": [
+ 0.3,
+ 1.3699999999999999
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": false,
"center": [
- 1.4,
- 0.0
+ 0.29999999999999993,
+ 0.16999999999999993
],
"from": [
- 1.7,
- 0.0
+ 0.3,
+ 1.3699999999999999
],
- "radius": 0.3,
+ "radius": 1.2,
"tag": null,
"to": [
- 1.7,
- 0.0
+ 1.3392304845413263,
+ -0.42999999999999994
],
- "type": "Circle",
+ "type": "Arc",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 1.3392304845413263,
+ -0.42999999999999994
+ ],
+ "tag": null,
+ "to": [
+ 0.3,
+ 0.17
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.3,
+ 0.17
+ ],
+ "tag": null,
+ "to": [
+ 0.3,
+ 0.17
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
}
@@ -11192,13 +9079,6 @@ description: Variables in memory after executing french-press.kcl
"id": "[uuid]",
"artifactId": "[uuid]",
"value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
{
"faceId": "[uuid]",
"id": "[uuid]",
@@ -11222,40 +9102,13 @@ description: Variables in memory after executing french-press.kcl
0.0
],
"from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
+ 2.055,
0.0
],
- "radius": 0.15,
+ "radius": 2.055,
"tag": null,
"to": [
- 0.15,
+ 2.055,
0.0
],
"type": "Circle",
@@ -11270,7 +9123,7 @@ description: Variables in memory after executing french-press.kcl
"origin": {
"x": 0.0,
"y": 0.0,
- "z": 28.448,
+ "z": 25.4,
"units": {
"type": "Mm"
}
@@ -11304,11 +9157,11 @@ description: Variables in memory after executing french-press.kcl
},
"start": {
"from": [
- 1.965,
+ 2.055,
0.0
],
"to": [
- 1.965,
+ 2.055,
0.0
],
"units": {
@@ -11340,13 +9193,13 @@ description: Variables in memory after executing french-press.kcl
},
"start": {
"from": [
- 1.7,
- 0.0
+ 0.3,
+ 0.17
],
"to": [
- 1.7,
- 0.0
- ],
+ 0.3,
+ 0.17
+ ],
"units": {
"type": "Inches"
},
@@ -11365,294 +9218,3280 @@ description: Variables in memory after executing french-press.kcl
}
]
},
- "sketch009": {
- "type": "HomArray",
- "value": [
- {
- "type": "Sketch",
- "value": {
- "type": "Sketch",
+ "profile005": {
+ "type": "Solid",
+ "value": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.6,
- 0.0
- ],
- "from": [
- 0.8,
- 0.0
- ],
- "radius": 0.2,
- "tag": null,
- "to": [
- 0.8,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 3039,
+ "end": 3044,
+ "moduleId": 0,
+ "start": 3039,
+ "type": "TagDeclarator",
+ "value": "seg1"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.15,
+ 1.11
+ ],
+ "tag": null,
+ "to": [
+ 2.005,
+ 1.11
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
}
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
},
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
+ "from": [
+ 2.005,
+ 1.11
+ ],
+ "tag": {
+ "commentStart": 3039,
+ "end": 3044,
+ "moduleId": 0,
+ "start": 3039,
+ "type": "TagDeclarator",
+ "value": "seg1"
},
- "solid": {
- "type": "Solid",
+ "to": [
+ 2.1350000000000002,
+ 1.1850555349946517
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
"id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
- "units": {
- "type": "Inches"
- },
- "sectional": false
+ "sourceRange": []
},
+ "from": [
+ 2.1350000000000002,
+ 1.1850555349946517
+ ],
+ "tag": null,
+ "to": [
+ 2.16,
+ 1.1417542648054297
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
}
},
- "start": {
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
"from": [
- 0.8,
- 0.0
+ 2.16,
+ 1.1417542648054297
],
+ "tag": null,
"to": [
- 0.8,
- 0.0
+ 2.03,
+ 1.0666987298107782
],
+ "type": "ToPoint",
"units": {
"type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
},
+ "from": [
+ 2.03,
+ 1.0666987298107782
+ ],
"tag": null,
+ "to": [
+ 0.15,
+ 1.0666987298107782
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
+ },
+ "from": [
+ 0.15,
+ 1.0666987298107782
+ ],
+ "tag": null,
+ "to": [
+ 0.15,
+ 1.11
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
}
},
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.15,
+ 1.11
+ ],
+ "tag": null,
+ "to": [
+ 0.15,
+ 1.11
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
"artifactId": "[uuid]",
- "originalId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "XZ",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": -1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 0.15,
+ 1.11
+ ],
+ "to": [
+ 0.15,
+ 1.11
+ ],
"units": {
"type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "tags": {
+ "seg1": {
+ "type": "TagIdentifier",
+ "value": "seg1"
}
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
}
},
- {
- "type": "Sketch",
- "value": {
- "type": "Sketch",
+ "height": 0.0,
+ "startCapId": null,
+ "endCapId": null,
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ }
+ },
+ "profile006": {
+ "type": "Solid",
+ "value": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.6,
- 0.0
- ],
- "from": [
- 0.8,
- 0.0
- ],
- "radius": 0.2,
- "tag": null,
- "to": [
- 0.8,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.1,
+ 1.0
+ ],
+ "tag": null,
+ "to": [
+ 0.2,
+ 1.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.2,
+ 1.0
+ ],
+ "tag": null,
+ "to": [
+ 0.05,
+ 0.9735509528937303
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.05,
+ 0.9735509528937303
+ ],
+ "tag": null,
+ "to": [
+ 0.05,
+ 10.97355095289373
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.05,
+ 10.97355095289373
+ ],
+ "tag": null,
+ "to": [
+ 0.65,
+ 10.97355095289373
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.65,
+ 10.97355095289373
+ ],
+ "tag": null,
+ "to": [
+ 0.65,
+ 10.923550952893729
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": false,
+ "center": [
+ 0.050000000000000044,
+ 10.923550952893729
+ ],
+ "from": [
+ 0.65,
+ 10.923550952893729
+ ],
+ "tag": null,
+ "to": [
+ 0.05000000000000008,
+ 10.32355095289373
+ ],
+ "type": "TangentialArc",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.05000000000000008,
+ 10.32355095289373
+ ],
+ "tag": null,
+ "to": [
+ 0.1,
+ 1.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.1,
+ 1.0
+ ],
+ "tag": null,
+ "to": [
+ 0.1,
+ 1.0
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "XZ",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": -1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 0.1,
+ 1.0
+ ],
+ "to": [
+ 0.1,
+ 1.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.0,
+ "startCapId": null,
+ "endCapId": null,
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ }
+ },
+ "profile007": {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ "profile008": {
+ "type": "HomArray",
+ "value": [
+ {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 1.4,
+ 0.0
+ ],
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "radius": 0.3,
+ "tag": null,
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 1.4,
+ 0.0
+ ],
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "radius": 0.3,
+ "tag": null,
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 1.4,
+ 0.0
+ ],
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "radius": 0.3,
+ "tag": null,
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 1.4,
+ 0.0
+ ],
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "radius": 0.3,
+ "tag": null,
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 1.4,
+ 0.0
+ ],
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "radius": 0.3,
+ "tag": null,
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 1.4,
+ 0.0
+ ],
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "radius": 0.3,
+ "tag": null,
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 1.4,
+ 0.0
+ ],
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "radius": 0.3,
+ "tag": null,
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 1.4,
+ 0.0
+ ],
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "radius": 0.3,
+ "tag": null,
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 1.7,
+ 0.0
+ ],
+ "to": [
+ 1.7,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ }
+ ]
+ },
+ "profile009": {
+ "type": "HomArray",
+ "value": [
+ {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.6,
+ 0.0
+ ],
+ "from": [
+ 0.8,
+ 0.0
+ ],
+ "radius": 0.2,
+ "tag": null,
+ "to": [
+ 0.8,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 0.8,
+ 0.0
+ ],
+ "to": [
+ 0.8,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.6,
+ 0.0
+ ],
+ "from": [
+ 0.8,
+ 0.0
+ ],
+ "radius": 0.2,
+ "tag": null,
+ "to": [
+ 0.8,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 0.8,
+ 0.0
+ ],
+ "to": [
+ 0.8,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.6,
+ 0.0
+ ],
+ "from": [
+ 0.8,
+ 0.0
+ ],
+ "radius": 0.2,
+ "tag": null,
+ "to": [
+ 0.8,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "start": {
+ "from": [
+ 0.8,
+ 0.0
+ ],
+ "to": [
+ 0.8,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.6,
+ 0.0
+ ],
+ "from": [
+ 0.8,
+ 0.0
+ ],
+ "radius": 0.2,
+ "tag": null,
+ "to": [
+ 0.8,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "type": "face",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
"artifactId": "[uuid]",
"value": [
{
@@ -11801,587 +12640,976 @@ description: Variables in memory after executing french-press.kcl
"type": "Inches"
}
},
- "start": {
+ "start": {
+ "from": [
+ 0.8,
+ 0.0
+ ],
+ "to": [
+ 0.8,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ }
+ ]
+ },
+ "profile010": {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 2.205,
+ 0.0
+ ],
+ "radius": 2.205,
+ "tag": null,
+ "to": [
+ 2.205,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 2.205,
+ 0.0
+ ],
+ "to": [
+ 2.205,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ "profile011": {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.2,
+ 6.62
+ ],
+ "tag": null,
+ "to": [
+ 2.105,
+ 6.62
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.105,
+ 6.62
+ ],
+ "tag": null,
+ "to": [
+ 2.105,
+ 7.32
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.105,
+ 7.32
+ ],
+ "tag": null,
+ "to": [
+ 2.405,
+ 7.32
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.405,
+ 7.32
+ ],
+ "tag": null,
+ "to": [
+ 2.405,
+ 7.720000000000001
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.405,
+ 7.720000000000001
+ ],
+ "tag": null,
+ "to": [
+ 2.385,
+ 7.74
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.385,
+ 7.74
+ ],
+ "tag": null,
+ "to": [
+ 0.07999999999999963,
+ 8.74
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.07999999999999963,
+ 8.74
+ ],
+ "tag": null,
+ "to": [
+ 0.2,
+ 6.62
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 0.2,
+ 6.62
+ ],
+ "tag": null,
+ "to": [
+ 0.2,
+ 6.62
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "XZ",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": -1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 0.2,
+ 6.62
+ ],
+ "to": [
+ 0.2,
+ 6.62
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ "profile012": {
+ "type": "Sketch",
+ "value": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.3,
+ 6.4
+ ],
+ "tag": null,
+ "to": [
+ 2.86,
+ 6.4
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": false,
+ "center": [
+ 2.86,
+ 5.155614035087721
+ ],
+ "from": [
+ 2.86,
+ 6.4
+ ],
+ "tag": null,
+ "to": [
+ 4.1,
+ 5.26
+ ],
+ "type": "TangentialArcTo",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": false,
+ "center": [
+ -24.039664515669777,
+ 2.89114029614839
+ ],
+ "from": [
+ 4.1,
+ 5.26
+ ],
+ "tag": null,
+ "to": [
+ 4.17,
+ 1.6
+ ],
+ "type": "TangentialArcTo",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": false,
+ "center": [
+ 3.1336451558572067,
+ 1.6474333716247522
+ ],
+ "from": [
+ 4.17,
+ 1.6
+ ],
+ "tag": null,
+ "to": [
+ 3.13,
+ 0.61
+ ],
+ "type": "TangentialArcTo",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 3.13,
+ 0.61
+ ],
+ "tag": null,
+ "to": [
+ 2.04,
+ 0.61
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.04,
+ 0.61
+ ],
+ "tag": null,
+ "to": [
+ 2.04,
+ 1.04
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.04,
+ 1.04
+ ],
+ "tag": null,
+ "to": [
+ 3.0300000000000002,
+ 1.02
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 3.041879904469464,
+ 1.6080552712384852
+ ],
+ "from": [
+ 3.0300000000000002,
+ 1.02
+ ],
+ "tag": null,
+ "to": [
+ 3.63,
+ 1.6
+ ],
+ "type": "TangentialArcTo",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ -49.51058427201375,
+ 2.327847634072964
+ ],
+ "from": [
+ 3.63,
+ 1.6
+ ],
+ "tag": null,
+ "to": [
+ 3.56,
+ 5.15
+ ],
+ "type": "TangentialArcTo",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 2.7870780851185235,
+ 5.108898070547343
+ ],
+ "from": [
+ 3.56,
+ 5.15
+ ],
+ "tag": null,
+ "to": [
+ 2.72,
+ 5.88
+ ],
+ "type": "TangentialArcTo",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.72,
+ 5.88
+ ],
+ "tag": null,
+ "to": [
+ 2.3200000000000003,
+ 5.88
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.3200000000000003,
+ 5.88
+ ],
+ "tag": null,
+ "to": [
+ 2.3,
+ 6.4
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.3,
+ 6.4
+ ],
+ "tag": null,
+ "to": [
+ 2.3,
+ 6.4
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": -8.254999999999999,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": -1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 2.3,
+ 6.4
+ ],
+ "to": [
+ 2.3,
+ 6.4
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ "rectangleSegmentA001": {
+ "type": "TagIdentifier",
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentA001"
+ },
+ "rectangleSegmentB001": {
+ "type": "TagIdentifier",
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentB001"
+ },
+ "rectangleSegmentC001": {
+ "type": "TagIdentifier",
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentC001"
+ },
+ "revolve001": {
+ "type": "Solid",
+ "value": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 394,
+ "end": 415,
+ "moduleId": 0,
+ "start": 394,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentA001"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 498,
+ "end": 519,
+ "moduleId": 0,
+ "start": 498,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentB001"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 621,
+ "end": 642,
+ "moduleId": 0,
+ "start": 621,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentC001"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudePlane"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 2.205,
+ 5.7
+ ],
+ "tag": {
+ "commentStart": 394,
+ "end": 415,
+ "moduleId": 0,
+ "start": 394,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentA001"
+ },
+ "to": [
+ 2.305,
+ 5.7
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
"from": [
- 0.8,
- 0.0
+ 2.305,
+ 5.7
],
+ "tag": {
+ "commentStart": 498,
+ "end": 519,
+ "moduleId": 0,
+ "start": 498,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentB001"
+ },
"to": [
- 0.8,
- 0.0
+ 2.305,
+ 6.45
],
+ "type": "ToPoint",
"units": {
"type": "Inches"
- },
- "tag": null,
+ }
+ },
+ {
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- }
- },
- {
- "type": "Sketch",
- "value": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.6,
- 0.0
- ],
- "from": [
- 0.8,
- 0.0
- ],
- "radius": 0.2,
- "tag": null,
- "to": [
- 0.8,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
},
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
- "units": {
- "type": "Inches"
- },
- "sectional": false
+ "from": [
+ 2.305,
+ 6.45
+ ],
+ "tag": {
+ "commentStart": 621,
+ "end": 642,
+ "moduleId": 0,
+ "start": 621,
+ "type": "TagDeclarator",
+ "value": "rectangleSegmentC001"
},
+ "to": [
+ 2.205,
+ 6.45
+ ],
+ "type": "ToPoint",
"units": {
"type": "Inches"
}
},
- "start": {
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
"from": [
- 0.8,
- 0.0
+ 2.205,
+ 6.45
],
+ "tag": null,
"to": [
- 0.8,
- 0.0
+ 2.205,
+ 5.7
],
+ "type": "ToPoint",
"units": {
"type": "Inches"
- },
- "tag": null,
+ }
+ },
+ {
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
+ },
+ "from": [
+ 2.205,
+ 5.7
+ ],
+ "tag": null,
+ "to": [
+ 2.205,
+ 5.7
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Inches"
}
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
}
- }
- },
- {
- "type": "Sketch",
- "value": {
- "type": "Sketch",
+ ],
+ "on": {
+ "artifactId": "[uuid]",
"id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.6,
- 0.0
- ],
- "from": [
- 0.8,
- 0.0
- ],
- "radius": 0.2,
- "tag": null,
- "to": [
- 0.8,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "type": "face",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": "end",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "solid": {
- "type": "Solid",
- "id": "[uuid]",
- "artifactId": "[uuid]",
- "value": [
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- },
- {
- "faceId": "[uuid]",
- "id": "[uuid]",
- "sourceRange": [],
- "tag": null,
- "type": "extrudeArc"
- }
- ],
- "sketch": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 1.965,
- 0.0
- ],
- "radius": 1.965,
- "tag": null,
- "to": [
- 1.965,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "innerPaths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
- "from": [
- 0.15,
- 0.0
- ],
- "radius": 0.15,
- "tag": null,
- "to": [
- 0.15,
- 0.0
- ],
- "type": "Circle",
- "units": {
- "type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 28.448,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
- },
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 1.965,
- 0.0
- ],
- "to": [
- 1.965,
- 0.0
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.05,
- "startCapId": "[uuid]",
- "endCapId": "[uuid]",
- "units": {
- "type": "Inches"
- },
- "sectional": false
- },
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "XZ",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
"units": {
- "type": "Inches"
+ "type": "Unknown"
}
},
- "start": {
- "from": [
- 0.8,
- 0.0
- ],
- "to": [
- 0.8,
- 0.0
- ],
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
"units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
+ "type": "Unknown"
}
},
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
+ "zAxis": {
+ "x": 0.0,
+ "y": -1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
}
- }
- }
- ]
- },
- "sketch010": {
- "type": "Sketch",
- "value": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 0.0,
- 0.0
- ],
+ },
+ "start": {
"from": [
2.205,
- 0.0
+ 5.7
],
- "radius": 2.205,
- "tag": null,
"to": [
2.205,
- 0.0
+ 5.7
],
- "type": "Circle",
"units": {
"type": "Inches"
- }
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "XY",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
}
},
- "yAxis": {
- "x": 0.0,
- "y": 1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
+ "tags": {
+ "rectangleSegmentA001": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentA001"
+ },
+ "rectangleSegmentB001": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentB001"
+ },
+ "rectangleSegmentC001": {
+ "type": "TagIdentifier",
+ "value": "rectangleSegmentC001"
}
},
- "zAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 2.205,
- 0.0
- ],
- "to": [
- 2.205,
- 0.0
- ],
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
"units": {
"type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
}
},
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
+ "height": 0.0,
+ "startCapId": null,
+ "endCapId": null,
"units": {
"type": "Inches"
- }
+ },
+ "sectional": false
}
},
- "sketch011": {
+ "revolve011": {
"type": "Solid",
"value": {
"type": "Solid",
@@ -12630,386 +13858,852 @@ description: Variables in memory after executing french-press.kcl
"z": 0.0,
"units": {
"type": "Unknown"
- }
- }
- },
- "start": {
- "from": [
- 0.2,
- 6.62
- ],
- "to": [
- 0.2,
- 6.62
- ],
- "units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- }
- },
- "artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
- }
- },
- "height": 0.0,
- "startCapId": null,
- "endCapId": null,
- "units": {
- "type": "Inches"
- },
- "sectional": false
- }
- },
- "sketch012": {
- "type": "Sketch",
- "value": {
- "type": "Sketch",
- "id": "[uuid]",
- "paths": [
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.3,
- 6.4
- ],
- "tag": null,
- "to": [
- 2.86,
- 6.4
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": false,
- "center": [
- 2.86,
- 5.155614035087721
- ],
- "from": [
- 2.86,
- 6.4
- ],
- "tag": null,
- "to": [
- 4.1,
- 5.26
- ],
- "type": "TangentialArcTo",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": false,
- "center": [
- -24.039664515669777,
- 2.89114029614839
- ],
- "from": [
- 4.1,
- 5.26
- ],
- "tag": null,
- "to": [
- 4.17,
- 1.6
- ],
- "type": "TangentialArcTo",
- "units": {
- "type": "Inches"
+ }
}
},
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": false,
- "center": [
- 3.1336451558572067,
- 1.6474333716247522
- ],
+ "start": {
"from": [
- 4.17,
- 1.6
+ 0.2,
+ 6.62
],
- "tag": null,
"to": [
- 3.13,
- 0.61
+ 0.2,
+ 6.62
],
- "type": "TangentialArcTo",
"units": {
"type": "Inches"
- }
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
},
- "from": [
- 3.13,
- 0.61
- ],
"tag": null,
- "to": [
- 2.04,
- 0.61
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
- },
- "from": [
- 2.04,
- 0.61
- ],
- "tag": null,
- "to": [
- 2.04,
- 1.04
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
}
},
- {
- "__geoMeta": {
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "height": 0.0,
+ "startCapId": null,
+ "endCapId": null,
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ }
+ },
+ "seg1": {
+ "type": "TagIdentifier",
+ "type": "TagIdentifier",
+ "value": "seg1"
+ },
+ "sketch001": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XZ",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": -1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
+ "sketch002": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": -0.26,
+ "y": 0.26,
+ "z": 0.0,
+ "units": {
+ "type": "Inches"
+ }
+ },
+ "value": "Custom",
+ "xAxis": {
+ "x": 0.7071067811865475,
+ "y": 0.7071067811865475,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.7071067811865475,
+ "y": -0.7071067811865475,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
+ "sketch003": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 25.4,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
+ "sketch004": {
+ "type": "Face",
+ "value": {
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
"id": "[uuid]",
- "sourceRange": []
- },
- "from": [
- 2.04,
- 1.04
- ],
- "tag": null,
- "to": [
- 3.0300000000000002,
- 1.02
- ],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
}
- },
- {
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
- },
- "ccw": true,
- "center": [
- 3.041879904469464,
- 1.6080552712384852
- ],
- "from": [
- 3.0300000000000002,
- 1.02
- ],
- "tag": null,
- "to": [
- 3.63,
- 1.6
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 2.055,
+ 0.0
+ ],
+ "radius": 2.055,
+ "tag": null,
+ "to": [
+ 2.055,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
],
- "type": "TangentialArcTo",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
+ "on": {
+ "artifactId": "[uuid]",
"id": "[uuid]",
- "sourceRange": []
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 25.4,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
},
- "ccw": true,
- "center": [
- -49.51058427201375,
- 2.327847634072964
- ],
- "from": [
- 3.63,
- 1.6
- ],
- "tag": null,
- "to": [
- 3.56,
- 5.15
- ],
- "type": "TangentialArcTo",
+ "start": {
+ "from": [
+ 2.055,
+ 0.0
+ ],
+ "to": [
+ 2.055,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
"units": {
"type": "Inches"
}
},
- {
- "__geoMeta": {
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ "sketch005": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XZ",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": -1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
+ "sketch007": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
+ "sketch008": {
+ "type": "Face",
+ "value": {
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
"id": "[uuid]",
- "sourceRange": []
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
},
- "ccw": true,
- "center": [
- 2.7870780851185235,
- 5.108898070547343
- ],
- "from": [
- 3.56,
- 5.15
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
],
- "tag": null,
- "to": [
- 2.72,
- 5.88
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
],
- "type": "TangentialArcTo",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
+ "on": {
+ "artifactId": "[uuid]",
"id": "[uuid]",
- "sourceRange": []
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
},
- "from": [
- 2.72,
- 5.88
- ],
- "tag": null,
- "to": [
- 2.3200000000000003,
- 5.88
- ],
- "type": "ToPoint",
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
"units": {
"type": "Inches"
}
},
- {
- "__geoMeta": {
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ "sketch009": {
+ "type": "Face",
+ "value": {
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "end",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
"id": "[uuid]",
- "sourceRange": []
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
},
- "from": [
- 2.3200000000000003,
- 5.88
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": null,
+ "type": "extrudeArc"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "radius": 1.965,
+ "tag": null,
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
],
- "tag": null,
- "to": [
- 2.3,
- 6.4
+ "innerPaths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "ccw": true,
+ "center": [
+ 0.0,
+ 0.0
+ ],
+ "from": [
+ 0.15,
+ 0.0
+ ],
+ "radius": 0.15,
+ "tag": null,
+ "to": [
+ 0.15,
+ 0.0
+ ],
+ "type": "Circle",
+ "units": {
+ "type": "Inches"
+ }
+ }
],
- "type": "ToPoint",
- "units": {
- "type": "Inches"
- }
- },
- {
- "__geoMeta": {
+ "on": {
+ "artifactId": "[uuid]",
"id": "[uuid]",
- "sourceRange": []
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 28.448,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
},
- "from": [
- 2.3,
- 6.4
- ],
- "tag": null,
- "to": [
- 2.3,
- 6.4
- ],
- "type": "ToPoint",
+ "start": {
+ "from": [
+ 1.965,
+ 0.0
+ ],
+ "to": [
+ 1.965,
+ 0.0
+ ],
+ "units": {
+ "type": "Inches"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
"units": {
"type": "Inches"
}
- }
- ],
- "on": {
- "artifactId": "[uuid]",
- "id": "[uuid]",
- "origin": {
- "x": 0.0,
- "y": -8.254999999999999,
- "z": 0.0,
- "units": {
- "type": "Mm"
- }
- },
- "type": "plane",
- "value": "Custom",
- "xAxis": {
- "x": 1.0,
- "y": 0.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
},
- "yAxis": {
- "x": 0.0,
- "y": 0.0,
- "z": 1.0,
- "units": {
- "type": "Unknown"
- }
+ "height": 0.05,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "units": {
+ "type": "Inches"
},
- "zAxis": {
- "x": 0.0,
- "y": -1.0,
- "z": 0.0,
- "units": {
- "type": "Unknown"
- }
+ "sectional": false
+ },
+ "units": {
+ "type": "Inches"
+ }
+ }
+ },
+ "sketch010": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
}
},
- "start": {
- "from": [
- 2.3,
- 6.4
- ],
- "to": [
- 2.3,
- 6.4
- ],
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
"units": {
- "type": "Inches"
- },
- "tag": null,
- "__geoMeta": {
- "id": "[uuid]",
- "sourceRange": []
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
}
},
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
+ "sketch011": {
+ "type": "Plane",
+ "value": {
"artifactId": "[uuid]",
- "originalId": "[uuid]",
- "units": {
- "type": "Inches"
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XZ",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": -1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
+ "sketch012": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": -8.254999999999999,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": -1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
}
}
}
diff --git a/rust/kcl-lib/tests/kcl_samples/gear-rack/artifact_commands.snap b/rust/kcl-lib/tests/kcl_samples/gear-rack/artifact_commands.snap
index d93a2329b93..6a60ceef559 100644
--- a/rust/kcl-lib/tests/kcl_samples/gear-rack/artifact_commands.snap
+++ b/rust/kcl-lib/tests/kcl_samples/gear-rack/artifact_commands.snap
@@ -2445,31 +2445,6 @@ description: Artifact commands gear-rack.kcl
"edge_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": [],
diff --git a/rust/kcl-lib/tests/kcl_samples/gear-rack/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/gear-rack/artifact_graph_flowchart.snap.md
index 9fa454eb73a..2dfc804cf07 100644
--- a/rust/kcl-lib/tests/kcl_samples/gear-rack/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/gear-rack/artifact_graph_flowchart.snap.md
@@ -1,69 +1,69 @@
```mermaid
flowchart LR
subgraph path2 [Path]
- 2["Path
[603, 638, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 3["Segment
[644, 667, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 4["Segment
[673, 699, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 5["Segment
[705, 729, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 6["Segment
[735, 742, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 2["Path
[611, 658, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 3["Segment
[664, 687, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 4["Segment
[693, 719, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 5["Segment
[725, 749, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 6["Segment
[755, 762, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
7[Solid2d]
end
subgraph path24 [Path]
- 24["Path
[877, 931, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 25["Segment
[939, 980, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 26["Segment
[988, 1020, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 27["Segment
[1028, 1069, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 28["Segment
[1077, 1102, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 29["Segment
[1110, 1152, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 30["Segment
[1160, 1193, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 31["Segment
[1201, 1243, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 32["Segment
[1251, 1258, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
+ 24["Path
[905, 972, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 25["Segment
[980, 1021, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 26["Segment
[1029, 1061, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 27["Segment
[1069, 1110, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 28["Segment
[1118, 1143, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 29["Segment
[1151, 1193, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 30["Segment
[1201, 1234, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 31["Segment
[1242, 1284, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 32["Segment
[1292, 1299, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
33[Solid2d]
end
subgraph path62 [Path]
- 62["Path
[1571, 1614, 0]"]
- %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 63["Segment
[1620, 1653, 0]"]
- %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 64["Segment
[1659, 1701, 0]"]
- %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 65["Segment
[1707, 1751, 0]"]
- %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 66["Segment
[1757, 1764, 0]"]
- %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 62["Path
[1620, 1676, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 63["Segment
[1682, 1715, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 64["Segment
[1721, 1763, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 65["Segment
[1769, 1813, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 66["Segment
[1819, 1826, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
67[Solid2d]
end
- subgraph path84 [Path]
- 84["Path
[1899, 1941, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 85["Segment
[1947, 1981, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 86["Segment
[1987, 2030, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 87["Segment
[2036, 2079, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 88["Segment
[2085, 2092, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 89[Solid2d]
+ subgraph path83 [Path]
+ 83["Path
[1938, 1993, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 84["Segment
[1999, 2033, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 85["Segment
[2039, 2082, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 86["Segment
[2088, 2131, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 87["Segment
[2137, 2144, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 88[Solid2d]
end
- 1["Plane
[580, 597, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 8["Sweep Extrusion
[748, 771, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 1["Plane
[582, 599, 0]"]
+ %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 8["Sweep Extrusion
[768, 791, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
9[Wall]
%% face_code_ref=Missing NodePath
10[Wall]
@@ -84,10 +84,10 @@ flowchart LR
20["SweepEdge Adjacent"]
21["SweepEdge Opposite"]
22["SweepEdge Adjacent"]
- 23["Plane
[852, 869, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 34["Sweep Extrusion
[1266, 1289, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
+ 23["Plane
[872, 889, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 34["Sweep Extrusion
[1307, 1330, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
35[Wall]
%% face_code_ref=Missing NodePath
36[Wall]
@@ -124,10 +124,10 @@ flowchart LR
58["SweepEdge Adjacent"]
59["SweepEdge Opposite"]
60["SweepEdge Adjacent"]
- 61["Plane
[1548, 1565, 0]"]
- %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 68["Sweep Extrusion
[1770, 1793, 0]"]
- %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 61["Plane
[1588, 1605, 0]"]
+ %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 68["Sweep Extrusion
[1832, 1855, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
69[Wall]
%% face_code_ref=Missing NodePath
70[Wall]
@@ -148,30 +148,28 @@ flowchart LR
80["SweepEdge Adjacent"]
81["SweepEdge Opposite"]
82["SweepEdge Adjacent"]
- 83["Plane
[1876, 1893, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 90["Sweep Extrusion
[2098, 2121, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 89["Sweep Extrusion
[2150, 2173, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 90[Wall]
+ %% face_code_ref=Missing NodePath
91[Wall]
%% face_code_ref=Missing NodePath
92[Wall]
%% face_code_ref=Missing NodePath
93[Wall]
%% face_code_ref=Missing NodePath
- 94[Wall]
- %% face_code_ref=Missing NodePath
- 95["Cap Start"]
+ 94["Cap Start"]
%% face_code_ref=Missing NodePath
- 96["Cap End"]
+ 95["Cap End"]
%% face_code_ref=Missing NodePath
- 97["SweepEdge Opposite"]
- 98["SweepEdge Adjacent"]
- 99["SweepEdge Opposite"]
- 100["SweepEdge Adjacent"]
- 101["SweepEdge Opposite"]
- 102["SweepEdge Adjacent"]
- 103["SweepEdge Opposite"]
- 104["SweepEdge Adjacent"]
+ 96["SweepEdge Opposite"]
+ 97["SweepEdge Adjacent"]
+ 98["SweepEdge Opposite"]
+ 99["SweepEdge Adjacent"]
+ 100["SweepEdge Opposite"]
+ 101["SweepEdge Adjacent"]
+ 102["SweepEdge Opposite"]
+ 103["SweepEdge Adjacent"]
1 --- 2
2 --- 3
2 --- 4
@@ -327,6 +325,7 @@ flowchart LR
57 <--x 44
59 <--x 44
61 --- 62
+ 61 --- 83
62 --- 63
62 --- 64
62 --- 65
@@ -380,56 +379,55 @@ flowchart LR
79 <--x 74
81 <--x 74
83 --- 84
- 84 --- 85
- 84 --- 86
- 84 --- 87
- 84 --- 88
- 84 --- 89
- 84 ---- 90
+ 83 --- 85
+ 83 --- 86
+ 83 --- 87
+ 83 --- 88
+ 83 ---- 89
+ 84 --- 90
+ 84 x--> 94
+ 84 --- 96
+ 84 --- 97
85 --- 91
- 85 x--> 95
- 85 --- 97
+ 85 x--> 94
85 --- 98
+ 85 --- 99
86 --- 92
- 86 x--> 95
- 86 --- 99
+ 86 x--> 94
86 --- 100
+ 86 --- 101
87 --- 93
- 87 x--> 95
- 87 --- 101
+ 87 x--> 94
87 --- 102
- 88 --- 94
- 88 x--> 95
- 88 --- 103
- 88 --- 104
- 90 --- 91
- 90 --- 92
- 90 --- 93
- 90 --- 94
- 90 --- 95
+ 87 --- 103
+ 89 --- 90
+ 89 --- 91
+ 89 --- 92
+ 89 --- 93
+ 89 --- 94
+ 89 --- 95
+ 89 --- 96
+ 89 --- 97
+ 89 --- 98
+ 89 --- 99
+ 89 --- 100
+ 89 --- 101
+ 89 --- 102
+ 89 --- 103
90 --- 96
90 --- 97
- 90 --- 98
- 90 --- 99
- 90 --- 100
- 90 --- 101
- 90 --- 102
- 90 --- 103
- 90 --- 104
- 91 --- 97
+ 103 <--x 90
+ 97 <--x 91
91 --- 98
- 104 <--x 91
- 98 <--x 92
- 92 --- 99
+ 91 --- 99
+ 99 <--x 92
92 --- 100
- 100 <--x 93
- 93 --- 101
+ 92 --- 101
+ 101 <--x 93
93 --- 102
- 102 <--x 94
- 94 --- 103
- 94 --- 104
- 97 <--x 96
- 99 <--x 96
- 101 <--x 96
- 103 <--x 96
+ 93 --- 103
+ 96 <--x 95
+ 98 <--x 95
+ 100 <--x 95
+ 102 <--x 95
```
diff --git a/rust/kcl-lib/tests/kcl_samples/gear-rack/ast.snap b/rust/kcl-lib/tests/kcl_samples/gear-rack/ast.snap
index 95f16bcf020..9f679c6928f 100644
--- a/rust/kcl-lib/tests/kcl_samples/gear-rack/ast.snap
+++ b/rust/kcl-lib/tests/kcl_samples/gear-rack/ast.snap
@@ -202,56 +202,85 @@ description: Result of parsing gear-rack.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "rackBody",
+ "name": "rackSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XY",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XY",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Create the body of the rack"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "rackBody",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -361,7 +390,24 @@ description: Result of parsing gear-rack.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "rackSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -702,7 +748,7 @@ description: Result of parsing gear-rack.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "6": [
+ "5": [
{
"commentStart": 0,
"end": 0,
@@ -730,11 +776,6 @@ description: Result of parsing gear-rack.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Create the body of the rack"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -769,51 +810,75 @@ description: Result of parsing gear-rack.kcl
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XY",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XY",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "toothSolid",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -950,7 +1015,24 @@ description: Result of parsing gear-rack.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "toothSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -1617,7 +1699,7 @@ description: Result of parsing gear-rack.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "toothSketch",
+ "name": "toothSolid",
"start": 0,
"type": "Identifier"
},
@@ -1888,56 +1970,80 @@ description: Result of parsing gear-rack.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "endCapTooth",
+ "name": "toothSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XY",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XY",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "endCapTooth",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -2047,7 +2153,24 @@ description: Result of parsing gear-rack.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "toothSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -2423,7 +2546,7 @@ description: Result of parsing gear-rack.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "6": [
+ "5": [
{
"commentStart": 0,
"end": 0,
@@ -2470,50 +2593,6 @@ description: Result of parsing gear-rack.kcl
},
"init": {
"body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XY",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
- },
{
"arguments": [
{
@@ -2614,7 +2693,24 @@ description: Result of parsing gear-rack.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "toothSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
diff --git a/rust/kcl-lib/tests/kcl_samples/gear-rack/ops.snap b/rust/kcl-lib/tests/kcl_samples/gear-rack/ops.snap
index 7e995ae67ef..a958bbe3275 100644
--- a/rust/kcl-lib/tests/kcl_samples/gear-rack/ops.snap
+++ b/rust/kcl-lib/tests/kcl_samples/gear-rack/ops.snap
@@ -191,10 +191,6 @@ description: Operations executed gear-rack.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -234,7 +230,7 @@ description: Operations executed gear-rack.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 5
+ "index": 6
},
{
"type": "VariableDeclarationDeclaration"
@@ -244,7 +240,7 @@ description: Operations executed gear-rack.kcl
},
{
"type": "PipeBodyItem",
- "index": 6
+ "index": 5
}
]
},
@@ -263,7 +259,7 @@ description: Operations executed gear-rack.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -294,7 +290,7 @@ description: Operations executed gear-rack.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 7
},
{
"type": "VariableDeclarationDeclaration"
@@ -314,10 +310,6 @@ description: Operations executed gear-rack.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -357,7 +349,7 @@ description: Operations executed gear-rack.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 7
},
{
"type": "VariableDeclarationDeclaration"
@@ -370,7 +362,7 @@ description: Operations executed gear-rack.kcl
},
{
"type": "FunctionExpressionBodyItem",
- "index": 0
+ "index": 1
},
{
"type": "VariableDeclarationDeclaration"
@@ -380,7 +372,7 @@ description: Operations executed gear-rack.kcl
},
{
"type": "PipeBodyItem",
- "index": 10
+ "index": 9
}
]
},
@@ -481,7 +473,7 @@ description: Operations executed gear-rack.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -512,17 +504,13 @@ description: Operations executed gear-rack.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 8
+ "index": 9
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -562,38 +550,7 @@ description: Operations executed gear-rack.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 8
- },
- {
- "type": "VariableDeclarationDeclaration"
- },
- {
- "type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 6
- }
- ]
- },
- "sourceRange": []
- },
- {
- "type": "StdLibCall",
- "name": "startSketchOn",
- "unlabeledArg": {
- "value": {
- "type": "Plane",
- "artifact_id": "[uuid]"
- },
- "sourceRange": []
- },
- "labeledArgs": {},
- "nodePath": {
- "steps": [
- {
- "type": "ProgramBodyItem",
- "index": 9
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
@@ -603,7 +560,7 @@ description: Operations executed gear-rack.kcl
},
{
"type": "PipeBodyItem",
- "index": 0
+ "index": 5
}
]
},
@@ -643,7 +600,7 @@ description: Operations executed gear-rack.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 11
},
{
"type": "VariableDeclarationDeclaration"
@@ -653,7 +610,7 @@ description: Operations executed gear-rack.kcl
},
{
"type": "PipeBodyItem",
- "index": 6
+ "index": 5
}
]
},
diff --git a/rust/kcl-lib/tests/kcl_samples/gear-rack/program_memory.snap b/rust/kcl-lib/tests/kcl_samples/gear-rack/program_memory.snap
index f3b4785075a..3704b15efc1 100644
--- a/rust/kcl-lib/tests/kcl_samples/gear-rack/program_memory.snap
+++ b/rust/kcl-lib/tests/kcl_samples/gear-rack/program_memory.snap
@@ -629,6 +629,46 @@ description: Variables in memory after executing gear-rack.kcl
"sectional": false
}
},
+ "rackSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"teeth": {
"type": "HomArray",
"value": [
@@ -20294,6 +20334,46 @@ description: Variables in memory after executing gear-rack.kcl
"type": "Function",
"value": null
},
+ "toothSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"width": {
"type": "Number",
"value": 5.0,
diff --git a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/artifact_graph_flowchart.snap.md
index 7ba00e6a7b6..b9d84ce031e 100644
--- a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/artifact_graph_flowchart.snap.md
@@ -35,36 +35,36 @@ flowchart LR
36[Solid2d]
end
subgraph path56 [Path]
- 56["Path
[2256, 2344, 0]"]
- %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 57["Segment
[2350, 2414, 0]"]
- %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 58["Segment
[2420, 2484, 0]"]
- %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 59["Segment
[2490, 2543, 0]"]
- %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 60["Segment
[2549, 2570, 0]"]
- %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 56["Path
[2273, 2410, 0]"]
+ %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 57["Segment
[2416, 2480, 0]"]
+ %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 58["Segment
[2486, 2550, 0]"]
+ %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 59["Segment
[2556, 2609, 0]"]
+ %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 60["Segment
[2615, 2636, 0]"]
+ %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
61[Solid2d]
end
subgraph path78 [Path]
- 78["Path
[2901, 3067, 0]"]
- %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 79["Segment
[2901, 3067, 0]"]
- %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 78["Path
[2980, 3170, 0]"]
+ %% [ProgramBodyItem { index: 25 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 79["Segment
[2980, 3170, 0]"]
+ %% [ProgramBodyItem { index: 25 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
80[Solid2d]
end
subgraph path90 [Path]
- 90["Path
[4380, 4405, 0]"]
- %% [ProgramBodyItem { index: 27 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 91["Segment
[4411, 4483, 0]"]
- %% [ProgramBodyItem { index: 27 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 92["Segment
[4489, 4562, 0]"]
- %% [ProgramBodyItem { index: 27 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 93["Segment
[4568, 4621, 0]"]
- %% [ProgramBodyItem { index: 27 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 94["Segment
[4627, 4648, 0]"]
- %% [ProgramBodyItem { index: 27 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 90["Path
[4493, 4532, 0]"]
+ %% [ProgramBodyItem { index: 30 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 91["Segment
[4538, 4610, 0]"]
+ %% [ProgramBodyItem { index: 30 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 92["Segment
[4616, 4689, 0]"]
+ %% [ProgramBodyItem { index: 30 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 93["Segment
[4695, 4748, 0]"]
+ %% [ProgramBodyItem { index: 30 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 94["Segment
[4754, 4775, 0]"]
+ %% [ProgramBodyItem { index: 30 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
95[Solid2d]
end
1["Plane
[1301, 1348, 0]"]
@@ -123,10 +123,10 @@ flowchart LR
52["SweepEdge Adjacent"]
53["SweepEdge Opposite"]
54["SweepEdge Adjacent"]
- 55["Plane
[2233, 2250, 0]"]
- %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 62["Sweep Extrusion
[2576, 2600, 0]"]
- %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 55["Plane
[2239, 2256, 0]"]
+ %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 62["Sweep Extrusion
[2642, 2666, 0]"]
+ %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
63[Wall]
%% face_code_ref=Missing NodePath
64[Wall]
@@ -136,7 +136,7 @@ flowchart LR
66[Wall]
%% face_code_ref=Missing NodePath
67["Cap Start"]
- %% face_code_ref=[ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ %% face_code_ref=[ProgramBodyItem { index: 24 }, VariableDeclarationDeclaration, VariableDeclarationInit]
68["Cap End"]
%% face_code_ref=Missing NodePath
69["SweepEdge Opposite"]
@@ -147,26 +147,26 @@ flowchart LR
74["SweepEdge Adjacent"]
75["SweepEdge Opposite"]
76["SweepEdge Adjacent"]
- 77["EdgeCut Fillet
[2606, 2836, 0]"]
- %% [ProgramBodyItem { index: 22 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 81["Sweep Extrusion
[3289, 3316, 0]"]
- %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 77["EdgeCut Fillet
[2672, 2902, 0]"]
+ %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 81["Sweep Extrusion
[3392, 3419, 0]"]
+ %% [ProgramBodyItem { index: 25 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
82[Wall]
%% face_code_ref=Missing NodePath
83["Cap Start"]
%% face_code_ref=Missing NodePath
84["SweepEdge Opposite"]
85["SweepEdge Adjacent"]
- 86["Sweep Extrusion
[3289, 3316, 0]"]
- %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 87["Sweep Extrusion
[3289, 3316, 0]"]
- %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 88["Sweep Extrusion
[3289, 3316, 0]"]
- %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 89["Plane
[4341, 4373, 0]"]
- %% [ProgramBodyItem { index: 27 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
- 96["Sweep Extrusion
[4654, 4698, 0]"]
- %% [ProgramBodyItem { index: 27 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 86["Sweep Extrusion
[3392, 3419, 0]"]
+ %% [ProgramBodyItem { index: 25 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 87["Sweep Extrusion
[3392, 3419, 0]"]
+ %% [ProgramBodyItem { index: 25 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 88["Sweep Extrusion
[3392, 3419, 0]"]
+ %% [ProgramBodyItem { index: 25 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 89["Plane
[4450, 4482, 0]"]
+ %% [ProgramBodyItem { index: 29 }, VariableDeclarationDeclaration, VariableDeclarationInit, CallKwUnlabeledArg]
+ 96["Sweep Extrusion
[4781, 4825, 0]"]
+ %% [ProgramBodyItem { index: 30 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
97[Wall]
%% face_code_ref=Missing NodePath
98[Wall]
@@ -187,16 +187,16 @@ flowchart LR
108["SweepEdge Adjacent"]
109["SweepEdge Opposite"]
110["SweepEdge Adjacent"]
- 111["EdgeCut Fillet
[4704, 4937, 0]"]
- %% [ProgramBodyItem { index: 27 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 111["EdgeCut Fillet
[4831, 5064, 0]"]
+ %% [ProgramBodyItem { index: 30 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
112["StartSketchOnPlane
[919, 939, 0]"]
%% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
113["StartSketchOnPlane
[919, 939, 0]"]
%% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 114["StartSketchOnFace
[2853, 2895, 0]"]
- %% [ProgramBodyItem { index: 23 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 115["StartSketchOnPlane
[4327, 4374, 0]"]
- %% [ProgramBodyItem { index: 27 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 114["StartSketchOnFace
[2922, 2964, 0]"]
+ %% [ProgramBodyItem { index: 24 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 115["StartSketchOnPlane
[4436, 4483, 0]"]
+ %% [ProgramBodyItem { index: 29 }, VariableDeclarationDeclaration, VariableDeclarationInit]
1 --- 2
1 <--x 112
2 --- 3
diff --git a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/ast.snap b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/ast.snap
index c8cc367bd1a..817f952c04d 100644
--- a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/ast.snap
+++ b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/ast.snap
@@ -2885,56 +2885,80 @@ description: Result of parsing gridfinity-bins.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "singleBinFill",
+ "name": "singleBinFillSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XY",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XY",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "singleBinFill",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -3072,7 +3096,24 @@ description: Result of parsing gridfinity-bins.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "singleBinFillSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -3852,68 +3893,23 @@ description: Result of parsing gridfinity-bins.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "magCutout000",
+ "name": "magCutoutSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
+ "arguments": [
{
- "arguments": [
- {
- "type": "LabeledArg",
- "label": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "face",
- "start": 0,
- "type": "Identifier"
- },
- "arg": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "START",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
- }
- ],
- "callee": {
- "abs_path": false,
+ "type": "LabeledArg",
+ "label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
+ "name": "face",
"start": 0,
- "type": "Name"
+ "type": "Identifier"
},
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
+ "arg": {
"abs_path": false,
"commentStart": 0,
"end": 0,
@@ -3922,7 +3918,7 @@ description: Result of parsing gridfinity-bins.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "singleBinFill",
+ "name": "START",
"start": 0,
"type": "Identifier"
},
@@ -3931,7 +3927,76 @@ description: Result of parsing gridfinity-bins.kcl
"type": "Name",
"type": "Name"
}
+ }
+ ],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "startSketchOn",
+ "start": 0,
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "singleBinFill",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "magCutout000",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -4183,7 +4248,24 @@ description: Result of parsing gridfinity-bins.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "magCutoutSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -4562,7 +4644,7 @@ description: Result of parsing gridfinity-bins.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "3": [
+ "2": [
{
"commentStart": 0,
"end": 0,
@@ -5983,93 +6065,48 @@ description: Result of parsing gridfinity-bins.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "binTop",
+ "name": "binTopSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "arguments": [
- {
- "type": "LabeledArg",
- "label": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "offset",
- "start": 0,
- "type": "Identifier"
- },
- "arg": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "height",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
- }
- ],
- "callee": {
- "abs_path": false,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "arguments": [
+ {
+ "type": "LabeledArg",
+ "label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "offsetPlane",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
+ "name": "offset",
"start": 0,
- "type": "Name"
+ "type": "Identifier"
},
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
+ "arg": {
"abs_path": false,
"commentStart": 0,
"end": 0,
@@ -6078,7 +6115,7 @@ description: Result of parsing gridfinity-bins.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "XY",
+ "name": "height",
"start": 0,
"type": "Identifier"
},
@@ -6088,7 +6125,76 @@ description: Result of parsing gridfinity-bins.kcl
"type": "Name"
}
}
+ ],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "offsetPlane",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
},
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XY",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "binTop",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -6162,7 +6268,24 @@ description: Result of parsing gridfinity-bins.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "binTopSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -7169,7 +7292,7 @@ description: Result of parsing gridfinity-bins.kcl
}
}
],
- "22": [
+ "23": [
{
"commentStart": 0,
"end": 0,
diff --git a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/ops.snap b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/ops.snap
index 06ecbc496de..817cdab34f0 100644
--- a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/ops.snap
+++ b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/ops.snap
@@ -1286,10 +1286,6 @@ description: Operations executed gridfinity-bins.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -1329,7 +1325,7 @@ description: Operations executed gridfinity-bins.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 22
+ "index": 23
},
{
"type": "VariableDeclarationDeclaration"
@@ -1339,7 +1335,7 @@ description: Operations executed gridfinity-bins.kcl
},
{
"type": "PipeBodyItem",
- "index": 6
+ "index": 5
}
]
},
@@ -1403,7 +1399,7 @@ description: Operations executed gridfinity-bins.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 22
+ "index": 23
},
{
"type": "VariableDeclarationDeclaration"
@@ -1413,7 +1409,7 @@ description: Operations executed gridfinity-bins.kcl
},
{
"type": "PipeBodyItem",
- "index": 7
+ "index": 6
}
]
},
@@ -1444,17 +1440,13 @@ description: Operations executed gridfinity-bins.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 23
+ "index": 24
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -1517,7 +1509,7 @@ description: Operations executed gridfinity-bins.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 23
+ "index": 25
},
{
"type": "VariableDeclarationDeclaration"
@@ -1527,7 +1519,7 @@ description: Operations executed gridfinity-bins.kcl
},
{
"type": "PipeBodyItem",
- "index": 3
+ "index": 2
}
]
},
@@ -1648,7 +1640,7 @@ description: Operations executed gridfinity-bins.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 24
+ "index": 26
},
{
"type": "VariableDeclarationDeclaration"
@@ -1803,7 +1795,7 @@ description: Operations executed gridfinity-bins.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 24
+ "index": 26
},
{
"type": "VariableDeclarationDeclaration"
@@ -1934,7 +1926,7 @@ description: Operations executed gridfinity-bins.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 25
+ "index": 27
},
{
"type": "VariableDeclarationDeclaration"
@@ -2089,7 +2081,7 @@ description: Operations executed gridfinity-bins.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 25
+ "index": 27
},
{
"type": "VariableDeclarationDeclaration"
@@ -2197,7 +2189,7 @@ description: Operations executed gridfinity-bins.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 26
+ "index": 28
},
{
"type": "VariableDeclarationDeclaration"
@@ -2316,7 +2308,7 @@ description: Operations executed gridfinity-bins.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 26
+ "index": 28
},
{
"type": "VariableDeclarationDeclaration"
@@ -2364,7 +2356,7 @@ description: Operations executed gridfinity-bins.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 27
+ "index": 29
},
{
"type": "VariableDeclarationDeclaration"
@@ -2372,10 +2364,6 @@ description: Operations executed gridfinity-bins.kcl
{
"type": "VariableDeclarationInit"
},
- {
- "type": "PipeBodyItem",
- "index": 0
- },
{
"type": "CallKwUnlabeledArg"
}
@@ -2398,17 +2386,13 @@ description: Operations executed gridfinity-bins.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 27
+ "index": 29
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -2448,7 +2432,7 @@ description: Operations executed gridfinity-bins.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 27
+ "index": 30
},
{
"type": "VariableDeclarationDeclaration"
@@ -2458,7 +2442,7 @@ description: Operations executed gridfinity-bins.kcl
},
{
"type": "PipeBodyItem",
- "index": 6
+ "index": 5
}
]
},
@@ -2522,7 +2506,7 @@ description: Operations executed gridfinity-bins.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 27
+ "index": 30
},
{
"type": "VariableDeclarationDeclaration"
@@ -2532,7 +2516,7 @@ description: Operations executed gridfinity-bins.kcl
},
{
"type": "PipeBodyItem",
- "index": 7
+ "index": 6
}
]
},
@@ -2584,7 +2568,7 @@ description: Operations executed gridfinity-bins.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 27
+ "index": 30
},
{
"type": "VariableDeclarationDeclaration"
@@ -2594,7 +2578,7 @@ description: Operations executed gridfinity-bins.kcl
},
{
"type": "PipeBodyItem",
- "index": 8
+ "index": 7
}
]
},
diff --git a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/program_memory.snap b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/program_memory.snap
index a3822356632..ca1000b7886 100644
--- a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/program_memory.snap
+++ b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/program_memory.snap
@@ -5695,10 +5695,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -5709,10 +5709,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -5723,10 +5723,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -5737,10 +5737,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -5761,10 +5761,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -5787,10 +5787,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -5813,10 +5813,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -5839,10 +5839,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -6031,10 +6031,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -6045,10 +6045,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -6059,10 +6059,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -6073,10 +6073,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -6097,10 +6097,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -6123,10 +6123,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -6149,10 +6149,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -6175,10 +6175,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -6367,10 +6367,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -6381,10 +6381,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -6395,10 +6395,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -6409,10 +6409,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -6433,10 +6433,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -6459,10 +6459,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -6485,10 +6485,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -6511,10 +6511,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -6703,10 +6703,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -6717,10 +6717,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -6731,10 +6731,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -6745,10 +6745,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -6769,10 +6769,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -6795,10 +6795,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -6821,10 +6821,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -6847,10 +6847,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -7039,10 +7039,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -7053,10 +7053,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -7067,10 +7067,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -7081,10 +7081,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -7105,10 +7105,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -7131,10 +7131,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -7157,10 +7157,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -7183,10 +7183,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -7375,10 +7375,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -7389,10 +7389,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -7403,10 +7403,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -7417,10 +7417,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -7441,10 +7441,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -7467,10 +7467,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -7493,10 +7493,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -7519,10 +7519,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -13362,10 +13362,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 4474,
- "end": 4482,
+ "commentStart": 4601,
+ "end": 4609,
"moduleId": 0,
- "start": 4474,
+ "start": 4601,
"type": "TagDeclarator",
"value": "line010"
},
@@ -13376,10 +13376,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 4553,
- "end": 4561,
+ "commentStart": 4680,
+ "end": 4688,
"moduleId": 0,
- "start": 4553,
+ "start": 4680,
"type": "TagDeclarator",
"value": "line011"
},
@@ -13390,10 +13390,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 4612,
- "end": 4620,
+ "commentStart": 4739,
+ "end": 4747,
"moduleId": 0,
- "start": 4612,
+ "start": 4739,
"type": "TagDeclarator",
"value": "line012"
},
@@ -13404,10 +13404,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 4639,
- "end": 4647,
+ "commentStart": 4766,
+ "end": 4774,
"moduleId": 0,
- "start": 4639,
+ "start": 4766,
"type": "TagDeclarator",
"value": "line013"
},
@@ -13428,10 +13428,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
0.0
],
"tag": {
- "commentStart": 4474,
- "end": 4482,
+ "commentStart": 4601,
+ "end": 4609,
"moduleId": 0,
- "start": 4474,
+ "start": 4601,
"type": "TagDeclarator",
"value": "line010"
},
@@ -13454,10 +13454,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
0.0
],
"tag": {
- "commentStart": 4553,
- "end": 4561,
+ "commentStart": 4680,
+ "end": 4688,
"moduleId": 0,
- "start": 4553,
+ "start": 4680,
"type": "TagDeclarator",
"value": "line011"
},
@@ -13480,10 +13480,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
126.0
],
"tag": {
- "commentStart": 4612,
- "end": 4620,
+ "commentStart": 4739,
+ "end": 4747,
"moduleId": 0,
- "start": 4612,
+ "start": 4739,
"type": "TagDeclarator",
"value": "line012"
},
@@ -13506,10 +13506,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
126.0
],
"tag": {
- "commentStart": 4639,
- "end": 4647,
+ "commentStart": 4766,
+ "end": 4774,
"moduleId": 0,
- "start": 4639,
+ "start": 4766,
"type": "TagDeclarator",
"value": "line013"
},
@@ -13686,6 +13686,46 @@ description: Variables in memory after executing gridfinity-bins.kcl
"sectional": false
}
},
+ "binTopSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 4.75,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "Custom",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"cornerRadius": {
"type": "Number",
"value": 3.75,
@@ -14824,10 +14864,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -14838,10 +14878,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -14852,10 +14892,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -14866,10 +14906,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -14890,10 +14930,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -14916,10 +14956,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -14942,10 +14982,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -14968,10 +15008,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -15260,10 +15300,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -15274,10 +15314,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -15288,10 +15328,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -15302,10 +15342,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -15326,10 +15366,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -15352,10 +15392,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -15378,10 +15418,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -15404,10 +15444,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -15696,10 +15736,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -15710,10 +15750,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -15724,10 +15764,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -15738,10 +15778,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -15762,10 +15802,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -15788,10 +15828,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -15814,10 +15854,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -15840,10 +15880,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -16132,10 +16172,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -16146,10 +16186,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -16160,10 +16200,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -16174,10 +16214,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -16198,10 +16238,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -16224,10 +16264,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -16250,10 +16290,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -16276,10 +16316,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -16494,6 +16534,366 @@ description: Variables in memory after executing gridfinity-bins.kcl
}
]
},
+ "magCutoutSketch": {
+ "type": "Face",
+ "value": {
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": "start",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "solid": {
+ "type": "Solid",
+ "id": "[uuid]",
+ "artifactId": "[uuid]",
+ "value": [
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 2471,
+ "end": 2479,
+ "moduleId": 0,
+ "start": 2471,
+ "type": "TagDeclarator",
+ "value": "line000"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 2541,
+ "end": 2549,
+ "moduleId": 0,
+ "start": 2541,
+ "type": "TagDeclarator",
+ "value": "line001"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 2600,
+ "end": 2608,
+ "moduleId": 0,
+ "start": 2600,
+ "type": "TagDeclarator",
+ "value": "line002"
+ },
+ "type": "extrudePlane"
+ },
+ {
+ "faceId": "[uuid]",
+ "id": "[uuid]",
+ "sourceRange": [],
+ "tag": {
+ "commentStart": 2627,
+ "end": 2635,
+ "moduleId": 0,
+ "start": 2627,
+ "type": "TagDeclarator",
+ "value": "line003"
+ },
+ "type": "extrudePlane"
+ }
+ ],
+ "sketch": {
+ "type": "Sketch",
+ "id": "[uuid]",
+ "paths": [
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 3.2,
+ 3.2
+ ],
+ "tag": {
+ "commentStart": 2471,
+ "end": 2479,
+ "moduleId": 0,
+ "start": 2471,
+ "type": "TagDeclarator",
+ "value": "line000"
+ },
+ "to": [
+ 38.800000000000004,
+ 3.2
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 38.800000000000004,
+ 3.2
+ ],
+ "tag": {
+ "commentStart": 2541,
+ "end": 2549,
+ "moduleId": 0,
+ "start": 2541,
+ "type": "TagDeclarator",
+ "value": "line001"
+ },
+ "to": [
+ 38.800000000000004,
+ 38.800000000000004
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 38.800000000000004,
+ 38.800000000000004
+ ],
+ "tag": {
+ "commentStart": 2600,
+ "end": 2608,
+ "moduleId": 0,
+ "start": 2600,
+ "type": "TagDeclarator",
+ "value": "line002"
+ },
+ "to": [
+ 3.2,
+ 38.800000000000004
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ {
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ },
+ "from": [
+ 3.2,
+ 38.800000000000004
+ ],
+ "tag": {
+ "commentStart": 2627,
+ "end": 2635,
+ "moduleId": 0,
+ "start": 2627,
+ "type": "TagDeclarator",
+ "value": "line003"
+ },
+ "to": [
+ 3.2,
+ 3.2
+ ],
+ "type": "ToPoint",
+ "units": {
+ "type": "Mm"
+ }
+ }
+ ],
+ "on": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "type": "plane",
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ },
+ "start": {
+ "from": [
+ 3.2,
+ 3.2
+ ],
+ "to": [
+ 3.2,
+ 3.2
+ ],
+ "units": {
+ "type": "Mm"
+ },
+ "tag": null,
+ "__geoMeta": {
+ "id": "[uuid]",
+ "sourceRange": []
+ }
+ },
+ "tags": {
+ "line000": {
+ "type": "TagIdentifier",
+ "value": "line000"
+ },
+ "line001": {
+ "type": "TagIdentifier",
+ "value": "line001"
+ },
+ "line002": {
+ "type": "TagIdentifier",
+ "value": "line002"
+ },
+ "line003": {
+ "type": "TagIdentifier",
+ "value": "line003"
+ }
+ },
+ "artifactId": "[uuid]",
+ "originalId": "[uuid]",
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "height": 4.75,
+ "startCapId": "[uuid]",
+ "endCapId": "[uuid]",
+ "edgeCuts": [
+ {
+ "type": "fillet",
+ "id": "[uuid]",
+ "radius": {
+ "n": 0.8,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Mm"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ "edgeId": "[uuid]",
+ "tag": null
+ },
+ {
+ "type": "fillet",
+ "id": "[uuid]",
+ "radius": {
+ "n": 0.8,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Mm"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ "edgeId": "[uuid]",
+ "tag": null
+ },
+ {
+ "type": "fillet",
+ "id": "[uuid]",
+ "radius": {
+ "n": 0.8,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Mm"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ "edgeId": "[uuid]",
+ "tag": null
+ },
+ {
+ "type": "fillet",
+ "id": "[uuid]",
+ "radius": {
+ "n": 0.8,
+ "ty": {
+ "type": "Default",
+ "len": {
+ "type": "Mm"
+ },
+ "angle": {
+ "type": "Degrees"
+ }
+ }
+ },
+ "edgeId": "[uuid]",
+ "tag": null
+ }
+ ],
+ "units": {
+ "type": "Mm"
+ },
+ "sectional": false
+ },
+ "units": {
+ "type": "Mm"
+ }
+ }
+ },
"magDepth": {
"type": "Number",
"value": 2.4,
@@ -17495,10 +17895,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -17509,10 +17909,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -17523,10 +17923,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -17537,10 +17937,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -17561,10 +17961,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2405,
- "end": 2413,
+ "commentStart": 2471,
+ "end": 2479,
"moduleId": 0,
- "start": 2405,
+ "start": 2471,
"type": "TagDeclarator",
"value": "line000"
},
@@ -17587,10 +17987,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
3.2
],
"tag": {
- "commentStart": 2475,
- "end": 2483,
+ "commentStart": 2541,
+ "end": 2549,
"moduleId": 0,
- "start": 2475,
+ "start": 2541,
"type": "TagDeclarator",
"value": "line001"
},
@@ -17613,10 +18013,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2534,
- "end": 2542,
+ "commentStart": 2600,
+ "end": 2608,
"moduleId": 0,
- "start": 2534,
+ "start": 2600,
"type": "TagDeclarator",
"value": "line002"
},
@@ -17639,10 +18039,10 @@ description: Variables in memory after executing gridfinity-bins.kcl
38.800000000000004
],
"tag": {
- "commentStart": 2561,
- "end": 2569,
+ "commentStart": 2627,
+ "end": 2635,
"moduleId": 0,
- "start": 2561,
+ "start": 2627,
"type": "TagDeclarator",
"value": "line003"
},
@@ -17819,6 +18219,46 @@ description: Variables in memory after executing gridfinity-bins.kcl
"sectional": false
}
},
+ "singleBinFillSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XY",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"singleCorner": {
"type": "Solid",
"value": {
diff --git a/rust/kcl-lib/tests/kcl_samples/hammer/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/hammer/artifact_graph_flowchart.snap.md
index d928d0454cf..ddfccf864a5 100644
--- a/rust/kcl-lib/tests/kcl_samples/hammer/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/hammer/artifact_graph_flowchart.snap.md
@@ -1,158 +1,158 @@
```mermaid
flowchart LR
subgraph path2 [Path]
- 2["Path
[266, 298, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 3["Segment
[304, 323, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 4["Segment
[329, 371, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 5["Segment
[377, 433, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 6["Segment
[439, 496, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 7["Segment
[502, 561, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 8["Segment
[567, 624, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 9["Segment
[630, 673, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 10["Segment
[679, 699, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
- 11["Segment
[705, 744, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
- 12["Segment
[750, 786, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
- 13["Segment
[792, 831, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
- 14["Segment
[837, 870, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 13 }]
- 15["Segment
[876, 912, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 14 }]
- 16["Segment
[918, 972, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
- 17["Segment
[978, 1015, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
- 18["Segment
[1021, 1028, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 17 }]
+ 2["Path
[285, 340, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 3["Segment
[346, 365, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 4["Segment
[371, 413, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 5["Segment
[419, 475, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 6["Segment
[481, 538, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 7["Segment
[544, 603, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 8["Segment
[609, 666, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 9["Segment
[672, 715, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 10["Segment
[721, 741, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
+ 11["Segment
[747, 786, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
+ 12["Segment
[792, 828, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
+ 13["Segment
[834, 873, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
+ 14["Segment
[879, 912, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
+ 15["Segment
[918, 954, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 13 }]
+ 16["Segment
[960, 1014, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 14 }]
+ 17["Segment
[1020, 1057, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
+ 18["Segment
[1063, 1070, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
19[Solid2d]
end
subgraph path69 [Path]
- 69["Path
[1193, 1238, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 70["Segment
[1244, 1300, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 71["Segment
[1306, 1357, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 72["Segment
[1363, 1398, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 73["Segment
[1404, 1513, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 74["Segment
[1519, 1561, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 75["Segment
[1567, 1604, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 76["Segment
[1610, 1666, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 77["Segment
[1672, 1679, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 78[Solid2d]
- end
- subgraph path103 [Path]
- 103["Path
[1718, 1766, 0]"]
+ 69["Path
[1235, 1280, 0]"]
%% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 104["Segment
[1772, 1809, 0]"]
+ 70["Segment
[1286, 1342, 0]"]
%% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 105["Segment
[1815, 1857, 0]"]
+ 71["Segment
[1348, 1399, 0]"]
%% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 106["Segment
[1863, 1919, 0]"]
+ 72["Segment
[1405, 1440, 0]"]
%% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 107["Segment
[1925, 1991, 0]"]
+ 73["Segment
[1446, 1555, 0]"]
%% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 108["Segment
[1997, 2053, 0]"]
+ 74["Segment
[1561, 1603, 0]"]
%% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 109["Segment
[2059, 2066, 0]"]
+ 75["Segment
[1609, 1646, 0]"]
%% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 110[Solid2d]
+ 76["Segment
[1652, 1708, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 77["Segment
[1714, 1721, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
+ 78[Solid2d]
end
- subgraph path129 [Path]
- 129["Path
[2110, 2154, 0]"]
+ subgraph path103 [Path]
+ 103["Path
[1760, 1808, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 130["Segment
[2160, 2215, 0]"]
+ 104["Segment
[1814, 1851, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 131["Segment
[2221, 2274, 0]"]
+ 105["Segment
[1857, 1899, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 132["Segment
[2280, 2315, 0]"]
+ 106["Segment
[1905, 1961, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 133["Segment
[2321, 2430, 0]"]
+ 107["Segment
[1967, 2033, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 134["Segment
[2436, 2477, 0]"]
+ 108["Segment
[2039, 2095, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 135["Segment
[2483, 2520, 0]"]
+ 109["Segment
[2101, 2108, 0]"]
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 136["Segment
[2526, 2582, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 137["Segment
[2588, 2595, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
+ 110[Solid2d]
+ end
+ subgraph path129 [Path]
+ 129["Path
[2152, 2196, 0]"]
+ %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 130["Segment
[2202, 2257, 0]"]
+ %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 131["Segment
[2263, 2316, 0]"]
+ %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 132["Segment
[2322, 2357, 0]"]
+ %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 133["Segment
[2363, 2472, 0]"]
+ %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 134["Segment
[2478, 2519, 0]"]
+ %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 135["Segment
[2525, 2562, 0]"]
+ %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 136["Segment
[2568, 2624, 0]"]
+ %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 137["Segment
[2630, 2637, 0]"]
+ %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
138[Solid2d]
end
subgraph path167 [Path]
- 167["Path
[2972, 3025, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 168["Segment
[2972, 3025, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 169["Segment
[2972, 3025, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 170["Segment
[2972, 3025, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 171["Segment
[2972, 3025, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 172["Segment
[2972, 3025, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 173["Segment
[2972, 3025, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 174["Segment
[2972, 3025, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 175["Segment
[2972, 3025, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 176["Segment
[2972, 3025, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 177["Segment
[2972, 3025, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 178["Segment
[2972, 3025, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 167["Path
[3014, 3067, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 168["Segment
[3014, 3067, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 169["Segment
[3014, 3067, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 170["Segment
[3014, 3067, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 171["Segment
[3014, 3067, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 172["Segment
[3014, 3067, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 173["Segment
[3014, 3067, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 174["Segment
[3014, 3067, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 175["Segment
[3014, 3067, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 176["Segment
[3014, 3067, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 177["Segment
[3014, 3067, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 178["Segment
[3014, 3067, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
179[Solid2d]
end
subgraph path214 [Path]
- 214["Path
[3214, 3265, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 215["Segment
[3214, 3265, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 214["Path
[3256, 3307, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 215["Segment
[3256, 3307, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
216[Solid2d]
end
subgraph path227 [Path]
- 227["Path
[3697, 3725, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 228["Segment
[3731, 3756, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 229["Segment
[3762, 3802, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 230["Segment
[3808, 3857, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 231["Segment
[3863, 3904, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 232["Segment
[3910, 3947, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 233["Segment
[3953, 4009, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 234["Segment
[4015, 4022, 0]"]
- %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
+ 227["Path
[3750, 3792, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 228["Segment
[3798, 3823, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 229["Segment
[3829, 3869, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 230["Segment
[3875, 3924, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 231["Segment
[3930, 3971, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 232["Segment
[3977, 4014, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 233["Segment
[4020, 4076, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 234["Segment
[4082, 4089, 0]"]
+ %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
235[Solid2d]
end
- 1["Plane
[243, 260, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 20["Sweep Extrusion
[1034, 1071, 0]"]
- %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 18 }]
+ 1["Plane
[249, 266, 0]"]
+ %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 20["Sweep Extrusion
[1076, 1113, 0]"]
+ %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 17 }]
21[Wall]
%% face_code_ref=Missing NodePath
22[Wall]
@@ -217,10 +217,10 @@ flowchart LR
65["SweepEdge Adjacent"]
66["SweepEdge Opposite"]
67["SweepEdge Adjacent"]
- 68["Plane
[1149, 1177, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, CallKwUnlabeledArg]
- 79["Sweep Extrusion
[1685, 1706, 0]"]
- %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
+ 68["Plane
[1191, 1219, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit, CallKwUnlabeledArg]
+ 79["Sweep Extrusion
[1727, 1748, 0]"]
+ %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
80[Wall]
%% face_code_ref=Missing NodePath
81[Wall]
@@ -253,8 +253,8 @@ flowchart LR
100["SweepEdge Adjacent"]
101["SweepEdge Opposite"]
102["SweepEdge Adjacent"]
- 111["Sweep Extrusion
[2072, 2093, 0]"]
- %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 111["Sweep Extrusion
[2114, 2135, 0]"]
+ %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
112[Wall]
%% face_code_ref=Missing NodePath
113[Wall]
@@ -279,8 +279,8 @@ flowchart LR
126["SweepEdge Adjacent"]
127["SweepEdge Opposite"]
128["SweepEdge Adjacent"]
- 139["Sweep Extrusion
[2601, 2622, 0]"]
- %% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
+ 139["Sweep Extrusion
[2643, 2664, 0]"]
+ %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
140[Wall]
%% face_code_ref=Missing NodePath
141[Wall]
@@ -313,16 +313,16 @@ flowchart LR
160["SweepEdge Adjacent"]
161["SweepEdge Opposite"]
162["SweepEdge Adjacent"]
- 163["CompositeSolid Union
[2792, 2822, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, CallKwArg { index: 0 }, ArrayElement { index: 0 }, CallKwUnlabeledArg, ArrayElement { index: 1 }]
- 164["CompositeSolid Union
[2767, 2825, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, CallKwArg { index: 0 }, ArrayElement { index: 0 }]
- 165["CompositeSolid Subtract
[2720, 2832, 0]"]
- %% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit]
- 166["Plane
[2949, 2966, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 180["Sweep Extrusion
[3031, 3051, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 163["CompositeSolid Union
[2834, 2864, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, CallKwArg { index: 0 }, ArrayElement { index: 0 }, CallKwUnlabeledArg, ArrayElement { index: 1 }]
+ 164["CompositeSolid Union
[2809, 2867, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, CallKwArg { index: 0 }, ArrayElement { index: 0 }]
+ 165["CompositeSolid Subtract
[2762, 2874, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 166["Plane
[2991, 3008, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 180["Sweep Extrusion
[3073, 3093, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
181[Wall]
%% face_code_ref=Missing NodePath
182[Wall]
@@ -367,10 +367,10 @@ flowchart LR
210["SweepEdge Adjacent"]
211["SweepEdge Opposite"]
212["SweepEdge Adjacent"]
- 213["Plane
[3177, 3207, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
- 217["Sweep Extrusion
[3271, 3315, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 213["Plane
[3219, 3249, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
+ 217["Sweep Extrusion
[3313, 3357, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
218[Wall]
%% face_code_ref=Missing NodePath
219["Cap Start"]
@@ -379,16 +379,16 @@ flowchart LR
%% face_code_ref=Missing NodePath
221["SweepEdge Opposite"]
222["SweepEdge Adjacent"]
- 223["EdgeCut Fillet
[3321, 3435, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 224["CompositeSolid Union
[3516, 3551, 0]"]
- %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 225["CompositeSolid Subtract
[3557, 3587, 0]"]
- %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 226["Plane
[3674, 3691, 0]"]
+ 223["EdgeCut Fillet
[3363, 3477, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 224["CompositeSolid Union
[3558, 3593, 0]"]
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 236["Sweep Revolve
[4032, 4076, 0]"]
- %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 225["CompositeSolid Subtract
[3599, 3629, 0]"]
+ %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 226["Plane
[3716, 3733, 0]"]
+ %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 236["Sweep Revolve
[4099, 4144, 0]"]
+ %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
237[Wall]
%% face_code_ref=Missing NodePath
238[Wall]
@@ -407,10 +407,10 @@ flowchart LR
246["SweepEdge Adjacent"]
247["SweepEdge Adjacent"]
248["SweepEdge Adjacent"]
- 249["StartSketchOnPlane
[1135, 1178, 0]"]
- %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit]
- 250["StartSketchOnPlane
[3163, 3208, 0]"]
- %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 249["StartSketchOnPlane
[1177, 1220, 0]"]
+ %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 250["StartSketchOnPlane
[3205, 3250, 0]"]
+ %% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
1 --- 2
2 --- 3
2 --- 4
diff --git a/rust/kcl-lib/tests/kcl_samples/hammer/ast.snap b/rust/kcl-lib/tests/kcl_samples/hammer/ast.snap
index 19180c0641f..5edfb466688 100644
--- a/rust/kcl-lib/tests/kcl_samples/hammer/ast.snap
+++ b/rust/kcl-lib/tests/kcl_samples/hammer/ast.snap
@@ -14,56 +14,83 @@ description: Result of parsing hammer.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "headSideProfile",
+ "name": "headSideProfileSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XZ",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XZ",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "// Sketch the side profile of the hammer head"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "headSideProfile",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -137,7 +164,24 @@ description: Result of parsing hammer.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "headSideProfileSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -1542,7 +1586,7 @@ description: Result of parsing hammer.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "18": [
+ "17": [
{
"commentStart": 0,
"end": 0,
@@ -1570,9 +1614,6 @@ description: Result of parsing hammer.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "// Sketch the side profile of the hammer head"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@@ -5918,51 +5959,75 @@ description: Result of parsing hammer.kcl
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XZ",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- }
+ "type": "Identifier"
},
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "XZ",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "handleProfile",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -6036,7 +6101,24 @@ description: Result of parsing hammer.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "handleSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -6699,7 +6781,7 @@ description: Result of parsing hammer.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "handleSketch",
+ "name": "handleProfile",
"start": 0,
"type": "Identifier"
},
@@ -6842,7 +6924,7 @@ description: Result of parsing hammer.kcl
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
- "2": [
+ "3": [
{
"commentStart": 0,
"end": 0,
@@ -6854,7 +6936,7 @@ description: Result of parsing hammer.kcl
}
}
],
- "3": [
+ "4": [
{
"commentStart": 0,
"end": 0,
diff --git a/rust/kcl-lib/tests/kcl_samples/hammer/ops.snap b/rust/kcl-lib/tests/kcl_samples/hammer/ops.snap
index 72fc23b996b..8d7c58698e1 100644
--- a/rust/kcl-lib/tests/kcl_samples/hammer/ops.snap
+++ b/rust/kcl-lib/tests/kcl_samples/hammer/ops.snap
@@ -26,10 +26,6 @@ description: Operations executed hammer.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -76,7 +72,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 0
+ "index": 1
},
{
"type": "VariableDeclarationDeclaration"
@@ -86,7 +82,7 @@ description: Operations executed hammer.kcl
},
{
"type": "PipeBodyItem",
- "index": 18
+ "index": 17
}
]
},
@@ -124,7 +120,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 1
+ "index": 2
},
{
"type": "VariableDeclarationDeclaration"
@@ -154,7 +150,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 1
+ "index": 2
},
{
"type": "VariableDeclarationDeclaration"
@@ -200,7 +196,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 2
+ "index": 3
},
{
"type": "VariableDeclarationDeclaration"
@@ -250,7 +246,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 3
+ "index": 4
},
{
"type": "VariableDeclarationDeclaration"
@@ -300,7 +296,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 4
+ "index": 5
},
{
"type": "VariableDeclarationDeclaration"
@@ -344,7 +340,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 5
+ "index": 6
},
{
"type": "VariableDeclarationDeclaration"
@@ -399,7 +395,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 5
+ "index": 6
},
{
"type": "VariableDeclarationDeclaration"
@@ -456,7 +452,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 5
+ "index": 6
},
{
"type": "VariableDeclarationDeclaration"
@@ -483,7 +479,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 7
},
{
"type": "VariableDeclarationDeclaration"
@@ -533,7 +529,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 7
},
{
"type": "VariableDeclarationDeclaration"
@@ -581,7 +577,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -615,7 +611,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -672,7 +668,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -734,7 +730,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 7
+ "index": 8
},
{
"type": "VariableDeclarationDeclaration"
@@ -778,7 +774,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 8
+ "index": 9
},
{
"type": "VariableDeclarationDeclaration"
@@ -826,7 +822,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 8
+ "index": 9
},
{
"type": "VariableDeclarationDeclaration"
@@ -857,17 +853,13 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 9
+ "index": 10
},
{
"type": "VariableDeclarationDeclaration"
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -977,7 +969,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 10
+ "index": 12
},
{
"type": "VariableDeclarationDeclaration"
@@ -1018,7 +1010,7 @@ description: Operations executed hammer.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 10
+ "index": 12
},
{
"type": "VariableDeclarationDeclaration"
diff --git a/rust/kcl-lib/tests/kcl_samples/hammer/program_memory.snap b/rust/kcl-lib/tests/kcl_samples/hammer/program_memory.snap
index f90897b086c..50d728ed519 100644
--- a/rust/kcl-lib/tests/kcl_samples/hammer/program_memory.snap
+++ b/rust/kcl-lib/tests/kcl_samples/hammer/program_memory.snap
@@ -15,10 +15,10 @@ description: Variables in memory after executing hammer.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 3258,
- "end": 3264,
+ "commentStart": 3300,
+ "end": 3306,
"moduleId": 0,
- "start": 3258,
+ "start": 3300,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -29,10 +29,10 @@ description: Variables in memory after executing hammer.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 3302,
- "end": 3314,
+ "commentStart": 3344,
+ "end": 3356,
"moduleId": 0,
- "start": 3302,
+ "start": 3344,
"type": "TagDeclarator",
"value": "capStart001"
},
@@ -59,10 +59,10 @@ description: Variables in memory after executing hammer.kcl
],
"radius": 0.45,
"tag": {
- "commentStart": 3258,
- "end": 3264,
+ "commentStart": 3300,
+ "end": 3306,
"moduleId": 0,
- "start": 3258,
+ "start": 3300,
"type": "TagDeclarator",
"value": "seg05"
},
@@ -208,10 +208,10 @@ description: Variables in memory after executing hammer.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 426,
- "end": 432,
+ "commentStart": 468,
+ "end": 474,
"moduleId": 0,
- "start": 426,
+ "start": 468,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -236,10 +236,10 @@ description: Variables in memory after executing hammer.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 617,
- "end": 623,
+ "commentStart": 659,
+ "end": 665,
"moduleId": 0,
- "start": 617,
+ "start": 659,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -271,10 +271,10 @@ description: Variables in memory after executing hammer.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 779,
- "end": 785,
+ "commentStart": 821,
+ "end": 827,
"moduleId": 0,
- "start": 779,
+ "start": 821,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -292,10 +292,10 @@ description: Variables in memory after executing hammer.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 863,
- "end": 869,
+ "commentStart": 905,
+ "end": 911,
"moduleId": 0,
- "start": 863,
+ "start": 905,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -385,10 +385,10 @@ description: Variables in memory after executing hammer.kcl
11.92
],
"tag": {
- "commentStart": 426,
- "end": 432,
+ "commentStart": 468,
+ "end": 474,
"moduleId": 0,
- "start": 426,
+ "start": 468,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -454,10 +454,10 @@ description: Variables in memory after executing hammer.kcl
11.77770605137785
],
"tag": {
- "commentStart": 617,
- "end": 623,
+ "commentStart": 659,
+ "end": 665,
"moduleId": 0,
- "start": 617,
+ "start": 659,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -547,10 +547,10 @@ description: Variables in memory after executing hammer.kcl
12.799999999999999
],
"tag": {
- "commentStart": 779,
- "end": 785,
+ "commentStart": 821,
+ "end": 827,
"moduleId": 0,
- "start": 779,
+ "start": 821,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -597,10 +597,10 @@ description: Variables in memory after executing hammer.kcl
11.624999999999998
],
"tag": {
- "commentStart": 863,
- "end": 869,
+ "commentStart": 905,
+ "end": 911,
"moduleId": 0,
- "start": 863,
+ "start": 905,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -810,10 +810,10 @@ description: Variables in memory after executing hammer.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 426,
- "end": 432,
+ "commentStart": 468,
+ "end": 474,
"moduleId": 0,
- "start": 426,
+ "start": 468,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -838,10 +838,10 @@ description: Variables in memory after executing hammer.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 617,
- "end": 623,
+ "commentStart": 659,
+ "end": 665,
"moduleId": 0,
- "start": 617,
+ "start": 659,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -873,10 +873,10 @@ description: Variables in memory after executing hammer.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 779,
- "end": 785,
+ "commentStart": 821,
+ "end": 827,
"moduleId": 0,
- "start": 779,
+ "start": 821,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -894,10 +894,10 @@ description: Variables in memory after executing hammer.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 863,
- "end": 869,
+ "commentStart": 905,
+ "end": 911,
"moduleId": 0,
- "start": 863,
+ "start": 905,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -987,10 +987,10 @@ description: Variables in memory after executing hammer.kcl
11.92
],
"tag": {
- "commentStart": 426,
- "end": 432,
+ "commentStart": 468,
+ "end": 474,
"moduleId": 0,
- "start": 426,
+ "start": 468,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -1056,10 +1056,10 @@ description: Variables in memory after executing hammer.kcl
11.77770605137785
],
"tag": {
- "commentStart": 617,
- "end": 623,
+ "commentStart": 659,
+ "end": 665,
"moduleId": 0,
- "start": 617,
+ "start": 659,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -1149,10 +1149,10 @@ description: Variables in memory after executing hammer.kcl
12.799999999999999
],
"tag": {
- "commentStart": 779,
- "end": 785,
+ "commentStart": 821,
+ "end": 827,
"moduleId": 0,
- "start": 779,
+ "start": 821,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -1199,10 +1199,10 @@ description: Variables in memory after executing hammer.kcl
11.624999999999998
],
"tag": {
- "commentStart": 863,
- "end": 869,
+ "commentStart": 905,
+ "end": 911,
"moduleId": 0,
- "start": 863,
+ "start": 905,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -2004,7 +2004,7 @@ description: Variables in memory after executing hammer.kcl
"sectional": false
}
},
- "handleSketch": {
+ "handleProfile": {
"type": "Sketch",
"value": {
"type": "Sketch",
@@ -2222,6 +2222,46 @@ description: Variables in memory after executing hammer.kcl
}
}
},
+ "handleSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XZ",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": -1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"headSideProfile": {
"type": "Solid",
"value": {
@@ -2248,10 +2288,10 @@ description: Variables in memory after executing hammer.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 426,
- "end": 432,
+ "commentStart": 468,
+ "end": 474,
"moduleId": 0,
- "start": 426,
+ "start": 468,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -2276,10 +2316,10 @@ description: Variables in memory after executing hammer.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 617,
- "end": 623,
+ "commentStart": 659,
+ "end": 665,
"moduleId": 0,
- "start": 617,
+ "start": 659,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -2311,10 +2351,10 @@ description: Variables in memory after executing hammer.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 779,
- "end": 785,
+ "commentStart": 821,
+ "end": 827,
"moduleId": 0,
- "start": 779,
+ "start": 821,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -2332,10 +2372,10 @@ description: Variables in memory after executing hammer.kcl
"id": "[uuid]",
"sourceRange": [],
"tag": {
- "commentStart": 863,
- "end": 869,
+ "commentStart": 905,
+ "end": 911,
"moduleId": 0,
- "start": 863,
+ "start": 905,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -2425,10 +2465,10 @@ description: Variables in memory after executing hammer.kcl
11.92
],
"tag": {
- "commentStart": 426,
- "end": 432,
+ "commentStart": 468,
+ "end": 474,
"moduleId": 0,
- "start": 426,
+ "start": 468,
"type": "TagDeclarator",
"value": "seg01"
},
@@ -2494,10 +2534,10 @@ description: Variables in memory after executing hammer.kcl
11.77770605137785
],
"tag": {
- "commentStart": 617,
- "end": 623,
+ "commentStart": 659,
+ "end": 665,
"moduleId": 0,
- "start": 617,
+ "start": 659,
"type": "TagDeclarator",
"value": "seg03"
},
@@ -2587,10 +2627,10 @@ description: Variables in memory after executing hammer.kcl
12.799999999999999
],
"tag": {
- "commentStart": 779,
- "end": 785,
+ "commentStart": 821,
+ "end": 827,
"moduleId": 0,
- "start": 779,
+ "start": 821,
"type": "TagDeclarator",
"value": "seg02"
},
@@ -2637,10 +2677,10 @@ description: Variables in memory after executing hammer.kcl
11.624999999999998
],
"tag": {
- "commentStart": 863,
- "end": 869,
+ "commentStart": 905,
+ "end": 911,
"moduleId": 0,
- "start": 863,
+ "start": 905,
"type": "TagDeclarator",
"value": "seg04"
},
@@ -2824,6 +2864,46 @@ description: Variables in memory after executing hammer.kcl
"sectional": false
}
},
+ "headSideProfileSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XZ",
+ "xAxis": {
+ "x": 1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": -1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"headTopProfile": {
"type": "Plane",
"value": {
diff --git a/rust/kcl-lib/tests/kcl_samples/i-beam/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/i-beam/artifact_graph_flowchart.snap.md
index 605ba87c648..25db96fbf18 100644
--- a/rust/kcl-lib/tests/kcl_samples/i-beam/artifact_graph_flowchart.snap.md
+++ b/rust/kcl-lib/tests/kcl_samples/i-beam/artifact_graph_flowchart.snap.md
@@ -1,75 +1,75 @@
```mermaid
flowchart LR
subgraph path2 [Path]
- 2["Path
[475, 513, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
- 3["Segment
[519, 550, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
- 4["Segment
[556, 588, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
- 5["Segment
[594, 644, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
- 6["Segment
[650, 696, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
- 7["Segment
[702, 724, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
- 8["Segment
[730, 748, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 9["Segment
[730, 748, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 10["Segment
[730, 748, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 11["Segment
[730, 748, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 12["Segment
[730, 748, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 13["Segment
[730, 748, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 14["Segment
[730, 748, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 15["Segment
[730, 748, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 16["Segment
[730, 748, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
- 17["Segment
[754, 772, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 18["Segment
[754, 772, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 19["Segment
[754, 772, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 20["Segment
[754, 772, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 21["Segment
[754, 772, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 22["Segment
[754, 772, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 23["Segment
[754, 772, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 24["Segment
[754, 772, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 25["Segment
[754, 772, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 26["Segment
[754, 772, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 27["Segment
[754, 772, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 28["Segment
[754, 772, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 29["Segment
[754, 772, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 30["Segment
[754, 772, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 31["Segment
[754, 772, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 32["Segment
[754, 772, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
- 33["Segment
[754, 772, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
+ 2["Path
[484, 535, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
+ 3["Segment
[541, 572, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
+ 4["Segment
[578, 610, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
+ 5["Segment
[616, 666, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
+ 6["Segment
[672, 718, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
+ 7["Segment
[724, 746, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
+ 8["Segment
[752, 770, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 9["Segment
[752, 770, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 10["Segment
[752, 770, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 11["Segment
[752, 770, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 12["Segment
[752, 770, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 13["Segment
[752, 770, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 14["Segment
[752, 770, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 15["Segment
[752, 770, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 16["Segment
[752, 770, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
+ 17["Segment
[776, 794, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 18["Segment
[776, 794, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 19["Segment
[776, 794, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 20["Segment
[776, 794, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 21["Segment
[776, 794, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 22["Segment
[776, 794, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 23["Segment
[776, 794, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 24["Segment
[776, 794, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 25["Segment
[776, 794, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 26["Segment
[776, 794, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 27["Segment
[776, 794, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 28["Segment
[776, 794, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 29["Segment
[776, 794, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 30["Segment
[776, 794, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 31["Segment
[776, 794, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 32["Segment
[776, 794, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
+ 33["Segment
[776, 794, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
end
- 1["Plane
[451, 469, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
- 34["Sweep Extrusion
[778, 806, 0]"]
- %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
+ 1["Plane
[457, 475, 0]"]
+ %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit]
+ 34["Sweep Extrusion
[800, 828, 0]"]
+ %% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
35[Wall]
%% face_code_ref=Missing NodePath
36[Wall]
diff --git a/rust/kcl-lib/tests/kcl_samples/i-beam/ast.snap b/rust/kcl-lib/tests/kcl_samples/i-beam/ast.snap
index b2e0a6daf24..2c224cbbeeb 100644
--- a/rust/kcl-lib/tests/kcl_samples/i-beam/ast.snap
+++ b/rust/kcl-lib/tests/kcl_samples/i-beam/ast.snap
@@ -239,65 +239,94 @@ description: Result of parsing i-beam.kcl
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "name": "iBeam",
+ "name": "iBeamSketch",
"start": 0,
"type": "Identifier"
},
"init": {
- "body": [
- {
- "arguments": [],
- "callee": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "startSketchOn",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name"
- },
+ "arguments": [],
+ "callee": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
+ "name": "startSketchOn",
"start": 0,
- "type": "CallExpressionKw",
- "type": "CallExpressionKw",
- "unlabeled": {
- "argument": {
- "abs_path": false,
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": {
- "commentStart": 0,
- "end": 0,
- "moduleId": 0,
- "name": "XZ",
- "start": 0,
- "type": "Identifier"
- },
- "path": [],
- "start": 0,
- "type": "Name",
- "type": "Name"
- },
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name"
+ },
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "start": 0,
+ "type": "CallExpressionKw",
+ "type": "CallExpressionKw",
+ "unlabeled": {
+ "argument": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
- "operator": "-",
+ "name": "XZ",
"start": 0,
- "type": "UnaryExpression",
- "type": "UnaryExpression"
- }
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
},
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "operator": "-",
+ "start": 0,
+ "type": "UnaryExpression",
+ "type": "UnaryExpression"
+ }
+ },
+ "moduleId": 0,
+ "start": 0,
+ "type": "VariableDeclarator"
+ },
+ "end": 0,
+ "kind": "const",
+ "moduleId": 0,
+ "preComments": [
+ "",
+ "",
+ "// Sketch a quadrant of the beam cross section, then mirror for symmetry across each axis. Extrude to the appropriate length"
+ ],
+ "start": 0,
+ "type": "VariableDeclaration",
+ "type": "VariableDeclaration"
+ },
+ {
+ "commentStart": 0,
+ "declaration": {
+ "commentStart": 0,
+ "end": 0,
+ "id": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "iBeam",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "init": {
+ "body": [
{
"arguments": [
{
@@ -398,7 +427,24 @@ description: Result of parsing i-beam.kcl
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
- "unlabeled": null
+ "unlabeled": {
+ "abs_path": false,
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": {
+ "commentStart": 0,
+ "end": 0,
+ "moduleId": 0,
+ "name": "iBeamSketch",
+ "start": 0,
+ "type": "Identifier"
+ },
+ "path": [],
+ "start": 0,
+ "type": "Name",
+ "type": "Name"
+ }
},
{
"arguments": [
@@ -970,11 +1016,6 @@ description: Result of parsing i-beam.kcl
"end": 0,
"kind": "const",
"moduleId": 0,
- "preComments": [
- "",
- "",
- "// Sketch a quadrant of the beam cross section, then mirror for symmetry across each axis. Extrude to the appropriate length"
- ],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
diff --git a/rust/kcl-lib/tests/kcl_samples/i-beam/ops.snap b/rust/kcl-lib/tests/kcl_samples/i-beam/ops.snap
index 11282dfd410..75ba9ad418a 100644
--- a/rust/kcl-lib/tests/kcl_samples/i-beam/ops.snap
+++ b/rust/kcl-lib/tests/kcl_samples/i-beam/ops.snap
@@ -220,10 +220,6 @@ description: Operations executed i-beam.kcl
},
{
"type": "VariableDeclarationInit"
- },
- {
- "type": "PipeBodyItem",
- "index": 0
}
]
},
@@ -317,7 +313,7 @@ description: Operations executed i-beam.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 7
},
{
"type": "VariableDeclarationDeclaration"
@@ -327,7 +323,7 @@ description: Operations executed i-beam.kcl
},
{
"type": "PipeBodyItem",
- "index": 7
+ "index": 6
}
]
},
@@ -421,7 +417,7 @@ description: Operations executed i-beam.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 7
},
{
"type": "VariableDeclarationDeclaration"
@@ -431,7 +427,7 @@ description: Operations executed i-beam.kcl
},
{
"type": "PipeBodyItem",
- "index": 8
+ "index": 7
}
]
},
@@ -467,7 +463,7 @@ description: Operations executed i-beam.kcl
"steps": [
{
"type": "ProgramBodyItem",
- "index": 6
+ "index": 7
},
{
"type": "VariableDeclarationDeclaration"
@@ -477,7 +473,7 @@ description: Operations executed i-beam.kcl
},
{
"type": "PipeBodyItem",
- "index": 9
+ "index": 8
}
]
},
diff --git a/rust/kcl-lib/tests/kcl_samples/i-beam/program_memory.snap b/rust/kcl-lib/tests/kcl_samples/i-beam/program_memory.snap
index b7664079b8b..626439c6296 100644
--- a/rust/kcl-lib/tests/kcl_samples/i-beam/program_memory.snap
+++ b/rust/kcl-lib/tests/kcl_samples/i-beam/program_memory.snap
@@ -234,6 +234,46 @@ description: Variables in memory after executing i-beam.kcl
"sectional": false
}
},
+ "iBeamSketch": {
+ "type": "Plane",
+ "value": {
+ "artifactId": "[uuid]",
+ "id": "[uuid]",
+ "origin": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Mm"
+ }
+ },
+ "value": "XZ",
+ "xAxis": {
+ "x": -1.0,
+ "y": 0.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "yAxis": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0,
+ "units": {
+ "type": "Unknown"
+ }
+ },
+ "zAxis": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "units": {
+ "type": "Unknown"
+ }
+ }
+ }
+ },
"rootRadius": {
"type": "Number",
"value": 0.457,