View Revisions: Issue #3149

Summary 0003149: Duplicate body creates a mess
Revision 2017-10-01 21:08 by Kunda1
Description https://forum.freecadweb.org/viewtopic.php?f=3&t=15949

While experimenting on how Part-o-magic withstands object duplication, I found a bug in PartDesign.
1. New Part, New body
2. New sketch. Draw rectangle. Close.
3. Pad the sketch.
4. Select Body and menu Edit->Duplicate... When asked whether to duplicate dependencies, click Yes.
The body is duplicated.
But.
Problem No.1. Body is not added to active Part. OK, that can be fixed manually...
Problem No.2. and all looks fine, until one dives into dependency graph. There, a total mess can be seen.

Graph problem No.1: Duplicates of Sketch and Pad were added to original body, as well as to the copy of body.
Graph problem No.2: Pad001 references Pad (that is, gets fused to it).
Revision 2017-10-01 21:07 by Kunda1
Description https://forum.freecadweb.org/viewtopic.php?f=3&t=15949

While experimenting on how Part-o-magic withstands object duplication, I found a bug in PartDesign.
1. New Part, New body
2. New sketch. Draw rectangle. Close.
3. Pad the sketch.
4. Select Body and menu Edit->Duplicate... When asked whether to duplicate dependencies, click Yes.
The body is duplicated.
But.
Problem #1. Body is not added to active Part. OK, that can be fixed manually...
Problem 0000002. and all looks fine, until one dives into dependency graph. There, a total mess can be seen.

Graph problem No.1: Duplicates of Sketch and Pad were added to original body, as well as to the copy of body.
Graph problem No.2: Pad001 references Pad (that is, gets fused to it).
Revision 2017-08-07 05:43 by ickby
Description https://forum.freecadweb.org/viewtopic.php?f=3&t=15949

While experimenting on how Part-o-magic withstands object duplication, I found a bug in PartDesign.
1. New Part, New body
2. New sketch. Draw rectangle. Close.
3. Pad the sketch.
4. Select Body and menu Edit->Duplicate... When asked whether to duplicate dependencies, click Yes.
The body is duplicated.
But.
Problem #1. Body is not added to active Part. OK, that can be fixed manually...
Problem 0000002. and all looks fine, until one dives into dependency graph. There, a total mess can be seen.

Graph problem #1: Duplicates of Sketch and Pad were added to original body, as well as to the copy of body.
Graph problem 0000002: Pad001 references Pad (that is, gets fused to it).