Allow users to opt out of merging extrudes #7659
Replies: 5 comments 4 replies
-
I brought this up in today's cross-team meeting and we discussed ways of doing this without breaking existing models, and some good points came up:
|
Beta Was this translation helpful? Give feedback.
-
IMO we had good insights on our current default behavior (merge on extrude on face and subtract on negative extrude on face), very alinged with typical CAD software behvior, just need to make sure we have a way to opt out as needed. |
Beta Was this translation helpful? Give feedback.
-
@Irev-Dev raised a good point today about a bit of trickiness with the artifact graph for bodies that are created with the |
Beta Was this translation helpful? Give feedback.
-
I believe @mlfarrell mentioned in the call today that we should log an issue engine side to expose the option to the api so we can call it |
Beta Was this translation helpful? Give feedback.
-
This mini milestone closed with #7747 Only 'Merge' and 'New' are supported right now |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Right now we coerce all negative Extrude operations off sketches on face to be a cut operation. Conversely, all positive Extrudes off faces are coerced within the engine to be unioned. I think this is limiting users and burying implicit modeling behavior in what should be explicit operations. There is currently no way to create an Extrude off of another surface and produce a second body.
I propose that we need a
method
keyword argument to allow users to perform the following types of extrude:create
: create a new bodyadd
: add to the existing bodyremove
: remove from the existing bodynatural
: our current behavior, which performs an add with a positive distance and a cut with a negativeThe critical part is that we leave no modeling operations implicit, that is, not written in the canonical KCL.
Current behavior example
The following KCL
Results in 1 cut body. Nowhere in the KCL is a cut operation mentioned.
Milestone for tracking: https://github.com/KittyCAD/modeling-app/milestone/16
Beta Was this translation helpful? Give feedback.
All reactions