Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Swept Profile Boolean Subtract
famadorian
Member Posts: 390 ✭✭✭
Best Answer
-
MBartlett21 Member, OS Professional, Developers Posts: 2,048 ✭✭✭✭✭@john_mcclary
Could you share it to me too?
I have made some improvements in my copy of it and would like to merge them into yours
My version is here: https://cad.onshape.com/documents/982fc7244bbd0d9a3368d875
@famadorian
My version will automatically select concave faces propagating from the faces that you select, much like the 'pocket' option in create selection5
Answers
From the profile you show, if you close the sketch with a horizontal line, then you could do an extrude cut rather than dealing with the surface extrude altogether.
I'm sure someone around here may be able to create a custom feature for you if you have more information.
It actually creates parts here, cause it just cuts the cabinets;)
You will need to select the remaining parts and "delete" them after the boolean.
Again, you may want to ask someone if they can make you a boolean subtract feature that deletes new bodies it creates.
HWM-Water Ltd
Yes, that would indeed solve the problem;)
, but why limit yourself to calling it a solid body, when it can be just a surface?
HWM-Water Ltd
But really in this case I too have come across many times where I want to split a solid with a plane or surface, and want the remainder parts to be purged (often times there are many children that need to manually be deleted afterwards.
If I were better at FS i'd take a stab at it. but I assume it is just a copy of the boolean command or split command, but at the end you do something like a:
bodiesToDelete = qCreatedBy(...)
That would be a valuable tool
HWM-Water Ltd
SplitOperationKeepType enum
See
opSplitPart
.KEEP_ALL
KEEP_FRONT
KEEP_BACK
https://cad.onshape.com/documents/06c4243b5377086d1c44f0d4/w/432c21ad423372b8e3195004/e/2c0b9810ce6276bcbfe7df4e
Try out that featurescript against your sink, let me know if it works for you
HWM-Water Ltd
2. Is this script supposed to let me select a part for the subtract? It seems it wants face or surface
I am a stupid amateur when it comes to featurescript, so I can't figure out how to query all of the internal faces of a solid (Pocket)
So you will have to use the Onshape (create selection) tool instead
Switch to subtract mode to use with solid bodies.
It is doing a delete face on all of the cutting surfaces, and then boolean subtracting the solid box in creates.
This will delete the sink, I'm not sure how to copy in place and use that tool instead of the original body. (Again I'm an amateur)
If only there was a crazy Russian hacker watching this thread that could scrape this off the bottom of his shoe and make it a real thing ;p
The two modes are just to make sure the split feature (Legacy) still worked
https://www.youtube.com/watch?v=qjUh1qsbFGk
HWM-Water Ltd
HWM-Water Ltd
I'd like this "request share" option too!
HWM-Water Ltd
HWM-Water Ltd
Parts of the cabinets are remaining
Is there sink also supposed to disappear in the end?
HWM-Water Ltd
https://cad.onshape.com/documents/70d70cf1b954c030847ece24/w/de6d8c01c346e92bbbdec2d7/e/54af2e499307a6f3d1acb09b
Part studio 8, context 1 is where I was working