You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when doing Std_DuplicateSelection (Edit->duplicate selected object) or Std_Copy (Edit->copy) on PartDesign body(ies) or feature(s), the Object Selection dialog box has the selected objects as well as dependencies all checked. In my opinion, you almost never want to copy dependencies. In fact, copying dependencies which are features of another body (e.g. a sketch is created from a master sketch in another body by Sketcher_Carbon_Copy), this results in PD features outside of any body.
Manually going through the object list to uncheck objects not specifically selected before starting the operation is tedious and error prone. Conversely, if only the original objects are automatically checked, it is easy to go through and check everything else.
Assuming that we don't want to change the current default behavior (even though I personally think the current behavior is most often wrong), I'd suggest a button in the dialog box to "uncheck dependencies" and possibly a button "check dependencies".
Also useful would be a configuration parameter to set the default behavior.
Steps to reproduce
Open new document and switch to Part Design WB.
Create a body and sketch with a circle in the center and close the sketch.
Pad the sketch.
Make only the sketch visible.
Create a second body and sketch.
Make sure construction lines is toggled off, click Carbon Copy and control-click the visible sketch. Close the sketch.
Pad this sketch.
Double-click the second body to deactivate it and single-click to select that body.
Edit->duplicate selection. The select objects dialog box has, in addition to the contents of Body001, XY_Plane and Sketch from the original body. Click OK.
We now have Body002 which is a copy of Body001 EXCEPT that Sketch001 references Sketch002 instead of Sketch. Also Sketch002 (a copy of Sketch) and XY_Plane002 are floating outside of any body.
Invalid upload path. Directory either does not exist or not writable to webserver.
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
Comment by TedM 2021-06-06 01:24
I have placed the sample file in the 10th message of the linked thread. The file earlier in the thread will also work, it's just a tiny bit more complex.
Issue imported from https://tracker.freecad.org/view.php?id=4676
Original report text
Currently, when doing Std_DuplicateSelection (Edit->duplicate selected object) or Std_Copy (Edit->copy) on PartDesign body(ies) or feature(s), the Object Selection dialog box has the selected objects as well as dependencies all checked. In my opinion, you almost never want to copy dependencies. In fact, copying dependencies which are features of another body (e.g. a sketch is created from a master sketch in another body by Sketcher_Carbon_Copy), this results in PD features outside of any body.
Manually going through the object list to uncheck objects not specifically selected before starting the operation is tedious and error prone. Conversely, if only the original objects are automatically checked, it is easy to go through and check everything else.
Assuming that we don't want to change the current default behavior (even though I personally think the current behavior is most often wrong), I'd suggest a button in the dialog box to "uncheck dependencies" and possibly a button "check dependencies".
Also useful would be a configuration parameter to set the default behavior.
Steps to reproduce
Other bug information
Discussion from Mantis ticket
Comment by TedM 2021-06-05 06:12
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=59098
Comment by TedM 2021-06-05 06:13
I am currently unable to upload my sample file. I'm getting the following:
APPLICATION ERROR #503
Invalid upload path. Directory either does not exist or not writable to webserver.
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
Comment by TedM 2021-06-06 01:24
I have placed the sample file in the 10th message of the linked thread. The file earlier in the thread will also work, it's just a tiny bit more complex.
Comment by Pauvres_honteux 2021-06-06 06:37
Hmm, to me this sounds like a version of 4502: Automate Link and ShapeBinder
I.e. just copy, then decide for a pasting option: with link, without link (as is) or dead.
The text was updated successfully, but these errors were encountered: