diff --git a/src/lib/rectangleTool.ts b/src/lib/rectangleTool.ts index 53dea27f7..c61bec0ed 100644 --- a/src/lib/rectangleTool.ts +++ b/src/lib/rectangleTool.ts @@ -64,7 +64,7 @@ export const getRectangleCallExpressions = ( createPipeSubstitution(), createTagDeclarator(tags[2]), ]), - createCallExpressionStdLibKw('line', createPipeSubstitution(), [ + createCallExpressionStdLibKw('line', null, [ createLabeledArg( 'endAbsolute', createArrayExpression([ diff --git a/src/wasm-lib/tests/executor/inputs/e2e-can-sketch-on-chamfer-no-pipeExpr.kcl b/src/wasm-lib/tests/executor/inputs/e2e-can-sketch-on-chamfer-no-pipeExpr.kcl index 1eb44829a..ead71f435 100644 --- a/src/wasm-lib/tests/executor/inputs/e2e-can-sketch-on-chamfer-no-pipeExpr.kcl +++ b/src/wasm-lib/tests/executor/inputs/e2e-can-sketch-on-chamfer-no-pipeExpr.kcl @@ -9,7 +9,7 @@ const sketch001 = startSketchOn('XZ') segAng(rectangleSegmentA001), -segLen(rectangleSegmentA001) ], %, $yo) - |> line(endAbsolute = [profileStartX(%), profileStartY(%)]) + |> line(endAbsolute = [profileStartX(%), profileStartY(%)], tag = $seg02) |> close() const extrude001 = extrude(sketch001, length = 100) const chamf = chamfer({ diff --git a/src/wasm-lib/tests/executor/inputs/e2e-can-sketch-on-chamfer.kcl b/src/wasm-lib/tests/executor/inputs/e2e-can-sketch-on-chamfer.kcl index 38d64ab13..0d18d5e9f 100644 --- a/src/wasm-lib/tests/executor/inputs/e2e-can-sketch-on-chamfer.kcl +++ b/src/wasm-lib/tests/executor/inputs/e2e-can-sketch-on-chamfer.kcl @@ -9,7 +9,7 @@ const sketch001 = startSketchOn('XZ') segAng(rectangleSegmentA001), -segLen(rectangleSegmentA001) ], %, $yo) - |> line(endAbsolute = [profileStartX(%), profileStartY(%)]) + |> line(endAbsolute = [profileStartX(%), profileStartY(%)], tag = $seg02) |> close() const extrude001 = extrude(sketch001, length = 100) |> chamfer({