KCL: Convert x/y lines to use keyword arguments (#5615)
Previously, `xLine`, `xLineTo`, `yLine` and `yLineTo` used positional arguments. Now: - `xLineTo` and `yLineTo` have been removed - `xLine` and `yLine` both use keyword arguments: - `length`, optional (i.e. a relative distance along the X or Y axis) - `endAbsolute` optional (i.e. an absolute point along the X or Y axis) - `tag` optional - Exactly one of `length` or `endAbsolute` must be given. Not both, not neither. For example: ``` // Old way |> xLine(6.04, %) |> yLineTo(20, %, $base) // New way |> xLine(length = 6.04) |> yLine(endAbsolute = 20, tag = $base) ``` This also improves some of the general-purpose keyword arguments code in modeling app's TS codebase.
This commit is contained in:
		@ -11,39 +11,39 @@ let brace_base = startSketchOn(XY)
 | 
			
		||||
  |> startProfileAt([corner_radius, 0], %)
 | 
			
		||||
  |> line(end = [width - corner_radius, 0.0])
 | 
			
		||||
  |> tangentialArcToRelative([corner_radius, corner_radius], %)
 | 
			
		||||
  |> yLine(25.0 - corner_radius, %)
 | 
			
		||||
  |> yLine(length = 25.0 - corner_radius)
 | 
			
		||||
  |> tangentialArcToRelative([-corner_radius, corner_radius], %)
 | 
			
		||||
  |> xLine(-(d_wrist_circumference[0] - (corner_radius * 2)), %)
 | 
			
		||||
  |> xLine(length = -(d_wrist_circumference[0] - (corner_radius * 2)))
 | 
			
		||||
  |> tangentialArcToRelative([-corner_radius, corner_radius], %)
 | 
			
		||||
  |> yLine(length - 25.0 - 23.0 - (corner_radius * 2), %)
 | 
			
		||||
  |> yLine(length = length - 25.0 - 23.0 - (corner_radius * 2))
 | 
			
		||||
  |> tangentialArcToRelative([corner_radius, corner_radius], %)
 | 
			
		||||
  |> xLine(15.0 - (corner_radius * 2), %)
 | 
			
		||||
  |> xLine(length = 15.0 - (corner_radius * 2))
 | 
			
		||||
  |> tangentialArcToRelative([corner_radius, corner_radius], %)
 | 
			
		||||
  |> yLine(23.0 - corner_radius, %)
 | 
			
		||||
  |> yLine(length = 23.0 - corner_radius)
 | 
			
		||||
  |> tangentialArcToRelative([-corner_radius, corner_radius], %)
 | 
			
		||||
  |> xLine(-(hand_thickness + 15.0 + 15.0 - (corner_radius * 2)), %)
 | 
			
		||||
  |> xLine(length = -(hand_thickness + 15.0 + 15.0 - (corner_radius * 2)))
 | 
			
		||||
  |> tangentialArcToRelative([-corner_radius, -corner_radius], %)
 | 
			
		||||
  |> yLine(-(23.0 - corner_radius), %)
 | 
			
		||||
  |> yLine(length = -(23.0 - corner_radius))
 | 
			
		||||
  |> tangentialArcToRelative([corner_radius, -corner_radius], %)
 | 
			
		||||
  |> xLine(15.0 - (corner_radius * 2), %)
 | 
			
		||||
  |> xLine(length = 15.0 - (corner_radius * 2))
 | 
			
		||||
  |> tangentialArcToRelative([corner_radius, -corner_radius], %)
 | 
			
		||||
  |> yLine(-(length - 25.0 - 23.0 - (corner_radius * 2)), %)
 | 
			
		||||
  |> yLine(length = -(length - 25.0 - 23.0 - (corner_radius * 2)))
 | 
			
		||||
  |> tangentialArcToRelative([-corner_radius, -corner_radius], %)
 | 
			
		||||
  |> xLine(-(d_wrist_circumference[1] + d_wrist_circumference[2] + d_wrist_circumference[3] - hand_thickness - corner_radius), %)
 | 
			
		||||
  |> xLine(length = -(d_wrist_circumference[1] + d_wrist_circumference[2] + d_wrist_circumference[3] - hand_thickness - corner_radius))
 | 
			
		||||
  |> tangentialArcToRelative([-corner_radius, -corner_radius], %)
 | 
			
		||||
  |> yLine(-(25.0 - corner_radius), %)
 | 
			
		||||
  |> yLine(length = -(25.0 - corner_radius))
 | 
			
		||||
  |> tangentialArcToRelative([corner_radius, -corner_radius], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
 | 
			
		||||
let inner = startSketchOn(XY)
 | 
			
		||||
  |> startProfileAt([0, 0], %)
 | 
			
		||||
  |> xLine(1.0, %)
 | 
			
		||||
  |> xLine(length = 1.0)
 | 
			
		||||
  |> tangentialArcToRelative([corner_radius, corner_radius], %)
 | 
			
		||||
  |> yLine(25.0 - (corner_radius * 2), %)
 | 
			
		||||
  |> yLine(length = 25.0 - (corner_radius * 2))
 | 
			
		||||
  |> tangentialArcToRelative([-corner_radius, corner_radius], %)
 | 
			
		||||
  |> xLine(-1.0, %)
 | 
			
		||||
  |> xLine(length = -1.0)
 | 
			
		||||
  |> tangentialArcToRelative([-corner_radius, -corner_radius], %)
 | 
			
		||||
  |> yLine(-(25.0 - (corner_radius * 2)), %)
 | 
			
		||||
  |> yLine(length = -(25.0 - (corner_radius * 2)))
 | 
			
		||||
  |> tangentialArcToRelative([corner_radius, -corner_radius], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -11,20 +11,20 @@ Fy = 0.5
 | 
			
		||||
 | 
			
		||||
sketch001 = startSketchOn('-YZ')
 | 
			
		||||
  |> startProfileAt([back_walls_width / 2, 0], %)
 | 
			
		||||
  |> xLine(wall_thickness / 2, %)
 | 
			
		||||
  |> xLine(length = wall_thickness / 2)
 | 
			
		||||
  |> angledLineToX({ angle: 45, to: back_walls_width }, %, $seg01)
 | 
			
		||||
  |> yLineTo(height, %)
 | 
			
		||||
  |> xLine(-wall_thickness, %)
 | 
			
		||||
  |> yLineTo(segEndY(seg01), %)
 | 
			
		||||
  |> yLine(endAbsolute = height)
 | 
			
		||||
  |> xLine(length = -wall_thickness)
 | 
			
		||||
  |> yLine(endAbsolute = segEndY(seg01))
 | 
			
		||||
  |> angledLineToX({
 | 
			
		||||
       angle: 45,
 | 
			
		||||
       to: back_walls_width / 2 + wall_thickness / 2
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> xLine(-wall_thickness, %)
 | 
			
		||||
  |> xLine(length = -wall_thickness)
 | 
			
		||||
  |> angledLineToX({ angle: 180 - 45, to: wall_thickness }, %)
 | 
			
		||||
  |> yLineTo(height, %)
 | 
			
		||||
  |> xLineTo(0, %)
 | 
			
		||||
  |> yLineTo(segEndY(seg01), %)
 | 
			
		||||
  |> yLine(endAbsolute = height)
 | 
			
		||||
  |> xLine(endAbsolute = 0)
 | 
			
		||||
  |> yLine(endAbsolute = segEndY(seg01))
 | 
			
		||||
  |> angledLineToY({ angle: 180 - 45, to: 0 }, %)
 | 
			
		||||
  |> close()
 | 
			
		||||
part001 = revolve({
 | 
			
		||||
@ -39,20 +39,20 @@ part001 = revolve({
 | 
			
		||||
 | 
			
		||||
sketch002 = startSketchOn('-YZ')
 | 
			
		||||
  |> startProfileAt([back_walls_width / 2, 0], %)
 | 
			
		||||
  |> xLine(wall_thickness / 2, %)
 | 
			
		||||
  |> xLine(length = wall_thickness / 2)
 | 
			
		||||
  |> angledLineToX({ angle: 45, to: back_walls_width }, %, $seg02)
 | 
			
		||||
  |> yLineTo(height, %)
 | 
			
		||||
  |> xLine(-wall_thickness, %)
 | 
			
		||||
  |> yLineTo(segEndY(seg01), %)
 | 
			
		||||
  |> yLine(endAbsolute = height)
 | 
			
		||||
  |> xLine(length = -wall_thickness)
 | 
			
		||||
  |> yLine(endAbsolute = segEndY(seg01))
 | 
			
		||||
  |> angledLineToX({
 | 
			
		||||
       angle: 45,
 | 
			
		||||
       to: back_walls_width / 2 + wall_thickness / 2
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> xLine(-wall_thickness, %)
 | 
			
		||||
  |> xLine(length = -wall_thickness)
 | 
			
		||||
  |> angledLineToX({ angle: 180 - 45, to: wall_thickness }, %)
 | 
			
		||||
  |> yLineTo(height, %)
 | 
			
		||||
  |> xLineTo(0, %)
 | 
			
		||||
  |> yLineTo(segEndY(seg02), %)
 | 
			
		||||
  |> yLine(endAbsolute = height)
 | 
			
		||||
  |> xLine(endAbsolute = 0)
 | 
			
		||||
  |> yLine(endAbsolute = segEndY(seg02))
 | 
			
		||||
  |> angledLineToY({ angle: 180 - 45, to: 0 }, %)
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> extrude(length = back_length - height)
 | 
			
		||||
@ -11,20 +11,20 @@ const length001 = slateWidthHalf - radius
 | 
			
		||||
const length002 = depth + minClampingDistance
 | 
			
		||||
const sketch001 = startSketchOn('XZ')
 | 
			
		||||
  |> startProfileAt([0, depth - templateGap], %)
 | 
			
		||||
  |> xLine(length001, %, $seg01)
 | 
			
		||||
  |> xLine(length = length001, tag = $seg01)
 | 
			
		||||
  |> arc({
 | 
			
		||||
       angleEnd: 0,
 | 
			
		||||
       angleStart: 90,
 | 
			
		||||
       radius: radius - templateGap
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> yLineTo(-templateGap * 2 - (templateDiameter / 2), %, $seg05)
 | 
			
		||||
  |> xLineTo(slateWidthHalf + templateThickness, %, $seg04)
 | 
			
		||||
  |> yLine(-length002, %, $seg03)
 | 
			
		||||
  |> xLineTo(0, %, $seg02)
 | 
			
		||||
  |> xLine(-segLen(seg02, %), %)
 | 
			
		||||
  |> yLine(segLen(seg03, %), %)
 | 
			
		||||
  |> xLine(segLen(seg04, %), %)
 | 
			
		||||
  |> yLine(segLen(seg05, %), %)
 | 
			
		||||
  |> yLine(endAbsolute = -templateGap * 2 - (templateDiameter / 2), tag = $seg05)
 | 
			
		||||
  |> xLine(endAbsolute = slateWidthHalf + templateThickness, tag = $seg04)
 | 
			
		||||
  |> yLine(length = -length002, tag = $seg03)
 | 
			
		||||
  |> xLine(endAbsolute = 0, tag = $seg02)
 | 
			
		||||
  |> xLine(length = -segLen(seg02, %))
 | 
			
		||||
  |> yLine(length = segLen(seg03, %))
 | 
			
		||||
  |> xLine(length = segLen(seg04, %))
 | 
			
		||||
  |> yLine(length = segLen(seg05, %))
 | 
			
		||||
  |> arc({
 | 
			
		||||
       angleEnd: 90,
 | 
			
		||||
       angleStart: 180,
 | 
			
		||||
@ -38,7 +38,7 @@ const sketch002 = startSketchOn(extrude001, 'START')
 | 
			
		||||
       -slateWidthHalf,
 | 
			
		||||
       -templateGap * 2 - (templateDiameter / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-7, %, $rectangleSegmentA001)
 | 
			
		||||
  |> xLine(length = -7, tag = $rectangleSegmentA001)
 | 
			
		||||
  |> angledLine([
 | 
			
		||||
       segAng(rectangleSegmentA001, %) + 90,
 | 
			
		||||
       minClampingDistance
 | 
			
		||||
@ -55,7 +55,7 @@ const sketch003 = startSketchOn(extrude001, 'START')
 | 
			
		||||
       slateWidthHalf,
 | 
			
		||||
       -templateGap * 2 - (templateDiameter / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(7, %, $rectangleSegmentA002)
 | 
			
		||||
  |> xLine(length = 7, tag = $rectangleSegmentA002)
 | 
			
		||||
  |> angledLine([
 | 
			
		||||
       segAng(rectangleSegmentA002, %) - 90,
 | 
			
		||||
       minClampingDistance
 | 
			
		||||
 | 
			
		||||
@ -25,9 +25,9 @@ fn caster = (originStart) => {
 | 
			
		||||
 | 
			
		||||
  const sketch001c = startSketchOn(plane001c)
 | 
			
		||||
    |> startProfileAt([0, 0], %)
 | 
			
		||||
    |> xLine(3.543, %)
 | 
			
		||||
    |> yLine(3.543, %)
 | 
			
		||||
    |> xLine(-3.543, %)
 | 
			
		||||
    |> xLine(length = 3.543)
 | 
			
		||||
    |> yLine(length = 3.543)
 | 
			
		||||
    |> xLine(length = -3.543)
 | 
			
		||||
    |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
    |> close()
 | 
			
		||||
    |> hole(circle(center = [
 | 
			
		||||
@ -110,21 +110,21 @@ const plane001 = {
 | 
			
		||||
 | 
			
		||||
const sketch001l = startSketchOn(plane001)
 | 
			
		||||
  |> startProfileAt([0, 0], %)
 | 
			
		||||
  |> xLine(serverDepth + .8, %)
 | 
			
		||||
  |> xLine(length = serverDepth + .8)
 | 
			
		||||
  |> angledLineToY({ angle: -45, to: 1 }, %)
 | 
			
		||||
  |> xLine(-serverDepth + 2 - .8, %, $seg01)
 | 
			
		||||
  |> xLine(length = -serverDepth + 2 - .8, tag = $seg01)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude001l = extrude(sketch001l, length = 1)
 | 
			
		||||
 | 
			
		||||
const sketch002l = startSketchOn(plane001)
 | 
			
		||||
  |> startProfileAt([serverDepth + .8, 0], %)
 | 
			
		||||
  |> yLine(railHeight * 1.75 + 2, %)
 | 
			
		||||
  |> yLine(length = railHeight * 1.75 + 2)
 | 
			
		||||
  |> angledLineToX({
 | 
			
		||||
       angle: -135,
 | 
			
		||||
       to: serverDepth - 1 + .8
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> yLine(-railHeight * 1.75, %)
 | 
			
		||||
  |> yLine(length = -railHeight * 1.75)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude002l = extrude(sketch002l, length = 1)
 | 
			
		||||
@ -134,24 +134,24 @@ const sketch003l = startSketchOn(plane001)
 | 
			
		||||
       serverDepth + .8,
 | 
			
		||||
       railHeight * 1.75 + 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-serverDepth - .8, %, $seg02)
 | 
			
		||||
  |> xLine(length = -serverDepth - .8, tag = $seg02)
 | 
			
		||||
  |> angledLineToY({
 | 
			
		||||
       angle: -45,
 | 
			
		||||
       to: railHeight * 1.75 - 1 + 2
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> xLine(serverDepth - 2 + .8, %)
 | 
			
		||||
  |> xLine(length = serverDepth - 2 + .8)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude003l = extrude(sketch003l, length = 1)
 | 
			
		||||
 | 
			
		||||
const sketch004l = startSketchOn(plane001)
 | 
			
		||||
  |> startProfileAt([0, 0], %)
 | 
			
		||||
  |> yLine(railHeight * 1.75 + 2, %)
 | 
			
		||||
  |> yLine(length = railHeight * 1.75 + 2)
 | 
			
		||||
  |> angledLineToY({
 | 
			
		||||
       angle: 135,
 | 
			
		||||
       to: railHeight * 1.75 + 2 - 1
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> yLine(-railHeight * 1.75, %)
 | 
			
		||||
  |> yLine(length = -railHeight * 1.75)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude004l = extrude(sketch004l, length = 1)
 | 
			
		||||
@ -159,7 +159,7 @@ const extrude004l = extrude(sketch004l, length = 1)
 | 
			
		||||
const sketch005l = startSketchOn(plane001)
 | 
			
		||||
  |> startProfileAt([serverDepth - 1.25, 1], %)
 | 
			
		||||
  |> line(end = [-serverDepth + 2.25, railHeight * 1.75], tag = $lineToIntersect4)
 | 
			
		||||
  |> xLine(1, %)
 | 
			
		||||
  |> xLine(length = 1)
 | 
			
		||||
  |> line(end = [serverDepth - 2.25, -railHeight * 1.75], tag = $lineToIntersect5)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
@ -213,42 +213,42 @@ const plane002 = {
 | 
			
		||||
 | 
			
		||||
const sketch001w = startSketchOn(plane002)
 | 
			
		||||
  |> startProfileAt([0, 0], %)
 | 
			
		||||
  |> xLine(depth, %)
 | 
			
		||||
  |> xLine(length = depth)
 | 
			
		||||
  |> angledLineToY({ angle: -45, to: 1 }, %)
 | 
			
		||||
  |> xLine(-depth + 2, %, $seg01w)
 | 
			
		||||
  |> xLine(length = -depth + 2, tag = $seg01w)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude001w = extrude(sketch001w, length = 1)
 | 
			
		||||
 | 
			
		||||
const sketch002w = startSketchOn(plane002)
 | 
			
		||||
  |> startProfileAt([depth, 0], %)
 | 
			
		||||
  |> yLine(railHeight * 1.75 + 2, %)
 | 
			
		||||
  |> yLine(length = railHeight * 1.75 + 2)
 | 
			
		||||
  |> angledLineToX({ angle: -135, to: depth - 1 }, %)
 | 
			
		||||
  |> yLine(-railHeight * 1.75, %)
 | 
			
		||||
  |> yLine(length = -railHeight * 1.75)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude002w = extrude(sketch002w, length = 1)
 | 
			
		||||
 | 
			
		||||
const sketch003w = startSketchOn(plane002)
 | 
			
		||||
  |> startProfileAt([depth, railHeight * 1.75 + 2], %)
 | 
			
		||||
  |> xLine(-depth, %, $seg02w)
 | 
			
		||||
  |> xLine(length = -depth, tag = $seg02w)
 | 
			
		||||
  |> angledLineToY({
 | 
			
		||||
       angle: -45,
 | 
			
		||||
       to: railHeight * 1.75 - 1 + 2
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> xLine(depth - 2, %)
 | 
			
		||||
  |> xLine(length = depth - 2)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude003w = extrude(sketch003w, length = 1)
 | 
			
		||||
 | 
			
		||||
const sketch004w = startSketchOn(plane002)
 | 
			
		||||
  |> startProfileAt([0, 0], %)
 | 
			
		||||
  |> yLine(railHeight * 1.75 + 2, %)
 | 
			
		||||
  |> yLine(length = railHeight * 1.75 + 2)
 | 
			
		||||
  |> angledLineToY({
 | 
			
		||||
       angle: 135,
 | 
			
		||||
       to: railHeight * 1.75 + 2 - 1
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> yLine(-railHeight * 1.75, %)
 | 
			
		||||
  |> yLine(length = -railHeight * 1.75)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude004w = extrude(sketch004w, length = 1)
 | 
			
		||||
@ -268,7 +268,7 @@ const sketch006w = startSketchOn(plane002)
 | 
			
		||||
       40.6 - (35.5 * sin(23 * pi() / 180)) + 1.75 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> angledLineToX({ angle: -23 + 90, to: depth - 1 }, %)
 | 
			
		||||
  |> yLine(2.56, %)
 | 
			
		||||
  |> yLine(length = 2.56)
 | 
			
		||||
  |> angledLineThatIntersects({
 | 
			
		||||
       angle: -23 + 90 + 180,
 | 
			
		||||
       intersectTag: lineToIntersect,
 | 
			
		||||
@ -357,7 +357,7 @@ const sketch013w = startSketchOn(plane002)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> angledLine({ angle: -23, length: 1 }, %)
 | 
			
		||||
  |> angledLineToX({ angle: -23 + 90, to: 1 }, %)
 | 
			
		||||
  |> yLine(2.56, %)
 | 
			
		||||
  |> yLine(length = 2.56)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude013w = extrude(sketch013w, length = 1)
 | 
			
		||||
@ -462,7 +462,7 @@ const extrude020w = extrude(sketch020w, length = 1)
 | 
			
		||||
const sketch021w = startSketchOn(plane002)
 | 
			
		||||
  |> startProfileAt([1, 21.9], %)
 | 
			
		||||
  |> angledLineToX({ angle: -23, to: depth - 1 }, %)
 | 
			
		||||
  |> yLine(-1.1, %)
 | 
			
		||||
  |> yLine(length = -1.1)
 | 
			
		||||
  |> angledLineToX({ angle: -23, to: 1 }, %)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
@ -474,7 +474,7 @@ const sketch022w = startSketchOn(plane002)
 | 
			
		||||
       angle: 180 - 23,
 | 
			
		||||
       to: railHeight * 1.75 + 1
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> xLine(-2.56, %)
 | 
			
		||||
  |> xLine(length = -2.56)
 | 
			
		||||
  |> angledLineToX({ angle: -23, to: depth - 1 }, %)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
@ -486,7 +486,7 @@ const sketch023w = startSketchOn(plane002)
 | 
			
		||||
       angle: 90 - 23,
 | 
			
		||||
       to: railHeight * 1.75 + 1
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> xLine(1.086, %)
 | 
			
		||||
  |> xLine(length = 1.086)
 | 
			
		||||
  |> angledLineToX({ angle: 90 - 23, to: 1 }, %)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
@ -495,7 +495,7 @@ const extrude023w = extrude(sketch023w, length = 1)
 | 
			
		||||
const sketch024w = startSketchOn(plane002)
 | 
			
		||||
  |> startProfileAt([1, 16.5], %)
 | 
			
		||||
  |> angledLineToY({ angle: -23, to: 1 }, %)
 | 
			
		||||
  |> xLine(-2.56, %)
 | 
			
		||||
  |> xLine(length = -2.56)
 | 
			
		||||
  |> angledLineToX({ angle: -23, to: 1 }, %)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
@ -504,7 +504,7 @@ const extrude024w = extrude(sketch024w, length = 1)
 | 
			
		||||
const sketch025w = startSketchOn(plane002)
 | 
			
		||||
  |> startProfileAt([1, 4], %)
 | 
			
		||||
  |> angledLineToY({ angle: -23, to: 1 }, %)
 | 
			
		||||
  |> xLine(-2.56, %)
 | 
			
		||||
  |> xLine(length = -2.56)
 | 
			
		||||
  |> angledLineToX({ angle: -23, to: 1 }, %)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
@ -685,13 +685,13 @@ const sketch003fl = startSketchOn(planeXYfl)
 | 
			
		||||
       angleEnd: 180,
 | 
			
		||||
       radius: bendRad + thickness
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> xLine(thickness, %)
 | 
			
		||||
  |> xLine(length = thickness)
 | 
			
		||||
  |> arc({
 | 
			
		||||
       angleStart: 180,
 | 
			
		||||
       angleEnd: 270,
 | 
			
		||||
       radius: bendRad
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> yLine(-thickness, %)
 | 
			
		||||
  |> yLine(length = -thickness)
 | 
			
		||||
  |> close()
 | 
			
		||||
 | 
			
		||||
const extrude003fl = extrude(sketch003fl, length = railHeight * 1.75)
 | 
			
		||||
@ -834,9 +834,9 @@ const sketch010fl = startSketchOn(extrude001fl, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0],
 | 
			
		||||
       originStart[2] + .81 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([-0.66 - originStart[0],originStart[2] +  .81 + .438 / 2], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> patternLinear2d(
 | 
			
		||||
@ -852,12 +852,12 @@ const sketch011fl = startSketchOn(extrude001fl, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0],
 | 
			
		||||
      originStart[2] + railHeight * 1.75 / 2 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0],originStart[2]+ 
 | 
			
		||||
       railHeight * 1.75 / 2 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
 | 
			
		||||
@ -869,12 +869,12 @@ const sketch012fl = startSketchOn(extrude001fl, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0], originStart[2] +
 | 
			
		||||
       railHeight * 1.75 - .81 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0], originStart[2]+
 | 
			
		||||
       railHeight * 1.75 - .81 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> patternLinear2d(
 | 
			
		||||
@ -965,7 +965,7 @@ const sketch003fr = startSketchOn(planeXYfr)
 | 
			
		||||
       angleEnd: -90,
 | 
			
		||||
       radius: bendRad
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> yLine(-thickness, %)
 | 
			
		||||
  |> yLine(length = -thickness)
 | 
			
		||||
  |> arc({
 | 
			
		||||
       angleStart: -90,
 | 
			
		||||
       angleEnd: 0,
 | 
			
		||||
@ -1125,12 +1125,12 @@ const sketch010fr = startSketchOn(extrude001fr, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0],
 | 
			
		||||
       originStart[2] + .81 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0],
 | 
			
		||||
       originStart[2] + .81 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> patternLinear2d(
 | 
			
		||||
@ -1146,12 +1146,12 @@ const sketch011fr = startSketchOn(extrude001fr, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0],
 | 
			
		||||
       originStart[2] + railHeight * 1.75 / 2 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0],
 | 
			
		||||
       originStart[2] + railHeight * 1.75 / 2 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
 | 
			
		||||
@ -1163,12 +1163,12 @@ const sketch012fr = startSketchOn(extrude001fr, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0],
 | 
			
		||||
       originStart[2] + railHeight * 1.75 - .81 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0],
 | 
			
		||||
       originStart[2] + railHeight * 1.75 - .81 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> patternLinear2d(
 | 
			
		||||
@ -1259,7 +1259,7 @@ const sketch003rr = startSketchOn(planeXYrr)
 | 
			
		||||
       angleEnd: 90,
 | 
			
		||||
       radius: bendRad+thickness
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> yLine(-thickness, %)
 | 
			
		||||
  |> yLine(length = -thickness)
 | 
			
		||||
    |> arc({
 | 
			
		||||
       angleStart: 90,
 | 
			
		||||
       angleEnd: 0,
 | 
			
		||||
@ -1419,12 +1419,12 @@ const sketch010rr = startSketchOn(extrude001rr, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0]+1.5-serverDepth,
 | 
			
		||||
       originStart[2] + .81 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0]+1.5-serverDepth,
 | 
			
		||||
       originStart[2] + .81 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> patternLinear2d(
 | 
			
		||||
@ -1440,12 +1440,12 @@ const sketch011rr = startSketchOn(extrude001rr, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0]+1.5-serverDepth,
 | 
			
		||||
       originStart[2] + railHeight * 1.75 / 2 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0]+1.5-serverDepth,
 | 
			
		||||
       originStart[2] + railHeight * 1.75 / 2 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
 | 
			
		||||
@ -1457,12 +1457,12 @@ const sketch012rr = startSketchOn(extrude001rr, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0]+1.5-serverDepth,
 | 
			
		||||
       originStart[2] + railHeight * 1.75 - .81 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0]+1.5-serverDepth,
 | 
			
		||||
       originStart[2] + railHeight * 1.75 - .81 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> patternLinear2d(
 | 
			
		||||
@ -1552,7 +1552,7 @@ const sketch003rl = startSketchOn(planeXYrl)
 | 
			
		||||
       angleEnd: 180,
 | 
			
		||||
       radius: bendRad
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> xLine(-thickness, %)
 | 
			
		||||
  |> xLine(length = -thickness)
 | 
			
		||||
  |> arc({
 | 
			
		||||
       angleStart: 180,
 | 
			
		||||
       angleEnd: 90,
 | 
			
		||||
@ -1712,12 +1712,12 @@ const sketch010rl = startSketchOn(extrude001rl, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0] - serverDepth + 1.5,
 | 
			
		||||
       originStart[2] + .81 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0] - serverDepth + 1.5,
 | 
			
		||||
       originStart[2] + .81 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> patternLinear2d(
 | 
			
		||||
@ -1733,12 +1733,12 @@ const sketch011rl = startSketchOn(extrude001rl, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0] - serverDepth + 1.5,
 | 
			
		||||
       originStart[2] + railHeight * 1.75 / 2 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0] - serverDepth + 1.5,
 | 
			
		||||
       originStart[2] + railHeight * 1.75 / 2 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
 | 
			
		||||
@ -1750,12 +1750,12 @@ const sketch012rl = startSketchOn(extrude001rl, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0] - serverDepth + 1.5,
 | 
			
		||||
       originStart[2] + railHeight * 1.75 - .81 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0] - serverDepth + 1.5,
 | 
			
		||||
       originStart[2] + railHeight * 1.75 - .81 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> patternLinear2d(
 | 
			
		||||
@ -1808,23 +1808,23 @@ fn streamServer = (serverPos) => {
 | 
			
		||||
 | 
			
		||||
  const sketch002s = startSketchOn(planeXZs)
 | 
			
		||||
    |> startProfileAt([-1, 4.114 + 1 + serverPos * 1.75], %)
 | 
			
		||||
    |> yLine(6.98, %)
 | 
			
		||||
    |> xLine(0.2, %)
 | 
			
		||||
    |> yLine(-0.36, %)
 | 
			
		||||
    |> xLine(0.5, %)
 | 
			
		||||
    |> yLine(length = 6.98)
 | 
			
		||||
    |> xLine(length = 0.2)
 | 
			
		||||
    |> yLine(length = -0.36)
 | 
			
		||||
    |> xLine(length = 0.5)
 | 
			
		||||
    |> tangentialArcTo([
 | 
			
		||||
         0.3,
 | 
			
		||||
         17.15 + 4.114 + 1 + serverPos * 1.75 - 11.114
 | 
			
		||||
       ], %)
 | 
			
		||||
    |> yLine(-1.77, %)
 | 
			
		||||
    |> yLine(length = -1.77)
 | 
			
		||||
    |> tangentialArcTo([
 | 
			
		||||
         -0.13,
 | 
			
		||||
         14.89 + 4.114 + 1 + serverPos * 1.75 - 11.114
 | 
			
		||||
       ], %)
 | 
			
		||||
    |> xLine(-0.52, %)
 | 
			
		||||
    |> yLine(-0.42, %)
 | 
			
		||||
    |> xLine(length = -0.52)
 | 
			
		||||
    |> yLine(length = -0.42)
 | 
			
		||||
    |> line(end = [0.34, -0.15])
 | 
			
		||||
    |> yLine(-2.97, %)
 | 
			
		||||
    |> yLine(length = -2.97)
 | 
			
		||||
    |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
    |> close()
 | 
			
		||||
 | 
			
		||||
@ -1832,23 +1832,23 @@ fn streamServer = (serverPos) => {
 | 
			
		||||
 | 
			
		||||
  const sketch003s = startSketchOn(planeXZs2)
 | 
			
		||||
    |> startProfileAt([-1, 4.114 + 1 + serverPos * 1.75], %)
 | 
			
		||||
    |> yLine(6.98, %)
 | 
			
		||||
    |> xLine(0.2, %)
 | 
			
		||||
    |> yLine(-0.36, %)
 | 
			
		||||
    |> xLine(0.5, %)
 | 
			
		||||
    |> yLine(length = 6.98)
 | 
			
		||||
    |> xLine(length = 0.2)
 | 
			
		||||
    |> yLine(length = -0.36)
 | 
			
		||||
    |> xLine(length = 0.5)
 | 
			
		||||
    |> tangentialArcTo([
 | 
			
		||||
         0.3,
 | 
			
		||||
         17.15 + 4.114 + 1 + serverPos * 1.75 - 11.114
 | 
			
		||||
       ], %)
 | 
			
		||||
    |> yLine(-1.77, %)
 | 
			
		||||
    |> yLine(length = -1.77)
 | 
			
		||||
    |> tangentialArcTo([
 | 
			
		||||
         -0.13,
 | 
			
		||||
         14.89 + 4.114 + 1 + serverPos * 1.75 - 11.114
 | 
			
		||||
       ], %)
 | 
			
		||||
    |> xLine(-0.52, %)
 | 
			
		||||
    |> yLine(-0.42, %)
 | 
			
		||||
    |> xLine(length = -0.52)
 | 
			
		||||
    |> yLine(length = -0.42)
 | 
			
		||||
    |> line(end = [0.34, -0.15])
 | 
			
		||||
    |> yLine(-2.97, %)
 | 
			
		||||
    |> yLine(length = -2.97)
 | 
			
		||||
    |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
    |> close()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -23,9 +23,9 @@ fn caster = (originStart) => {
 | 
			
		||||
 | 
			
		||||
  const sketch001c = startSketchOn(plane001c)
 | 
			
		||||
    |> startProfileAt([0, 0], %)
 | 
			
		||||
    |> xLine(3.543, %)
 | 
			
		||||
    |> yLine(3.543, %)
 | 
			
		||||
    |> xLine(-3.543, %)
 | 
			
		||||
    |> xLine(length = 3.543)
 | 
			
		||||
    |> yLine(length = 3.543)
 | 
			
		||||
    |> xLine(length = -3.543)
 | 
			
		||||
    |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
    |> close()
 | 
			
		||||
    |> hole(circle(center = [
 | 
			
		||||
@ -108,21 +108,21 @@ const plane001 = {
 | 
			
		||||
 | 
			
		||||
const sketch001l = startSketchOn(plane001)
 | 
			
		||||
  |> startProfileAt([0, 0], %)
 | 
			
		||||
  |> xLine(serverDepth + .8, %)
 | 
			
		||||
  |> xLine(length = serverDepth + .8)
 | 
			
		||||
  |> angledLineToY({ angle: -45, to: 1 }, %)
 | 
			
		||||
  |> xLine(-serverDepth + 2 - .8, %, $seg01)
 | 
			
		||||
  |> xLine(length = -serverDepth + 2 - .8, tag = $seg01)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude001l = extrude(sketch001l, length = 1)
 | 
			
		||||
 | 
			
		||||
const sketch002l = startSketchOn(plane001)
 | 
			
		||||
  |> startProfileAt([serverDepth + .8, 0], %)
 | 
			
		||||
  |> yLine(railHeight * 1.75 + 2, %)
 | 
			
		||||
  |> yLine(length = railHeight * 1.75 + 2)
 | 
			
		||||
  |> angledLineToX({
 | 
			
		||||
       angle: -135,
 | 
			
		||||
       to: serverDepth - 1 + .8
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> yLine(-railHeight * 1.75, %)
 | 
			
		||||
  |> yLine(length = -railHeight * 1.75)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude002l = extrude(sketch002l, length = 1)
 | 
			
		||||
@ -132,24 +132,24 @@ const sketch003l = startSketchOn(plane001)
 | 
			
		||||
       serverDepth + .8,
 | 
			
		||||
       railHeight * 1.75 + 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-serverDepth - .8, %, $seg02)
 | 
			
		||||
  |> xLine(length = -serverDepth - .8, tag = $seg02)
 | 
			
		||||
  |> angledLineToY({
 | 
			
		||||
       angle: -45,
 | 
			
		||||
       to: railHeight * 1.75 - 1 + 2
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> xLine(serverDepth - 2 + .8, %)
 | 
			
		||||
  |> xLine(length = serverDepth - 2 + .8)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude003l = extrude(sketch003l, length = 1)
 | 
			
		||||
 | 
			
		||||
const sketch004l = startSketchOn(plane001)
 | 
			
		||||
  |> startProfileAt([0, 0], %)
 | 
			
		||||
  |> yLine(railHeight * 1.75 + 2, %)
 | 
			
		||||
  |> yLine(length = railHeight * 1.75 + 2)
 | 
			
		||||
  |> angledLineToY({
 | 
			
		||||
       angle: 135,
 | 
			
		||||
       to: railHeight * 1.75 + 2 - 1
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> yLine(-railHeight * 1.75, %)
 | 
			
		||||
  |> yLine(length = -railHeight * 1.75)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude004l = extrude(sketch004l, length = 1)
 | 
			
		||||
@ -157,7 +157,7 @@ const extrude004l = extrude(sketch004l, length = 1)
 | 
			
		||||
const sketch005l = startSketchOn(plane001)
 | 
			
		||||
  |> startProfileAt([serverDepth - 1.25, 1], %)
 | 
			
		||||
  |> line(end = [-serverDepth + 2.25, railHeight * 1.75], tag = $lineToIntersect4)
 | 
			
		||||
  |> xLine(1, %)
 | 
			
		||||
  |> xLine(length = 1)
 | 
			
		||||
  |> line(end = [serverDepth - 2.25, -railHeight * 1.75], tag = $lineToIntersect5)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
@ -211,42 +211,42 @@ const plane002 = {
 | 
			
		||||
 | 
			
		||||
const sketch001w = startSketchOn(plane002)
 | 
			
		||||
  |> startProfileAt([0, 0], %)
 | 
			
		||||
  |> xLine(depth, %)
 | 
			
		||||
  |> xLine(length = depth)
 | 
			
		||||
  |> angledLineToY({ angle: -45, to: 1 }, %)
 | 
			
		||||
  |> xLine(-depth + 2, %, $seg01w)
 | 
			
		||||
  |> xLine(length = -depth + 2, tag = $seg01w)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude001w = extrude(sketch001w, length = 1)
 | 
			
		||||
 | 
			
		||||
const sketch002w = startSketchOn(plane002)
 | 
			
		||||
  |> startProfileAt([depth, 0], %)
 | 
			
		||||
  |> yLine(railHeight * 1.75 + 2, %)
 | 
			
		||||
  |> yLine(length = railHeight * 1.75 + 2)
 | 
			
		||||
  |> angledLineToX({ angle: -135, to: depth - 1 }, %)
 | 
			
		||||
  |> yLine(-railHeight * 1.75, %)
 | 
			
		||||
  |> yLine(length = -railHeight * 1.75)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude002w = extrude(sketch002w, length = 1)
 | 
			
		||||
 | 
			
		||||
const sketch003w = startSketchOn(plane002)
 | 
			
		||||
  |> startProfileAt([depth, railHeight * 1.75 + 2], %)
 | 
			
		||||
  |> xLine(-depth, %, $seg02w)
 | 
			
		||||
  |> xLine(length = -depth, tag = $seg02w)
 | 
			
		||||
  |> angledLineToY({
 | 
			
		||||
       angle: -45,
 | 
			
		||||
       to: railHeight * 1.75 - 1 + 2
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> xLine(depth - 2, %)
 | 
			
		||||
  |> xLine(length = depth - 2)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude003w = extrude(sketch003w, length = 1)
 | 
			
		||||
 | 
			
		||||
const sketch004w = startSketchOn(plane002)
 | 
			
		||||
  |> startProfileAt([0, 0], %)
 | 
			
		||||
  |> yLine(railHeight * 1.75 + 2, %)
 | 
			
		||||
  |> yLine(length = railHeight * 1.75 + 2)
 | 
			
		||||
  |> angledLineToY({
 | 
			
		||||
       angle: 135,
 | 
			
		||||
       to: railHeight * 1.75 + 2 - 1
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> yLine(-railHeight * 1.75, %)
 | 
			
		||||
  |> yLine(length = -railHeight * 1.75)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude004w = extrude(sketch004w, length = 1)
 | 
			
		||||
@ -266,7 +266,7 @@ const sketch006w = startSketchOn(plane002)
 | 
			
		||||
       40.6 - (35.5 * sin(23 * pi() / 180)) + 1.75 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> angledLineToX({ angle: -23 + 90, to: depth - 1 }, %)
 | 
			
		||||
  |> yLine(2.56, %)
 | 
			
		||||
  |> yLine(length = 2.56)
 | 
			
		||||
  |> angledLineThatIntersects({
 | 
			
		||||
       angle: -23 + 90 + 180,
 | 
			
		||||
       intersectTag: lineToIntersect,
 | 
			
		||||
@ -355,7 +355,7 @@ const sketch013w = startSketchOn(plane002)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> angledLine({ angle: -23, length: 1 }, %)
 | 
			
		||||
  |> angledLineToX({ angle: -23 + 90, to: 1 }, %)
 | 
			
		||||
  |> yLine(2.56, %)
 | 
			
		||||
  |> yLine(length = 2.56)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
const extrude013w = extrude(sketch013w, length = 1)
 | 
			
		||||
@ -460,7 +460,7 @@ const extrude020w = extrude(sketch020w, length = 1)
 | 
			
		||||
const sketch021w = startSketchOn(plane002)
 | 
			
		||||
  |> startProfileAt([1, 21.9], %)
 | 
			
		||||
  |> angledLineToX({ angle: -23, to: depth - 1 }, %)
 | 
			
		||||
  |> yLine(-1.1, %)
 | 
			
		||||
  |> yLine(length = -1.1)
 | 
			
		||||
  |> angledLineToX({ angle: -23, to: 1 }, %)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
@ -472,7 +472,7 @@ const sketch022w = startSketchOn(plane002)
 | 
			
		||||
       angle: 180 - 23,
 | 
			
		||||
       to: railHeight * 1.75 + 1
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> xLine(-2.56, %)
 | 
			
		||||
  |> xLine(length = -2.56)
 | 
			
		||||
  |> angledLineToX({ angle: -23, to: depth - 1 }, %)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
@ -484,7 +484,7 @@ const sketch023w = startSketchOn(plane002)
 | 
			
		||||
       angle: 90 - 23,
 | 
			
		||||
       to: railHeight * 1.75 + 1
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> xLine(1.086, %)
 | 
			
		||||
  |> xLine(length = 1.086)
 | 
			
		||||
  |> angledLineToX({ angle: 90 - 23, to: 1 }, %)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
@ -493,7 +493,7 @@ const extrude023w = extrude(sketch023w, length = 1)
 | 
			
		||||
const sketch024w = startSketchOn(plane002)
 | 
			
		||||
  |> startProfileAt([1, 16.5], %)
 | 
			
		||||
  |> angledLineToY({ angle: -23, to: 1 }, %)
 | 
			
		||||
  |> xLine(-2.56, %)
 | 
			
		||||
  |> xLine(length = -2.56)
 | 
			
		||||
  |> angledLineToX({ angle: -23, to: 1 }, %)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
@ -502,7 +502,7 @@ const extrude024w = extrude(sketch024w, length = 1)
 | 
			
		||||
const sketch025w = startSketchOn(plane002)
 | 
			
		||||
  |> startProfileAt([1, 4], %)
 | 
			
		||||
  |> angledLineToY({ angle: -23, to: 1 }, %)
 | 
			
		||||
  |> xLine(-2.56, %)
 | 
			
		||||
  |> xLine(length = -2.56)
 | 
			
		||||
  |> angledLineToX({ angle: -23, to: 1 }, %)
 | 
			
		||||
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
  |> close()
 | 
			
		||||
@ -694,13 +694,13 @@ const sketch003fl = startSketchOn(planeXYfl)
 | 
			
		||||
       angleEnd: 180,
 | 
			
		||||
       radius: bendRad + thickness
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> xLine(thickness, %)
 | 
			
		||||
  |> xLine(length = thickness)
 | 
			
		||||
  |> arc({
 | 
			
		||||
       angleStart: 180,
 | 
			
		||||
       angleEnd: 270,
 | 
			
		||||
       radius: bendRad
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> yLine(-thickness, %)
 | 
			
		||||
  |> yLine(length = -thickness)
 | 
			
		||||
  |> close()
 | 
			
		||||
 | 
			
		||||
const extrude003fl = extrude(sketch003fl, length = railHeight * 1.75)
 | 
			
		||||
@ -711,12 +711,12 @@ const sketch010fl = startSketchOn(extrude001fl, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0],
 | 
			
		||||
       originStart[2] + .81 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0],
 | 
			
		||||
       originStart[2] + .81 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> patternLinear2d(
 | 
			
		||||
@ -732,12 +732,12 @@ const sketch011fl = startSketchOn(extrude001fl, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0],
 | 
			
		||||
       originStart[2] + railHeight * 1.75 / 2 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0],
 | 
			
		||||
       originStart[2] + railHeight * 1.75 / 2 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
 | 
			
		||||
@ -749,12 +749,12 @@ const sketch012fl = startSketchOn(extrude001fl, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0],
 | 
			
		||||
       originStart[2] + railHeight * 1.75 - .81 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0],
 | 
			
		||||
       originStart[2] + railHeight * 1.75 - .81 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> patternLinear2d(
 | 
			
		||||
@ -845,7 +845,7 @@ const sketch003fr = startSketchOn(planeXYfr)
 | 
			
		||||
       angleEnd: -90,
 | 
			
		||||
       radius: bendRad
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> yLine(-thickness, %)
 | 
			
		||||
  |> yLine(length = -thickness)
 | 
			
		||||
  |> arc({
 | 
			
		||||
       angleStart: -90,
 | 
			
		||||
       angleEnd: 0,
 | 
			
		||||
@ -861,12 +861,12 @@ const sketch010fr = startSketchOn(extrude001fr, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0],
 | 
			
		||||
       originStart[2] + .81 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0],
 | 
			
		||||
       originStart[2] + .81 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> patternLinear2d(
 | 
			
		||||
@ -882,12 +882,12 @@ const sketch011fr = startSketchOn(extrude001fr, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0],
 | 
			
		||||
       originStart[2] + railHeight * 1.75 / 2 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0],
 | 
			
		||||
       originStart[2] + railHeight * 1.75 / 2 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
 | 
			
		||||
@ -899,12 +899,12 @@ const sketch012fr = startSketchOn(extrude001fr, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0],
 | 
			
		||||
       originStart[2] + railHeight * 1.75 - .81 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0],
 | 
			
		||||
       originStart[2] + railHeight * 1.75 - .81 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> patternLinear2d(
 | 
			
		||||
@ -995,7 +995,7 @@ const sketch003rr = startSketchOn(planeXYrr)
 | 
			
		||||
       angleEnd: 90,
 | 
			
		||||
       radius: bendRad + thickness
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> yLine(-thickness, %)
 | 
			
		||||
  |> yLine(length = -thickness)
 | 
			
		||||
  |> arc({
 | 
			
		||||
       angleStart: 90,
 | 
			
		||||
       angleEnd: 0,
 | 
			
		||||
@ -1011,12 +1011,12 @@ const sketch010rr = startSketchOn(extrude001rr, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0] + 1.5 - serverDepth,
 | 
			
		||||
       originStart[2] + .81 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0] + 1.5 - serverDepth,
 | 
			
		||||
       originStart[2] + .81 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> patternLinear2d(
 | 
			
		||||
@ -1032,12 +1032,12 @@ const sketch011rr = startSketchOn(extrude001rr, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0] + 1.5 - serverDepth,
 | 
			
		||||
       originStart[2] + railHeight * 1.75 / 2 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0] + 1.5 - serverDepth,
 | 
			
		||||
       originStart[2] + railHeight * 1.75 / 2 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
 | 
			
		||||
@ -1049,12 +1049,12 @@ const sketch012rr = startSketchOn(extrude001rr, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0] + 1.5 - serverDepth,
 | 
			
		||||
       originStart[2] + railHeight * 1.75 - .81 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0] + 1.5 - serverDepth,
 | 
			
		||||
       originStart[2] + railHeight * 1.75 - .81 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> patternLinear2d(
 | 
			
		||||
@ -1144,7 +1144,7 @@ const sketch003rl = startSketchOn(planeXYrl)
 | 
			
		||||
       angleEnd: 180,
 | 
			
		||||
       radius: bendRad
 | 
			
		||||
     }, %)
 | 
			
		||||
  |> xLine(-thickness, %)
 | 
			
		||||
  |> xLine(length = -thickness)
 | 
			
		||||
  |> arc({
 | 
			
		||||
       angleStart: 180,
 | 
			
		||||
       angleEnd: 90,
 | 
			
		||||
@ -1160,12 +1160,12 @@ const sketch010rl = startSketchOn(extrude001rl, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0] - serverDepth + 1.5,
 | 
			
		||||
       originStart[2] + .81 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0] - serverDepth + 1.5,
 | 
			
		||||
       originStart[2] + .81 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> patternLinear2d(
 | 
			
		||||
@ -1181,12 +1181,12 @@ const sketch011rl = startSketchOn(extrude001rl, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0] - serverDepth + 1.5,
 | 
			
		||||
       originStart[2] + railHeight * 1.75 / 2 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0] - serverDepth + 1.5,
 | 
			
		||||
       originStart[2] + railHeight * 1.75 / 2 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
 | 
			
		||||
@ -1198,12 +1198,12 @@ const sketch012rl = startSketchOn(extrude001rl, 'START')
 | 
			
		||||
       -1.12 + (.75 - .438) / 2 - originStart[0] - serverDepth + 1.5,
 | 
			
		||||
       originStart[2] + railHeight * 1.75 - .81 + .438 / 2
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(0.75 - .438, %)
 | 
			
		||||
  |> xLine(length = 0.75 - .438)
 | 
			
		||||
  |> tangentialArcTo([
 | 
			
		||||
       -0.66 - originStart[0] - serverDepth + 1.5,
 | 
			
		||||
       originStart[2] + railHeight * 1.75 - .81 - (.438 / 2)
 | 
			
		||||
     ], %)
 | 
			
		||||
  |> xLine(-0.75 + .438, %)
 | 
			
		||||
  |> xLine(length = -0.75 + .438)
 | 
			
		||||
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> patternLinear2d(
 | 
			
		||||
@ -1255,23 +1255,23 @@ fn streamServer = (serverPos) => {
 | 
			
		||||
 | 
			
		||||
  const sketch002s = startSketchOn(planeXZs)
 | 
			
		||||
    |> startProfileAt([-1, 4.114 + 1 + serverPos * 1.75], %)
 | 
			
		||||
    |> yLine(6.98, %)
 | 
			
		||||
    |> xLine(0.2, %)
 | 
			
		||||
    |> yLine(-0.36, %)
 | 
			
		||||
    |> xLine(0.5, %)
 | 
			
		||||
    |> yLine(length = 6.98)
 | 
			
		||||
    |> xLine(length = 0.2)
 | 
			
		||||
    |> yLine(length = -0.36)
 | 
			
		||||
    |> xLine(length = 0.5)
 | 
			
		||||
    |> tangentialArcTo([
 | 
			
		||||
         0.3,
 | 
			
		||||
         17.15 + 4.114 + 1 + serverPos * 1.75 - 11.114
 | 
			
		||||
       ], %)
 | 
			
		||||
    |> yLine(-1.77, %)
 | 
			
		||||
    |> yLine(length = -1.77)
 | 
			
		||||
    |> tangentialArcTo([
 | 
			
		||||
         -0.13,
 | 
			
		||||
         14.89 + 4.114 + 1 + serverPos * 1.75 - 11.114
 | 
			
		||||
       ], %)
 | 
			
		||||
    |> xLine(-0.52, %)
 | 
			
		||||
    |> yLine(-0.42, %)
 | 
			
		||||
    |> xLine(length = -0.52)
 | 
			
		||||
    |> yLine(length = -0.42)
 | 
			
		||||
    |> line(end = [0.34, -0.15])
 | 
			
		||||
    |> yLine(-2.97, %)
 | 
			
		||||
    |> yLine(length = -2.97)
 | 
			
		||||
    |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
    |> close()
 | 
			
		||||
 | 
			
		||||
@ -1279,23 +1279,23 @@ fn streamServer = (serverPos) => {
 | 
			
		||||
 | 
			
		||||
  const sketch003s = startSketchOn(planeXZs2)
 | 
			
		||||
    |> startProfileAt([-1, 4.114 + 1 + serverPos * 1.75], %)
 | 
			
		||||
    |> yLine(6.98, %)
 | 
			
		||||
    |> xLine(0.2, %)
 | 
			
		||||
    |> yLine(-0.36, %)
 | 
			
		||||
    |> xLine(0.5, %)
 | 
			
		||||
    |> yLine(length = 6.98)
 | 
			
		||||
    |> xLine(length = 0.2)
 | 
			
		||||
    |> yLine(length = -0.36)
 | 
			
		||||
    |> xLine(length = 0.5)
 | 
			
		||||
    |> tangentialArcTo([
 | 
			
		||||
         0.3,
 | 
			
		||||
         17.15 + 4.114 + 1 + serverPos * 1.75 - 11.114
 | 
			
		||||
       ], %)
 | 
			
		||||
    |> yLine(-1.77, %)
 | 
			
		||||
    |> yLine(length = -1.77)
 | 
			
		||||
    |> tangentialArcTo([
 | 
			
		||||
         -0.13,
 | 
			
		||||
         14.89 + 4.114 + 1 + serverPos * 1.75 - 11.114
 | 
			
		||||
       ], %)
 | 
			
		||||
    |> xLine(-0.52, %)
 | 
			
		||||
    |> yLine(-0.42, %)
 | 
			
		||||
    |> xLine(length = -0.52)
 | 
			
		||||
    |> yLine(length = -0.42)
 | 
			
		||||
    |> line(end = [0.34, -0.15])
 | 
			
		||||
    |> yLine(-2.97, %)
 | 
			
		||||
    |> yLine(length = -2.97)
 | 
			
		||||
    |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
			
		||||
    |> close()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -22,4 +22,4 @@ startSketchOn('XY')
 | 
			
		||||
  offset: -angleOffset,
 | 
			
		||||
  radius: 0.5*r,
 | 
			
		||||
}, %, $arc3)
 | 
			
		||||
  |> xLineTo(1, %)
 | 
			
		||||
  |> xLine(endAbsolute = 1)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user