Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate 4th tag from the rectangle sketch tool #3848

Open
nicboone8 opened this issue Sep 9, 2024 · 0 comments
Open

Generate 4th tag from the rectangle sketch tool #3848

nicboone8 opened this issue Sep 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nicboone8
Copy link

nicboone8 commented Sep 9, 2024

Describe the bug

Could the rectangle sketch tool go ahead and generate the $rectangleSegmentD001 tag on the line to start? Edge treatment for all 4 corners is pretty common, so it would be helpful if the tag was already there.
image

Steps to Reproduce

const length = 125
const width = 75
const height = 70
const wallThickness = 5

const sketch001 = startSketchOn('XY')
|> startProfileAt([0, 0], %)
|> angledLine([0, width], %, $rectangleSegmentA001)
|> angledLine([
segAng(rectangleSegmentA001) + 90,
length
], %, $rectangleSegmentB001)
|> angledLine([
segAng(rectangleSegmentA001),
-segLen(rectangleSegmentA001)
], %, $rectangleSegmentC001)
|> lineTo([profileStartX(%), profileStartY(%)], %)
|> close(%)
const extrude001 = extrude(height, sketch001)
|> fillet({
radius: wallThickness,
tags: [
getNextAdjacentEdge(rectangleSegmentA001),
getNextAdjacentEdge(rectangleSegmentB001),
getNextAdjacentEdge(rectangleSegmentC001),
getNextAdjacentEdge(rectangleSegmentD001)
]
}, %)
|> shell({
faces: ["end"],
thickness: wallThickness
}, %)

Expected Behavior

auto tag all 4 edges for fillet or chamfer

Screenshots and Recordings

No response

Desktop OS

Win11

Browser

chrome

Version

v0.25

Additional Context

No response

@nicboone8 nicboone8 added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant