Add ability to select sketch regions for extrude, revolve, etc #7494
Closed
franknoirot
announced in
Milestones
Replies: 3 comments 6 replies
-
Beta Was this translation helpful? Give feedback.
5 replies
-
Notes getting scattered a little, I did have a proposal that avoids "2d CSG" here Btw I think the problem with 2D csg is it requires all of the profiles to be closed for it to work |
Beta Was this translation helpful? Give feedback.
0 replies
-
I believe we should close this discussion, and instead have it as a requirement of #7435 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Important
This is currently in planning, see discussion below.
This is a sister milestone to #7435, see discussions there as well.
Sketch regions are a commonly-used concept in CAD modeling. A sketch may contain many closed or open profiles, and a sketch region could be defined as the intersection of two or more closed profiles. Supporting this concept allows users to, for example, sketch a plate and the holes they want in its corners in the same sketch, and then when extruding, exclude the holes in the extruded sketch region.
TradCAD demos
Note in these demos how it is not the entirety of the outer profile that is selected for extrusion, but rather the region of the outer profile excluding any inner profiles. The user can then opt into including any of the inner profiles by clicking inside them afterward to add them to the selection.
Screenshare.-.2024-11-08.11_14_23.AM-compressed.mp4
Engine notes
API/KCL notes
A region is somewhat representable using a pipe expression from the outermost profile to any inner profiles to be excluded, wrapped with our
hole
function. One limitation of this is our existing behavior when holed inner profiles intersect the outer profile, since it naively inverts the extrusion and does not exclude the portion lying outside the outer profile.Here is a video explanation of this hole approach being used with hand-written KCL. A discussion of how this might be automatically done for the user in point-and-click is below.
Screenshare.-.2024-07-10.3_11_33.PM-compressed.mp4
Point-and-click notes
Beta Was this translation helpful? Give feedback.
All reactions