Allowing Negative Volume Bodies
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- Gregory son of Carl
- Posts: 99
- Joined: Mon Apr 06, 2020 7:42 pm
- Location: California
Allowing Negative Volume Bodies
What do you think about allowing Part Design Bodies to have negative volumes?
The basic concept is that you can start a body with a subtractive feature (Pocket, Hole, Groove, etc.). A negative volume body would look and behave similarly to a normal 3D shape, however when you fuse it into another body, that volume is removed instead.
Negative volume bodies would give users some more flexibility in how features can be organized on the tree. Subtractive features could be compartmentalized in the same ways that additive features can.
For reference, negative volumes exist in CATIA. Interestingly, the official documentation uses them in the chapter about optimizing model performance. Here's a link if you are curious. Just scroll down the table of contents and select 'Optimizing Part Design Application' to open the chapter I'm talking about. They recommend putting features into separate bodies and then combining them into the final part. The reason that is faster is because the CATIA solver can tell which bodies are unchanged and skip them when updating.
CATIA Traditional Method
CATIA Recommended Method (Negative volume body: Body.2)
Would negative volume bodies be a good fit for FreeCAD? I'm curious to hear other opinions on the matter.
The basic concept is that you can start a body with a subtractive feature (Pocket, Hole, Groove, etc.). A negative volume body would look and behave similarly to a normal 3D shape, however when you fuse it into another body, that volume is removed instead.
Negative volume bodies would give users some more flexibility in how features can be organized on the tree. Subtractive features could be compartmentalized in the same ways that additive features can.
For reference, negative volumes exist in CATIA. Interestingly, the official documentation uses them in the chapter about optimizing model performance. Here's a link if you are curious. Just scroll down the table of contents and select 'Optimizing Part Design Application' to open the chapter I'm talking about. They recommend putting features into separate bodies and then combining them into the final part. The reason that is faster is because the CATIA solver can tell which bodies are unchanged and skip them when updating.
CATIA Traditional Method
CATIA Recommended Method (Negative volume body: Body.2)
Would negative volume bodies be a good fit for FreeCAD? I'm curious to hear other opinions on the matter.
- adrianinsaval
- Veteran
- Posts: 5553
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Allowing Negative Volume Bodies
What's the advantage over modeling both as additives and then using a regular boolean cut? I like the concept too but it seems unnecessary
- Gregory son of Carl
- Posts: 99
- Joined: Mon Apr 06, 2020 7:42 pm
- Location: California
Re: Allowing Negative Volume Bodies
I'd say there is a marginal improvement to model clarity/readability. If you delete the cut boolean and keep the tool body, there is no evidence left about whether that body was intended as a cut tool or a fuse tool. With a negative body, that information is explicit even without the boolean feature.
Re: Allowing Negative Volume Bodies
Not really, if you cut a negative body it would be like fusing the positive.Gregory son of Carl wrote: ↑Fri Jun 12, 2020 3:53 am With a negative body, that information is explicit even without the boolean feature.
Besides, due to an error you can already start with a subtractive primitive, loft or sweep, but it still acts like an additive.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Allowing Negative Volume Bodies
chrisb wrote: ↑Fri Jun 12, 2020 7:05 amNot really, if you cut a negative body it would be like fusing the positive.Gregory son of Carl wrote: ↑Fri Jun 12, 2020 3:53 am With a negative body, that information is explicit even without the boolean feature.
Nevertheless, from a theoretic point of view this is rather intriguing. You could even go further and start a body with a hole and then add something around it.
Besides, due to an error you can already start with a subtractive primitive, loft or sweep, but it still acts like an additive.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
- Gregory son of Carl
- Posts: 99
- Joined: Mon Apr 06, 2020 7:42 pm
- Location: California
Re: Allowing Negative Volume Bodies
True. I think a negative volume body still feels more intentional, although it will come down to whether or not the designer is applying good modeling practices. Using double negative booleans would not be recommended because its confusing to read.
Just call it a feature
Re: Allowing Negative Volume Bodies
No, sorry, it then behaves like an additive feature.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Allowing Negative Volume Bodies
This is already available in FreeCAD in the Part-Workbench. You can select a shape and revert it. It is available in the menu under Part/Reverse shapes.Gregory son of Carl wrote: ↑Fri Jun 12, 2020 12:11 am Would negative volume bodies be a good fit for FreeCAD?
A reverted shape has than a negative volume and behave different in boolean operations. You can distinguish such parts, if you switch the lightning from two sides to one side. Reverted shapes are than black.
Ulrich
- Gregory son of Carl
- Posts: 99
- Joined: Mon Apr 06, 2020 7:42 pm
- Location: California
Re: Allowing Negative Volume Bodies
Radical! It's incredible how fully featured the Part workbench already is. I hope it become more compatible the Part Design workbench one day. I prefer to use the Part Design boolean tool because it is clear which one is the target body and which one is the tool body.