Explode Compound tool for Part workbench + Slice-apart command

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
User avatar
DeepSOIC
Posts: 7167
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Explode Compound tool for Part workbench + Slice-apart command

Postby DeepSOIC » Tue Dec 25, 2018 8:58 pm

https://github.com/FreeCAD/FreeCAD/pull/1870
New tool for Part workbench:
* Explode, to break apart compounds and shapes into child shapes (creates a bunch of CompoundFilter objects in a group)

Company:
* Slice-Apart command in split-features dropdown toolbar button
* Compound tools dropdown command, contains Make Compound, Explode Compound and Compound Filter
* new icon for Compound

Image

I hope you like it. If anyone wants to make better icons, you're welcome (I just copied the concept of icons from Lattice2).
Last edited by DeepSOIC on Thu Dec 27, 2018 1:45 pm, edited 1 time in total.
UR_
Posts: 1020
Joined: Tue Jan 03, 2017 8:42 pm

Re: [in pull-request] Explode Compound tool for Part workbench + Slice-apart command

Postby UR_ » Tue Dec 25, 2018 9:54 pm

Migration of "Explode Compound" from Lattice2WB to PartWB is really overdue.
Hope this will lead to a wider audience.
I would vote for doing the same with "Sublink" and "Downgrade".
They are extremely useful and give a chance to overcome these rude DraftWB implementations.
chrisb
Posts: 19733
Joined: Tue Mar 17, 2015 9:14 am

Re: [in pull-request] Explode Compound tool for Part workbench + Slice-apart command

Postby chrisb » Tue Dec 25, 2018 11:24 pm

DeepSOIC wrote:
Tue Dec 25, 2018 8:58 pm
New tool for Part workbench
Thank you very much!
triplus
Posts: 8802
Joined: Mon Dec 12, 2011 4:45 pm

Re: [in pull-request] Explode Compound tool for Part workbench + Slice-apart command

Postby triplus » Thu Dec 27, 2018 9:20 am

DeepSOIC wrote:
Tue Dec 25, 2018 8:58 pm
* Compound tools dropdown command, contains Make Compound, Explode Compound and Compound Filter
Nice. Basically being able to explode (downgrade) a compound (parametrically).
* Slice-Apart command in split-features dropdown toolbar button
What should it do?
User avatar
DeepSOIC
Posts: 7167
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: [in pull-request] Explode Compound tool for Part workbench + Slice-apart command

Postby DeepSOIC » Thu Dec 27, 2018 12:20 pm

triplus wrote:
Thu Dec 27, 2018 9:20 am
What should it do?
Slice + Explode
triplus
Posts: 8802
Joined: Mon Dec 12, 2011 4:45 pm

Re: Explode Compound tool for Part workbench + Slice-apart command

Postby triplus » Fri Dec 28, 2018 11:41 am

Thanks for the explanation. Today i had a chance to test the added two features. I mainly wondered on why two features are needed. Slice feature likely not being considered a classical BOA operation, the end user needs more in-depth understanding, to grasp the concept behind it. Adding 2 slice related commands therefore likely further introduces the need for more in-depth understanding. It seemed to me Slice command + Explode command should suffice if Slice + Explode is the wanted outcome. Based on my tests that seem to be the case. Therefore the question that comes to my mind is, does it make the most sense, to add such "compound/combined commands/options", when it comes to the Slice feature? Or if better to leave that to end user, and hopefully to reduce possible Slice related confusion by doing that? As for the drop down menu. Do you feel moving it behind the classical BOA operations commands would make sense?

P.S. Seeing Part workbench getting some love, idea about having parametric Part_Shapebuilder command somehow emerged again. It would allow a plethora of new use cases for FreeCAD. Hopefully you are still interested in such thing and i asked here to see if any desire to make it happen exists.
chrisb
Posts: 19733
Joined: Tue Mar 17, 2015 9:14 am

Re: Explode Compound tool for Part workbench + Slice-apart command

Postby chrisb » Fri Dec 28, 2018 1:20 pm

From a users point of view it seems to me most natural to slice+explode, at least it is what I have needed so far and what I have seen here in the forum. Roughly spoken: if I slice I want to have all the parts, otherwise I could have modeled only the part which I finally get out of the slice.
On the other hand is Part WB a rather basic workbench without higher level more or less sophisticated commands.
triplus
Posts: 8802
Joined: Mon Dec 12, 2011 4:45 pm

Re: Explode Compound tool for Part workbench + Slice-apart command

Postby triplus » Fri Dec 28, 2018 2:23 pm

The point was all possible outcomes can still be achieved by using the Slice or a combination of the Slice and Explode commands. Therefore in short i just don't see a point and real benefit of introducing and having an additional command that does Slice and Explode in one go. Like lets say Fragments to Compound or Fragments Apart, Fuse to Compound and Fuse Apart ... Such approach just contributes to more confusion in my opinion.

But OK, if others plan to use Slice and Explode (Slice Apart) command frequently and feel it makes much sense, i am OK with that.
triplus
Posts: 8802
Joined: Mon Dec 12, 2011 4:45 pm

Re: Explode Compound tool for Part workbench + Slice-apart command

Postby triplus » Sat Dec 29, 2018 9:48 pm

OK to conclude the evaluation from my side for now. Based on the past experience, i don't really expect any of this to get acknowledged. But i do believe more in-depth developer and potential end user dialog in general does make sense.

First i needed to realize Slice Apart command does the same thing as using Slice and Explode commands separately. After this realization a thought emerged, that such command likely should have been named Part_SliceExplode.

Anyway, thanks again for adding new functionality to Part workbench. I for sure will use it whenever the situation will call for such command(s). And in addition i use Part workbench in more use cases now, compared to the past. New commands and possibilities are therefore appreciated from my side.
User avatar
mark1791
Posts: 28
Joined: Fri Aug 03, 2018 1:41 am

Re: Explode Compound tool for Part workbench + Slice-apart command

Postby mark1791 » Mon Dec 31, 2018 12:18 pm

Excellent work DeepSoic, from my perspective that this is in one command, from recently coming to FreeCad from Catia it was not clear how to get one side of the sliced part, compound filter is a rather obtuse name and not clear what it attempts todo, needing alot of googleing and questions in the forums.

Coming from Catia they have the trim/split command which deeping on what part of the geometry you initially select is what you get unless you decide on both sides, simple really.