Feature Request: PartDesign Pocket, add intersect option in addition to subtract
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Feature Request: PartDesign Pocket, add intersect option in addition to subtract
(As the idea in my other topic changed I thought to create a new one to avoid confusion.)
In short, I would love an option in the PartDesign Pocket tool that would allow us to change the function of Pocket from removing the extruded sketch and keeping the rest to removing the rest and keeping the extruded sketch (in other words, from subtract to intersect).
Probably a drop-down list with possible functions would be nice (subtract/intersect), or maybe an 'invert' checkbox.
This function would help me a lot by removing the need to invert the shape when I draw it in Sketcher. (manual inverting the sketch is really not easy)
I'am thinking to fill in a feature request for this in the tracker but I thought that debating a little bit more before could help fill in a more clear request there.
Thank you.
In short, I would love an option in the PartDesign Pocket tool that would allow us to change the function of Pocket from removing the extruded sketch and keeping the rest to removing the rest and keeping the extruded sketch (in other words, from subtract to intersect).
Probably a drop-down list with possible functions would be nice (subtract/intersect), or maybe an 'invert' checkbox.
This function would help me a lot by removing the need to invert the shape when I draw it in Sketcher. (manual inverting the sketch is really not easy)
I'am thinking to fill in a feature request for this in the tracker but I thought that debating a little bit more before could help fill in a more clear request there.
Thank you.
Re: Feature Request: PartDesign Pocket, add intersect option in addition to subtract
Thank you for discussing this here first, that's how the process should be.
At first thought this sounds reasonable, even if it were only for the sake of completeness of functions. But you may give some examples, because I never had any difficulties in designing an appropriate sketch using the currently available features.
At first thought this sounds reasonable, even if it were only for the sake of completeness of functions. But you may give some examples, because I never had any difficulties in designing an appropriate sketch using the currently available features.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Feature Request: PartDesign Pocket, add intersect option in addition to subtract
I attached a model that I have drawn some time ago. Actually I had made it in many variants so the struggle was even bigger.
I am not sure it is the best example. I can search more if it is not explanatory enough.
I renamed the related sketches and pockets with an "i" at the end (from inverted), and also let the related sketches visible.
The last 2 sketches (147 and 148) , would surely be easier to be drawn in the non inverted shape. They also had to be splitted in 2 shapes to achieve the same result. This happens pretty often when I want to optimize the shape of the object by removing the unnecessary material. Even if I know what shape I want it to have after the process I have to think at the parts which must be removed, and also do extra math for their dimensions too (the inversion that i was talking about). I think it is also a bit counter-intuitive in this situations.
Thank you.
I am not sure it is the best example. I can search more if it is not explanatory enough.
I renamed the related sketches and pockets with an "i" at the end (from inverted), and also let the related sketches visible.
The last 2 sketches (147 and 148) , would surely be easier to be drawn in the non inverted shape. They also had to be splitted in 2 shapes to achieve the same result. This happens pretty often when I want to optimize the shape of the object by removing the unnecessary material. Even if I know what shape I want it to have after the process I have to think at the parts which must be removed, and also do extra math for their dimensions too (the inversion that i was talking about). I think it is also a bit counter-intuitive in this situations.
Thank you.
- Attachments
-
- exemple 1.FCStd
- (187.04 KiB) Downloaded 31 times
Re: Feature Request: PartDesign Pocket, add intersect option in addition to subtract
I started similar topic some time ago - expose common boolean operation in Part Design (can find it now). But in the end it turned quite easy to achieve that - just draw the desired shape and then create a bigger recrangle around everything previous and pocket with that. I still think that dedicated tool would be nice.
Re: Feature Request: PartDesign Pocket, add intersect option in addition to subtract
Good tip, thank you, but I just tried it and it does not work directly, the sketch must also be modified and then into a bigger and harder to make drawing (ex: try on Sketch147i in my "example 1.FCStd") .
Still, it would be just a workaround, I would still hope for the implementation of my requested feature .
Last edited by townkat on Fri Sep 13, 2019 10:03 pm, edited 1 time in total.
Re: Feature Request: PartDesign Pocket, add intersect option in addition to subtract
I couldn't remember the name of the thread, but yes, this is basically a Part Common (intersection) feature.
See Native PartDesign Common feature.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: Feature Request: PartDesign Pocket, add intersect option in addition to subtract
Thats the thread.
It does not have to be pretty
- Attachments
-
- InversePocket.JPG (44.78 KiB) Viewed 1395 times
-
- InversePocket_result.JPG (85.2 KiB) Viewed 1395 times
Re: Feature Request: PartDesign Pocket, add intersect option in addition to subtract
Thnx. Yes, it does work that way. Actually I tried to recreate the method and made an even uglier one .
Great workaround in the meantime.
I still hope the PartDesign Common feature will be available sometime.
I do not think a feature request in the tracker is still necessary, as the developers seem to know about this idea.
Thank you all.
Last edited by Kunda1 on Fri Sep 13, 2019 11:15 pm, edited 1 time in total.
Reason: Bbcode fix
Reason: Bbcode fix
Re: Feature Request: PartDesign Pocket, add intersect option in addition to subtract
I hd asked for examples, because I usually use the technique by kisolre. I had wrongly assumed this was common knowledge . However, the "outer rectangle technique" doesn't work anymore if you have already nested geometry:
.
It would take two pockets vs. one common to create the flattened tube. Please note that this is only for demontration, I know that such model could be created using just one pad.
.
It would take two pockets vs. one common to create the flattened tube. Please note that this is only for demontration, I know that such model could be created using just one pad.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Feature Request: PartDesign Pocket, add intersect option in addition to subtract
Just want to remember that for robustness purpose, you can bind the dimensions of the outer rectangle with latest Pad shape, adding some margin.
In this example, you could use eg . :
- Pad063.Shape.BoundBox.XLength
- or
- Pad063.Shape.BoundBox.XMin
- Pad063.Shape.BoundBox.XMax