Rectangle tool should use default unlabeled, fix broken regex find-replace

This commit is contained in:
Adam Chalmers
2025-01-24 14:03:23 -06:00
committed by Nick Cameron
parent 7f9526bb81
commit 871890415c
3 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ export const getRectangleCallExpressions = (
createPipeSubstitution(),
createTagDeclarator(tags[2]),
]),
createCallExpressionStdLibKw('line', createPipeSubstitution(), [
createCallExpressionStdLibKw('line', null, [
createLabeledArg(
'endAbsolute',
createArrayExpression([

View File

@ -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({

View File

@ -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({