[Annoyance] Std_Transform on PartDesign objects + invisible objects

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
openBrain
Veteran
Posts: 9034
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

[Annoyance] Std_Transform on PartDesign objects + invisible objects

Post by openBrain »

Currently it's possible to trigger Std_Transform on PartDesign objects with :
* Select in the TreeView then Edit->Transform
* Python Console : 'Gui.ActiveDocument.setEdit(App.ActiveDocument.OBJECT, 1)
* In the future ? User edit mode in 'Transform' mode and double-click the object in the tree

The manipulator appears in the 3D view, it's possible to move the object in preview mode, but when validating the transformation is rejected/ignored.

In your opinion, what should be correct behavior ?
* Forbid running Std_Transform on PartDesign objects ?
* Move the AttachmentOffset of the base sketch(es) accordingly ?
* Other ?

Also it's possible to run this command on invisible objects.
What is your opinion about correct behavior ?
* Make the object visible ? Temporarily ?
* Forbid/ignore Std_Transform on invisible objects ?
* Other ?
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: [Annoyance] Std_Transform on PartDesign objects + invisible objects

Post by adrianinsaval »

openBrain wrote: Thu Nov 25, 2021 4:33 pm In your opinion, what should be correct behavior ?
* Forbid running Std_Transform on PartDesign objects ?
* Move the AttachmentOffset of the base sketch(es) accordingly ?
* Other ?
I think it should only be allowed on those that can actually be moved, I think those are sketches datums shapebinders clones and primitives. The rest it's better to forbid, I don't think FreeCAD should move a sketch if the user is not explicitly trying to move the sketch.
Also it's possible to run this command on invisible objects.
What is your opinion about correct behavior ?
* Make the object visible ? Temporarily ?
I vote for this
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: [Annoyance] Std_Transform on PartDesign objects + invisible objects

Post by Shalmeneser »

openBrain wrote: Thu Nov 25, 2021 4:33 pm * Move the AttachmentOffset of the base ... accordingly ?

* Make the object visible ? Temporarily ?
+1
kisolre
Veteran
Posts: 4162
Joined: Wed Nov 21, 2018 1:13 pm

Re: [Annoyance] Std_Transform on PartDesign objects + invisible objects

Post by kisolre »

I also found myself several times wanting just to move a feature and not been able to just Transform it and having to manipulate attachments by hand was a drag...
Post Reply