Compare commits
3 Commits
jtran/plus
...
achalmers/
Author | SHA1 | Date | |
---|---|---|---|
3e07baa11e | |||
dae7d96be3 | |||
60e636471b |
@ -81,7 +81,7 @@ sketch001 = startSketchOn(part001, chamfer1)
|
||||
|> line(end = [2, 0])
|
||||
|> line(end = [0, 2])
|
||||
|> line(end = [-2, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> extrude(length = 10)
|
||||
```
|
||||
|
@ -37,14 +37,14 @@ squareSketch = startSketchOn('XY')
|
||||
|> line(end = [200, 0])
|
||||
|> line(end = [0, -200])
|
||||
|> line(end = [-200, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
triangleSketch = startSketchOn(offsetPlane('XY', 75))
|
||||
|> startProfileAt([0, 125], %)
|
||||
|> line(end = [-15, -30])
|
||||
|> line(end = [30, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
loft([squareSketch, triangleSketch])
|
||||
@ -59,7 +59,7 @@ squareSketch = startSketchOn('XY')
|
||||
|> line(end = [200, 0])
|
||||
|> line(end = [0, -200])
|
||||
|> line(end = [-200, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
circleSketch0 = startSketchOn(offsetPlane('XY', 75))
|
||||
@ -84,7 +84,7 @@ squareSketch = startSketchOn('XY')
|
||||
|> line(end = [200, 0])
|
||||
|> line(end = [0, -200])
|
||||
|> line(end = [-200, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
circleSketch0 = startSketchOn(offsetPlane('XY', 75))
|
||||
|
@ -34,7 +34,7 @@ squareSketch = startSketchOn('XY')
|
||||
|> line(end = [200, 0])
|
||||
|> line(end = [0, -200])
|
||||
|> line(end = [-200, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
circleSketch = startSketchOn(offsetPlane('XY', 150))
|
||||
@ -52,7 +52,7 @@ squareSketch = startSketchOn('XZ')
|
||||
|> line(end = [200, 0])
|
||||
|> line(end = [0, -200])
|
||||
|> line(end = [-200, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
circleSketch = startSketchOn(offsetPlane('XZ', 150))
|
||||
@ -70,7 +70,7 @@ squareSketch = startSketchOn('YZ')
|
||||
|> line(end = [200, 0])
|
||||
|> line(end = [0, -200])
|
||||
|> line(end = [-200, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
circleSketch = startSketchOn(offsetPlane('YZ', 150))
|
||||
@ -88,7 +88,7 @@ squareSketch = startSketchOn('-XZ')
|
||||
|> line(end = [200, 0])
|
||||
|> line(end = [0, -200])
|
||||
|> line(end = [-200, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
circleSketch = startSketchOn(offsetPlane('-XZ', -150))
|
||||
|
@ -153,7 +153,7 @@ sketch001 = startSketchOn('XY')
|
||||
|> startProfileAt([10, 0], %)
|
||||
|> line(end = [5, -5])
|
||||
|> line(end = [5, 5])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
part001 = revolve({
|
||||
|
@ -56546,7 +56546,7 @@
|
||||
"deprecated": false,
|
||||
"examples": [
|
||||
"// Chamfer a mounting plate.\nwidth = 20\nlength = 10\nthickness = 1\nchamferLength = 2\n\nmountingPlateSketch = startSketchOn(\"XY\")\n |> startProfileAt([-width / 2, -length / 2], %)\n |> line(endAbsolute = [width / 2, -length / 2], tag = $edge1)\n |> line(endAbsolute = [width / 2, length / 2], tag = $edge2)\n |> line(endAbsolute = [-width / 2, length / 2], tag = $edge3)\n |> close(tag = $edge4)\n\nmountingPlate = extrude(mountingPlateSketch, length = thickness)\n |> chamfer({\n length = chamferLength,\n tags = [\n getNextAdjacentEdge(edge1),\n getNextAdjacentEdge(edge2),\n getNextAdjacentEdge(edge3),\n getNextAdjacentEdge(edge4)\n ]\n }, %)",
|
||||
"// Sketch on the face of a chamfer.\nfn cube(pos, scale) {\n sg = startSketchOn('XY')\n |> startProfileAt(pos, %)\n |> line(end = [0, scale])\n |> line(end = [scale, 0])\n |> line(end = [0, -scale])\n\n return sg\n}\n\npart001 = cube([0, 0], 20)\n |> close(tag = $line1)\n |> extrude(length = 20)\n |> chamfer({\n length = 10,\n tags = [getOppositeEdge(line1)]\n }, %, $chamfer1) // We tag the chamfer to reference it later.\n\nsketch001 = startSketchOn(part001, chamfer1)\n |> startProfileAt([10, 10], %)\n |> line(end = [2, 0])\n |> line(end = [0, 2])\n |> line(end = [-2, 0])\n |> line(endAbsolute = [profileStartX(%), profileStartY(%)])\n |> close()\n |> extrude(length = 10)"
|
||||
"// Sketch on the face of a chamfer.\nfn cube(pos, scale) {\n sg = startSketchOn('XY')\n |> startProfileAt(pos, %)\n |> line(end = [0, scale])\n |> line(end = [scale, 0])\n |> line(end = [0, -scale])\n\n return sg\n}\n\npart001 = cube([0, 0], 20)\n |> close(tag = $line1)\n |> extrude(length = 20)\n |> chamfer({\n length = 10,\n tags = [getOppositeEdge(line1)]\n }, %, $chamfer1) // We tag the chamfer to reference it later.\n\nsketch001 = startSketchOn(part001, chamfer1)\n |> startProfileAt([10, 10], %)\n |> line(end = [2, 0])\n |> line(end = [0, 2])\n |> line(end = [-2, 0])\n |> line(endAbsolute = profileStart(%))\n |> close()\n |> extrude(length = 10)"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -113919,9 +113919,9 @@
|
||||
"unpublished": false,
|
||||
"deprecated": false,
|
||||
"examples": [
|
||||
"// Loft a square and a triangle.\nsquareSketch = startSketchOn('XY')\n |> startProfileAt([-100, 200], %)\n |> line(end = [200, 0])\n |> line(end = [0, -200])\n |> line(end = [-200, 0])\n |> line(endAbsolute = [profileStartX(%), profileStartY(%)])\n |> close()\n\ntriangleSketch = startSketchOn(offsetPlane('XY', 75))\n |> startProfileAt([0, 125], %)\n |> line(end = [-15, -30])\n |> line(end = [30, 0])\n |> line(endAbsolute = [profileStartX(%), profileStartY(%)])\n |> close()\n\nloft([squareSketch, triangleSketch])",
|
||||
"// Loft a square, a circle, and another circle.\nsquareSketch = startSketchOn('XY')\n |> startProfileAt([-100, 200], %)\n |> line(end = [200, 0])\n |> line(end = [0, -200])\n |> line(end = [-200, 0])\n |> line(endAbsolute = [profileStartX(%), profileStartY(%)])\n |> close()\n\ncircleSketch0 = startSketchOn(offsetPlane('XY', 75))\n |> circle({ center = [0, 100], radius = 50 }, %)\n\ncircleSketch1 = startSketchOn(offsetPlane('XY', 150))\n |> circle({ center = [0, 100], radius = 20 }, %)\n\nloft([\n squareSketch,\n circleSketch0,\n circleSketch1\n])",
|
||||
"// Loft a square, a circle, and another circle with options.\nsquareSketch = startSketchOn('XY')\n |> startProfileAt([-100, 200], %)\n |> line(end = [200, 0])\n |> line(end = [0, -200])\n |> line(end = [-200, 0])\n |> line(endAbsolute = [profileStartX(%), profileStartY(%)])\n |> close()\n\ncircleSketch0 = startSketchOn(offsetPlane('XY', 75))\n |> circle({ center = [0, 100], radius = 50 }, %)\n\ncircleSketch1 = startSketchOn(offsetPlane('XY', 150))\n |> circle({ center = [0, 100], radius = 20 }, %)\n\nloft([\n squareSketch,\n circleSketch0,\n circleSketch1\n], baseCurveIndex = 0, bezApproximateRational = false, tolerance = 0.000001, vDegree = 2)"
|
||||
"// Loft a square and a triangle.\nsquareSketch = startSketchOn('XY')\n |> startProfileAt([-100, 200], %)\n |> line(end = [200, 0])\n |> line(end = [0, -200])\n |> line(end = [-200, 0])\n |> line(endAbsolute = profileStart(%))\n |> close()\n\ntriangleSketch = startSketchOn(offsetPlane('XY', 75))\n |> startProfileAt([0, 125], %)\n |> line(end = [-15, -30])\n |> line(end = [30, 0])\n |> line(endAbsolute = profileStart(%))\n |> close()\n\nloft([squareSketch, triangleSketch])",
|
||||
"// Loft a square, a circle, and another circle.\nsquareSketch = startSketchOn('XY')\n |> startProfileAt([-100, 200], %)\n |> line(end = [200, 0])\n |> line(end = [0, -200])\n |> line(end = [-200, 0])\n |> line(endAbsolute = profileStart(%))\n |> close()\n\ncircleSketch0 = startSketchOn(offsetPlane('XY', 75))\n |> circle({ center = [0, 100], radius = 50 }, %)\n\ncircleSketch1 = startSketchOn(offsetPlane('XY', 150))\n |> circle({ center = [0, 100], radius = 20 }, %)\n\nloft([\n squareSketch,\n circleSketch0,\n circleSketch1\n])",
|
||||
"// Loft a square, a circle, and another circle with options.\nsquareSketch = startSketchOn('XY')\n |> startProfileAt([-100, 200], %)\n |> line(end = [200, 0])\n |> line(end = [0, -200])\n |> line(end = [-200, 0])\n |> line(endAbsolute = profileStart(%))\n |> close()\n\ncircleSketch0 = startSketchOn(offsetPlane('XY', 75))\n |> circle({ center = [0, 100], radius = 50 }, %)\n\ncircleSketch1 = startSketchOn(offsetPlane('XY', 150))\n |> circle({ center = [0, 100], radius = 20 }, %)\n\nloft([\n squareSketch,\n circleSketch0,\n circleSketch1\n], baseCurveIndex = 0, bezApproximateRational = false, tolerance = 0.000001, vDegree = 2)"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -125140,10 +125140,10 @@
|
||||
"unpublished": false,
|
||||
"deprecated": false,
|
||||
"examples": [
|
||||
"// Loft a square and a circle on the `XY` plane using offset.\nsquareSketch = startSketchOn('XY')\n |> startProfileAt([-100, 200], %)\n |> line(end = [200, 0])\n |> line(end = [0, -200])\n |> line(end = [-200, 0])\n |> line(endAbsolute = [profileStartX(%), profileStartY(%)])\n |> close()\n\ncircleSketch = startSketchOn(offsetPlane('XY', 150))\n |> circle({ center = [0, 100], radius = 50 }, %)\n\nloft([squareSketch, circleSketch])",
|
||||
"// Loft a square and a circle on the `XZ` plane using offset.\nsquareSketch = startSketchOn('XZ')\n |> startProfileAt([-100, 200], %)\n |> line(end = [200, 0])\n |> line(end = [0, -200])\n |> line(end = [-200, 0])\n |> line(endAbsolute = [profileStartX(%), profileStartY(%)])\n |> close()\n\ncircleSketch = startSketchOn(offsetPlane('XZ', 150))\n |> circle({ center = [0, 100], radius = 50 }, %)\n\nloft([squareSketch, circleSketch])",
|
||||
"// Loft a square and a circle on the `YZ` plane using offset.\nsquareSketch = startSketchOn('YZ')\n |> startProfileAt([-100, 200], %)\n |> line(end = [200, 0])\n |> line(end = [0, -200])\n |> line(end = [-200, 0])\n |> line(endAbsolute = [profileStartX(%), profileStartY(%)])\n |> close()\n\ncircleSketch = startSketchOn(offsetPlane('YZ', 150))\n |> circle({ center = [0, 100], radius = 50 }, %)\n\nloft([squareSketch, circleSketch])",
|
||||
"// Loft a square and a circle on the `-XZ` plane using offset.\nsquareSketch = startSketchOn('-XZ')\n |> startProfileAt([-100, 200], %)\n |> line(end = [200, 0])\n |> line(end = [0, -200])\n |> line(end = [-200, 0])\n |> line(endAbsolute = [profileStartX(%), profileStartY(%)])\n |> close()\n\ncircleSketch = startSketchOn(offsetPlane('-XZ', -150))\n |> circle({ center = [0, 100], radius = 50 }, %)\n\nloft([squareSketch, circleSketch])",
|
||||
"// Loft a square and a circle on the `XY` plane using offset.\nsquareSketch = startSketchOn('XY')\n |> startProfileAt([-100, 200], %)\n |> line(end = [200, 0])\n |> line(end = [0, -200])\n |> line(end = [-200, 0])\n |> line(endAbsolute = profileStart(%))\n |> close()\n\ncircleSketch = startSketchOn(offsetPlane('XY', 150))\n |> circle({ center = [0, 100], radius = 50 }, %)\n\nloft([squareSketch, circleSketch])",
|
||||
"// Loft a square and a circle on the `XZ` plane using offset.\nsquareSketch = startSketchOn('XZ')\n |> startProfileAt([-100, 200], %)\n |> line(end = [200, 0])\n |> line(end = [0, -200])\n |> line(end = [-200, 0])\n |> line(endAbsolute = profileStart(%))\n |> close()\n\ncircleSketch = startSketchOn(offsetPlane('XZ', 150))\n |> circle({ center = [0, 100], radius = 50 }, %)\n\nloft([squareSketch, circleSketch])",
|
||||
"// Loft a square and a circle on the `YZ` plane using offset.\nsquareSketch = startSketchOn('YZ')\n |> startProfileAt([-100, 200], %)\n |> line(end = [200, 0])\n |> line(end = [0, -200])\n |> line(end = [-200, 0])\n |> line(endAbsolute = profileStart(%))\n |> close()\n\ncircleSketch = startSketchOn(offsetPlane('YZ', 150))\n |> circle({ center = [0, 100], radius = 50 }, %)\n\nloft([squareSketch, circleSketch])",
|
||||
"// Loft a square and a circle on the `-XZ` plane using offset.\nsquareSketch = startSketchOn('-XZ')\n |> startProfileAt([-100, 200], %)\n |> line(end = [200, 0])\n |> line(end = [0, -200])\n |> line(end = [-200, 0])\n |> line(endAbsolute = profileStart(%))\n |> close()\n\ncircleSketch = startSketchOn(offsetPlane('-XZ', -150))\n |> circle({ center = [0, 100], radius = 50 }, %)\n\nloft([squareSketch, circleSketch])",
|
||||
"// A circle on the XY plane\nstartSketchOn(\"XY\")\n |> startProfileAt([0, 0], %)\n |> circle({ radius = 10, center = [0, 0] }, %)\n\n// Triangle on the plane 4 units above\nstartSketchOn(offsetPlane(\"XY\", 4))\n |> startProfileAt([0, 0], %)\n |> line(end = [10, 0])\n |> line(end = [0, 10])\n |> close()"
|
||||
]
|
||||
},
|
||||
@ -178520,7 +178520,7 @@
|
||||
"box = startSketchOn('XY')\n |> startProfileAt([0, 0], %)\n |> line(end = [0, 20])\n |> line(end = [20, 0])\n |> line(end = [0, -20])\n |> close()\n |> extrude(length = 20)\n\nsketch001 = startSketchOn(box, \"END\")\n |> circle({ center = [10, 10], radius = 4 }, %)\n |> revolve({ angle = -90, axis = 'y' }, %)",
|
||||
"box = startSketchOn('XY')\n |> startProfileAt([0, 0], %)\n |> line(end = [0, 20])\n |> line(end = [20, 0])\n |> line(end = [0, -20], tag = $revolveAxis)\n |> close()\n |> extrude(length = 20)\n\nsketch001 = startSketchOn(box, \"END\")\n |> circle({ center = [10, 10], radius = 4 }, %)\n |> revolve({\n angle = 90,\n axis = getOppositeEdge(revolveAxis)\n }, %)",
|
||||
"box = startSketchOn('XY')\n |> startProfileAt([0, 0], %)\n |> line(end = [0, 20])\n |> line(end = [20, 0])\n |> line(end = [0, -20], tag = $revolveAxis)\n |> close()\n |> extrude(length = 20)\n\nsketch001 = startSketchOn(box, \"END\")\n |> circle({ center = [10, 10], radius = 4 }, %)\n |> revolve({\n angle = 90,\n axis = getOppositeEdge(revolveAxis),\n tolerance = 0.0001\n }, %)",
|
||||
"sketch001 = startSketchOn('XY')\n |> startProfileAt([10, 0], %)\n |> line(end = [5, -5])\n |> line(end = [5, 5])\n |> line(endAbsolute = [profileStartX(%), profileStartY(%)])\n |> close()\n\npart001 = revolve({\n axis = {\n custom = {\n axis = [0.0, 1.0],\n origin = [0.0, 0.0]\n }\n }\n}, sketch001)"
|
||||
"sketch001 = startSketchOn('XY')\n |> startProfileAt([10, 0], %)\n |> line(end = [5, -5])\n |> line(end = [5, 5])\n |> line(endAbsolute = profileStart(%))\n |> close()\n\npart001 = revolve({\n axis = {\n custom = {\n axis = [0.0, 1.0],\n origin = [0.0, 0.0]\n }\n }\n}, sketch001)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -97,7 +97,7 @@ startSketchOn('XZ')
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> lineTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> lineTo(profileStart(%), %)
|
||||
|> close(%)
|
||||
```
|
||||
|
||||
@ -130,7 +130,7 @@ fn rect(origin) {
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> lineTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> lineTo(profileStart(%), %)
|
||||
|> close(%)
|
||||
}
|
||||
|
||||
@ -158,7 +158,7 @@ fn rect(origin) {
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> lineTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> lineTo(profileStart(%), %)
|
||||
|> close(%)
|
||||
}
|
||||
|
||||
|
@ -22,7 +22,7 @@ test.describe('Code pane and errors', () => {
|
||||
|> startProfileAt([0, 0], %)
|
||||
|> line(end = [10, 0])
|
||||
|> line(end = [-5, 10])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 5)`
|
||||
)
|
||||
|
@ -56,7 +56,7 @@ test.describe('Command bar tests', () => {
|
||||
|> line(end = [0, 10])
|
||||
|> line(end = [10, 0])
|
||||
|> line(end = [0, -10])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -10)`
|
||||
)
|
||||
|
@ -10,7 +10,7 @@ export fn triangle() {
|
||||
|> startProfileAt([0, 0], %)
|
||||
|> xLine(10, %)
|
||||
|> line(end = [-10, -5])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
}
|
||||
|
||||
@ -19,7 +19,7 @@ sketch001 = startSketchOn('XZ')
|
||||
|> startProfileAt([20, 10], %)
|
||||
|> line(end = [10, 10])
|
||||
|> angledLine([-45, length001], %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
revolve001 = revolve({ axis = "X" }, sketch001)
|
||||
triangle()
|
||||
@ -30,7 +30,7 @@ sketch002 = startSketchOn(plane001)
|
||||
|> line(end = [5, -15])
|
||||
|> xLine(-10, %)
|
||||
|> line(endAbsolute = [-40, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch002, length = 10)
|
||||
`
|
||||
|
@ -228,7 +228,7 @@ test.describe('verify sketch on chamfer works', () => {
|
||||
segAng(rectangleSegmentA002),
|
||||
-segLen(rectangleSegmentA002)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()`,
|
||||
})
|
||||
|
||||
@ -259,7 +259,7 @@ test.describe('verify sketch on chamfer works', () => {
|
||||
segAng(rectangleSegmentA003),
|
||||
-segLen(rectangleSegmentA003)
|
||||
], %, $rectangleSegmentC002)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()`,
|
||||
})
|
||||
await sketchOnAChamfer({
|
||||
@ -284,7 +284,7 @@ test.describe('verify sketch on chamfer works', () => {
|
||||
segAng(rectangleSegmentA003),
|
||||
-segLen(rectangleSegmentA003)
|
||||
], %, $rectangleSegmentC002)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()`,
|
||||
})
|
||||
/// last one
|
||||
@ -308,7 +308,7 @@ test.describe('verify sketch on chamfer works', () => {
|
||||
segAng(rectangleSegmentA005),
|
||||
-segLen(rectangleSegmentA005)
|
||||
], %, $rectangleSegmentC004)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()`,
|
||||
})
|
||||
|
||||
@ -326,7 +326,7 @@ test.describe('verify sketch on chamfer works', () => {
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $yo)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)], tag = $seg02)
|
||||
|> line(endAbsolute = profileStart(%), tag = $seg02)
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 100)
|
||||
|> chamfer({
|
||||
@ -353,7 +353,7 @@ test.describe('verify sketch on chamfer works', () => {
|
||||
segAng(rectangleSegmentA005),
|
||||
-segLen(rectangleSegmentA005)
|
||||
], %, $rectangleSegmentC004)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
sketch004 = startSketchOn(extrude001, seg05)
|
||||
|> startProfileAt([82.57,322.96], %)
|
||||
@ -366,7 +366,7 @@ test.describe('verify sketch on chamfer works', () => {
|
||||
segAng(rectangleSegmentA004),
|
||||
-segLen(rectangleSegmentA004)
|
||||
], %, $rectangleSegmentC003)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
sketch003 = startSketchOn(extrude001, seg04)
|
||||
|> startProfileAt([-209.64,255.28], %)
|
||||
@ -379,7 +379,7 @@ test.describe('verify sketch on chamfer works', () => {
|
||||
segAng(rectangleSegmentA003),
|
||||
-segLen(rectangleSegmentA003)
|
||||
], %, $rectangleSegmentC002)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
sketch002 = startSketchOn(extrude001, seg03)
|
||||
|> startProfileAt([205.96,254.59], %)
|
||||
@ -392,7 +392,7 @@ test.describe('verify sketch on chamfer works', () => {
|
||||
segAng(rectangleSegmentA002),
|
||||
-segLen(rectangleSegmentA002)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
`,
|
||||
{ shouldNormalise: true }
|
||||
@ -447,7 +447,7 @@ test.describe('verify sketch on chamfer works', () => {
|
||||
segAng(rectangleSegmentA002),
|
||||
-segLen(rectangleSegmentA002)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()`,
|
||||
})
|
||||
await editor.expectEditor.toContain(
|
||||
@ -462,7 +462,7 @@ test.describe('verify sketch on chamfer works', () => {
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $yo)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)], tag = $seg02)
|
||||
|> line(endAbsolute = profileStart(%), tag = $seg02)
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 100)
|
||||
chamf = chamfer({
|
||||
@ -488,7 +488,7 @@ sketch002 = startSketchOn(extrude001, seg03)
|
||||
segAng(rectangleSegmentA002),
|
||||
-segLen(rectangleSegmentA002)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
`,
|
||||
{ shouldNormalise: true }
|
||||
@ -1098,7 +1098,7 @@ test(`Fillet point-and-click`, async ({
|
||||
|> line(end = [0, 12])
|
||||
|> line(end = [24, 0])
|
||||
|> line(end = [0, -12])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -12)
|
||||
`
|
||||
@ -1330,7 +1330,7 @@ test(`Fillet point-and-click delete`, async ({
|
||||
|> line(end = [0, 12])
|
||||
|> line(end = [24, 0], tag = $seg02)
|
||||
|> line(end = [0, -12])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)], tag = $seg01)
|
||||
|> line(endAbsolute = profileStart(%), tag = $seg01)
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -12)
|
||||
|> fillet({ radius = 5, tags = [seg01] }, %) // fillet01
|
||||
@ -1474,7 +1474,7 @@ test(`Chamfer point-and-click`, async ({
|
||||
|> line(end = [0, 12])
|
||||
|> line(end = [24, 0])
|
||||
|> line(end = [0, -12])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -12)
|
||||
`
|
||||
@ -1702,7 +1702,7 @@ test(`Chamfer point-and-click delete`, async ({
|
||||
|> line(end = [0, 12])
|
||||
|> line(end = [24, 0], tag = $seg02)
|
||||
|> line(end = [0, -12])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)], tag = $seg01)
|
||||
|> line(endAbsolute = profileStart(%), tag = $seg01)
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -12)
|
||||
|> chamfer({ length = 5, tags = [seg01] }, %) // chamfer01
|
||||
@ -1945,7 +1945,7 @@ test('Shell point-and-click wall', async ({
|
||||
|> xLine(40, %)
|
||||
|> yLine(-60, %)
|
||||
|> xLine(-40, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 40)
|
||||
`
|
||||
@ -2189,7 +2189,7 @@ sketch001 = startSketchOn('XZ')
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 200)
|
||||
sketch002 = startSketchOn(extrude001, rectangleSegmentA001)
|
||||
@ -2203,7 +2203,7 @@ segAng(rectangleSegmentA002) - 90,
|
||||
segAng(rectangleSegmentA002),
|
||||
-segLen(rectangleSegmentA002)
|
||||
], %, $rectangleSegmentC002)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
`
|
||||
|
||||
@ -2248,7 +2248,7 @@ segAng(rectangleSegmentA001) - 90,
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 50)
|
||||
sketch002 = startSketchOn(extrude001, rectangleSegmentA001)
|
||||
@ -2298,7 +2298,7 @@ radius = 8.69
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 5)
|
||||
sketch003 = startSketchOn(extrude001, 'START')
|
||||
|
@ -1464,7 +1464,7 @@ test.fixme(
|
||||
|> line(end = [324.07, 27.199], tag = $seg01)
|
||||
|> line(end = [118.328, -291.754])
|
||||
|> line(end = [-180.04, -202.08])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 200)`)
|
||||
await page.waitForTimeout(800)
|
||||
|
@ -8,7 +8,7 @@ profile001 = startProfileAt([57.81, 250.51], sketch001)
|
||||
|> line(end = [83.37, -34.61], tag = $seg01)
|
||||
|> line(end = [19.66, -116.4])
|
||||
|> line(end = [-221.8, -41.69])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(profile001, length = 200)
|
||||
sketch002 = startSketchOn('XZ')
|
||||
@ -16,7 +16,7 @@ sketch002 = startSketchOn('XZ')
|
||||
|> xLine(173.71, %)
|
||||
|> line(end = [-22.12, -94.4])
|
||||
|> xLine(-156.98, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude002 = extrude(sketch002, length = 50)
|
||||
sketch003 = startSketchOn('XY')
|
||||
@ -30,7 +30,7 @@ sketch003 = startSketchOn('XY')
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude003 = extrude(sketch003, length = 20)
|
||||
`
|
||||
|
@ -23,7 +23,7 @@ test.describe('Regression tests', () => {
|
||||
sketch001 = startSketchAt([-0, -0])
|
||||
|> line(end = [0, 0])
|
||||
|> line(end = [-4.84, -5.29])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()`
|
||||
)
|
||||
})
|
||||
@ -67,7 +67,7 @@ test.describe('Regression tests', () => {
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 50)
|
||||
`
|
||||
|
@ -754,7 +754,7 @@ test.describe('Sketch tests', () => {
|
||||
|> startProfileAt([${roundOff(scale * 69.6)}, ${roundOff(scale * 34.8)}], %)
|
||||
|> xLine(${roundOff(scale * 139.19)}, %)
|
||||
|> yLine(-${roundOff(scale * 139.2)}, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()`
|
||||
|
||||
await expect(
|
||||
@ -854,7 +854,7 @@ test.describe('Sketch tests', () => {
|
||||
|> line(end = [1.32, 0.38])
|
||||
|> line(end = [1.02, -1.32], tag = $seg01)
|
||||
|> line(end = [-1.01, -0.77])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
`
|
||||
)
|
||||
@ -912,7 +912,7 @@ test.describe('Sketch tests', () => {
|
||||
|> line(end = [1.32, 0.38])
|
||||
|> line(end = [1.02, -1.32], tag = $seg01)
|
||||
|> line(end = [-1.01, -0.77])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 5)
|
||||
`
|
||||
@ -955,7 +955,7 @@ test.describe('Sketch tests', () => {
|
||||
|> line(end = [1.32, 0.38])
|
||||
|> line(end = [1.02, -1.32], tag = $seg01)
|
||||
|> line(end = [-1.01, -0.77])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 5)
|
||||
sketch002 = startSketchOn(extrude001, 'END')
|
||||
|
@ -92,7 +92,7 @@ test.describe('Testing constraints', () => {
|
||||
|> xLine(-385.34, %, $seg_what)
|
||||
|> yLine(-170.06, %)
|
||||
|> xLine(segLen(seg_what), %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])`
|
||||
|> line(endAbsolute = profileStart(%))`
|
||||
)
|
||||
})
|
||||
const u = await getUtils(page)
|
||||
@ -158,7 +158,7 @@ test.describe('Testing constraints', () => {
|
||||
|> xLine(-425.34, %, $seg_what)
|
||||
|> yLine(-264.06, %)
|
||||
|> xLine(segLen(seg_what), %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])`
|
||||
|> line(endAbsolute = profileStart(%))`
|
||||
)
|
||||
|
||||
const isChecked = await createNewVariableCheckbox.isChecked()
|
||||
@ -292,7 +292,7 @@ test.describe('Testing constraints', () => {
|
||||
|> xLine(-425.34, %, $seg_what)
|
||||
|> yLine(-264.06, %)
|
||||
|> xLine(segLen(seg_what), %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])`
|
||||
|> line(endAbsolute = profileStart(%))`
|
||||
)
|
||||
})
|
||||
const u = await getUtils(page)
|
||||
@ -402,7 +402,7 @@ test.describe('Testing constraints', () => {
|
||||
|> xLine(-425.34, %, $seg_what)
|
||||
|> yLine(-264.06, %)
|
||||
|> xLine(segLen(seg_what), %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])`
|
||||
|> line(endAbsolute = profileStart(%))`
|
||||
)
|
||||
})
|
||||
const u = await getUtils(page)
|
||||
@ -517,7 +517,7 @@ test.describe('Testing constraints', () => {
|
||||
|> xLine(-425.34, %, $seg_what)
|
||||
|> yLine(-264.06, %)
|
||||
|> xLine(segLen(seg_what), %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])`
|
||||
|> line(endAbsolute = profileStart(%))`
|
||||
)
|
||||
})
|
||||
const u = await getUtils(page)
|
||||
@ -619,7 +619,7 @@ test.describe('Testing constraints', () => {
|
||||
|> xLine(-425.34, %, $seg_what)
|
||||
|> yLine(-264.06, %)
|
||||
|> xLine(segLen(seg_what), %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])`
|
||||
|> line(endAbsolute = profileStart(%))`
|
||||
)
|
||||
})
|
||||
const u = await getUtils(page)
|
||||
@ -707,7 +707,7 @@ part002 = startSketchOn('XZ')
|
||||
|> xLine(-425.34, %, $seg_what)
|
||||
|> yLine(-264.06, %)
|
||||
|> xLine(segLen(seg_what), %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])`
|
||||
|> line(endAbsolute = profileStart(%))`
|
||||
)
|
||||
})
|
||||
const u = await getUtils(page)
|
||||
@ -785,7 +785,7 @@ part002 = startSketchOn('XZ')
|
||||
|> xLine(-425.34, %, $seg_what)
|
||||
|> yLine(-264.06, %)
|
||||
|> xLine(segLen(seg_what), %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])`
|
||||
|> line(endAbsolute = profileStart(%))`
|
||||
)
|
||||
})
|
||||
const u = await getUtils(page)
|
||||
@ -887,7 +887,7 @@ part002 = startSketchOn('XZ')
|
||||
|> xLine(-425.34, %, $seg_what)
|
||||
|> yLine(-264.06, %)
|
||||
|> xLine(segLen(seg_what), %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])`
|
||||
|> line(endAbsolute = profileStart(%))`
|
||||
)
|
||||
})
|
||||
const u = await getUtils(page)
|
||||
@ -968,7 +968,7 @@ part002 = startSketchOn('XZ')
|
||||
|> xLine(-425.34, %, $seg_what)
|
||||
|> yLine(-264.06, %)
|
||||
|> xLine(segLen(seg_what), %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])`
|
||||
|> line(endAbsolute = profileStart(%))`
|
||||
)
|
||||
})
|
||||
const u = await getUtils(page)
|
||||
|
@ -266,7 +266,7 @@ test.describe('Testing selections', () => {
|
||||
|> startProfileAt([-79.26, 95.04], %)
|
||||
|> line(end = [112.54, 127.64], tag = $seg02)
|
||||
|> line(end = [170.36, -121.61], tag = $seg01)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 50)
|
||||
sketch005 = startSketchOn(extrude001, 'END')
|
||||
@ -274,19 +274,19 @@ test.describe('Testing selections', () => {
|
||||
|> line(end = [-8.44, 36.61])
|
||||
|> line(end = [49.4, 2.05])
|
||||
|> line(end = [29.69, -46.95])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
sketch003 = startSketchOn(extrude001, seg01)
|
||||
|> startProfileAt([21.23, 17.81], %)
|
||||
|> line(end = [51.97, 21.32])
|
||||
|> line(end = [4.07, -22.75])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
sketch002 = startSketchOn(extrude001, seg02)
|
||||
|> startProfileAt([-100.54, 16.99], %)
|
||||
|> line(end = [0, 20.03])
|
||||
|> line(end = [62.61, 0], tag = $seg03)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude002 = extrude(sketch002, length = 50)
|
||||
sketch004 = startSketchOn(extrude002, seg03)
|
||||
@ -294,7 +294,7 @@ test.describe('Testing selections', () => {
|
||||
|> line(end = [-4.72, 22.84])
|
||||
|> line(end = [28.8, 6.71])
|
||||
|> line(end = [9.19, -25.33])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude003 = extrude(sketch004, length = 20)
|
||||
pipeLength = 40
|
||||
@ -435,7 +435,7 @@ test.describe('Testing selections', () => {
|
||||
|> startProfileAt([-79.26, 95.04], %)
|
||||
|> line(end = [112.54, 127.64], tag = $seg02)
|
||||
|> line(end = [170.36, -121.61], tag = $seg01)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 50)
|
||||
launderExtrudeThroughVar = extrude001
|
||||
@ -443,7 +443,7 @@ test.describe('Testing selections', () => {
|
||||
|> startProfileAt([-100.54, 16.99], %)
|
||||
|> line(end = [0, 20.03])
|
||||
|> line(end = [62.61, 0], tag = $seg03)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
`
|
||||
)
|
||||
@ -728,7 +728,7 @@ test.describe('Testing selections', () => {
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $yo)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)], tag = $seg02)
|
||||
|> line(endAbsolute = profileStart(%), tag = $seg02)
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 100)
|
||||
|> chamfer({
|
||||
@ -883,7 +883,7 @@ test.describe('Testing selections', () => {
|
||||
|> startProfileAt([-12.94, 6.6], %)
|
||||
|> line(end = [2.45, -0.2])
|
||||
|> line(end = [-2, -1.25])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
`
|
||||
await u.codeLocator.fill(codeToAdd)
|
||||
@ -988,7 +988,7 @@ test.describe('Testing selections', () => {
|
||||
|> startProfileAt([-79.26, 95.04], %)
|
||||
|> line(end = [112.54, 127.64])
|
||||
|> line(end = [170.36, -121.61], tag = $seg01)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 50)
|
||||
`
|
||||
|
@ -717,7 +717,7 @@ test.describe('Testing settings', () => {
|
||||
|> line(end = [5, 0])
|
||||
|> line(end = [0, 5])
|
||||
|> line(end = [-5, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 5)
|
||||
`
|
||||
|
@ -522,7 +522,7 @@ extrude001 = extrude(sketch001, length = 5 + 7)`
|
||||
|> startProfileAt([-12.94, 6.6], %)
|
||||
|> line(end = [2.45, -0.2])
|
||||
|> line(end = [-2.6, -1.25])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
`)
|
||||
)
|
||||
@ -560,7 +560,7 @@ extrude001 = extrude(sketch001, length = 5 + 7)`
|
||||
|> startProfileAt([-12.83, 6.7], %)
|
||||
|> line(end = [${[2.28, 2.35]}, -${0.07}])
|
||||
|> line(end = [-3.05, -1.47])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()`
|
||||
|
||||
await expect(page.locator('.cm-content')).toHaveText(result.regExp)
|
||||
|
@ -791,13 +791,8 @@ export class SceneEntities {
|
||||
// Snapping logic for the profile start handle
|
||||
if (intersectsProfileStart) {
|
||||
const lastSegment = sketch.paths.slice(-1)[0]
|
||||
const originCoords = createArrayExpression([
|
||||
createCallExpressionStdLib('profileStartX', [
|
||||
createPipeSubstitution(),
|
||||
]),
|
||||
createCallExpressionStdLib('profileStartY', [
|
||||
createPipeSubstitution(),
|
||||
]),
|
||||
const originCoords = createCallExpressionStdLib('profileStart', [
|
||||
createPipeSubstitution(),
|
||||
])
|
||||
modifiedAst = addCallExpressionsToPipe({
|
||||
node: kclManager.ast,
|
||||
|
@ -749,7 +749,7 @@ sketch003 = startSketchOn('XZ')
|
||||
|> startProfileAt([3.82, 13.6], %)
|
||||
|> line(end = [-2.94, 2.7])
|
||||
|> line(end = [7.7, 0.16])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()`,
|
||||
codeAfter: `myVar = 5\n`,
|
||||
lineOfInterest: 'line(end = [-2.94, 2.7])',
|
||||
@ -794,7 +794,7 @@ sketch001 = startSketchOn('XZ')
|
||||
|> line(end = [-11.18, -2.15])
|
||||
|> line(end = [5.41, -9.61])
|
||||
|> line(end = [-8.54, -2.51])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001 = extrude(sketch001, length = 5)
|
||||
sketch002 = startSketchOn(extrude001, seg01)
|
||||
@ -804,7 +804,7 @@ sketch002 = startSketchOn(extrude001, seg01)
|
||||
|> angledLine([-86, segLen(seg02)], %)
|
||||
|> line(end = [-3.97, -0.53])
|
||||
|> line(end = [0.3, 0.84])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()`,
|
||||
codeAfter: `myVar = 5
|
||||
sketch001 = startSketchOn('XZ')
|
||||
@ -815,7 +815,7 @@ sketch001 = startSketchOn('XZ')
|
||||
|> line(end = [-11.18, -2.15])
|
||||
|> line(end = [5.41, -9.61])
|
||||
|> line(end = [-8.54, -2.51])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
sketch002 = startSketchOn({
|
||||
plane = {
|
||||
@ -831,7 +831,7 @@ sketch002 = startSketchOn({
|
||||
|> angledLine([-86, segLen(seg02)], %)
|
||||
|> line(end = [-3.97, -0.53])
|
||||
|> line(end = [0.3, 0.84])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
`,
|
||||
lineOfInterest: 'line(end = [-11.18, -2.15])',
|
||||
@ -850,7 +850,7 @@ sketch001 = startSketchOn('XZ')
|
||||
|> line(end = [-11.18, -2.15])
|
||||
|> line(end = [5.41, -9.61])
|
||||
|> line(end = [-8.54, -2.51])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001 = extrude(sketch001, length = 5)
|
||||
sketch002 = startSketchOn(extrude001, seg01)
|
||||
@ -860,7 +860,7 @@ sketch002 = startSketchOn(extrude001, seg01)
|
||||
|> angledLine([-86, segLen(seg02)], %)
|
||||
|> line(end = [-3.97, -0.53])
|
||||
|> line(end = [0.3, 0.84])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()`,
|
||||
codeAfter: `myVar = 5
|
||||
sketch001 = startSketchOn('XZ')
|
||||
@ -871,7 +871,7 @@ sketch001 = startSketchOn('XZ')
|
||||
|> line(end = [-11.18, -2.15])
|
||||
|> line(end = [5.41, -9.61])
|
||||
|> line(end = [-8.54, -2.51])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
sketch002 = startSketchOn({
|
||||
plane = {
|
||||
@ -887,7 +887,7 @@ sketch002 = startSketchOn({
|
||||
|> angledLine([-86, segLen(seg02)], %)
|
||||
|> line(end = [-3.97, -0.53])
|
||||
|> line(end = [0.3, 0.84])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
`,
|
||||
lineOfInterest: 'startProfileAt([4.46, 5.12], %, $tag)',
|
||||
|
@ -173,7 +173,7 @@ describe('Testing getPathToExtrudeForSegmentSelection', () => {
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)`
|
||||
const selectedSegmentSnippet = `line(end = [20, 0])`
|
||||
@ -190,7 +190,7 @@ extrude001 = extrude(sketch001, length = -15)`
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> extrude(length = 15)`
|
||||
const selectedSegmentSnippet = `line(end = [20, 0])`
|
||||
@ -207,21 +207,21 @@ extrude001 = extrude(sketch001, length = -15)`
|
||||
|> line(end = [15, 0])
|
||||
|> line(end = [0, -15])
|
||||
|> line(end = [-15, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
sketch002 = startSketchOn('XY')
|
||||
|> startProfileAt([30, 30], %)
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
sketch003 = startSketchOn('XY')
|
||||
|> startProfileAt([30, -30], %)
|
||||
|> line(end = [25, 0])
|
||||
|> line(end = [0, -25])
|
||||
|> line(end = [-25, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
extrude002 = extrude(sketch002, length = -15)
|
||||
@ -240,21 +240,21 @@ extrude003 = extrude(sketch003, length = -15)`
|
||||
|> line(end = [15, 0])
|
||||
|> line(end = [0, -15])
|
||||
|> line(end = [-15, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
sketch002 = startSketchOn('XY')
|
||||
|> startProfileAt([30, 30], %)
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
sketch003 = startSketchOn('XY')
|
||||
|> startProfileAt([30, -30], %)
|
||||
|> line(end = [25, 0])
|
||||
|> line(end = [0, -25])
|
||||
|> line(end = [-25, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
extrude003 = extrude(sketch003, length = -15)`
|
||||
@ -400,7 +400,7 @@ Object.values(EdgeTreatmentType).forEach(
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)`
|
||||
const segmentSnippets = ['line(end = [0, -20])']
|
||||
@ -409,7 +409,7 @@ extrude001 = extrude(sketch001, length = -15)`
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20], tag = $seg01)
|
||||
|> line(end = [-20, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
|> ${edgeTreatmentType}({ ${parameterName} = 3, tags = [seg01] }, %)`
|
||||
@ -427,7 +427,7 @@ extrude001 = extrude(sketch001, length = -15)
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> extrude(length = -15)`
|
||||
const segmentSnippets = ['line(end = [0, -20])']
|
||||
@ -436,7 +436,7 @@ extrude001 = extrude(sketch001, length = -15)
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20], tag = $seg01)
|
||||
|> line(end = [-20, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> extrude(length = -15)
|
||||
|> ${edgeTreatmentType}({ ${parameterName} = 3, tags = [seg01] }, %)`
|
||||
@ -454,7 +454,7 @@ extrude001 = extrude(sketch001, length = -15)
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20], tag = $seg01)
|
||||
|> line(end = [-20, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)`
|
||||
const segmentSnippets = ['line(end = [0, -20], tag = $seg01)']
|
||||
@ -463,7 +463,7 @@ extrude001 = extrude(sketch001, length = -15)`
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20], tag = $seg01)
|
||||
|> line(end = [-20, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
|> ${edgeTreatmentType}({ ${parameterName} = 3, tags = [seg01] }, %)`
|
||||
@ -481,7 +481,7 @@ extrude001 = extrude(sketch001, length = -15)
|
||||
|> line(end = [20, 0], tag = $seg01)
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)`
|
||||
const segmentSnippets = ['line(end = [-20, 0])']
|
||||
@ -490,7 +490,7 @@ extrude001 = extrude(sketch001, length = -15)`
|
||||
|> line(end = [20, 0], tag = $seg01)
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0], tag = $seg02)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
|> ${edgeTreatmentType}({ ${parameterName} = 3, tags = [seg02] }, %)`
|
||||
@ -508,7 +508,7 @@ extrude001 = extrude(sketch001, length = -15)
|
||||
|> line(end = [20, 0], tag = $seg01)
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
|> fillet({ radius = 5, tags = [seg01] }, %)`
|
||||
@ -518,7 +518,7 @@ extrude001 = extrude(sketch001, length = -15)
|
||||
|> line(end = [20, 0], tag = $seg01)
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0], tag = $seg02)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
|> fillet({ radius = 5, tags = [seg01] }, %)
|
||||
@ -537,7 +537,7 @@ extrude001 = extrude(sketch001, length = -15)
|
||||
|> line(end = [20, 0], tag = $seg01)
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
|> chamfer({ length = 5, tags = [seg01] }, %)`
|
||||
@ -547,7 +547,7 @@ extrude001 = extrude(sketch001, length = -15)
|
||||
|> line(end = [20, 0], tag = $seg01)
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0], tag = $seg02)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
|> chamfer({ length = 5, tags = [seg01] }, %)
|
||||
@ -566,7 +566,7 @@ extrude001 = extrude(sketch001, length = -15)
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)`
|
||||
const segmentSnippets = ['line(end = [20, 0])', 'line(end = [-20, 0])']
|
||||
@ -575,7 +575,7 @@ extrude001 = extrude(sketch001, length = -15)`
|
||||
|> line(end = [20, 0], tag = $seg01)
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0], tag = $seg02)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
|> ${edgeTreatmentType}({ ${parameterName} = 3, tags = [seg01, seg02] }, %)`
|
||||
@ -593,7 +593,7 @@ extrude001 = extrude(sketch001, length = -15)
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
sketch002 = startSketchOn('XY')
|
||||
@ -601,7 +601,7 @@ sketch002 = startSketchOn('XY')
|
||||
|> line(end = [15, 0])
|
||||
|> line(end = [0, -15])
|
||||
|> line(end = [-15, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude002 = extrude(sketch002, length = -25)` // <--- body 2
|
||||
const segmentSnippets = [
|
||||
@ -614,7 +614,7 @@ extrude002 = extrude(sketch002, length = -25)` // <--- body 2
|
||||
|> line(end = [20, 0], tag = $seg01)
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0], tag = $seg02)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
|> ${edgeTreatmentType}({ ${parameterName} = 3, tags = [seg01, seg02] }, %)
|
||||
@ -623,7 +623,7 @@ sketch002 = startSketchOn('XY')
|
||||
|> line(end = [15, 0])
|
||||
|> line(end = [0, -15], tag = $seg03)
|
||||
|> line(end = [-15, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude002 = extrude(sketch002, length = -25)
|
||||
|> ${edgeTreatmentType}({ ${parameterName} = 3, tags = [seg03] }, %)` // <-- able to add a new one
|
||||
@ -644,7 +644,7 @@ extrude002 = extrude(sketch002, length = -25)
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0], tag = $seg01)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
|> ${edgeTreatmentType}({ ${parameterName} = 3, tags = [seg01] }, %)`
|
||||
@ -654,7 +654,7 @@ extrude001 = extrude(sketch001, length = -15)
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0], tag = $seg01)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)`
|
||||
|
||||
@ -670,7 +670,7 @@ extrude001 = extrude(sketch001, length = -15)`
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0], tag = $seg01)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
fillet001 = ${edgeTreatmentType}({ ${parameterName} = 3, tags = [seg01] }, extrude001)`
|
||||
@ -680,7 +680,7 @@ fillet001 = ${edgeTreatmentType}({ ${parameterName} = 3, tags = [seg01] }, extru
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0], tag = $seg01)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)`
|
||||
|
||||
@ -697,7 +697,7 @@ extrude001 = extrude(sketch001, length = -15)`
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0], tag = $seg01)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
fillet001 = ${edgeTreatmentType}({ ${parameterName} = 3, tags = [getOppositeEdge(seg01)] }, extrude001)`
|
||||
@ -707,7 +707,7 @@ fillet001 = ${edgeTreatmentType}({ ${parameterName} = 3, tags = [getOppositeEdge
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0], tag = $seg01)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)`
|
||||
|
||||
@ -723,7 +723,7 @@ extrude001 = extrude(sketch001, length = -15)`
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0], tag = $seg01)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
fillet001 = ${edgeTreatmentType}({ ${parameterName} = 3, tags = [getNextAdjacentEdge(seg01)] }, extrude001)`
|
||||
@ -733,7 +733,7 @@ fillet001 = ${edgeTreatmentType}({ ${parameterName} = 3, tags = [getNextAdjacent
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0], tag = $seg01)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)`
|
||||
|
||||
@ -750,7 +750,7 @@ extrude001 = extrude(sketch001, length = -15)`
|
||||
|> line(end = [20, 0], tag = $seg01)
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0], tag = $seg02)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
|> ${edgeTreatmentType}({ ${parameterName} = 3, tags = [seg01] }, %)
|
||||
@ -763,7 +763,7 @@ chamfer001 = chamfer({ length = 5, tags = [getOppositeEdge(seg01)] }, extrude001
|
||||
|> line(end = [20, 0], tag = $seg01)
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0], tag = $seg02)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
|> fillet({
|
||||
@ -788,7 +788,7 @@ chamfer001 = chamfer({
|
||||
|> line(end = [20, 0], tag = $seg01)
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0], tag = $seg02)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
|> ${edgeTreatmentType}({ ${parameterName} = 3, tags = [seg01] }, %)
|
||||
@ -801,7 +801,7 @@ chamfer001 = chamfer({ length = 5, tags = [getOppositeEdge(seg01)] }, extrude001
|
||||
|> line(end = [20, 0], tag = $seg01)
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0], tag = $seg02)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -15)
|
||||
|> ${edgeTreatmentType}({ ${parameterName} = 3, tags = [seg01] }, %)
|
||||
@ -934,7 +934,7 @@ describe('Testing button states', () => {
|
||||
|> line(end = [0, 10])
|
||||
|> line(end = [10, 0])
|
||||
|> line(end = [0, -10])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -10)
|
||||
`
|
||||
@ -944,7 +944,7 @@ describe('Testing button states', () => {
|
||||
|> line(end = [0, 10])
|
||||
|> line(end = [10, 0])
|
||||
|> line(end = [0, -10])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
`
|
||||
// body is missing
|
||||
|
@ -496,7 +496,7 @@ sketch002 = startSketchOn(extrude001, seg01)
|
||||
|> startProfileAt([-12.94, 6.6], %)
|
||||
|> line(end = [2.45, -0.2])
|
||||
|> line(end = [-2, -1.25])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
sketch003 = startSketchOn(extrude001, 'END')
|
||||
|> startProfileAt([8.14, 2.8], %)
|
||||
@ -506,7 +506,7 @@ sketch003 = startSketchOn(extrude001, 'END')
|
||||
|> line(end = [3.12, 1.74])
|
||||
|> line(end = [1.91, -4.09])
|
||||
|> line(end = [-5.6, -2.75])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> extrude(length = 3.14)
|
||||
`
|
||||
@ -573,7 +573,7 @@ sketch002 = startSketchOn(extrude001, $seg01)
|
||||
|> startProfileAt([-12.94, 6.6], %)
|
||||
|> line(end = [2.45, -0.2])
|
||||
|> line(end = [-2, -1.25])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
`
|
||||
const ast = assertParse(exampleCode)
|
||||
@ -752,7 +752,7 @@ describe('Testing specific sketch getNodeFromPath workflow', () => {
|
||||
|> xLine(-0.15, %)
|
||||
|> line([-0.02, 0.21], %)
|
||||
|> line([-0.08, 0.05], %)
|
||||
|> lineTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> lineTo(profileStart(%), %)
|
||||
`
|
||||
expect(recasted).toEqual(expectedCode)
|
||||
})
|
||||
@ -766,7 +766,7 @@ describe('Testing specific sketch getNodeFromPath workflow', () => {
|
||||
|> xLine(-0.15, %)
|
||||
|> line([-0.02, 0.21], %)
|
||||
|> line([-0.08, 0.05], %)
|
||||
|> lineTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> lineTo(profileStart(%), %)
|
||||
`
|
||||
const ast = assertParse(openSketch)
|
||||
const sketchSnippet = `startProfileAt([0.02, 0.22], %)`
|
||||
@ -792,7 +792,7 @@ describe('Testing specific sketch getNodeFromPath workflow', () => {
|
||||
|> xLine(-0.15, %)
|
||||
|> line([-0.02, 0.21], %)
|
||||
|> line([-0.08, 0.05], %)
|
||||
|> lineTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> lineTo(profileStart(%), %)
|
||||
|> close()
|
||||
`
|
||||
expect(recasted).toEqual(expectedCode)
|
||||
|
@ -289,7 +289,7 @@ describe('testing addTagForSketchOnFace', () => {
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)], tag = $seg02)
|
||||
|> line(endAbsolute = profileStart(%), tag = $seg02)
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 100)
|
||||
${insertCode}
|
||||
|
@ -144,14 +144,14 @@ describe('testing transformAstForSketchLines for equal length constraint', () =>
|
||||
|> startProfileAt([0, 0], %)
|
||||
|> line(end = [5, 5])
|
||||
|> line(end = [-2, 5])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()`
|
||||
|
||||
const expectedModifiedScript = `sketch001 = startSketchOn('XZ')
|
||||
|> startProfileAt([0, 0], %)
|
||||
|> line(end = [5, 5], tag = $seg01)
|
||||
|> angledLine([112, segLen(seg01)], %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
`
|
||||
|
||||
|
@ -29,7 +29,7 @@ describe('library rectangleTool helper functions', () => {
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
`
|
||||
// Create ast
|
||||
@ -82,7 +82,7 @@ segAng(rectangleSegmentA001),
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
`
|
||||
const recasted = recast(ast)
|
||||
|
@ -73,10 +73,7 @@ export const getRectangleCallExpressions = (
|
||||
createCallExpressionStdLibKw('line', null, [
|
||||
createLabeledArg(
|
||||
'endAbsolute',
|
||||
createArrayExpression([
|
||||
createCallExpressionStdLib('profileStartX', [createPipeSubstitution()]),
|
||||
createCallExpressionStdLib('profileStartY', [createPipeSubstitution()]),
|
||||
])
|
||||
createCallExpressionStdLib('profileStart', [createPipeSubstitution()])
|
||||
),
|
||||
]), // close the rectangle
|
||||
createCallExpressionStdLibKw('close', null, []),
|
||||
|
@ -7,7 +7,7 @@ test('normaliseKclNumbers', () => {
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001 = extrude(sketch001, length = -15)`)
|
||||
).toBe(`sketch001 = startSketchOn('XY')
|
||||
@ -15,7 +15,7 @@ const extrude001 = extrude(sketch001, length = -15)`)
|
||||
|> line(end = [12.34, 0])
|
||||
|> line(end = [0, -12.34])
|
||||
|> line(end = [-12.34, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001 = extrude(sketch001, length = -12.34)`)
|
||||
expect(
|
||||
@ -25,7 +25,7 @@ const extrude001 = extrude(sketch001, length = -12.34)`)
|
||||
|> line(end = [20, 0])
|
||||
|> line(end = [0, -20])
|
||||
|> line(end = [-20, 0])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001 = extrude(sketch001, length = -15)`,
|
||||
false
|
||||
@ -35,7 +35,7 @@ const extrude001 = extrude(sketch001, length = -15)`,
|
||||
|> line(end = [12.34, 12.34])
|
||||
|> line(end = [12.34, -12.34])
|
||||
|> line(end = [-12.34, 12.34])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001 = extrude(sketch001, length = -12.34)`)
|
||||
})
|
||||
|
@ -4240,7 +4240,7 @@ shell({ faces = ['end'], thickness = 0.25 }, firstSketch)"#;
|
||||
|> xLine(305.11, %, $seg01)
|
||||
|> yLine(-291.85, %)
|
||||
|> xLine(-segLen(seg01), %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> extrude(length = 40.14)
|
||||
|> shell({
|
||||
@ -4269,7 +4269,7 @@ shell({ faces = ['end'], thickness = 0.25 }, firstSketch)"#;
|
||||
|> xLine(305.11, %, $seg01)
|
||||
|> yLine(-291.85, %)
|
||||
|> xLine(-segLen(seg01), %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> extrude(length = 40.14)
|
||||
|> shell({
|
||||
|
@ -92,7 +92,7 @@ pub async fn chamfer(exec_state: &mut ExecState, args: Args) -> Result<KclValue,
|
||||
/// |> line(end = [2, 0])
|
||||
/// |> line(end = [0, 2])
|
||||
/// |> line(end = [-2, 0])
|
||||
/// |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
/// |> line(endAbsolute = profileStart(%))
|
||||
/// |> close()
|
||||
/// |> extrude(length = 10)
|
||||
/// ```
|
||||
|
@ -54,14 +54,14 @@ pub async fn loft(exec_state: &mut ExecState, args: Args) -> Result<KclValue, Kc
|
||||
/// |> line(end = [200, 0])
|
||||
/// |> line(end = [0, -200])
|
||||
/// |> line(end = [-200, 0])
|
||||
/// |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
/// |> line(endAbsolute = profileStart(%))
|
||||
/// |> close()
|
||||
///
|
||||
/// triangleSketch = startSketchOn(offsetPlane('XY', 75))
|
||||
/// |> startProfileAt([0, 125], %)
|
||||
/// |> line(end = [-15, -30])
|
||||
/// |> line(end = [30, 0])
|
||||
/// |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
/// |> line(endAbsolute = profileStart(%))
|
||||
/// |> close()
|
||||
///
|
||||
/// loft([squareSketch, triangleSketch])
|
||||
@ -74,7 +74,7 @@ pub async fn loft(exec_state: &mut ExecState, args: Args) -> Result<KclValue, Kc
|
||||
/// |> line(end = [200, 0])
|
||||
/// |> line(end = [0, -200])
|
||||
/// |> line(end = [-200, 0])
|
||||
/// |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
/// |> line(endAbsolute = profileStart(%))
|
||||
/// |> close()
|
||||
///
|
||||
/// circleSketch0 = startSketchOn(offsetPlane('XY', 75))
|
||||
@ -93,7 +93,7 @@ pub async fn loft(exec_state: &mut ExecState, args: Args) -> Result<KclValue, Kc
|
||||
/// |> line(end = [200, 0])
|
||||
/// |> line(end = [0, -200])
|
||||
/// |> line(end = [-200, 0])
|
||||
/// |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
/// |> line(endAbsolute = profileStart(%))
|
||||
/// |> close()
|
||||
///
|
||||
/// circleSketch0 = startSketchOn(offsetPlane('XY', 75))
|
||||
|
@ -70,7 +70,7 @@ pub async fn offset_plane(exec_state: &mut ExecState, args: Args) -> Result<KclV
|
||||
/// |> line(end = [200, 0])
|
||||
/// |> line(end = [0, -200])
|
||||
/// |> line(end = [-200, 0])
|
||||
/// |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
/// |> line(endAbsolute = profileStart(%))
|
||||
/// |> close()
|
||||
///
|
||||
/// circleSketch = startSketchOn(offsetPlane('XY', 150))
|
||||
@ -86,7 +86,7 @@ pub async fn offset_plane(exec_state: &mut ExecState, args: Args) -> Result<KclV
|
||||
/// |> line(end = [200, 0])
|
||||
/// |> line(end = [0, -200])
|
||||
/// |> line(end = [-200, 0])
|
||||
/// |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
/// |> line(endAbsolute = profileStart(%))
|
||||
/// |> close()
|
||||
///
|
||||
/// circleSketch = startSketchOn(offsetPlane('XZ', 150))
|
||||
@ -102,7 +102,7 @@ pub async fn offset_plane(exec_state: &mut ExecState, args: Args) -> Result<KclV
|
||||
/// |> line(end = [200, 0])
|
||||
/// |> line(end = [0, -200])
|
||||
/// |> line(end = [-200, 0])
|
||||
/// |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
/// |> line(endAbsolute = profileStart(%))
|
||||
/// |> close()
|
||||
///
|
||||
/// circleSketch = startSketchOn(offsetPlane('YZ', 150))
|
||||
@ -118,7 +118,7 @@ pub async fn offset_plane(exec_state: &mut ExecState, args: Args) -> Result<KclV
|
||||
/// |> line(end = [200, 0])
|
||||
/// |> line(end = [0, -200])
|
||||
/// |> line(end = [-200, 0])
|
||||
/// |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
/// |> line(endAbsolute = profileStart(%))
|
||||
/// |> close()
|
||||
///
|
||||
/// circleSketch = startSketchOn(offsetPlane('-XZ', -150))
|
||||
|
@ -162,7 +162,7 @@ pub async fn revolve(exec_state: &mut ExecState, args: Args) -> Result<KclValue,
|
||||
/// |> startProfileAt([10, 0], %)
|
||||
/// |> line(end = [5, -5])
|
||||
/// |> line(end = [5, 5])
|
||||
/// |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
/// |> line(endAbsolute = profileStart(%))
|
||||
/// |> close()
|
||||
///
|
||||
/// part001 = revolve({
|
||||
|
@ -426,7 +426,7 @@ snapshot_kind: text
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
177,
|
||||
233,
|
||||
212,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -446,8 +446,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
239,
|
||||
246,
|
||||
218,
|
||||
225,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -458,8 +458,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
239,
|
||||
246,
|
||||
218,
|
||||
225,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -469,8 +469,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
239,
|
||||
271,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -489,8 +489,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
239,
|
||||
271,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -503,8 +503,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
239,
|
||||
271,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -514,8 +514,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
239,
|
||||
271,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -526,8 +526,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
239,
|
||||
271,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -539,8 +539,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
239,
|
||||
271,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -553,8 +553,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
239,
|
||||
271,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -567,8 +567,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
239,
|
||||
271,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -581,8 +581,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
239,
|
||||
271,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -595,8 +595,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
239,
|
||||
271,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -609,8 +609,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
239,
|
||||
271,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -623,8 +623,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
239,
|
||||
271,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -637,8 +637,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
260,
|
||||
292,
|
||||
239,
|
||||
271,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -651,8 +651,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
298,
|
||||
339,
|
||||
277,
|
||||
318,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -667,8 +667,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
390,
|
||||
417,
|
||||
369,
|
||||
396,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -683,8 +683,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
390,
|
||||
417,
|
||||
369,
|
||||
396,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -694,8 +694,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
390,
|
||||
417,
|
||||
369,
|
||||
396,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -711,8 +711,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
423,
|
||||
441,
|
||||
402,
|
||||
420,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -732,8 +732,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
447,
|
||||
466,
|
||||
426,
|
||||
445,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -753,8 +753,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
472,
|
||||
528,
|
||||
451,
|
||||
486,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -774,8 +774,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
534,
|
||||
541,
|
||||
492,
|
||||
499,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -786,8 +786,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
555,
|
||||
585,
|
||||
513,
|
||||
543,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -802,8 +802,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
555,
|
||||
585,
|
||||
513,
|
||||
543,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -816,8 +816,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
555,
|
||||
585,
|
||||
513,
|
||||
543,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -827,8 +827,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
555,
|
||||
585,
|
||||
513,
|
||||
543,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -839,8 +839,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
555,
|
||||
585,
|
||||
513,
|
||||
543,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -852,8 +852,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
555,
|
||||
585,
|
||||
513,
|
||||
543,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -866,8 +866,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
555,
|
||||
585,
|
||||
513,
|
||||
543,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -880,8 +880,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
555,
|
||||
585,
|
||||
513,
|
||||
543,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -894,8 +894,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
555,
|
||||
585,
|
||||
513,
|
||||
543,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -908,8 +908,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
555,
|
||||
585,
|
||||
513,
|
||||
543,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -922,8 +922,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
555,
|
||||
585,
|
||||
513,
|
||||
543,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
|
@ -5,20 +5,20 @@ flowchart LR
|
||||
3["Segment<br>[70, 89, 0]"]
|
||||
4["Segment<br>[95, 131, 0]"]
|
||||
5["Segment<br>[137, 171, 0]"]
|
||||
6["Segment<br>[177, 233, 0]"]
|
||||
7["Segment<br>[239, 246, 0]"]
|
||||
6["Segment<br>[177, 212, 0]"]
|
||||
7["Segment<br>[218, 225, 0]"]
|
||||
8[Solid2d]
|
||||
end
|
||||
subgraph path25 [Path]
|
||||
25["Path<br>[390, 417, 0]"]
|
||||
26["Segment<br>[423, 441, 0]"]
|
||||
27["Segment<br>[447, 466, 0]"]
|
||||
28["Segment<br>[472, 528, 0]"]
|
||||
29["Segment<br>[534, 541, 0]"]
|
||||
25["Path<br>[369, 396, 0]"]
|
||||
26["Segment<br>[402, 420, 0]"]
|
||||
27["Segment<br>[426, 445, 0]"]
|
||||
28["Segment<br>[451, 486, 0]"]
|
||||
29["Segment<br>[492, 499, 0]"]
|
||||
30[Solid2d]
|
||||
end
|
||||
1["Plane<br>[12, 31, 0]"]
|
||||
9["Sweep Extrusion<br>[260, 292, 0]"]
|
||||
9["Sweep Extrusion<br>[239, 271, 0]"]
|
||||
10[Wall]
|
||||
11[Wall]
|
||||
12[Wall]
|
||||
@ -33,8 +33,8 @@ flowchart LR
|
||||
21["SweepEdge Adjacent"]
|
||||
22["SweepEdge Opposite"]
|
||||
23["SweepEdge Adjacent"]
|
||||
24["EdgeCut Fillet<br>[298, 339, 0]"]
|
||||
31["Sweep Extrusion<br>[555, 585, 0]"]
|
||||
24["EdgeCut Fillet<br>[277, 318, 0]"]
|
||||
31["Sweep Extrusion<br>[513, 543, 0]"]
|
||||
32[Wall]
|
||||
33[Wall]
|
||||
34[Wall]
|
||||
|
@ -8,7 +8,7 @@ snapshot_kind: text
|
||||
"body": [
|
||||
{
|
||||
"declaration": {
|
||||
"end": 246,
|
||||
"end": 225,
|
||||
"id": {
|
||||
"end": 9,
|
||||
"name": "sketch001",
|
||||
@ -303,52 +303,24 @@ snapshot_kind: text
|
||||
"name": "endAbsolute"
|
||||
},
|
||||
"arg": {
|
||||
"elements": [
|
||||
"arguments": [
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"end": 212,
|
||||
"start": 211,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 210,
|
||||
"name": "profileStartX",
|
||||
"start": 197,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 213,
|
||||
"start": 197,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
},
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"end": 230,
|
||||
"start": 229,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 228,
|
||||
"name": "profileStartY",
|
||||
"start": 215,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 231,
|
||||
"start": 215,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
"end": 210,
|
||||
"start": 209,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"end": 232,
|
||||
"callee": {
|
||||
"end": 208,
|
||||
"name": "profileStart",
|
||||
"start": 196,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 211,
|
||||
"start": 196,
|
||||
"type": "ArrayExpression",
|
||||
"type": "ArrayExpression"
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
}
|
||||
}
|
||||
],
|
||||
@ -358,7 +330,7 @@ snapshot_kind: text
|
||||
"start": 177,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 233,
|
||||
"end": 212,
|
||||
"start": 177,
|
||||
"type": "CallExpressionKw",
|
||||
"type": "CallExpressionKw",
|
||||
@ -367,18 +339,18 @@ snapshot_kind: text
|
||||
{
|
||||
"arguments": [],
|
||||
"callee": {
|
||||
"end": 244,
|
||||
"end": 223,
|
||||
"name": "close",
|
||||
"start": 239,
|
||||
"start": 218,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 246,
|
||||
"start": 239,
|
||||
"end": 225,
|
||||
"start": 218,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
}
|
||||
],
|
||||
"end": 246,
|
||||
"end": 225,
|
||||
"start": 12,
|
||||
"type": "PipeExpression",
|
||||
"type": "PipeExpression"
|
||||
@ -386,7 +358,7 @@ snapshot_kind: text
|
||||
"start": 0,
|
||||
"type": "VariableDeclarator"
|
||||
},
|
||||
"end": 246,
|
||||
"end": 225,
|
||||
"kind": "const",
|
||||
"start": 0,
|
||||
"type": "VariableDeclaration",
|
||||
@ -394,11 +366,11 @@ snapshot_kind: text
|
||||
},
|
||||
{
|
||||
"declaration": {
|
||||
"end": 339,
|
||||
"end": 318,
|
||||
"id": {
|
||||
"end": 257,
|
||||
"end": 236,
|
||||
"name": "extrude001",
|
||||
"start": 247,
|
||||
"start": 226,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"init": {
|
||||
@ -413,9 +385,9 @@ snapshot_kind: text
|
||||
},
|
||||
"arg": {
|
||||
"argument": {
|
||||
"end": 291,
|
||||
"end": 270,
|
||||
"raw": "10",
|
||||
"start": 289,
|
||||
"start": 268,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -423,28 +395,28 @@ snapshot_kind: text
|
||||
"suffix": "None"
|
||||
}
|
||||
},
|
||||
"end": 291,
|
||||
"end": 270,
|
||||
"operator": "-",
|
||||
"start": 288,
|
||||
"start": 267,
|
||||
"type": "UnaryExpression",
|
||||
"type": "UnaryExpression"
|
||||
}
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 267,
|
||||
"end": 246,
|
||||
"name": "extrude",
|
||||
"start": 260,
|
||||
"start": 239,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 292,
|
||||
"start": 260,
|
||||
"end": 271,
|
||||
"start": 239,
|
||||
"type": "CallExpressionKw",
|
||||
"type": "CallExpressionKw",
|
||||
"unlabeled": {
|
||||
"end": 277,
|
||||
"end": 256,
|
||||
"name": "sketch001",
|
||||
"start": 268,
|
||||
"start": 247,
|
||||
"type": "Identifier",
|
||||
"type": "Identifier"
|
||||
}
|
||||
@ -452,22 +424,22 @@ snapshot_kind: text
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"end": 335,
|
||||
"end": 314,
|
||||
"properties": [
|
||||
{
|
||||
"end": 317,
|
||||
"end": 296,
|
||||
"key": {
|
||||
"end": 313,
|
||||
"end": 292,
|
||||
"name": "radius",
|
||||
"start": 307,
|
||||
"start": 286,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"start": 307,
|
||||
"start": 286,
|
||||
"type": "ObjectProperty",
|
||||
"value": {
|
||||
"end": 317,
|
||||
"end": 296,
|
||||
"raw": "5",
|
||||
"start": 316,
|
||||
"start": 295,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -477,76 +449,76 @@ snapshot_kind: text
|
||||
}
|
||||
},
|
||||
{
|
||||
"end": 333,
|
||||
"end": 312,
|
||||
"key": {
|
||||
"end": 323,
|
||||
"end": 302,
|
||||
"name": "tags",
|
||||
"start": 319,
|
||||
"start": 298,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"start": 319,
|
||||
"start": 298,
|
||||
"type": "ObjectProperty",
|
||||
"value": {
|
||||
"elements": [
|
||||
{
|
||||
"end": 332,
|
||||
"end": 311,
|
||||
"name": "seg01",
|
||||
"start": 327,
|
||||
"start": 306,
|
||||
"type": "Identifier",
|
||||
"type": "Identifier"
|
||||
}
|
||||
],
|
||||
"end": 333,
|
||||
"start": 326,
|
||||
"end": 312,
|
||||
"start": 305,
|
||||
"type": "ArrayExpression",
|
||||
"type": "ArrayExpression"
|
||||
}
|
||||
}
|
||||
],
|
||||
"start": 305,
|
||||
"start": 284,
|
||||
"type": "ObjectExpression",
|
||||
"type": "ObjectExpression"
|
||||
},
|
||||
{
|
||||
"end": 338,
|
||||
"start": 337,
|
||||
"end": 317,
|
||||
"start": 316,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 304,
|
||||
"end": 283,
|
||||
"name": "fillet",
|
||||
"start": 298,
|
||||
"start": 277,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 339,
|
||||
"start": 298,
|
||||
"end": 318,
|
||||
"start": 277,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
}
|
||||
],
|
||||
"end": 339,
|
||||
"start": 260,
|
||||
"end": 318,
|
||||
"start": 239,
|
||||
"type": "PipeExpression",
|
||||
"type": "PipeExpression"
|
||||
},
|
||||
"start": 247,
|
||||
"start": 226,
|
||||
"type": "VariableDeclarator"
|
||||
},
|
||||
"end": 339,
|
||||
"end": 318,
|
||||
"kind": "const",
|
||||
"start": 247,
|
||||
"start": 226,
|
||||
"type": "VariableDeclaration",
|
||||
"type": "VariableDeclaration"
|
||||
},
|
||||
{
|
||||
"declaration": {
|
||||
"end": 541,
|
||||
"end": 499,
|
||||
"id": {
|
||||
"end": 349,
|
||||
"end": 328,
|
||||
"name": "sketch002",
|
||||
"start": 340,
|
||||
"start": 319,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"init": {
|
||||
@ -554,28 +526,28 @@ snapshot_kind: text
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"end": 376,
|
||||
"end": 355,
|
||||
"name": "extrude001",
|
||||
"start": 366,
|
||||
"start": 345,
|
||||
"type": "Identifier",
|
||||
"type": "Identifier"
|
||||
},
|
||||
{
|
||||
"end": 383,
|
||||
"end": 362,
|
||||
"name": "seg02",
|
||||
"start": 378,
|
||||
"start": 357,
|
||||
"type": "Identifier",
|
||||
"type": "Identifier"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 365,
|
||||
"end": 344,
|
||||
"name": "startSketchOn",
|
||||
"start": 352,
|
||||
"start": 331,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 384,
|
||||
"start": 352,
|
||||
"end": 363,
|
||||
"start": 331,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
},
|
||||
@ -585,9 +557,9 @@ snapshot_kind: text
|
||||
"elements": [
|
||||
{
|
||||
"argument": {
|
||||
"end": 408,
|
||||
"end": 387,
|
||||
"raw": "2",
|
||||
"start": 407,
|
||||
"start": 386,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -595,17 +567,17 @@ snapshot_kind: text
|
||||
"suffix": "None"
|
||||
}
|
||||
},
|
||||
"end": 408,
|
||||
"end": 387,
|
||||
"operator": "-",
|
||||
"start": 406,
|
||||
"start": 385,
|
||||
"type": "UnaryExpression",
|
||||
"type": "UnaryExpression"
|
||||
},
|
||||
{
|
||||
"argument": {
|
||||
"end": 412,
|
||||
"end": 391,
|
||||
"raw": "6",
|
||||
"start": 411,
|
||||
"start": 390,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -613,33 +585,33 @@ snapshot_kind: text
|
||||
"suffix": "None"
|
||||
}
|
||||
},
|
||||
"end": 412,
|
||||
"end": 391,
|
||||
"operator": "-",
|
||||
"start": 410,
|
||||
"start": 389,
|
||||
"type": "UnaryExpression",
|
||||
"type": "UnaryExpression"
|
||||
}
|
||||
],
|
||||
"end": 413,
|
||||
"start": 405,
|
||||
"end": 392,
|
||||
"start": 384,
|
||||
"type": "ArrayExpression",
|
||||
"type": "ArrayExpression"
|
||||
},
|
||||
{
|
||||
"end": 416,
|
||||
"start": 415,
|
||||
"end": 395,
|
||||
"start": 394,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 404,
|
||||
"end": 383,
|
||||
"name": "startProfileAt",
|
||||
"start": 390,
|
||||
"start": 369,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 417,
|
||||
"start": 390,
|
||||
"end": 396,
|
||||
"start": 369,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
},
|
||||
@ -654,9 +626,9 @@ snapshot_kind: text
|
||||
"arg": {
|
||||
"elements": [
|
||||
{
|
||||
"end": 436,
|
||||
"end": 415,
|
||||
"raw": "2",
|
||||
"start": 435,
|
||||
"start": 414,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -665,9 +637,9 @@ snapshot_kind: text
|
||||
}
|
||||
},
|
||||
{
|
||||
"end": 439,
|
||||
"end": 418,
|
||||
"raw": "3",
|
||||
"start": 438,
|
||||
"start": 417,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -676,21 +648,21 @@ snapshot_kind: text
|
||||
}
|
||||
}
|
||||
],
|
||||
"end": 440,
|
||||
"start": 434,
|
||||
"end": 419,
|
||||
"start": 413,
|
||||
"type": "ArrayExpression",
|
||||
"type": "ArrayExpression"
|
||||
}
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 427,
|
||||
"end": 406,
|
||||
"name": "line",
|
||||
"start": 423,
|
||||
"start": 402,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 441,
|
||||
"start": 423,
|
||||
"end": 420,
|
||||
"start": 402,
|
||||
"type": "CallExpressionKw",
|
||||
"type": "CallExpressionKw",
|
||||
"unlabeled": null
|
||||
@ -706,9 +678,9 @@ snapshot_kind: text
|
||||
"arg": {
|
||||
"elements": [
|
||||
{
|
||||
"end": 460,
|
||||
"end": 439,
|
||||
"raw": "2",
|
||||
"start": 459,
|
||||
"start": 438,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -718,9 +690,9 @@ snapshot_kind: text
|
||||
},
|
||||
{
|
||||
"argument": {
|
||||
"end": 464,
|
||||
"end": 443,
|
||||
"raw": "3",
|
||||
"start": 463,
|
||||
"start": 442,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -728,28 +700,28 @@ snapshot_kind: text
|
||||
"suffix": "None"
|
||||
}
|
||||
},
|
||||
"end": 464,
|
||||
"end": 443,
|
||||
"operator": "-",
|
||||
"start": 462,
|
||||
"start": 441,
|
||||
"type": "UnaryExpression",
|
||||
"type": "UnaryExpression"
|
||||
}
|
||||
],
|
||||
"end": 465,
|
||||
"start": 458,
|
||||
"end": 444,
|
||||
"start": 437,
|
||||
"type": "ArrayExpression",
|
||||
"type": "ArrayExpression"
|
||||
}
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 451,
|
||||
"end": 430,
|
||||
"name": "line",
|
||||
"start": 447,
|
||||
"start": 426,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 466,
|
||||
"start": 447,
|
||||
"end": 445,
|
||||
"start": 426,
|
||||
"type": "CallExpressionKw",
|
||||
"type": "CallExpressionKw",
|
||||
"unlabeled": null
|
||||
@ -763,63 +735,35 @@ snapshot_kind: text
|
||||
"name": "endAbsolute"
|
||||
},
|
||||
"arg": {
|
||||
"elements": [
|
||||
"arguments": [
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"end": 507,
|
||||
"start": 506,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 505,
|
||||
"name": "profileStartX",
|
||||
"start": 492,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 508,
|
||||
"start": 492,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
},
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"end": 525,
|
||||
"start": 524,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 523,
|
||||
"name": "profileStartY",
|
||||
"start": 510,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 526,
|
||||
"start": 510,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
"end": 484,
|
||||
"start": 483,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"end": 527,
|
||||
"start": 491,
|
||||
"type": "ArrayExpression",
|
||||
"type": "ArrayExpression"
|
||||
"callee": {
|
||||
"end": 482,
|
||||
"name": "profileStart",
|
||||
"start": 470,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 485,
|
||||
"start": 470,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
}
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 476,
|
||||
"end": 455,
|
||||
"name": "line",
|
||||
"start": 472,
|
||||
"start": 451,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 528,
|
||||
"start": 472,
|
||||
"end": 486,
|
||||
"start": 451,
|
||||
"type": "CallExpressionKw",
|
||||
"type": "CallExpressionKw",
|
||||
"unlabeled": null
|
||||
@ -827,38 +771,38 @@ snapshot_kind: text
|
||||
{
|
||||
"arguments": [],
|
||||
"callee": {
|
||||
"end": 539,
|
||||
"end": 497,
|
||||
"name": "close",
|
||||
"start": 534,
|
||||
"start": 492,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 541,
|
||||
"start": 534,
|
||||
"end": 499,
|
||||
"start": 492,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
}
|
||||
],
|
||||
"end": 541,
|
||||
"start": 352,
|
||||
"end": 499,
|
||||
"start": 331,
|
||||
"type": "PipeExpression",
|
||||
"type": "PipeExpression"
|
||||
},
|
||||
"start": 340,
|
||||
"start": 319,
|
||||
"type": "VariableDeclarator"
|
||||
},
|
||||
"end": 541,
|
||||
"end": 499,
|
||||
"kind": "const",
|
||||
"start": 340,
|
||||
"start": 319,
|
||||
"type": "VariableDeclaration",
|
||||
"type": "VariableDeclaration"
|
||||
},
|
||||
{
|
||||
"declaration": {
|
||||
"end": 585,
|
||||
"end": 543,
|
||||
"id": {
|
||||
"end": 552,
|
||||
"end": 510,
|
||||
"name": "extrude002",
|
||||
"start": 542,
|
||||
"start": 500,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"init": {
|
||||
@ -870,9 +814,9 @@ snapshot_kind: text
|
||||
"name": "length"
|
||||
},
|
||||
"arg": {
|
||||
"end": 584,
|
||||
"end": 542,
|
||||
"raw": "5",
|
||||
"start": 583,
|
||||
"start": 541,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -883,34 +827,34 @@ snapshot_kind: text
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 562,
|
||||
"end": 520,
|
||||
"name": "extrude",
|
||||
"start": 555,
|
||||
"start": 513,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 585,
|
||||
"start": 555,
|
||||
"end": 543,
|
||||
"start": 513,
|
||||
"type": "CallExpressionKw",
|
||||
"type": "CallExpressionKw",
|
||||
"unlabeled": {
|
||||
"end": 572,
|
||||
"end": 530,
|
||||
"name": "sketch002",
|
||||
"start": 563,
|
||||
"start": 521,
|
||||
"type": "Identifier",
|
||||
"type": "Identifier"
|
||||
}
|
||||
},
|
||||
"start": 542,
|
||||
"start": 500,
|
||||
"type": "VariableDeclarator"
|
||||
},
|
||||
"end": 585,
|
||||
"end": 543,
|
||||
"kind": "const",
|
||||
"start": 542,
|
||||
"start": 500,
|
||||
"type": "VariableDeclaration",
|
||||
"type": "VariableDeclaration"
|
||||
}
|
||||
],
|
||||
"end": 586,
|
||||
"end": 544,
|
||||
"start": 0
|
||||
}
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ sketch001 = startSketchOn('XY')
|
||||
|> line(end = [0, 10])
|
||||
|> line(end = [10.55, 0], tag = $seg01)
|
||||
|> line(end = [0, -10], tag = $seg02)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = -10)
|
||||
|> fillet({ radius = 5, tags = [seg01] }, %)
|
||||
@ -11,6 +11,6 @@ sketch002 = startSketchOn(extrude001, seg02)
|
||||
|> startProfileAt([-2, -6], %)
|
||||
|> line(end = [2, 3])
|
||||
|> line(end = [2, -3])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude002 = extrude(sketch002, length = 5)
|
||||
|
@ -27,23 +27,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"length": {
|
||||
"sourceRange": [
|
||||
288,
|
||||
291,
|
||||
267,
|
||||
270,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "extrude",
|
||||
"sourceRange": [
|
||||
260,
|
||||
292,
|
||||
239,
|
||||
271,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": {
|
||||
"sourceRange": [
|
||||
268,
|
||||
277,
|
||||
247,
|
||||
256,
|
||||
0
|
||||
]
|
||||
}
|
||||
@ -52,23 +52,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
305,
|
||||
335,
|
||||
284,
|
||||
314,
|
||||
0
|
||||
]
|
||||
},
|
||||
"solid": {
|
||||
"sourceRange": [
|
||||
337,
|
||||
338,
|
||||
316,
|
||||
317,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "fillet",
|
||||
"sourceRange": [
|
||||
298,
|
||||
339,
|
||||
277,
|
||||
318,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
@ -78,23 +78,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
366,
|
||||
376,
|
||||
345,
|
||||
355,
|
||||
0
|
||||
]
|
||||
},
|
||||
"tag": {
|
||||
"sourceRange": [
|
||||
378,
|
||||
383,
|
||||
357,
|
||||
362,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "startSketchOn",
|
||||
"sourceRange": [
|
||||
352,
|
||||
384,
|
||||
331,
|
||||
363,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
@ -104,23 +104,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"length": {
|
||||
"sourceRange": [
|
||||
583,
|
||||
584,
|
||||
541,
|
||||
542,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "extrude",
|
||||
"sourceRange": [
|
||||
555,
|
||||
585,
|
||||
513,
|
||||
543,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": {
|
||||
"sourceRange": [
|
||||
563,
|
||||
572,
|
||||
521,
|
||||
530,
|
||||
0
|
||||
]
|
||||
}
|
||||
|
@ -81,7 +81,7 @@ snapshot_kind: text
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
177,
|
||||
233,
|
||||
212,
|
||||
0
|
||||
],
|
||||
"tag": null,
|
||||
@ -167,7 +167,7 @@ snapshot_kind: text
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
177,
|
||||
233,
|
||||
212,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -186,8 +186,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
239,
|
||||
246,
|
||||
218,
|
||||
225,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -420,8 +420,8 @@ snapshot_kind: text
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
423,
|
||||
441,
|
||||
402,
|
||||
420,
|
||||
0
|
||||
],
|
||||
"tag": null,
|
||||
@ -431,8 +431,8 @@ snapshot_kind: text
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
447,
|
||||
466,
|
||||
426,
|
||||
445,
|
||||
0
|
||||
],
|
||||
"tag": null,
|
||||
@ -442,8 +442,8 @@ snapshot_kind: text
|
||||
"faceId": "[uuid]",
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
472,
|
||||
528,
|
||||
451,
|
||||
486,
|
||||
0
|
||||
],
|
||||
"tag": null,
|
||||
@ -458,8 +458,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
423,
|
||||
441,
|
||||
402,
|
||||
420,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -478,8 +478,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
447,
|
||||
466,
|
||||
426,
|
||||
445,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -498,8 +498,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
472,
|
||||
528,
|
||||
451,
|
||||
486,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -518,8 +518,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
534,
|
||||
541,
|
||||
492,
|
||||
499,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -606,7 +606,7 @@ snapshot_kind: text
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
177,
|
||||
233,
|
||||
212,
|
||||
0
|
||||
],
|
||||
"tag": null,
|
||||
@ -692,7 +692,7 @@ snapshot_kind: text
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
177,
|
||||
233,
|
||||
212,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -711,8 +711,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
239,
|
||||
246,
|
||||
218,
|
||||
225,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -940,8 +940,8 @@ snapshot_kind: text
|
||||
"__meta": [
|
||||
{
|
||||
"sourceRange": [
|
||||
352,
|
||||
384,
|
||||
331,
|
||||
363,
|
||||
0
|
||||
]
|
||||
}
|
||||
@ -960,8 +960,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
390,
|
||||
417,
|
||||
369,
|
||||
396,
|
||||
0
|
||||
]
|
||||
}
|
||||
@ -972,8 +972,8 @@ snapshot_kind: text
|
||||
"__meta": [
|
||||
{
|
||||
"sourceRange": [
|
||||
390,
|
||||
417,
|
||||
369,
|
||||
396,
|
||||
0
|
||||
]
|
||||
}
|
||||
@ -988,8 +988,8 @@ snapshot_kind: text
|
||||
"__meta": [
|
||||
{
|
||||
"sourceRange": [
|
||||
390,
|
||||
417,
|
||||
369,
|
||||
396,
|
||||
0
|
||||
]
|
||||
}
|
||||
@ -1197,7 +1197,7 @@ snapshot_kind: text
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
177,
|
||||
233,
|
||||
212,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -1216,8 +1216,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
239,
|
||||
246,
|
||||
218,
|
||||
225,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -1425,8 +1425,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
423,
|
||||
441,
|
||||
402,
|
||||
420,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -1445,8 +1445,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
447,
|
||||
466,
|
||||
426,
|
||||
445,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -1465,8 +1465,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
472,
|
||||
528,
|
||||
451,
|
||||
486,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -1485,8 +1485,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
534,
|
||||
541,
|
||||
492,
|
||||
499,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -1573,7 +1573,7 @@ snapshot_kind: text
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
177,
|
||||
233,
|
||||
212,
|
||||
0
|
||||
],
|
||||
"tag": null,
|
||||
@ -1659,7 +1659,7 @@ snapshot_kind: text
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
177,
|
||||
233,
|
||||
212,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -1678,8 +1678,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
239,
|
||||
246,
|
||||
218,
|
||||
225,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -1907,8 +1907,8 @@ snapshot_kind: text
|
||||
"__meta": [
|
||||
{
|
||||
"sourceRange": [
|
||||
352,
|
||||
384,
|
||||
331,
|
||||
363,
|
||||
0
|
||||
]
|
||||
}
|
||||
@ -1927,8 +1927,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
390,
|
||||
417,
|
||||
369,
|
||||
396,
|
||||
0
|
||||
]
|
||||
}
|
||||
@ -1939,8 +1939,8 @@ snapshot_kind: text
|
||||
"__meta": [
|
||||
{
|
||||
"sourceRange": [
|
||||
390,
|
||||
417,
|
||||
369,
|
||||
396,
|
||||
0
|
||||
]
|
||||
}
|
||||
|
@ -426,7 +426,7 @@ snapshot_kind: text
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
359,
|
||||
415,
|
||||
394,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -446,8 +446,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
421,
|
||||
428,
|
||||
400,
|
||||
407,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -458,8 +458,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
421,
|
||||
428,
|
||||
400,
|
||||
407,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -469,8 +469,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
441,
|
||||
461,
|
||||
420,
|
||||
440,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -498,8 +498,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
467,
|
||||
496,
|
||||
446,
|
||||
475,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -518,8 +518,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
467,
|
||||
496,
|
||||
446,
|
||||
475,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -529,8 +529,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
467,
|
||||
496,
|
||||
446,
|
||||
475,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -546,8 +546,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
502,
|
||||
527,
|
||||
481,
|
||||
506,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -567,8 +567,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
533,
|
||||
559,
|
||||
512,
|
||||
538,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -588,8 +588,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
565,
|
||||
597,
|
||||
544,
|
||||
576,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
|
@ -5,18 +5,18 @@ flowchart LR
|
||||
3["Segment<br>[71, 121, 0]"]
|
||||
4["Segment<br>[127, 227, 0]"]
|
||||
5["Segment<br>[233, 353, 0]"]
|
||||
6["Segment<br>[359, 415, 0]"]
|
||||
7["Segment<br>[421, 428, 0]"]
|
||||
6["Segment<br>[359, 394, 0]"]
|
||||
7["Segment<br>[400, 407, 0]"]
|
||||
8[Solid2d]
|
||||
end
|
||||
subgraph path10 [Path]
|
||||
10["Path<br>[467, 496, 0]"]
|
||||
11["Segment<br>[502, 527, 0]"]
|
||||
12["Segment<br>[533, 559, 0]"]
|
||||
13["Segment<br>[565, 597, 0]"]
|
||||
10["Path<br>[446, 475, 0]"]
|
||||
11["Segment<br>[481, 506, 0]"]
|
||||
12["Segment<br>[512, 538, 0]"]
|
||||
13["Segment<br>[544, 576, 0]"]
|
||||
end
|
||||
1["Plane<br>[12, 31, 0]"]
|
||||
9["Plane<br>[441, 461, 0]"]
|
||||
9["Plane<br>[420, 440, 0]"]
|
||||
1 --- 2
|
||||
2 --- 3
|
||||
2 --- 4
|
||||
|
@ -8,7 +8,7 @@ snapshot_kind: text
|
||||
"body": [
|
||||
{
|
||||
"declaration": {
|
||||
"end": 428,
|
||||
"end": 407,
|
||||
"id": {
|
||||
"end": 9,
|
||||
"name": "sketch003",
|
||||
@ -324,52 +324,24 @@ snapshot_kind: text
|
||||
"name": "endAbsolute"
|
||||
},
|
||||
"arg": {
|
||||
"elements": [
|
||||
"arguments": [
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"end": 394,
|
||||
"start": 393,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 392,
|
||||
"name": "profileStartX",
|
||||
"start": 379,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 395,
|
||||
"start": 379,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
},
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"end": 412,
|
||||
"start": 411,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 410,
|
||||
"name": "profileStartY",
|
||||
"start": 397,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 413,
|
||||
"start": 397,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
"end": 392,
|
||||
"start": 391,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"end": 414,
|
||||
"callee": {
|
||||
"end": 390,
|
||||
"name": "profileStart",
|
||||
"start": 378,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 393,
|
||||
"start": 378,
|
||||
"type": "ArrayExpression",
|
||||
"type": "ArrayExpression"
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
}
|
||||
}
|
||||
],
|
||||
@ -379,7 +351,7 @@ snapshot_kind: text
|
||||
"start": 359,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 415,
|
||||
"end": 394,
|
||||
"start": 359,
|
||||
"type": "CallExpressionKw",
|
||||
"type": "CallExpressionKw",
|
||||
@ -388,18 +360,18 @@ snapshot_kind: text
|
||||
{
|
||||
"arguments": [],
|
||||
"callee": {
|
||||
"end": 426,
|
||||
"end": 405,
|
||||
"name": "close",
|
||||
"start": 421,
|
||||
"start": 400,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 428,
|
||||
"start": 421,
|
||||
"end": 407,
|
||||
"start": 400,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
}
|
||||
],
|
||||
"end": 428,
|
||||
"end": 407,
|
||||
"start": 12,
|
||||
"type": "PipeExpression",
|
||||
"type": "PipeExpression"
|
||||
@ -407,7 +379,7 @@ snapshot_kind: text
|
||||
"start": 0,
|
||||
"type": "VariableDeclarator"
|
||||
},
|
||||
"end": 428,
|
||||
"end": 407,
|
||||
"kind": "const",
|
||||
"start": 0,
|
||||
"type": "VariableDeclaration",
|
||||
@ -415,11 +387,11 @@ snapshot_kind: text
|
||||
},
|
||||
{
|
||||
"declaration": {
|
||||
"end": 597,
|
||||
"end": 576,
|
||||
"id": {
|
||||
"end": 438,
|
||||
"end": 417,
|
||||
"name": "sketch004",
|
||||
"start": 429,
|
||||
"start": 408,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"init": {
|
||||
@ -427,22 +399,22 @@ snapshot_kind: text
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"end": 460,
|
||||
"end": 439,
|
||||
"raw": "'-XZ'",
|
||||
"start": 455,
|
||||
"start": 434,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": "-XZ"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 454,
|
||||
"end": 433,
|
||||
"name": "startSketchOn",
|
||||
"start": 441,
|
||||
"start": 420,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 461,
|
||||
"start": 441,
|
||||
"end": 440,
|
||||
"start": 420,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
},
|
||||
@ -451,9 +423,9 @@ snapshot_kind: text
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"end": 484,
|
||||
"end": 463,
|
||||
"raw": "0",
|
||||
"start": 483,
|
||||
"start": 462,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -462,9 +434,9 @@ snapshot_kind: text
|
||||
}
|
||||
},
|
||||
{
|
||||
"end": 491,
|
||||
"end": 470,
|
||||
"raw": "14.36",
|
||||
"start": 486,
|
||||
"start": 465,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -473,26 +445,26 @@ snapshot_kind: text
|
||||
}
|
||||
}
|
||||
],
|
||||
"end": 492,
|
||||
"start": 482,
|
||||
"end": 471,
|
||||
"start": 461,
|
||||
"type": "ArrayExpression",
|
||||
"type": "ArrayExpression"
|
||||
},
|
||||
{
|
||||
"end": 495,
|
||||
"start": 494,
|
||||
"end": 474,
|
||||
"start": 473,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 481,
|
||||
"end": 460,
|
||||
"name": "startProfileAt",
|
||||
"start": 467,
|
||||
"start": 446,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 496,
|
||||
"start": 467,
|
||||
"end": 475,
|
||||
"start": 446,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
},
|
||||
@ -507,9 +479,9 @@ snapshot_kind: text
|
||||
"arg": {
|
||||
"elements": [
|
||||
{
|
||||
"end": 519,
|
||||
"end": 498,
|
||||
"raw": "15.49",
|
||||
"start": 514,
|
||||
"start": 493,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -518,9 +490,9 @@ snapshot_kind: text
|
||||
}
|
||||
},
|
||||
{
|
||||
"end": 525,
|
||||
"end": 504,
|
||||
"raw": "0.05",
|
||||
"start": 521,
|
||||
"start": 500,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -529,21 +501,21 @@ snapshot_kind: text
|
||||
}
|
||||
}
|
||||
],
|
||||
"end": 526,
|
||||
"start": 513,
|
||||
"end": 505,
|
||||
"start": 492,
|
||||
"type": "ArrayExpression",
|
||||
"type": "ArrayExpression"
|
||||
}
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 506,
|
||||
"end": 485,
|
||||
"name": "line",
|
||||
"start": 502,
|
||||
"start": 481,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 527,
|
||||
"start": 502,
|
||||
"end": 506,
|
||||
"start": 481,
|
||||
"type": "CallExpressionKw",
|
||||
"type": "CallExpressionKw",
|
||||
"unlabeled": null
|
||||
@ -553,9 +525,9 @@ snapshot_kind: text
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"end": 551,
|
||||
"end": 530,
|
||||
"raw": "0",
|
||||
"start": 550,
|
||||
"start": 529,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -564,9 +536,9 @@ snapshot_kind: text
|
||||
}
|
||||
},
|
||||
{
|
||||
"end": 554,
|
||||
"end": 533,
|
||||
"raw": "0",
|
||||
"start": 553,
|
||||
"start": 532,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -575,26 +547,26 @@ snapshot_kind: text
|
||||
}
|
||||
}
|
||||
],
|
||||
"end": 555,
|
||||
"start": 549,
|
||||
"end": 534,
|
||||
"start": 528,
|
||||
"type": "ArrayExpression",
|
||||
"type": "ArrayExpression"
|
||||
},
|
||||
{
|
||||
"end": 558,
|
||||
"start": 557,
|
||||
"end": 537,
|
||||
"start": 536,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 548,
|
||||
"end": 527,
|
||||
"name": "tangentialArcTo",
|
||||
"start": 533,
|
||||
"start": 512,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 559,
|
||||
"start": 533,
|
||||
"end": 538,
|
||||
"start": 512,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
},
|
||||
@ -604,9 +576,9 @@ snapshot_kind: text
|
||||
"elements": [
|
||||
{
|
||||
"argument": {
|
||||
"end": 586,
|
||||
"end": 565,
|
||||
"raw": "6.8",
|
||||
"start": 583,
|
||||
"start": 562,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -614,16 +586,16 @@ snapshot_kind: text
|
||||
"suffix": "None"
|
||||
}
|
||||
},
|
||||
"end": 586,
|
||||
"end": 565,
|
||||
"operator": "-",
|
||||
"start": 582,
|
||||
"start": 561,
|
||||
"type": "UnaryExpression",
|
||||
"type": "UnaryExpression"
|
||||
},
|
||||
{
|
||||
"end": 592,
|
||||
"end": 571,
|
||||
"raw": "8.17",
|
||||
"start": 588,
|
||||
"start": 567,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -632,46 +604,46 @@ snapshot_kind: text
|
||||
}
|
||||
}
|
||||
],
|
||||
"end": 593,
|
||||
"start": 581,
|
||||
"end": 572,
|
||||
"start": 560,
|
||||
"type": "ArrayExpression",
|
||||
"type": "ArrayExpression"
|
||||
},
|
||||
{
|
||||
"end": 596,
|
||||
"start": 595,
|
||||
"end": 575,
|
||||
"start": 574,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 580,
|
||||
"end": 559,
|
||||
"name": "tangentialArcTo",
|
||||
"start": 565,
|
||||
"start": 544,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 597,
|
||||
"start": 565,
|
||||
"end": 576,
|
||||
"start": 544,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
}
|
||||
],
|
||||
"end": 597,
|
||||
"start": 441,
|
||||
"end": 576,
|
||||
"start": 420,
|
||||
"type": "PipeExpression",
|
||||
"type": "PipeExpression"
|
||||
},
|
||||
"start": 429,
|
||||
"start": 408,
|
||||
"type": "VariableDeclarator"
|
||||
},
|
||||
"end": 597,
|
||||
"end": 576,
|
||||
"kind": "const",
|
||||
"start": 429,
|
||||
"start": 408,
|
||||
"type": "VariableDeclaration",
|
||||
"type": "VariableDeclaration"
|
||||
}
|
||||
],
|
||||
"end": 598,
|
||||
"end": 577,
|
||||
"start": 0
|
||||
}
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ sketch003 = startSketchOn('YZ')
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
sketch004 = startSketchOn('-XZ')
|
||||
|> startProfileAt([0, 14.36], %)
|
||||
|
@ -27,16 +27,16 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
455,
|
||||
460,
|
||||
434,
|
||||
439,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "startSketchOn",
|
||||
"sourceRange": [
|
||||
441,
|
||||
461,
|
||||
420,
|
||||
440,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
|
@ -248,7 +248,7 @@ snapshot_kind: text
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
359,
|
||||
415,
|
||||
394,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -267,8 +267,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
421,
|
||||
428,
|
||||
400,
|
||||
407,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -490,8 +490,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
502,
|
||||
527,
|
||||
481,
|
||||
506,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -510,8 +510,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
533,
|
||||
559,
|
||||
512,
|
||||
538,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -535,8 +535,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
565,
|
||||
597,
|
||||
544,
|
||||
576,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -599,8 +599,8 @@ snapshot_kind: text
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
467,
|
||||
496,
|
||||
446,
|
||||
475,
|
||||
0
|
||||
]
|
||||
}
|
||||
@ -611,8 +611,8 @@ snapshot_kind: text
|
||||
"__meta": [
|
||||
{
|
||||
"sourceRange": [
|
||||
467,
|
||||
496,
|
||||
446,
|
||||
475,
|
||||
0
|
||||
]
|
||||
}
|
||||
|
@ -405,7 +405,7 @@ snapshot_kind: text
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
131,
|
||||
187,
|
||||
166,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -425,8 +425,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
193,
|
||||
200,
|
||||
172,
|
||||
179,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -437,8 +437,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
193,
|
||||
200,
|
||||
172,
|
||||
179,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -448,8 +448,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
214,
|
||||
244,
|
||||
193,
|
||||
223,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -468,8 +468,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
214,
|
||||
244,
|
||||
193,
|
||||
223,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -482,8 +482,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
214,
|
||||
244,
|
||||
193,
|
||||
223,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -493,8 +493,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
214,
|
||||
244,
|
||||
193,
|
||||
223,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -505,8 +505,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
214,
|
||||
244,
|
||||
193,
|
||||
223,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -518,8 +518,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
214,
|
||||
244,
|
||||
193,
|
||||
223,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -532,8 +532,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
214,
|
||||
244,
|
||||
193,
|
||||
223,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -546,8 +546,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
214,
|
||||
244,
|
||||
193,
|
||||
223,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -560,8 +560,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
214,
|
||||
244,
|
||||
193,
|
||||
223,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -574,8 +574,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
214,
|
||||
244,
|
||||
193,
|
||||
223,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -588,8 +588,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
214,
|
||||
244,
|
||||
193,
|
||||
223,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -602,8 +602,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
295,
|
||||
325,
|
||||
274,
|
||||
304,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -618,8 +618,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
295,
|
||||
325,
|
||||
274,
|
||||
304,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -629,8 +629,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
295,
|
||||
325,
|
||||
274,
|
||||
304,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -646,8 +646,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
331,
|
||||
349,
|
||||
310,
|
||||
328,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -667,8 +667,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
355,
|
||||
374,
|
||||
334,
|
||||
353,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -688,8 +688,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
380,
|
||||
436,
|
||||
359,
|
||||
394,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -709,8 +709,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
442,
|
||||
449,
|
||||
400,
|
||||
407,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -721,8 +721,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
463,
|
||||
493,
|
||||
421,
|
||||
451,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -737,8 +737,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
463,
|
||||
493,
|
||||
421,
|
||||
451,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -751,8 +751,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
463,
|
||||
493,
|
||||
421,
|
||||
451,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -762,8 +762,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
463,
|
||||
493,
|
||||
421,
|
||||
451,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -774,8 +774,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
463,
|
||||
493,
|
||||
421,
|
||||
451,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -787,8 +787,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
463,
|
||||
493,
|
||||
421,
|
||||
451,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -801,8 +801,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
463,
|
||||
493,
|
||||
421,
|
||||
451,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -815,8 +815,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
463,
|
||||
493,
|
||||
421,
|
||||
451,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -829,8 +829,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
463,
|
||||
493,
|
||||
421,
|
||||
451,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -843,8 +843,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
463,
|
||||
493,
|
||||
421,
|
||||
451,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -857,8 +857,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
463,
|
||||
493,
|
||||
421,
|
||||
451,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -871,8 +871,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
544,
|
||||
571,
|
||||
502,
|
||||
529,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -887,8 +887,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
544,
|
||||
571,
|
||||
502,
|
||||
529,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -898,8 +898,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
544,
|
||||
571,
|
||||
502,
|
||||
529,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -915,8 +915,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
577,
|
||||
611,
|
||||
535,
|
||||
569,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -936,8 +936,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
617,
|
||||
636,
|
||||
575,
|
||||
594,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -957,8 +957,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
642,
|
||||
698,
|
||||
600,
|
||||
635,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -978,8 +978,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
704,
|
||||
711,
|
||||
641,
|
||||
648,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -990,8 +990,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
725,
|
||||
755,
|
||||
662,
|
||||
692,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1006,8 +1006,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
725,
|
||||
755,
|
||||
662,
|
||||
692,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1020,8 +1020,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
725,
|
||||
755,
|
||||
662,
|
||||
692,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1031,8 +1031,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
725,
|
||||
755,
|
||||
662,
|
||||
692,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1043,8 +1043,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
725,
|
||||
755,
|
||||
662,
|
||||
692,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1056,8 +1056,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
725,
|
||||
755,
|
||||
662,
|
||||
692,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1070,8 +1070,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
725,
|
||||
755,
|
||||
662,
|
||||
692,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1084,8 +1084,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
725,
|
||||
755,
|
||||
662,
|
||||
692,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1098,8 +1098,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
725,
|
||||
755,
|
||||
662,
|
||||
692,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1112,8 +1112,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
725,
|
||||
755,
|
||||
662,
|
||||
692,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1126,8 +1126,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
725,
|
||||
755,
|
||||
662,
|
||||
692,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1140,8 +1140,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
806,
|
||||
833,
|
||||
743,
|
||||
770,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1156,8 +1156,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
806,
|
||||
833,
|
||||
743,
|
||||
770,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1167,8 +1167,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
806,
|
||||
833,
|
||||
743,
|
||||
770,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1184,8 +1184,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
839,
|
||||
859,
|
||||
776,
|
||||
796,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1205,8 +1205,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
865,
|
||||
886,
|
||||
802,
|
||||
823,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1226,8 +1226,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
892,
|
||||
948,
|
||||
829,
|
||||
864,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1247,8 +1247,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
954,
|
||||
961,
|
||||
870,
|
||||
877,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1259,8 +1259,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
975,
|
||||
1005,
|
||||
891,
|
||||
921,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1275,8 +1275,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
975,
|
||||
1005,
|
||||
891,
|
||||
921,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1289,8 +1289,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
975,
|
||||
1005,
|
||||
891,
|
||||
921,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1300,8 +1300,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
975,
|
||||
1005,
|
||||
891,
|
||||
921,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1312,8 +1312,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
975,
|
||||
1005,
|
||||
891,
|
||||
921,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1325,8 +1325,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
975,
|
||||
1005,
|
||||
891,
|
||||
921,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1339,8 +1339,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
975,
|
||||
1005,
|
||||
891,
|
||||
921,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1353,8 +1353,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
975,
|
||||
1005,
|
||||
891,
|
||||
921,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1367,8 +1367,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
975,
|
||||
1005,
|
||||
891,
|
||||
921,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1381,8 +1381,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
975,
|
||||
1005,
|
||||
891,
|
||||
921,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1395,8 +1395,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
975,
|
||||
1005,
|
||||
891,
|
||||
921,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
|
@ -4,36 +4,36 @@ flowchart LR
|
||||
2["Path<br>[37, 62, 0]"]
|
||||
3["Segment<br>[68, 86, 0]"]
|
||||
4["Segment<br>[92, 125, 0]"]
|
||||
5["Segment<br>[131, 187, 0]"]
|
||||
6["Segment<br>[193, 200, 0]"]
|
||||
5["Segment<br>[131, 166, 0]"]
|
||||
6["Segment<br>[172, 179, 0]"]
|
||||
7[Solid2d]
|
||||
end
|
||||
subgraph path20 [Path]
|
||||
20["Path<br>[295, 325, 0]"]
|
||||
21["Segment<br>[331, 349, 0]"]
|
||||
22["Segment<br>[355, 374, 0]"]
|
||||
23["Segment<br>[380, 436, 0]"]
|
||||
24["Segment<br>[442, 449, 0]"]
|
||||
20["Path<br>[274, 304, 0]"]
|
||||
21["Segment<br>[310, 328, 0]"]
|
||||
22["Segment<br>[334, 353, 0]"]
|
||||
23["Segment<br>[359, 394, 0]"]
|
||||
24["Segment<br>[400, 407, 0]"]
|
||||
25[Solid2d]
|
||||
end
|
||||
subgraph path37 [Path]
|
||||
37["Path<br>[544, 571, 0]"]
|
||||
38["Segment<br>[577, 611, 0]"]
|
||||
39["Segment<br>[617, 636, 0]"]
|
||||
40["Segment<br>[642, 698, 0]"]
|
||||
41["Segment<br>[704, 711, 0]"]
|
||||
37["Path<br>[502, 529, 0]"]
|
||||
38["Segment<br>[535, 569, 0]"]
|
||||
39["Segment<br>[575, 594, 0]"]
|
||||
40["Segment<br>[600, 635, 0]"]
|
||||
41["Segment<br>[641, 648, 0]"]
|
||||
42[Solid2d]
|
||||
end
|
||||
subgraph path54 [Path]
|
||||
54["Path<br>[806, 833, 0]"]
|
||||
55["Segment<br>[839, 859, 0]"]
|
||||
56["Segment<br>[865, 886, 0]"]
|
||||
57["Segment<br>[892, 948, 0]"]
|
||||
58["Segment<br>[954, 961, 0]"]
|
||||
54["Path<br>[743, 770, 0]"]
|
||||
55["Segment<br>[776, 796, 0]"]
|
||||
56["Segment<br>[802, 823, 0]"]
|
||||
57["Segment<br>[829, 864, 0]"]
|
||||
58["Segment<br>[870, 877, 0]"]
|
||||
59[Solid2d]
|
||||
end
|
||||
1["Plane<br>[12, 31, 0]"]
|
||||
8["Sweep Extrusion<br>[214, 244, 0]"]
|
||||
8["Sweep Extrusion<br>[193, 223, 0]"]
|
||||
9[Wall]
|
||||
10[Wall]
|
||||
11[Wall]
|
||||
@ -45,18 +45,18 @@ flowchart LR
|
||||
17["SweepEdge Adjacent"]
|
||||
18["SweepEdge Opposite"]
|
||||
19["SweepEdge Adjacent"]
|
||||
26["Sweep Extrusion<br>[463, 493, 0]"]
|
||||
26["Sweep Extrusion<br>[421, 451, 0]"]
|
||||
27[Wall]
|
||||
28[Wall]
|
||||
29[Wall]
|
||||
30["Plane<br>[544, 571, 0]"]
|
||||
30["Plane<br>[502, 529, 0]"]
|
||||
31["SweepEdge Opposite"]
|
||||
32["SweepEdge Adjacent"]
|
||||
33["SweepEdge Opposite"]
|
||||
34["SweepEdge Adjacent"]
|
||||
35["SweepEdge Opposite"]
|
||||
36["SweepEdge Adjacent"]
|
||||
43["Sweep Extrusion<br>[725, 755, 0]"]
|
||||
43["Sweep Extrusion<br>[662, 692, 0]"]
|
||||
44[Wall]
|
||||
45[Wall]
|
||||
46[Wall]
|
||||
@ -67,7 +67,7 @@ flowchart LR
|
||||
51["SweepEdge Adjacent"]
|
||||
52["SweepEdge Opposite"]
|
||||
53["SweepEdge Adjacent"]
|
||||
60["Sweep Extrusion<br>[975, 1005, 0]"]
|
||||
60["Sweep Extrusion<br>[891, 921, 0]"]
|
||||
61[Wall]
|
||||
62[Wall]
|
||||
63[Wall]
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -2,27 +2,27 @@ sketch001 = startSketchOn('XZ')
|
||||
|> startProfileAt([0, 0], %)
|
||||
|> line(end = [4, 8])
|
||||
|> line(end = [5, -8], tag = $seg01)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude001 = extrude(sketch001, length = 6)
|
||||
sketch002 = startSketchOn(extrude001, seg01)
|
||||
|> startProfileAt([-0.5, 0.5], %)
|
||||
|> line(end = [2, 5])
|
||||
|> line(end = [2, -5])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude002 = extrude(sketch002, length = 5)
|
||||
sketch003 = startSketchOn(extrude002, 'END')
|
||||
|> startProfileAt([1, 1.5], %)
|
||||
|> line(end = [0.5, 2], tag = $seg02)
|
||||
|> line(end = [1, -2])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude003 = extrude(sketch003, length = 4)
|
||||
sketch004 = startSketchOn(extrude003, seg02)
|
||||
|> startProfileAt([-3, 14], %)
|
||||
|> line(end = [0.5, 1])
|
||||
|> line(end = [0.5, -2])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
extrude004 = extrude(sketch004, length = 3)
|
||||
|
@ -27,23 +27,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"length": {
|
||||
"sourceRange": [
|
||||
242,
|
||||
243,
|
||||
221,
|
||||
222,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "extrude",
|
||||
"sourceRange": [
|
||||
214,
|
||||
244,
|
||||
193,
|
||||
223,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": {
|
||||
"sourceRange": [
|
||||
222,
|
||||
231,
|
||||
201,
|
||||
210,
|
||||
0
|
||||
]
|
||||
}
|
||||
@ -52,23 +52,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
271,
|
||||
281,
|
||||
250,
|
||||
260,
|
||||
0
|
||||
]
|
||||
},
|
||||
"tag": {
|
||||
"sourceRange": [
|
||||
283,
|
||||
288,
|
||||
262,
|
||||
267,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "startSketchOn",
|
||||
"sourceRange": [
|
||||
257,
|
||||
289,
|
||||
236,
|
||||
268,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
@ -78,23 +78,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"length": {
|
||||
"sourceRange": [
|
||||
491,
|
||||
492,
|
||||
449,
|
||||
450,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "extrude",
|
||||
"sourceRange": [
|
||||
463,
|
||||
493,
|
||||
421,
|
||||
451,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": {
|
||||
"sourceRange": [
|
||||
471,
|
||||
480,
|
||||
429,
|
||||
438,
|
||||
0
|
||||
]
|
||||
}
|
||||
@ -103,23 +103,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
520,
|
||||
530,
|
||||
478,
|
||||
488,
|
||||
0
|
||||
]
|
||||
},
|
||||
"tag": {
|
||||
"sourceRange": [
|
||||
532,
|
||||
537,
|
||||
490,
|
||||
495,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "startSketchOn",
|
||||
"sourceRange": [
|
||||
506,
|
||||
538,
|
||||
464,
|
||||
496,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
@ -129,23 +129,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"length": {
|
||||
"sourceRange": [
|
||||
753,
|
||||
754,
|
||||
690,
|
||||
691,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "extrude",
|
||||
"sourceRange": [
|
||||
725,
|
||||
755,
|
||||
662,
|
||||
692,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": {
|
||||
"sourceRange": [
|
||||
733,
|
||||
742,
|
||||
670,
|
||||
679,
|
||||
0
|
||||
]
|
||||
}
|
||||
@ -154,23 +154,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
782,
|
||||
792,
|
||||
719,
|
||||
729,
|
||||
0
|
||||
]
|
||||
},
|
||||
"tag": {
|
||||
"sourceRange": [
|
||||
794,
|
||||
799,
|
||||
731,
|
||||
736,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "startSketchOn",
|
||||
"sourceRange": [
|
||||
768,
|
||||
800,
|
||||
705,
|
||||
737,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
@ -180,23 +180,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"length": {
|
||||
"sourceRange": [
|
||||
1003,
|
||||
1004,
|
||||
919,
|
||||
920,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "extrude",
|
||||
"sourceRange": [
|
||||
975,
|
||||
1005,
|
||||
891,
|
||||
921,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": {
|
||||
"sourceRange": [
|
||||
983,
|
||||
992,
|
||||
899,
|
||||
908,
|
||||
0
|
||||
]
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -426,7 +426,7 @@ snapshot_kind: text
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
356,
|
||||
426,
|
||||
405,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -446,8 +446,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
432,
|
||||
440,
|
||||
411,
|
||||
419,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -458,8 +458,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
432,
|
||||
440,
|
||||
411,
|
||||
419,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -469,8 +469,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -489,8 +489,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -503,8 +503,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -514,8 +514,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -526,8 +526,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -539,8 +539,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -553,8 +553,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -567,8 +567,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -581,8 +581,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -595,8 +595,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -609,8 +609,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -623,8 +623,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -637,8 +637,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -651,8 +651,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
585,
|
||||
607,
|
||||
564,
|
||||
586,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -665,8 +665,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
492,
|
||||
534,
|
||||
471,
|
||||
513,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -681,8 +681,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
540,
|
||||
627,
|
||||
519,
|
||||
606,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -697,8 +697,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
633,
|
||||
684,
|
||||
612,
|
||||
663,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -713,8 +713,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
736,
|
||||
770,
|
||||
715,
|
||||
749,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -729,8 +729,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
736,
|
||||
770,
|
||||
715,
|
||||
749,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -740,8 +740,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
736,
|
||||
770,
|
||||
715,
|
||||
749,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -757,8 +757,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
776,
|
||||
824,
|
||||
755,
|
||||
803,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -778,8 +778,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
830,
|
||||
931,
|
||||
809,
|
||||
910,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -799,8 +799,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
937,
|
||||
1057,
|
||||
916,
|
||||
1036,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -820,8 +820,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1063,
|
||||
1119,
|
||||
1042,
|
||||
1077,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -841,8 +841,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1125,
|
||||
1133,
|
||||
1083,
|
||||
1091,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -853,8 +853,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1184,
|
||||
1219,
|
||||
1142,
|
||||
1177,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -869,8 +869,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1184,
|
||||
1219,
|
||||
1142,
|
||||
1177,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -880,8 +880,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1184,
|
||||
1219,
|
||||
1142,
|
||||
1177,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -897,8 +897,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1225,
|
||||
1273,
|
||||
1183,
|
||||
1231,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -918,8 +918,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1279,
|
||||
1381,
|
||||
1237,
|
||||
1339,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -939,8 +939,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1387,
|
||||
1507,
|
||||
1345,
|
||||
1465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -960,8 +960,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1513,
|
||||
1569,
|
||||
1471,
|
||||
1506,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -981,8 +981,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1575,
|
||||
1583,
|
||||
1512,
|
||||
1520,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -993,8 +993,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1009,8 +1009,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1023,8 +1023,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1034,8 +1034,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1046,8 +1046,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1059,8 +1059,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1073,8 +1073,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1087,8 +1087,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1101,8 +1101,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1115,8 +1115,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1129,8 +1129,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1143,8 +1143,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1157,8 +1157,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
|
@ -5,30 +5,30 @@ flowchart LR
|
||||
3["Segment<br>[105, 154, 0]"]
|
||||
4["Segment<br>[160, 247, 0]"]
|
||||
5["Segment<br>[253, 350, 0]"]
|
||||
6["Segment<br>[356, 426, 0]"]
|
||||
7["Segment<br>[432, 440, 0]"]
|
||||
6["Segment<br>[356, 405, 0]"]
|
||||
7["Segment<br>[411, 419, 0]"]
|
||||
8[Solid2d]
|
||||
end
|
||||
subgraph path27 [Path]
|
||||
27["Path<br>[736, 770, 0]"]
|
||||
28["Segment<br>[776, 824, 0]"]
|
||||
29["Segment<br>[830, 931, 0]"]
|
||||
30["Segment<br>[937, 1057, 0]"]
|
||||
31["Segment<br>[1063, 1119, 0]"]
|
||||
32["Segment<br>[1125, 1133, 0]"]
|
||||
27["Path<br>[715, 749, 0]"]
|
||||
28["Segment<br>[755, 803, 0]"]
|
||||
29["Segment<br>[809, 910, 0]"]
|
||||
30["Segment<br>[916, 1036, 0]"]
|
||||
31["Segment<br>[1042, 1077, 0]"]
|
||||
32["Segment<br>[1083, 1091, 0]"]
|
||||
33[Solid2d]
|
||||
end
|
||||
subgraph path34 [Path]
|
||||
34["Path<br>[1184, 1219, 0]"]
|
||||
35["Segment<br>[1225, 1273, 0]"]
|
||||
36["Segment<br>[1279, 1381, 0]"]
|
||||
37["Segment<br>[1387, 1507, 0]"]
|
||||
38["Segment<br>[1513, 1569, 0]"]
|
||||
39["Segment<br>[1575, 1583, 0]"]
|
||||
34["Path<br>[1142, 1177, 0]"]
|
||||
35["Segment<br>[1183, 1231, 0]"]
|
||||
36["Segment<br>[1237, 1339, 0]"]
|
||||
37["Segment<br>[1345, 1465, 0]"]
|
||||
38["Segment<br>[1471, 1506, 0]"]
|
||||
39["Segment<br>[1512, 1520, 0]"]
|
||||
40[Solid2d]
|
||||
end
|
||||
1["Plane<br>[12, 31, 0]"]
|
||||
9["Sweep Extrusion<br>[454, 486, 0]"]
|
||||
9["Sweep Extrusion<br>[433, 465, 0]"]
|
||||
10[Wall]
|
||||
11[Wall]
|
||||
12[Wall]
|
||||
@ -43,10 +43,10 @@ flowchart LR
|
||||
21["SweepEdge Adjacent"]
|
||||
22["SweepEdge Opposite"]
|
||||
23["SweepEdge Adjacent"]
|
||||
24["EdgeCut Fillet<br>[492, 534, 0]"]
|
||||
25["Plane<br>[1184, 1219, 0]"]
|
||||
26["Plane<br>[736, 770, 0]"]
|
||||
41["Sweep Extrusion<br>[1597, 1628, 0]"]
|
||||
24["EdgeCut Fillet<br>[471, 513, 0]"]
|
||||
25["Plane<br>[1142, 1177, 0]"]
|
||||
26["Plane<br>[715, 749, 0]"]
|
||||
41["Sweep Extrusion<br>[1534, 1565, 0]"]
|
||||
42[Wall]
|
||||
43[Wall]
|
||||
44[Wall]
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -9,7 +9,7 @@ sketch001 = startSketchOn('XZ')
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)], tag = $seg02)
|
||||
|> line(endAbsolute = profileStart(%), tag = $seg02)
|
||||
|> close(%)
|
||||
extrude001 = extrude(sketch001, length = 100)
|
||||
|> fillet({ radius = 20, tags = [seg01] }, %)
|
||||
@ -30,7 +30,7 @@ sketch003 = startSketchOn(extrude001, seg04)
|
||||
segAng(rectangleSegmentA003),
|
||||
-segLen(rectangleSegmentA003)
|
||||
], %, $rectangleSegmentC002)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close(%)
|
||||
sketch002 = startSketchOn(extrude001, seg03)
|
||||
|> startProfileAt([159.25, 278.35], %)
|
||||
@ -43,6 +43,6 @@ sketch002 = startSketchOn(extrude001, seg03)
|
||||
segAng(rectangleSegmentA002),
|
||||
-segLen(rectangleSegmentA002)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close(%)
|
||||
extrude002 = extrude(sketch002, length = 50)
|
||||
|
@ -27,23 +27,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"length": {
|
||||
"sourceRange": [
|
||||
482,
|
||||
485,
|
||||
461,
|
||||
464,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "extrude",
|
||||
"sourceRange": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": {
|
||||
"sourceRange": [
|
||||
462,
|
||||
471,
|
||||
441,
|
||||
450,
|
||||
0
|
||||
]
|
||||
}
|
||||
@ -52,23 +52,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
499,
|
||||
530,
|
||||
478,
|
||||
509,
|
||||
0
|
||||
]
|
||||
},
|
||||
"solid": {
|
||||
"sourceRange": [
|
||||
532,
|
||||
533,
|
||||
511,
|
||||
512,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "fillet",
|
||||
"sourceRange": [
|
||||
492,
|
||||
534,
|
||||
471,
|
||||
513,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
@ -78,63 +78,63 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
548,
|
||||
615,
|
||||
527,
|
||||
594,
|
||||
0
|
||||
]
|
||||
},
|
||||
"solid": {
|
||||
"sourceRange": [
|
||||
617,
|
||||
618,
|
||||
596,
|
||||
597,
|
||||
0
|
||||
]
|
||||
},
|
||||
"tag": {
|
||||
"sourceRange": [
|
||||
599,
|
||||
605,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "chamfer",
|
||||
"sourceRange": [
|
||||
519,
|
||||
606,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": null
|
||||
},
|
||||
{
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
620,
|
||||
626,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "chamfer",
|
||||
"sourceRange": [
|
||||
540,
|
||||
627,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": null
|
||||
},
|
||||
{
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
641,
|
||||
672,
|
||||
651,
|
||||
0
|
||||
]
|
||||
},
|
||||
"solid": {
|
||||
"sourceRange": [
|
||||
674,
|
||||
675,
|
||||
653,
|
||||
654,
|
||||
0
|
||||
]
|
||||
},
|
||||
"tag": {
|
||||
"sourceRange": [
|
||||
677,
|
||||
683,
|
||||
656,
|
||||
662,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "chamfer",
|
||||
"sourceRange": [
|
||||
633,
|
||||
684,
|
||||
612,
|
||||
663,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
@ -144,23 +144,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
712,
|
||||
722,
|
||||
691,
|
||||
701,
|
||||
0
|
||||
]
|
||||
},
|
||||
"tag": {
|
||||
"sourceRange": [
|
||||
724,
|
||||
729,
|
||||
703,
|
||||
708,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "startSketchOn",
|
||||
"sourceRange": [
|
||||
698,
|
||||
730,
|
||||
677,
|
||||
709,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
@ -170,23 +170,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
1160,
|
||||
1170,
|
||||
1118,
|
||||
1128,
|
||||
0
|
||||
]
|
||||
},
|
||||
"tag": {
|
||||
"sourceRange": [
|
||||
1172,
|
||||
1177,
|
||||
1130,
|
||||
1135,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "startSketchOn",
|
||||
"sourceRange": [
|
||||
1146,
|
||||
1178,
|
||||
1104,
|
||||
1136,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
@ -196,23 +196,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"length": {
|
||||
"sourceRange": [
|
||||
1625,
|
||||
1627,
|
||||
1562,
|
||||
1564,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "extrude",
|
||||
"sourceRange": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": {
|
||||
"sourceRange": [
|
||||
1605,
|
||||
1614,
|
||||
1542,
|
||||
1551,
|
||||
0
|
||||
]
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -426,7 +426,7 @@ snapshot_kind: text
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
356,
|
||||
426,
|
||||
405,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -446,8 +446,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
432,
|
||||
440,
|
||||
411,
|
||||
419,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -458,8 +458,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
432,
|
||||
440,
|
||||
411,
|
||||
419,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -469,8 +469,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -489,8 +489,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -503,8 +503,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -514,8 +514,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -526,8 +526,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -539,8 +539,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -553,8 +553,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -567,8 +567,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -581,8 +581,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -595,8 +595,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -609,8 +609,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -623,8 +623,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -637,8 +637,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -651,8 +651,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
642,
|
||||
664,
|
||||
621,
|
||||
643,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -665,8 +665,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
492,
|
||||
534,
|
||||
471,
|
||||
513,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -681,8 +681,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
540,
|
||||
591,
|
||||
519,
|
||||
570,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -697,8 +697,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
597,
|
||||
684,
|
||||
576,
|
||||
663,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -713,8 +713,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
736,
|
||||
770,
|
||||
715,
|
||||
749,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -729,8 +729,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
736,
|
||||
770,
|
||||
715,
|
||||
749,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -740,8 +740,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
736,
|
||||
770,
|
||||
715,
|
||||
749,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -757,8 +757,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
776,
|
||||
824,
|
||||
755,
|
||||
803,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -778,8 +778,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
830,
|
||||
931,
|
||||
809,
|
||||
910,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -799,8 +799,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
937,
|
||||
1057,
|
||||
916,
|
||||
1036,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -820,8 +820,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1063,
|
||||
1119,
|
||||
1042,
|
||||
1077,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -841,8 +841,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1125,
|
||||
1133,
|
||||
1083,
|
||||
1091,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -853,8 +853,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1184,
|
||||
1219,
|
||||
1142,
|
||||
1177,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -869,8 +869,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1184,
|
||||
1219,
|
||||
1142,
|
||||
1177,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -880,8 +880,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1184,
|
||||
1219,
|
||||
1142,
|
||||
1177,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -897,8 +897,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1225,
|
||||
1273,
|
||||
1183,
|
||||
1231,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -918,8 +918,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1279,
|
||||
1381,
|
||||
1237,
|
||||
1339,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -939,8 +939,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1387,
|
||||
1507,
|
||||
1345,
|
||||
1465,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -960,8 +960,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1513,
|
||||
1569,
|
||||
1471,
|
||||
1506,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -981,8 +981,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1575,
|
||||
1583,
|
||||
1512,
|
||||
1520,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -993,8 +993,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1009,8 +1009,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1023,8 +1023,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1034,8 +1034,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1046,8 +1046,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1059,8 +1059,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1073,8 +1073,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1087,8 +1087,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1101,8 +1101,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1115,8 +1115,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1129,8 +1129,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1143,8 +1143,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1157,8 +1157,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
|
@ -5,30 +5,30 @@ flowchart LR
|
||||
3["Segment<br>[105, 154, 0]"]
|
||||
4["Segment<br>[160, 247, 0]"]
|
||||
5["Segment<br>[253, 350, 0]"]
|
||||
6["Segment<br>[356, 426, 0]"]
|
||||
7["Segment<br>[432, 440, 0]"]
|
||||
6["Segment<br>[356, 405, 0]"]
|
||||
7["Segment<br>[411, 419, 0]"]
|
||||
8[Solid2d]
|
||||
end
|
||||
subgraph path27 [Path]
|
||||
27["Path<br>[736, 770, 0]"]
|
||||
28["Segment<br>[776, 824, 0]"]
|
||||
29["Segment<br>[830, 931, 0]"]
|
||||
30["Segment<br>[937, 1057, 0]"]
|
||||
31["Segment<br>[1063, 1119, 0]"]
|
||||
32["Segment<br>[1125, 1133, 0]"]
|
||||
27["Path<br>[715, 749, 0]"]
|
||||
28["Segment<br>[755, 803, 0]"]
|
||||
29["Segment<br>[809, 910, 0]"]
|
||||
30["Segment<br>[916, 1036, 0]"]
|
||||
31["Segment<br>[1042, 1077, 0]"]
|
||||
32["Segment<br>[1083, 1091, 0]"]
|
||||
33[Solid2d]
|
||||
end
|
||||
subgraph path34 [Path]
|
||||
34["Path<br>[1184, 1219, 0]"]
|
||||
35["Segment<br>[1225, 1273, 0]"]
|
||||
36["Segment<br>[1279, 1381, 0]"]
|
||||
37["Segment<br>[1387, 1507, 0]"]
|
||||
38["Segment<br>[1513, 1569, 0]"]
|
||||
39["Segment<br>[1575, 1583, 0]"]
|
||||
34["Path<br>[1142, 1177, 0]"]
|
||||
35["Segment<br>[1183, 1231, 0]"]
|
||||
36["Segment<br>[1237, 1339, 0]"]
|
||||
37["Segment<br>[1345, 1465, 0]"]
|
||||
38["Segment<br>[1471, 1506, 0]"]
|
||||
39["Segment<br>[1512, 1520, 0]"]
|
||||
40[Solid2d]
|
||||
end
|
||||
1["Plane<br>[12, 31, 0]"]
|
||||
9["Sweep Extrusion<br>[454, 486, 0]"]
|
||||
9["Sweep Extrusion<br>[433, 465, 0]"]
|
||||
10[Wall]
|
||||
11[Wall]
|
||||
12[Wall]
|
||||
@ -43,10 +43,10 @@ flowchart LR
|
||||
21["SweepEdge Adjacent"]
|
||||
22["SweepEdge Opposite"]
|
||||
23["SweepEdge Adjacent"]
|
||||
24["EdgeCut Fillet<br>[492, 534, 0]"]
|
||||
25["Plane<br>[736, 770, 0]"]
|
||||
26["Plane<br>[1184, 1219, 0]"]
|
||||
41["Sweep Extrusion<br>[1597, 1628, 0]"]
|
||||
24["EdgeCut Fillet<br>[471, 513, 0]"]
|
||||
25["Plane<br>[715, 749, 0]"]
|
||||
26["Plane<br>[1142, 1177, 0]"]
|
||||
41["Sweep Extrusion<br>[1534, 1565, 0]"]
|
||||
42[Wall]
|
||||
43[Wall]
|
||||
44[Wall]
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -9,7 +9,7 @@ sketch001 = startSketchOn('XZ')
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)], tag = $seg02)
|
||||
|> line(endAbsolute = profileStart(%), tag = $seg02)
|
||||
|> close(%)
|
||||
extrude001 = extrude(sketch001, length = 100)
|
||||
|> fillet({ radius = 20, tags = [seg01] }, %)
|
||||
@ -30,7 +30,7 @@ sketch003 = startSketchOn(extrude001, seg04)
|
||||
segAng(rectangleSegmentA003),
|
||||
-segLen(rectangleSegmentA003)
|
||||
], %, $rectangleSegmentC002)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close(%)
|
||||
sketch002 = startSketchOn(extrude001, seg03)
|
||||
|> startProfileAt([159.25, 278.35], %)
|
||||
@ -43,6 +43,6 @@ sketch002 = startSketchOn(extrude001, seg03)
|
||||
segAng(rectangleSegmentA002),
|
||||
-segLen(rectangleSegmentA002)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close(%)
|
||||
extrude002 = extrude(sketch002, length = 50)
|
||||
|
@ -27,23 +27,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"length": {
|
||||
"sourceRange": [
|
||||
482,
|
||||
485,
|
||||
461,
|
||||
464,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "extrude",
|
||||
"sourceRange": [
|
||||
454,
|
||||
486,
|
||||
433,
|
||||
465,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": {
|
||||
"sourceRange": [
|
||||
462,
|
||||
471,
|
||||
441,
|
||||
450,
|
||||
0
|
||||
]
|
||||
}
|
||||
@ -52,23 +52,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
499,
|
||||
530,
|
||||
478,
|
||||
509,
|
||||
0
|
||||
]
|
||||
},
|
||||
"solid": {
|
||||
"sourceRange": [
|
||||
532,
|
||||
533,
|
||||
511,
|
||||
512,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "fillet",
|
||||
"sourceRange": [
|
||||
492,
|
||||
534,
|
||||
471,
|
||||
513,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
@ -78,63 +78,63 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
548,
|
||||
579,
|
||||
527,
|
||||
558,
|
||||
0
|
||||
]
|
||||
},
|
||||
"solid": {
|
||||
"sourceRange": [
|
||||
581,
|
||||
582,
|
||||
560,
|
||||
561,
|
||||
0
|
||||
]
|
||||
},
|
||||
"tag": {
|
||||
"sourceRange": [
|
||||
563,
|
||||
569,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "chamfer",
|
||||
"sourceRange": [
|
||||
519,
|
||||
570,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": null
|
||||
},
|
||||
{
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
584,
|
||||
590,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "chamfer",
|
||||
"sourceRange": [
|
||||
540,
|
||||
591,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": null
|
||||
},
|
||||
{
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
605,
|
||||
672,
|
||||
651,
|
||||
0
|
||||
]
|
||||
},
|
||||
"solid": {
|
||||
"sourceRange": [
|
||||
674,
|
||||
675,
|
||||
653,
|
||||
654,
|
||||
0
|
||||
]
|
||||
},
|
||||
"tag": {
|
||||
"sourceRange": [
|
||||
677,
|
||||
683,
|
||||
656,
|
||||
662,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "chamfer",
|
||||
"sourceRange": [
|
||||
597,
|
||||
684,
|
||||
576,
|
||||
663,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
@ -144,23 +144,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
712,
|
||||
722,
|
||||
691,
|
||||
701,
|
||||
0
|
||||
]
|
||||
},
|
||||
"tag": {
|
||||
"sourceRange": [
|
||||
724,
|
||||
729,
|
||||
703,
|
||||
708,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "startSketchOn",
|
||||
"sourceRange": [
|
||||
698,
|
||||
730,
|
||||
677,
|
||||
709,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
@ -170,23 +170,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"data": {
|
||||
"sourceRange": [
|
||||
1160,
|
||||
1170,
|
||||
1118,
|
||||
1128,
|
||||
0
|
||||
]
|
||||
},
|
||||
"tag": {
|
||||
"sourceRange": [
|
||||
1172,
|
||||
1177,
|
||||
1130,
|
||||
1135,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "startSketchOn",
|
||||
"sourceRange": [
|
||||
1146,
|
||||
1178,
|
||||
1104,
|
||||
1136,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
@ -196,23 +196,23 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"length": {
|
||||
"sourceRange": [
|
||||
1625,
|
||||
1627,
|
||||
1562,
|
||||
1564,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "extrude",
|
||||
"sourceRange": [
|
||||
1597,
|
||||
1628,
|
||||
1534,
|
||||
1565,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
"unlabeledArg": {
|
||||
"sourceRange": [
|
||||
1605,
|
||||
1614,
|
||||
1542,
|
||||
1551,
|
||||
0
|
||||
]
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -896,7 +896,7 @@ snapshot_kind: text
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1713,
|
||||
1769,
|
||||
1748,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -916,8 +916,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1775,
|
||||
1783,
|
||||
1754,
|
||||
1762,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -928,8 +928,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1789,
|
||||
1809,
|
||||
1768,
|
||||
1788,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -944,8 +944,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1789,
|
||||
1809,
|
||||
1768,
|
||||
1788,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -958,8 +958,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1789,
|
||||
1809,
|
||||
1768,
|
||||
1788,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -969,8 +969,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1789,
|
||||
1809,
|
||||
1768,
|
||||
1788,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -981,8 +981,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1789,
|
||||
1809,
|
||||
1768,
|
||||
1788,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -994,8 +994,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1789,
|
||||
1809,
|
||||
1768,
|
||||
1788,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1008,8 +1008,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1789,
|
||||
1809,
|
||||
1768,
|
||||
1788,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1022,8 +1022,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1789,
|
||||
1809,
|
||||
1768,
|
||||
1788,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1036,8 +1036,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1789,
|
||||
1809,
|
||||
1768,
|
||||
1788,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1050,8 +1050,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1789,
|
||||
1809,
|
||||
1768,
|
||||
1788,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1064,8 +1064,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1789,
|
||||
1809,
|
||||
1768,
|
||||
1788,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1078,8 +1078,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1789,
|
||||
1809,
|
||||
1768,
|
||||
1788,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
@ -1092,8 +1092,8 @@ snapshot_kind: text
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [
|
||||
1789,
|
||||
1809,
|
||||
1768,
|
||||
1788,
|
||||
0
|
||||
],
|
||||
"command": {
|
||||
|
@ -15,8 +15,8 @@ flowchart LR
|
||||
34["Segment<br>[1620, 1645, 0]"]
|
||||
35["Segment<br>[1651, 1676, 0]"]
|
||||
36["Segment<br>[1682, 1707, 0]"]
|
||||
37["Segment<br>[1713, 1769, 0]"]
|
||||
38["Segment<br>[1775, 1783, 0]"]
|
||||
37["Segment<br>[1713, 1748, 0]"]
|
||||
38["Segment<br>[1754, 1762, 0]"]
|
||||
39[Solid2d]
|
||||
end
|
||||
1["Plane<br>[992, 1011, 0]"]
|
||||
@ -43,7 +43,7 @@ flowchart LR
|
||||
30["SweepEdge Adjacent"]
|
||||
31["EdgeCut Fillet<br>[1334, 1425, 0]"]
|
||||
32["EdgeCut Fillet<br>[1431, 1534, 0]"]
|
||||
40["Sweep Extrusion<br>[1789, 1809, 0]"]
|
||||
40["Sweep Extrusion<br>[1768, 1788, 0]"]
|
||||
41[Wall]
|
||||
42[Wall]
|
||||
43[Wall]
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
source: kcl/src/simulation_tests.rs
|
||||
description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl
|
||||
snapshot_kind: text
|
||||
---
|
||||
{
|
||||
"Ok": {
|
||||
@ -1059,7 +1060,7 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl
|
||||
},
|
||||
{
|
||||
"declaration": {
|
||||
"end": 1809,
|
||||
"end": 1788,
|
||||
"id": {
|
||||
"end": 1545,
|
||||
"name": "sketch001",
|
||||
@ -1339,52 +1340,24 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl
|
||||
"name": "endAbsolute"
|
||||
},
|
||||
"arg": {
|
||||
"elements": [
|
||||
"arguments": [
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"end": 1748,
|
||||
"start": 1747,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 1746,
|
||||
"name": "profileStartX",
|
||||
"start": 1733,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 1749,
|
||||
"start": 1733,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
},
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"end": 1766,
|
||||
"start": 1765,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 1764,
|
||||
"name": "profileStartY",
|
||||
"start": 1751,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 1767,
|
||||
"start": 1751,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
"end": 1746,
|
||||
"start": 1745,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"end": 1768,
|
||||
"callee": {
|
||||
"end": 1744,
|
||||
"name": "profileStart",
|
||||
"start": 1732,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 1747,
|
||||
"start": 1732,
|
||||
"type": "ArrayExpression",
|
||||
"type": "ArrayExpression"
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
}
|
||||
}
|
||||
],
|
||||
@ -1394,7 +1367,7 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl
|
||||
"start": 1713,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 1769,
|
||||
"end": 1748,
|
||||
"start": 1713,
|
||||
"type": "CallExpressionKw",
|
||||
"type": "CallExpressionKw",
|
||||
@ -1403,20 +1376,20 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"end": 1782,
|
||||
"start": 1781,
|
||||
"end": 1761,
|
||||
"start": 1760,
|
||||
"type": "PipeSubstitution",
|
||||
"type": "PipeSubstitution"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 1780,
|
||||
"end": 1759,
|
||||
"name": "close",
|
||||
"start": 1775,
|
||||
"start": 1754,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 1783,
|
||||
"start": 1775,
|
||||
"end": 1762,
|
||||
"start": 1754,
|
||||
"type": "CallExpression",
|
||||
"type": "CallExpression"
|
||||
},
|
||||
@ -1429,9 +1402,9 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl
|
||||
"name": "length"
|
||||
},
|
||||
"arg": {
|
||||
"end": 1808,
|
||||
"end": 1787,
|
||||
"raw": "10",
|
||||
"start": 1806,
|
||||
"start": 1785,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": {
|
||||
@ -1442,19 +1415,19 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"end": 1796,
|
||||
"end": 1775,
|
||||
"name": "extrude",
|
||||
"start": 1789,
|
||||
"start": 1768,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"end": 1809,
|
||||
"start": 1789,
|
||||
"end": 1788,
|
||||
"start": 1768,
|
||||
"type": "CallExpressionKw",
|
||||
"type": "CallExpressionKw",
|
||||
"unlabeled": null
|
||||
}
|
||||
],
|
||||
"end": 1809,
|
||||
"end": 1788,
|
||||
"start": 1548,
|
||||
"type": "PipeExpression",
|
||||
"type": "PipeExpression"
|
||||
@ -1462,14 +1435,14 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl
|
||||
"start": 1536,
|
||||
"type": "VariableDeclarator"
|
||||
},
|
||||
"end": 1809,
|
||||
"end": 1788,
|
||||
"kind": "const",
|
||||
"start": 1536,
|
||||
"type": "VariableDeclaration",
|
||||
"type": "VariableDeclaration"
|
||||
}
|
||||
],
|
||||
"end": 1810,
|
||||
"end": 1789,
|
||||
"nonCodeMeta": {
|
||||
"nonCodeNodes": {
|
||||
"0": [
|
||||
|
@ -46,6 +46,6 @@ sketch001 = startSketchOn(bracket, seg01)
|
||||
|> line(end = [2.17, -0.03])
|
||||
|> line(end = [-0.07, -1.8])
|
||||
|> line(end = [-2.07, 0.05])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close(%)
|
||||
|> extrude(length = 10)
|
||||
|
@ -124,16 +124,16 @@ snapshot_kind: text
|
||||
"labeledArgs": {
|
||||
"length": {
|
||||
"sourceRange": [
|
||||
1806,
|
||||
1808,
|
||||
1785,
|
||||
1787,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "extrude",
|
||||
"sourceRange": [
|
||||
1789,
|
||||
1809,
|
||||
1768,
|
||||
1788,
|
||||
0
|
||||
],
|
||||
"type": "StdLibCall",
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
source: kcl/src/simulation_tests.rs
|
||||
description: Program memory after executing sketch_on_face_after_fillets_referencing_face.kcl
|
||||
snapshot_kind: text
|
||||
---
|
||||
{
|
||||
"environments": [
|
||||
@ -856,7 +857,7 @@ description: Program memory after executing sketch_on_face_after_fillets_referen
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
1713,
|
||||
1769,
|
||||
1748,
|
||||
0
|
||||
],
|
||||
"tag": null,
|
||||
@ -932,7 +933,7 @@ description: Program memory after executing sketch_on_face_after_fillets_referen
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
1713,
|
||||
1769,
|
||||
1748,
|
||||
0
|
||||
]
|
||||
},
|
||||
@ -951,8 +952,8 @@ description: Program memory after executing sketch_on_face_after_fillets_referen
|
||||
"__geoMeta": {
|
||||
"id": "[uuid]",
|
||||
"sourceRange": [
|
||||
1775,
|
||||
1783,
|
||||
1754,
|
||||
1762,
|
||||
0
|
||||
]
|
||||
},
|
||||
|
@ -9,7 +9,7 @@ const sketch001 = startSketchOn('XZ')
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $yo)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)], tag = $seg02)
|
||||
|> line(endAbsolute = profileStart(%), tag = $seg02)
|
||||
|> close()
|
||||
const extrude001 = extrude(sketch001, length = 100)
|
||||
const chamf = chamfer({
|
||||
|
@ -9,7 +9,7 @@ const sketch001 = startSketchOn('XZ')
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $yo)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)], tag = $seg02)
|
||||
|> line(endAbsolute = profileStart(%), tag = $seg02)
|
||||
|> close()
|
||||
const extrude001 = extrude(sketch001, length = 100)
|
||||
|> chamfer({
|
||||
|
@ -30,7 +30,7 @@ const sketch001 = startSketchOn('XZ')
|
||||
angleStart: 180,
|
||||
radius: radius - templateGap
|
||||
}, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001 = extrude(sketch001, length = 5)
|
||||
const sketch002 = startSketchOn(extrude001, 'START')
|
||||
@ -47,7 +47,7 @@ const sketch002 = startSketchOn(extrude001, 'START')
|
||||
segAng(rectangleSegmentA001, %),
|
||||
-segLen(rectangleSegmentA001, %)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude002 = extrude(sketch002, length = 7.5)
|
||||
const sketch003 = startSketchOn(extrude001, 'START')
|
||||
@ -64,6 +64,6 @@ const sketch003 = startSketchOn(extrude001, 'START')
|
||||
segAng(rectangleSegmentA002, %),
|
||||
-segLen(rectangleSegmentA002, %)
|
||||
], %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude003 = extrude(sketch003, length = 7.5)
|
||||
|
@ -10,7 +10,7 @@ fn rect = (origin) => {
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
}
|
||||
|
||||
|
@ -28,7 +28,7 @@ fn caster = (originStart) => {
|
||||
|> xLine(3.543, %)
|
||||
|> yLine(3.543, %)
|
||||
|> xLine(-3.543, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> hole(circle({ center: [
|
||||
(3.543 - 2.756) / 2,
|
||||
@ -113,7 +113,7 @@ const sketch001l = startSketchOn(plane001)
|
||||
|> xLine(serverDepth + .8, %)
|
||||
|> angledLineToY({ angle: -45, to: 1 }, %)
|
||||
|> xLine(-serverDepth + 2 - .8, %, $seg01)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001l = extrude(sketch001l, length = 1)
|
||||
|
||||
@ -125,7 +125,7 @@ const sketch002l = startSketchOn(plane001)
|
||||
to: serverDepth - 1 + .8
|
||||
}, %)
|
||||
|> yLine(-railHeight * 1.75, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude002l = extrude(sketch002l, length = 1)
|
||||
|
||||
@ -140,7 +140,7 @@ const sketch003l = startSketchOn(plane001)
|
||||
to: railHeight * 1.75 - 1 + 2
|
||||
}, %)
|
||||
|> xLine(serverDepth - 2 + .8, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude003l = extrude(sketch003l, length = 1)
|
||||
|
||||
@ -152,7 +152,7 @@ const sketch004l = startSketchOn(plane001)
|
||||
to: railHeight * 1.75 + 2 - 1
|
||||
}, %)
|
||||
|> yLine(-railHeight * 1.75, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude004l = extrude(sketch004l, length = 1)
|
||||
|
||||
@ -161,7 +161,7 @@ const sketch005l = startSketchOn(plane001)
|
||||
|> line(end = [-serverDepth + 2.25, railHeight * 1.75], tag = $lineToIntersect4)
|
||||
|> xLine(1, %)
|
||||
|> line(end = [serverDepth - 2.25, -railHeight * 1.75], tag = $lineToIntersect5)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude005l = extrude(sketch005l, length = 1)
|
||||
|
||||
@ -174,7 +174,7 @@ const sketch006l = startSketchOn(plane001)
|
||||
}, %)
|
||||
|> angledLine({ angle: -70, length: 1.414 }, %)
|
||||
|> angledLineToY({ angle: 70 + 180, to: 2 - 1 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude006l = extrude(sketch006l, length = 1)
|
||||
|
||||
@ -193,7 +193,7 @@ const sketch007l = startSketchOn(plane001)
|
||||
angle: 70 + 180,
|
||||
to: railHeight * 1.75 + 1
|
||||
}, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude007l = extrude(sketch007l, length = 1)
|
||||
|
||||
@ -216,7 +216,7 @@ const sketch001w = startSketchOn(plane002)
|
||||
|> xLine(depth, %)
|
||||
|> angledLineToY({ angle: -45, to: 1 }, %)
|
||||
|> xLine(-depth + 2, %, $seg01w)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001w = extrude(sketch001w, length = 1)
|
||||
|
||||
@ -225,7 +225,7 @@ const sketch002w = startSketchOn(plane002)
|
||||
|> yLine(railHeight * 1.75 + 2, %)
|
||||
|> angledLineToX({ angle: -135, to: depth - 1 }, %)
|
||||
|> yLine(-railHeight * 1.75, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude002w = extrude(sketch002w, length = 1)
|
||||
|
||||
@ -237,7 +237,7 @@ const sketch003w = startSketchOn(plane002)
|
||||
to: railHeight * 1.75 - 1 + 2
|
||||
}, %)
|
||||
|> xLine(depth - 2, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude003w = extrude(sketch003w, length = 1)
|
||||
|
||||
@ -249,7 +249,7 @@ const sketch004w = startSketchOn(plane002)
|
||||
to: railHeight * 1.75 + 2 - 1
|
||||
}, %)
|
||||
|> yLine(-railHeight * 1.75, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude004w = extrude(sketch004w, length = 1)
|
||||
|
||||
@ -258,7 +258,7 @@ const sketch005w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23, length: 35.5 }, %)
|
||||
|> angledLine({ angle: -23 + 90 + 45, length: 1.413 }, %)
|
||||
|> angledLineToX({ angle: -23, to: 1 }, %, $lineToIntersect)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude005w = extrude(sketch005w, length = 1)
|
||||
|
||||
@ -274,7 +274,7 @@ const sketch006w = startSketchOn(plane002)
|
||||
intersectTag: lineToIntersect,
|
||||
offset: 0
|
||||
}, %, $lineToIntersect2)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude006w = extrude(sketch006w, length = 1)
|
||||
|
||||
@ -287,7 +287,7 @@ const sketch007w = startSketchOn(plane002)
|
||||
intersectTag: lineToIntersect2,
|
||||
offset: 0
|
||||
}, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude007w = extrude(sketch007w, length = 1)
|
||||
|
||||
@ -304,7 +304,7 @@ const sketch008w = startSketchOn(plane002)
|
||||
intersectTag: lineToIntersect,
|
||||
offset: 0
|
||||
}, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude008w = extrude(sketch008w, length = 1)
|
||||
|
||||
@ -313,7 +313,7 @@ const sketch009w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23 - 45, length: 1.414 }, %)
|
||||
|> angledLine({ angle: 90 - 23, length: 28 }, %)
|
||||
|> angledLine({ angle: -23 + 45, length: -1.414 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude009w = extrude(sketch009w, length = 1)
|
||||
|
||||
@ -322,7 +322,7 @@ const sketch010w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23 - 45, length: 1.414 }, %)
|
||||
|> angledLine({ angle: 180 - 23, length: 28 }, %)
|
||||
|> angledLine({ angle: -23 + 45, length: 1.414 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude010w = extrude(sketch010w, length = 1)
|
||||
|
||||
@ -334,7 +334,7 @@ const sketch011w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: 90 - 23, length: 28 - 2 }, %)
|
||||
|> angledLine({ angle: -23 - 45, length: -1.414 }, %)
|
||||
|> angledLine({ angle: 90 - 23 + 180, length: 28 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude011w = extrude(sketch011w, length = 1)
|
||||
|
||||
@ -346,7 +346,7 @@ const sketch012w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: 180 - 23, length: 28 - 2 }, %)
|
||||
|> angledLine({ angle: -23 - 45, length: -1.414 }, %)
|
||||
|> angledLine({ angle: -23, length: 28 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude012w = extrude(sketch012w, length = 1)
|
||||
|
||||
@ -358,7 +358,7 @@ const sketch013w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23, length: 1 }, %)
|
||||
|> angledLineToX({ angle: -23 + 90, to: 1 }, %)
|
||||
|> yLine(2.56, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude013w = extrude(sketch013w, length = 1)
|
||||
|
||||
@ -370,7 +370,7 @@ const sketch014w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23 - 90, length: 36 / 2 }, %)
|
||||
|> angledLine({ angle: -23, length: 1 }, %)
|
||||
|> angledLine({ angle: -23 - 90, length: -36 / 2 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude014w = extrude(sketch014w, length = 1)
|
||||
|
||||
@ -382,7 +382,7 @@ const sketch015w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23 - 90, length: 36 / 2 }, %)
|
||||
|> angledLine({ angle: -23, length: 1 }, %)
|
||||
|> angledLine({ angle: -23 - 90, length: -36 / 2 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude015w = extrude(sketch015w, length = 1)
|
||||
|
||||
@ -394,7 +394,7 @@ const sketch016w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23 - 90, length: 36 / 2 }, %)
|
||||
|> angledLine({ angle: -23, length: 1 }, %)
|
||||
|> angledLine({ angle: -23 - 90, length: -36 / 2 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude016w = extrude(sketch016w, length = 1)
|
||||
|
||||
@ -414,7 +414,7 @@ const sketch017w = startSketchOn(plane002)
|
||||
angleEnd: -23,
|
||||
radius: 7 / 2 + 1
|
||||
}, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude017w = extrude(sketch017w, length = 1)
|
||||
|
||||
@ -434,7 +434,7 @@ const sketch018w = startSketchOn(plane002)
|
||||
angleEnd: -23,
|
||||
radius: 7 / 2 + 1
|
||||
}, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude018w = extrude(sketch018w, length = 1)
|
||||
|
||||
@ -443,7 +443,7 @@ const sketch019w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23, length: 7 }, %)
|
||||
|> angledLine({ angle: -23 + 90, length: -1 }, %)
|
||||
|> angledLineToX({ angle: -23, to: 1 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude019w = extrude(sketch019w, length = 1)
|
||||
|
||||
@ -455,7 +455,7 @@ const sketch020w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23, length: 7 }, %)
|
||||
|> angledLine({ angle: -23 + 90, length: -1 }, %)
|
||||
|> angledLine({ angle: -23 + 180, length: 7 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude020w = extrude(sketch020w, length = 1)
|
||||
|
||||
@ -464,7 +464,7 @@ const sketch021w = startSketchOn(plane002)
|
||||
|> angledLineToX({ angle: -23, to: depth - 1 }, %)
|
||||
|> yLine(-1.1, %)
|
||||
|> angledLineToX({ angle: -23, to: 1 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude021w = extrude(sketch021w, length = 1)
|
||||
|
||||
@ -476,7 +476,7 @@ const sketch022w = startSketchOn(plane002)
|
||||
}, %)
|
||||
|> xLine(-2.56, %)
|
||||
|> angledLineToX({ angle: -23, to: depth - 1 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude022w = extrude(sketch022w, length = 1)
|
||||
|
||||
@ -488,7 +488,7 @@ const sketch023w = startSketchOn(plane002)
|
||||
}, %)
|
||||
|> xLine(1.086, %)
|
||||
|> angledLineToX({ angle: 90 - 23, to: 1 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude023w = extrude(sketch023w, length = 1)
|
||||
|
||||
@ -497,7 +497,7 @@ const sketch024w = startSketchOn(plane002)
|
||||
|> angledLineToY({ angle: -23, to: 1 }, %)
|
||||
|> xLine(-2.56, %)
|
||||
|> angledLineToX({ angle: -23, to: 1 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude024w = extrude(sketch024w, length = 1)
|
||||
|
||||
@ -506,7 +506,7 @@ const sketch025w = startSketchOn(plane002)
|
||||
|> angledLineToY({ angle: -23, to: 1 }, %)
|
||||
|> xLine(-2.56, %)
|
||||
|> angledLineToX({ angle: -23, to: 1 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude025w = extrude(sketch025w, length = 1)
|
||||
|
||||
@ -525,7 +525,7 @@ const sketch005 = startSketchOn(plane003)
|
||||
|> line(end = [-width + 2, 3])
|
||||
|> line(end = [0, 1])
|
||||
|> line(end = [width - 2, -3])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude005 = extrude(sketch005, length = 1)
|
||||
@ -535,7 +535,7 @@ const sketch006 = startSketchOn(plane003)
|
||||
|> line(end = [-width + 2, 3])
|
||||
|> line(end = [0, 1])
|
||||
|> line(end = [width - 2, -3])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude006 = extrude(sketch006, length = 1)
|
||||
@ -549,7 +549,7 @@ const sketch007 = startSketchOn(plane003)
|
||||
width - 2,
|
||||
depth - serverDepth - 5 + .6
|
||||
], %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude007 = extrude(sketch007, length = 1)
|
||||
|
||||
@ -558,7 +558,7 @@ const sketch008 = startSketchOn(plane003)
|
||||
|> line(end = [-width + 2, -depth + serverDepth + 4.4])
|
||||
|> line(end = [0, -1.32])
|
||||
|> line(end = [width - 2, depth - serverDepth - 4.4])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude008 = extrude(sketch008, length = 1)
|
||||
@ -578,7 +578,7 @@ const sketch005t = startSketchOn(plane004)
|
||||
|> line(end = [-width + 2, 3])
|
||||
|> line(end = [0, 1])
|
||||
|> line(end = [width - 2, -3])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude005t = extrude(sketch005t, length = -1)
|
||||
@ -592,7 +592,7 @@ const sketch007t = startSketchOn(plane004)
|
||||
width - 2,
|
||||
depth - serverDepth - 5 + .6
|
||||
], %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude007t = extrude(sketch007t, length = -1)
|
||||
|
||||
@ -601,7 +601,7 @@ const sketch008t = startSketchOn(plane004)
|
||||
|> line(end = [-width + 2, 3])
|
||||
|> line(end = [0, 1])
|
||||
|> line(end = [width - 2, -3])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude008t = extrude(sketch008t, length = -1)
|
||||
|
||||
@ -610,7 +610,7 @@ const sketch009t = startSketchOn(plane004)
|
||||
|> line(end = [-width + 2, -depth + serverDepth + 4.4])
|
||||
|> line(end = [0, -1.32])
|
||||
|> line(end = [width - 2, depth - serverDepth - 4.4])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude009t = extrude(sketch009t, length = -1)
|
||||
@ -656,7 +656,7 @@ const sketch001fl = startSketchOn(planeXZfl)
|
||||
segAng(rectangleSegmentA001fl),
|
||||
-segLen(rectangleSegmentA001fl)
|
||||
], %, $rectangleSegmentC001fl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001fl = extrude(sketch001fl, length = thickness)
|
||||
|
||||
@ -672,7 +672,7 @@ const sketch002fl = startSketchOn(planeYZfl)
|
||||
segAng(rectangleSegmentA002fl),
|
||||
-segLen(rectangleSegmentA002fl)
|
||||
], %, $rectangleSegmentC002fl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude002fl = extrude(sketch002fl, length = thickness)
|
||||
@ -708,7 +708,7 @@ const sketch004fl = startSketchOn(extrude002fl, 'START')
|
||||
segAng(rectangleSegmentA003fl),
|
||||
-segLen(rectangleSegmentA003fl)
|
||||
], %, $rectangleSegmentC003fl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -729,7 +729,7 @@ const sketch005fl = startSketchOn(extrude002fl, 'START')
|
||||
segAng(rectangleSegmentA004fl),
|
||||
-segLen(rectangleSegmentA004fl)
|
||||
], %, $rectangleSegmentC004fl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -753,7 +753,7 @@ const sketch006fl = startSketchOn(extrude002fl, 'START')
|
||||
segAng(rectangleSegmentA005fl),
|
||||
-segLen(rectangleSegmentA005fl)
|
||||
], %, $rectangleSegmentC005fl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -774,7 +774,7 @@ const sketch007fl = startSketchOn(extrude001fl, 'START')
|
||||
segAng(rectangleSegmentA006fl),
|
||||
-segLen(rectangleSegmentA006fl)
|
||||
], %, $rectangleSegmentC006fl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -795,7 +795,7 @@ const sketch008fl = startSketchOn(extrude001fl, 'START')
|
||||
segAng(rectangleSegmentA007fl),
|
||||
-segLen(rectangleSegmentA007fl)
|
||||
], %, $rectangleSegmentC007fl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -819,7 +819,7 @@ const sketch009fl = startSketchOn(extrude001fl, 'START')
|
||||
segAng(rectangleSegmentA008fl),
|
||||
-segLen(rectangleSegmentA008fl)
|
||||
], %, $rectangleSegmentC008fl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -837,7 +837,7 @@ const sketch010fl = startSketchOn(extrude001fl, 'START')
|
||||
|> xLine(0.75 - .438, %)
|
||||
|> tangentialArcTo([-0.66 - originStart[0],originStart[2] + .81 + .438 / 2], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -858,7 +858,7 @@ const sketch011fl = startSketchOn(extrude001fl, 'START')
|
||||
railHeight * 1.75 / 2 - (.438 / 2)
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|
||||
const extrude011fl = extrude(sketch011fl, length = -thickness)
|
||||
@ -875,7 +875,7 @@ const sketch012fl = startSketchOn(extrude001fl, 'START')
|
||||
railHeight * 1.75 - .81 - (.438 / 2)
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, -1],
|
||||
@ -933,7 +933,7 @@ const sketch001fr = startSketchOn(planeXZfr)
|
||||
segAng(rectangleSegmentA001fr),
|
||||
-segLen(rectangleSegmentA001fr)
|
||||
], %, $rectangleSegmentC001fr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001fr = extrude(sketch001fr, length = thickness)
|
||||
|
||||
@ -949,7 +949,7 @@ const sketch002fr = startSketchOn(planeYZfr)
|
||||
segAng(rectangleSegmentA002fr),
|
||||
-segLen(rectangleSegmentA002fr)
|
||||
], %, $rectangleSegmentC002fr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude002fr = extrude(sketch002fr, length = thickness)
|
||||
@ -990,7 +990,7 @@ const sketch004fr = startSketchOn(extrude002fr, 'START')
|
||||
segAng(rectangleSegmentA003fr),
|
||||
-segLen(rectangleSegmentA003fr)
|
||||
], %, $rectangleSegmentC003fr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1014,7 +1014,7 @@ const sketch005fr = startSketchOn(extrude002fr, 'START')
|
||||
segAng(rectangleSegmentA004fr),
|
||||
-segLen(rectangleSegmentA004fr)
|
||||
], %, $rectangleSegmentC004fr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1038,7 +1038,7 @@ const sketch006fr = startSketchOn(extrude002fr, 'START')
|
||||
segAng(rectangleSegmentA005fr),
|
||||
-segLen(rectangleSegmentA005fr)
|
||||
], %, $rectangleSegmentC005fr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1062,7 +1062,7 @@ const sketch007fr = startSketchOn(extrude001fr, 'START')
|
||||
segAng(rectangleSegmentA006fr),
|
||||
-segLen(rectangleSegmentA006fr)
|
||||
], %, $rectangleSegmentC006fr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1086,7 +1086,7 @@ const sketch008fr = startSketchOn(extrude001fr, 'START')
|
||||
segAng(rectangleSegmentA007fr),
|
||||
-segLen(rectangleSegmentA007fr)
|
||||
], %, $rectangleSegmentC007fr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1110,7 +1110,7 @@ const sketch009fr = startSketchOn(extrude001fr, 'START')
|
||||
segAng(rectangleSegmentA008fr),
|
||||
-segLen(rectangleSegmentA008fr)
|
||||
], %, $rectangleSegmentC008fr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1131,7 +1131,7 @@ const sketch010fr = startSketchOn(extrude001fr, 'START')
|
||||
originStart[2] + .81 + .438 / 2
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1152,7 +1152,7 @@ const sketch011fr = startSketchOn(extrude001fr, 'START')
|
||||
originStart[2] + railHeight * 1.75 / 2 - (.438 / 2)
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|
||||
const extrude011fr = extrude(sketch011fr, length = -thickness)
|
||||
@ -1169,7 +1169,7 @@ const sketch012fr = startSketchOn(extrude001fr, 'START')
|
||||
originStart[2] + railHeight * 1.75 - .81 - (.438 / 2)
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, -1],
|
||||
@ -1227,7 +1227,7 @@ const sketch001rr = startSketchOn(planeXZrr)
|
||||
segAng(rectangleSegmentA001rr),
|
||||
-segLen(rectangleSegmentA001rr)
|
||||
], %, $rectangleSegmentC001rr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001rr = extrude(sketch001rr, length = thickness)
|
||||
|
||||
@ -1243,7 +1243,7 @@ const sketch002rr = startSketchOn(planeYZrr)
|
||||
segAng(rectangleSegmentA002rr),
|
||||
-segLen(rectangleSegmentA002rr)
|
||||
], %, $rectangleSegmentC002rr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude002rr = extrude(sketch002rr, length = thickness)
|
||||
@ -1284,7 +1284,7 @@ const sketch004rr = startSketchOn(extrude002rr, 'START')
|
||||
segAng(rectangleSegmentA003rr),
|
||||
-segLen(rectangleSegmentA003rr)
|
||||
], %, $rectangleSegmentC003rr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1308,7 +1308,7 @@ const sketch005rr = startSketchOn(extrude002rr, 'START')
|
||||
segAng(rectangleSegmentA004rr),
|
||||
-segLen(rectangleSegmentA004rr)
|
||||
], %, $rectangleSegmentC004rr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1332,7 +1332,7 @@ const sketch006rr = startSketchOn(extrude002rr, 'START')
|
||||
segAng(rectangleSegmentA005rr),
|
||||
-segLen(rectangleSegmentA005rr)
|
||||
], %, $rectangleSegmentC005rr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1356,7 +1356,7 @@ const sketch007rr = startSketchOn(extrude001rr, 'START')
|
||||
segAng(rectangleSegmentA006rr),
|
||||
-segLen(rectangleSegmentA006rr)
|
||||
], %, $rectangleSegmentC006rr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1380,7 +1380,7 @@ const sketch008rr = startSketchOn(extrude001rr, 'START')
|
||||
segAng(rectangleSegmentA007rr),
|
||||
-segLen(rectangleSegmentA007rr)
|
||||
], %, $rectangleSegmentC007rr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1404,7 +1404,7 @@ const sketch009rr = startSketchOn(extrude001rr, 'START')
|
||||
segAng(rectangleSegmentA008rr),
|
||||
-segLen(rectangleSegmentA008rr)
|
||||
], %, $rectangleSegmentC008rr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1425,7 +1425,7 @@ const sketch010rr = startSketchOn(extrude001rr, 'START')
|
||||
originStart[2] + .81 + .438 / 2
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1446,7 +1446,7 @@ const sketch011rr = startSketchOn(extrude001rr, 'START')
|
||||
originStart[2] + railHeight * 1.75 / 2 - (.438 / 2)
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|
||||
const extrude011rr = extrude(sketch011rr, length = -thickness)
|
||||
@ -1463,7 +1463,7 @@ const sketch012rr = startSketchOn(extrude001rr, 'START')
|
||||
originStart[2] + railHeight * 1.75 - .81 - (.438 / 2)
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, -1],
|
||||
@ -1520,7 +1520,7 @@ const sketch001rl = startSketchOn(planeXZrl)
|
||||
segAng(rectangleSegmentA001rl),
|
||||
-segLen(rectangleSegmentA001rl)
|
||||
], %, $rectangleSegmentC001rl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001rl = extrude(sketch001rl, length = thickness)
|
||||
|
||||
@ -1536,7 +1536,7 @@ const sketch002rl = startSketchOn(planeYZrl)
|
||||
segAng(rectangleSegmentA002rl),
|
||||
-segLen(rectangleSegmentA002rl)
|
||||
], %, $rectangleSegmentC002rl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude002rl = extrude(sketch002rl, length = thickness)
|
||||
@ -1577,7 +1577,7 @@ const sketch004rl = startSketchOn(extrude002rl, 'START')
|
||||
segAng(rectangleSegmentA003rl),
|
||||
-segLen(rectangleSegmentA003rl)
|
||||
], %, $rectangleSegmentC003rl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1601,7 +1601,7 @@ const sketch005rl = startSketchOn(extrude002rl, 'START')
|
||||
segAng(rectangleSegmentA004rl),
|
||||
-segLen(rectangleSegmentA004rl)
|
||||
], %, $rectangleSegmentC004rl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1625,7 +1625,7 @@ const sketch006rl = startSketchOn(extrude002rl, 'START')
|
||||
segAng(rectangleSegmentA005rl),
|
||||
-segLen(rectangleSegmentA005rl)
|
||||
], %, $rectangleSegmentC005rl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1649,7 +1649,7 @@ const sketch007rl = startSketchOn(extrude001rl, 'START')
|
||||
segAng(rectangleSegmentA006rl),
|
||||
-segLen(rectangleSegmentA006rl)
|
||||
], %, $rectangleSegmentC006rl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1673,7 +1673,7 @@ const sketch008rl = startSketchOn(extrude001rl, 'START')
|
||||
segAng(rectangleSegmentA007rl),
|
||||
-segLen(rectangleSegmentA007rl)
|
||||
], %, $rectangleSegmentC007rl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1697,7 +1697,7 @@ const sketch009rl = startSketchOn(extrude001rl, 'START')
|
||||
segAng(rectangleSegmentA008rl),
|
||||
-segLen(rectangleSegmentA008rl)
|
||||
], %, $rectangleSegmentC008rl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1718,7 +1718,7 @@ const sketch010rl = startSketchOn(extrude001rl, 'START')
|
||||
originStart[2] + .81 + .438 / 2
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1739,7 +1739,7 @@ const sketch011rl = startSketchOn(extrude001rl, 'START')
|
||||
originStart[2] + railHeight * 1.75 / 2 - (.438 / 2)
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|
||||
const extrude011rl = extrude(sketch011rl, length = -thickness)
|
||||
@ -1756,7 +1756,7 @@ const sketch012rl = startSketchOn(extrude001rl, 'START')
|
||||
originStart[2] + railHeight * 1.75 - .81 - (.438 / 2)
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, -1],
|
||||
@ -1802,7 +1802,7 @@ fn streamServer = (serverPos) => {
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001s = extrude(sketch001s, length = 7)
|
||||
|
||||
@ -1825,7 +1825,7 @@ fn streamServer = (serverPos) => {
|
||||
|> yLine(-0.42, %)
|
||||
|> line(end = [0.34, -0.15])
|
||||
|> yLine(-2.97, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude002s = extrude(sketch002s, length = 1.8 / 2)
|
||||
@ -1849,7 +1849,7 @@ fn streamServer = (serverPos) => {
|
||||
|> yLine(-0.42, %)
|
||||
|> line(end = [0.34, -0.15])
|
||||
|> yLine(-2.97, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude003s = extrude(sketch003s, length = 1.8 / 2)
|
||||
|
@ -26,7 +26,7 @@ fn caster = (originStart) => {
|
||||
|> xLine(3.543, %)
|
||||
|> yLine(3.543, %)
|
||||
|> xLine(-3.543, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> hole(circle({ center: [
|
||||
(3.543 - 2.756) / 2,
|
||||
@ -111,7 +111,7 @@ const sketch001l = startSketchOn(plane001)
|
||||
|> xLine(serverDepth + .8, %)
|
||||
|> angledLineToY({ angle: -45, to: 1 }, %)
|
||||
|> xLine(-serverDepth + 2 - .8, %, $seg01)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001l = extrude(sketch001l, length = 1)
|
||||
|
||||
@ -123,7 +123,7 @@ const sketch002l = startSketchOn(plane001)
|
||||
to: serverDepth - 1 + .8
|
||||
}, %)
|
||||
|> yLine(-railHeight * 1.75, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude002l = extrude(sketch002l, length = 1)
|
||||
|
||||
@ -138,7 +138,7 @@ const sketch003l = startSketchOn(plane001)
|
||||
to: railHeight * 1.75 - 1 + 2
|
||||
}, %)
|
||||
|> xLine(serverDepth - 2 + .8, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude003l = extrude(sketch003l, length = 1)
|
||||
|
||||
@ -150,7 +150,7 @@ const sketch004l = startSketchOn(plane001)
|
||||
to: railHeight * 1.75 + 2 - 1
|
||||
}, %)
|
||||
|> yLine(-railHeight * 1.75, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude004l = extrude(sketch004l, length = 1)
|
||||
|
||||
@ -159,7 +159,7 @@ const sketch005l = startSketchOn(plane001)
|
||||
|> line(end = [-serverDepth + 2.25, railHeight * 1.75], tag = $lineToIntersect4)
|
||||
|> xLine(1, %)
|
||||
|> line(end = [serverDepth - 2.25, -railHeight * 1.75], tag = $lineToIntersect5)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude005l = extrude(sketch005l, length = 1)
|
||||
|
||||
@ -172,7 +172,7 @@ const sketch006l = startSketchOn(plane001)
|
||||
}, %)
|
||||
|> angledLine({ angle: -70, length: 1.414 }, %)
|
||||
|> angledLineToY({ angle: 70 + 180, to: 2 - 1 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude006l = extrude(sketch006l, length = 1)
|
||||
|
||||
@ -191,7 +191,7 @@ const sketch007l = startSketchOn(plane001)
|
||||
angle: 70 + 180,
|
||||
to: railHeight * 1.75 + 1
|
||||
}, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude007l = extrude(sketch007l, length = 1)
|
||||
|
||||
@ -214,7 +214,7 @@ const sketch001w = startSketchOn(plane002)
|
||||
|> xLine(depth, %)
|
||||
|> angledLineToY({ angle: -45, to: 1 }, %)
|
||||
|> xLine(-depth + 2, %, $seg01w)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001w = extrude(sketch001w, length = 1)
|
||||
|
||||
@ -223,7 +223,7 @@ const sketch002w = startSketchOn(plane002)
|
||||
|> yLine(railHeight * 1.75 + 2, %)
|
||||
|> angledLineToX({ angle: -135, to: depth - 1 }, %)
|
||||
|> yLine(-railHeight * 1.75, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude002w = extrude(sketch002w, length = 1)
|
||||
|
||||
@ -235,7 +235,7 @@ const sketch003w = startSketchOn(plane002)
|
||||
to: railHeight * 1.75 - 1 + 2
|
||||
}, %)
|
||||
|> xLine(depth - 2, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude003w = extrude(sketch003w, length = 1)
|
||||
|
||||
@ -247,7 +247,7 @@ const sketch004w = startSketchOn(plane002)
|
||||
to: railHeight * 1.75 + 2 - 1
|
||||
}, %)
|
||||
|> yLine(-railHeight * 1.75, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude004w = extrude(sketch004w, length = 1)
|
||||
|
||||
@ -256,7 +256,7 @@ const sketch005w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23, length: 35.5 }, %)
|
||||
|> angledLine({ angle: -23 + 90 + 45, length: 1.413 }, %)
|
||||
|> angledLineToX({ angle: -23, to: 1 }, %, $lineToIntersect)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude005w = extrude(sketch005w, length = 1)
|
||||
|
||||
@ -272,7 +272,7 @@ const sketch006w = startSketchOn(plane002)
|
||||
intersectTag: lineToIntersect,
|
||||
offset: 0
|
||||
}, %, $lineToIntersect2)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude006w = extrude(sketch006w, length = 1)
|
||||
|
||||
@ -285,7 +285,7 @@ const sketch007w = startSketchOn(plane002)
|
||||
intersectTag: lineToIntersect2,
|
||||
offset: 0
|
||||
}, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude007w = extrude(sketch007w, length = 1)
|
||||
|
||||
@ -302,7 +302,7 @@ const sketch008w = startSketchOn(plane002)
|
||||
intersectTag: lineToIntersect,
|
||||
offset: 0
|
||||
}, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude008w = extrude(sketch008w, length = 1)
|
||||
|
||||
@ -311,7 +311,7 @@ const sketch009w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23 - 45, length: 1.414 }, %)
|
||||
|> angledLine({ angle: 90 - 23, length: 28 }, %)
|
||||
|> angledLine({ angle: -23 + 45, length: -1.414 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude009w = extrude(sketch009w, length = 1)
|
||||
|
||||
@ -320,7 +320,7 @@ const sketch010w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23 - 45, length: 1.414 }, %)
|
||||
|> angledLine({ angle: 180 - 23, length: 28 }, %)
|
||||
|> angledLine({ angle: -23 + 45, length: 1.414 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude010w = extrude(sketch010w, length = 1)
|
||||
|
||||
@ -332,7 +332,7 @@ const sketch011w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: 90 - 23, length: 28 - 2 }, %)
|
||||
|> angledLine({ angle: -23 - 45, length: -1.414 }, %)
|
||||
|> angledLine({ angle: 90 - 23 + 180, length: 28 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude011w = extrude(sketch011w, length = 1)
|
||||
|
||||
@ -344,7 +344,7 @@ const sketch012w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: 180 - 23, length: 28 - 2 }, %)
|
||||
|> angledLine({ angle: -23 - 45, length: -1.414 }, %)
|
||||
|> angledLine({ angle: -23, length: 28 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude012w = extrude(sketch012w, length = 1)
|
||||
|
||||
@ -356,7 +356,7 @@ const sketch013w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23, length: 1 }, %)
|
||||
|> angledLineToX({ angle: -23 + 90, to: 1 }, %)
|
||||
|> yLine(2.56, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude013w = extrude(sketch013w, length = 1)
|
||||
|
||||
@ -368,7 +368,7 @@ const sketch014w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23 - 90, length: 36 / 2 }, %)
|
||||
|> angledLine({ angle: -23, length: 1 }, %)
|
||||
|> angledLine({ angle: -23 - 90, length: -36 / 2 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude014w = extrude(sketch014w, length = 1)
|
||||
|
||||
@ -380,7 +380,7 @@ const sketch015w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23 - 90, length: 36 / 2 }, %)
|
||||
|> angledLine({ angle: -23, length: 1 }, %)
|
||||
|> angledLine({ angle: -23 - 90, length: -36 / 2 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude015w = extrude(sketch015w, length = 1)
|
||||
|
||||
@ -392,7 +392,7 @@ const sketch016w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23 - 90, length: 36 / 2 }, %)
|
||||
|> angledLine({ angle: -23, length: 1 }, %)
|
||||
|> angledLine({ angle: -23 - 90, length: -36 / 2 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude016w = extrude(sketch016w, length = 1)
|
||||
|
||||
@ -412,7 +412,7 @@ const sketch017w = startSketchOn(plane002)
|
||||
angleEnd: -23,
|
||||
radius: 7 / 2 + 1
|
||||
}, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude017w = extrude(sketch017w, length = 1)
|
||||
|
||||
@ -432,7 +432,7 @@ const sketch018w = startSketchOn(plane002)
|
||||
angleEnd: -23,
|
||||
radius: 7 / 2 + 1
|
||||
}, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude018w = extrude(sketch018w, length = 1)
|
||||
|
||||
@ -441,7 +441,7 @@ const sketch019w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23, length: 7 }, %)
|
||||
|> angledLine({ angle: -23 + 90, length: -1 }, %)
|
||||
|> angledLineToX({ angle: -23, to: 1 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude019w = extrude(sketch019w, length = 1)
|
||||
|
||||
@ -453,7 +453,7 @@ const sketch020w = startSketchOn(plane002)
|
||||
|> angledLine({ angle: -23, length: 7 }, %)
|
||||
|> angledLine({ angle: -23 + 90, length: -1 }, %)
|
||||
|> angledLine({ angle: -23 + 180, length: 7 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude020w = extrude(sketch020w, length = 1)
|
||||
|
||||
@ -462,7 +462,7 @@ const sketch021w = startSketchOn(plane002)
|
||||
|> angledLineToX({ angle: -23, to: depth - 1 }, %)
|
||||
|> yLine(-1.1, %)
|
||||
|> angledLineToX({ angle: -23, to: 1 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude021w = extrude(sketch021w, length = 1)
|
||||
|
||||
@ -474,7 +474,7 @@ const sketch022w = startSketchOn(plane002)
|
||||
}, %)
|
||||
|> xLine(-2.56, %)
|
||||
|> angledLineToX({ angle: -23, to: depth - 1 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude022w = extrude(sketch022w, length = 1)
|
||||
|
||||
@ -486,7 +486,7 @@ const sketch023w = startSketchOn(plane002)
|
||||
}, %)
|
||||
|> xLine(1.086, %)
|
||||
|> angledLineToX({ angle: 90 - 23, to: 1 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude023w = extrude(sketch023w, length = 1)
|
||||
|
||||
@ -495,7 +495,7 @@ const sketch024w = startSketchOn(plane002)
|
||||
|> angledLineToY({ angle: -23, to: 1 }, %)
|
||||
|> xLine(-2.56, %)
|
||||
|> angledLineToX({ angle: -23, to: 1 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude024w = extrude(sketch024w, length = 1)
|
||||
|
||||
@ -504,7 +504,7 @@ const sketch025w = startSketchOn(plane002)
|
||||
|> angledLineToY({ angle: -23, to: 1 }, %)
|
||||
|> xLine(-2.56, %)
|
||||
|> angledLineToX({ angle: -23, to: 1 }, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude025w = extrude(sketch025w, length = 1)
|
||||
|
||||
@ -523,7 +523,7 @@ const sketch005 = startSketchOn(plane003)
|
||||
|> line(end = [-width + 2, 3])
|
||||
|> line(end = [0, 1])
|
||||
|> line(end = [width - 2, -3])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude005 = extrude(sketch005, length = 1)
|
||||
@ -533,7 +533,7 @@ const sketch006 = startSketchOn(plane003)
|
||||
|> line(end = [-width + 2, 3])
|
||||
|> line(end = [0, 1])
|
||||
|> line(end = [width - 2, -3])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude006 = extrude(sketch006, length = 1)
|
||||
@ -547,7 +547,7 @@ const sketch007 = startSketchOn(plane003)
|
||||
width - 2,
|
||||
depth - serverDepth - 5 + .6
|
||||
], %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude007 = extrude(sketch007, length = 1)
|
||||
|
||||
@ -556,7 +556,7 @@ const sketch008 = startSketchOn(plane003)
|
||||
|> line(end = [-width + 2, -depth + serverDepth + 4.4])
|
||||
|> line(end = [0, -1.32])
|
||||
|> line(end = [width - 2, depth - serverDepth - 4.4])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude008 = extrude(sketch008, length = 1)
|
||||
@ -576,7 +576,7 @@ const sketch005t = startSketchOn(plane004)
|
||||
|> line(end = [-width + 2, 3])
|
||||
|> line(end = [0, 1])
|
||||
|> line(end = [width - 2, -3])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude005t = extrude(sketch005t, length = -1)
|
||||
@ -590,7 +590,7 @@ const sketch007t = startSketchOn(plane004)
|
||||
width - 2,
|
||||
depth - serverDepth - 5 + .6
|
||||
], %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude007t = extrude(sketch007t, length = -1)
|
||||
|
||||
@ -599,7 +599,7 @@ const sketch008t = startSketchOn(plane004)
|
||||
|> line(end = [-width + 2, 3])
|
||||
|> line(end = [0, 1])
|
||||
|> line(end = [width - 2, -3])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude008t = extrude(sketch008t, length = -1)
|
||||
|
||||
@ -608,7 +608,7 @@ const sketch009t = startSketchOn(plane004)
|
||||
|> line(end = [-width + 2, -depth + serverDepth + 4.4])
|
||||
|> line(end = [0, -1.32])
|
||||
|> line(end = [width - 2, depth - serverDepth - 4.4])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude009t = extrude(sketch009t, length = -1)
|
||||
@ -662,7 +662,7 @@ const sketch001fl = startSketchOn(planeXZfl)
|
||||
segAng(rectangleSegmentA001fl),
|
||||
-segLen(rectangleSegmentA001fl)
|
||||
], %, $rectangleSegmentC001fl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001fl = extrude(sketch001fl, length = thickness)
|
||||
|
||||
@ -678,7 +678,7 @@ const sketch002fl = startSketchOn(planeYZfl)
|
||||
segAng(rectangleSegmentA002fl),
|
||||
-segLen(rectangleSegmentA002fl)
|
||||
], %, $rectangleSegmentC002fl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude002fl = extrude(sketch002fl, length = thickness)
|
||||
@ -717,7 +717,7 @@ const sketch010fl = startSketchOn(extrude001fl, 'START')
|
||||
originStart[2] + .81 + .438 / 2
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -738,7 +738,7 @@ const sketch011fl = startSketchOn(extrude001fl, 'START')
|
||||
originStart[2] + railHeight * 1.75 / 2 - (.438 / 2)
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|
||||
const extrude011fl = extrude(sketch011fl, length = -thickness)
|
||||
@ -755,7 +755,7 @@ const sketch012fl = startSketchOn(extrude001fl, 'START')
|
||||
originStart[2] + railHeight * 1.75 - .81 - (.438 / 2)
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, -1],
|
||||
@ -813,7 +813,7 @@ const sketch001fr = startSketchOn(planeXZfr)
|
||||
segAng(rectangleSegmentA001fr),
|
||||
-segLen(rectangleSegmentA001fr)
|
||||
], %, $rectangleSegmentC001fr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001fr = extrude(sketch001fr, length = thickness)
|
||||
|
||||
@ -829,7 +829,7 @@ const sketch002fr = startSketchOn(planeYZfr)
|
||||
segAng(rectangleSegmentA002fr),
|
||||
-segLen(rectangleSegmentA002fr)
|
||||
], %, $rectangleSegmentC002fr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude002fr = extrude(sketch002fr, length = thickness)
|
||||
@ -867,7 +867,7 @@ const sketch010fr = startSketchOn(extrude001fr, 'START')
|
||||
originStart[2] + .81 + .438 / 2
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -888,7 +888,7 @@ const sketch011fr = startSketchOn(extrude001fr, 'START')
|
||||
originStart[2] + railHeight * 1.75 / 2 - (.438 / 2)
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|
||||
const extrude011fr = extrude(sketch011fr, length = -thickness)
|
||||
@ -905,7 +905,7 @@ const sketch012fr = startSketchOn(extrude001fr, 'START')
|
||||
originStart[2] + railHeight * 1.75 - .81 - (.438 / 2)
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, -1],
|
||||
@ -963,7 +963,7 @@ const sketch001rr = startSketchOn(planeXZrr)
|
||||
segAng(rectangleSegmentA001rr),
|
||||
-segLen(rectangleSegmentA001rr)
|
||||
], %, $rectangleSegmentC001rr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001rr = extrude(sketch001rr, length = thickness)
|
||||
|
||||
@ -979,7 +979,7 @@ const sketch002rr = startSketchOn(planeYZrr)
|
||||
segAng(rectangleSegmentA002rr),
|
||||
-segLen(rectangleSegmentA002rr)
|
||||
], %, $rectangleSegmentC002rr)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude002rr = extrude(sketch002rr, length = thickness)
|
||||
@ -1017,7 +1017,7 @@ const sketch010rr = startSketchOn(extrude001rr, 'START')
|
||||
originStart[2] + .81 + .438 / 2
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1038,7 +1038,7 @@ const sketch011rr = startSketchOn(extrude001rr, 'START')
|
||||
originStart[2] + railHeight * 1.75 / 2 - (.438 / 2)
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|
||||
const extrude011rr = extrude(sketch011rr, length = -thickness)
|
||||
@ -1055,7 +1055,7 @@ const sketch012rr = startSketchOn(extrude001rr, 'START')
|
||||
originStart[2] + railHeight * 1.75 - .81 - (.438 / 2)
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, -1],
|
||||
@ -1112,7 +1112,7 @@ const sketch001rl = startSketchOn(planeXZrl)
|
||||
segAng(rectangleSegmentA001rl),
|
||||
-segLen(rectangleSegmentA001rl)
|
||||
], %, $rectangleSegmentC001rl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001rl = extrude(sketch001rl, length = thickness)
|
||||
|
||||
@ -1128,7 +1128,7 @@ const sketch002rl = startSketchOn(planeYZrl)
|
||||
segAng(rectangleSegmentA002rl),
|
||||
-segLen(rectangleSegmentA002rl)
|
||||
], %, $rectangleSegmentC002rl)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude002rl = extrude(sketch002rl, length = thickness)
|
||||
@ -1166,7 +1166,7 @@ const sketch010rl = startSketchOn(extrude001rl, 'START')
|
||||
originStart[2] + .81 + .438 / 2
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, 1],
|
||||
@ -1187,7 +1187,7 @@ const sketch011rl = startSketchOn(extrude001rl, 'START')
|
||||
originStart[2] + railHeight * 1.75 / 2 - (.438 / 2)
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|
||||
const extrude011rl = extrude(sketch011rl, length = -thickness)
|
||||
@ -1204,7 +1204,7 @@ const sketch012rl = startSketchOn(extrude001rl, 'START')
|
||||
originStart[2] + railHeight * 1.75 - .81 - (.438 / 2)
|
||||
], %)
|
||||
|> xLine(-0.75 + .438, %)
|
||||
|> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
|
||||
|> tangentialArcTo(profileStart(%), %)
|
||||
|> close()
|
||||
|> patternLinear2d({
|
||||
axis: [0, -1],
|
||||
@ -1249,7 +1249,7 @@ fn streamServer = (serverPos) => {
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001s = extrude(sketch001s, length = 7)
|
||||
|
||||
@ -1272,7 +1272,7 @@ fn streamServer = (serverPos) => {
|
||||
|> yLine(-0.42, %)
|
||||
|> line(end = [0.34, -0.15])
|
||||
|> yLine(-2.97, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude002s = extrude(sketch002s, length = 1.8 / 2)
|
||||
@ -1296,7 +1296,7 @@ fn streamServer = (serverPos) => {
|
||||
|> yLine(-0.42, %)
|
||||
|> line(end = [0.34, -0.15])
|
||||
|> yLine(-2.97, %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
const extrude003s = extrude(sketch003s, length = 1.8 / 2)
|
||||
|
@ -9,7 +9,7 @@ const sketch001 = startSketchOn('XZ')
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude001 = extrude(sketch001, length = 100)
|
||||
|> fillet({ radius: 20, tags: [seg01] }, %)
|
||||
@ -30,7 +30,7 @@ const sketch003 = startSketchOn(extrude001, seg04)
|
||||
segAng(rectangleSegmentA003),
|
||||
-segLen(rectangleSegmentA003)
|
||||
], %, $rectangleSegmentC002)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const sketch002 = startSketchOn(extrude001, seg03)
|
||||
|> startProfileAt([159.25, 278.35], %)
|
||||
@ -43,6 +43,6 @@ const sketch002 = startSketchOn(extrude001, seg03)
|
||||
segAng(rectangleSegmentA002),
|
||||
-segLen(rectangleSegmentA002)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude002 = extrude(sketch002, length = 50)
|
||||
|
@ -9,7 +9,7 @@ const sketch001 = startSketchOn('XZ')
|
||||
segAng(rectangleSegmentA001),
|
||||
-segLen(rectangleSegmentA001)
|
||||
], %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)], tag = $seg02)
|
||||
|> line(endAbsolute = profileStart(%), tag = $seg02)
|
||||
|> close()
|
||||
const extrude001 = extrude(sketch001, length = 100)
|
||||
|> fillet({ radius: 20, tags: [seg01] }, %)
|
||||
@ -30,7 +30,7 @@ const sketch003 = startSketchOn(extrude001, seg04)
|
||||
segAng(rectangleSegmentA003),
|
||||
-segLen(rectangleSegmentA003)
|
||||
], %, $rectangleSegmentC002)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const sketch002 = startSketchOn(extrude001, seg03)
|
||||
|> startProfileAt([159.25, 278.35], %)
|
||||
@ -43,6 +43,6 @@ const sketch002 = startSketchOn(extrude001, seg03)
|
||||
segAng(rectangleSegmentA002),
|
||||
-segLen(rectangleSegmentA002)
|
||||
], %, $rectangleSegmentC001)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
const extrude002 = extrude(sketch002, length = 50)
|
||||
|
@ -50,6 +50,6 @@ sketch001 = startSketchOn(bracket, seg01)
|
||||
|> line(end = [2.17, -0.03])
|
||||
|> line(end = [-0.07, -1.8])
|
||||
|> line(end = [-2.07, 0.05])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> extrude(length = 10)
|
||||
|
@ -1372,7 +1372,7 @@ profile001 = plane001
|
||||
|> line(end = [235.72, -8.16])
|
||||
|> line(end = [13.27, -253.07])
|
||||
|> line(end = [-247.97, -19.39])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
profile002 = plane001
|
||||
@ -1380,7 +1380,7 @@ profile002 = plane001
|
||||
|> line(end = [247.96, -4.03])
|
||||
|> line(end = [-17.26, -116.79])
|
||||
|> line(end = [-235.87, 12.66])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|
||||
sketch001 = [profile001, profile002]
|
||||
@ -1401,7 +1401,7 @@ sketch001 = plane001
|
||||
|> line(end = [235.72, -8.16])
|
||||
|> line(end = [13.27, -253.07])
|
||||
|> line(end = [-247.97, -19.39])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> extrude(length = 10)
|
||||
|
||||
@ -1410,7 +1410,7 @@ sketch002 = plane001
|
||||
|> line(end = [247.96, -4.03])
|
||||
|> line(end = [-17.26, -116.79])
|
||||
|> line(end = [-235.87, 12.66])
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> extrude(length = 10)
|
||||
|
||||
@ -1531,7 +1531,7 @@ async fn kcl_test_shell_with_tag() {
|
||||
|> xLine(305.11, %, $seg01)
|
||||
|> yLine(-291.85, %)
|
||||
|> xLine(-segLen(seg01), %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> extrude(length = 40.14)
|
||||
|> shell({
|
||||
@ -1995,7 +1995,7 @@ async fn kcl_test_error_no_auth_websocket() {
|
||||
|> xLine(305.11, %, $seg01)
|
||||
|> yLine(-291.85, %)
|
||||
|> xLine(-segLen(seg01), %)
|
||||
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||
|> line(endAbsolute = profileStart(%))
|
||||
|> close()
|
||||
|> extrude(length = 40.14)
|
||||
|> shell({
|
||||
|
Reference in New Issue
Block a user