Ticket #3061: [PartDesign] "Move object after other object" function causes chaos

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
Kunda1
Posts: 7488
Joined: Thu Jan 05, 2017 9:03 pm

Ticket #3061: [PartDesign] "Move object after other object" function causes chaos

Postby Kunda1 » Sat Jun 10, 2017 11:52 am

issue #3061: "Move object after other object" function causes chaos
Discussion thread.
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
chrisb
Posts: 25175
Joined: Tue Mar 17, 2015 9:14 am

Re: Ticket #3061: [PartDesign] "Move object after other object" function causes chaos

Postby chrisb » Sat Jun 10, 2017 9:46 pm

I can confirm the described behaviour.
OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11260 (Git)
Build type: Release
Branch: (detached from 086d2ed)
Hash: 086d2ed0bbe75916eb7b822ecc056085ce8c035e
Python version: 2.7.13
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.1.0

I want to point out that I did all the tests in one single body.

Could someone please give an example where this function is useful or even needed?
ickby
Posts: 2963
Joined: Wed Oct 05, 2011 7:36 am

Re: Ticket #3061: [PartDesign] "Move object after other object" function causes chaos

Postby ickby » Sun Jun 11, 2017 4:40 am

It is useful to reorder features for example when one detects that fillets are done too early, or that a certain pocket/pad affects a feature it should not effect etc. however, the functionality is currently extremely some, and the problem of changing feature order is very complex in most cases. So it fails almost every time. As it would be significant effort to implement this toll right I think disabling this functionality is the best for now.
chrisb
Posts: 25175
Joined: Tue Mar 17, 2015 9:14 am

Re: Ticket #3061: [PartDesign] "Move object after other object" function causes chaos

Postby chrisb » Sun Jun 11, 2017 6:43 am

Your use case seems to need a reliable topological naming first. Until we are waiting for it I vote for disabling too.
GeneFC
Posts: 1211
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Ticket #3061: [PartDesign] "Move object after other object" function causes chaos

Postby GeneFC » Sun Jun 11, 2017 4:04 pm

I have actually found this function useful in some cases to repair a broken model when I have changed an earlier parameter enough to cause the dreaded topological naming issue. A few seconds of moving objects in front of other objects can allow a recompute to be successful. It provides a type of rebuild for the tree.

Does not always work, of course, but I would not automatically discard the function.

Gene
galou_breizh
Posts: 319
Joined: Wed Sep 15, 2010 9:38 am

Re: Ticket #3061: [PartDesign] "Move object after other object" function causes chaos

Postby galou_breizh » Mon Jun 12, 2017 8:15 am

I also use "Move object after other object" a lot since I discovered it. As advised many times, I don't base sketches on faces anymore but exclusively on base planes or created planes. I also forbid myself to use external geometry in sketches but rather use expressions. This allows to move features in the tree thanks to "Move object after other object".

Gaël
User avatar
Kunda1
Posts: 7488
Joined: Thu Jan 05, 2017 9:03 pm

Re: Ticket #3061: [PartDesign] "Move object after other object" function causes chaos

Postby Kunda1 » Sat Sep 30, 2017 11:25 am

Is issue #3061 then related to Topological Naming issue #922?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ticket #3061: [PartDesign] "Move object after other object" function causes chaos

Postby NormandC » Sat Sep 30, 2017 8:39 pm

ickby wrote:
Sun Jun 11, 2017 4:40 am
So it fails almost every time.
I have used it quite a few times already, always with success. It would be a pity to remove it from 0.17. :cry:

Would it be too much of a hassle to add some kind of warning window to tell the user the utility is still unstable, and to use with care? With a "Proceed anyway" button, a "Cancel" button, and a checkbox "do not show me again" for the fearless users. ;)

That way, you would not remove very useful functionality that experienced users would be able to deal with. :)
chrisb
Posts: 25175
Joined: Tue Mar 17, 2015 9:14 am

Re: Ticket #3061: [PartDesign] "Move object after other object" function causes chaos

Postby chrisb » Sat Sep 30, 2017 10:13 pm

A couple of months ago I voted for disabling. I would like to redraw that vote. I used this function not to the extreme but it works for my simple usecases. However, if I use the option to move something to the very front the model gets out of order, suddenly things have left the body and occur outside of it.