View Issue Details

IDProjectCategoryView StatusLast Update
0002310FreeCADBugpublic2015-11-29 16:06
Reporterdanilius Assigned Tojmaustpc  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version0.15 
Fixed in Version0.16 
Summary0002310: Duplicating an object extruded from a sketch results in undesirable behaviour
DescriptionIf one creates a sketch, extrudes it and, for example, uses a boolean addition with another object, and then one duplicates the object created from the sketch but presses "no" in response to the question "The selected objects have a dependency to unselected objects, do you want to duplicate them too?" then the sketch will be removed from the original object and attached to the new one.
Steps To ReproduceSee attached file. Select "Pad" and duplicate it. Answer "no" to the dialog box about duplicating dependencies. Now the sketch will be attached to the newly created object.
Additional InformationOS: Ubuntu 15.04
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.5239 (Git)
Build type: None
Branch: master
Hash: 34f1450cbd1e0ade42f3c7f66ef34e988b9966de
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
TagsNo tags attached.
FreeCAD Information

Activities

danilius

2015-10-27 12:13

reporter  

duplication bug.fcstd (Attachment missing)

jmaustpc

2015-11-29 16:02

manager   ~0006563

Hi danilius

please in the first instance, always discuss possible bug matters in the Help forums where more people see it and can resolve the matter. Once we decide its a bug then post a ticket.

In this case with your file there sketch is not removed and attached to the duplicate, it is just displayed that way in TreeView, if you edit the sketch or look at the dependency graph, you will see that both Pad and Duplicate are both linked to the same sketch. This can also be seen in the property editor by looking at the "sketch" property.

The actual issue is getting it display properly in treeview. I think it is best to close this ticket now and create a new one that more accurately describes the issue after it has been discussed in the forum.


Thanks again for taking the time to post this .... but please next time discuss it in the forums first as it is more efficient having more people looking at it.

I did try your file in my current FreeCAD version data below.

OS: Ubuntu 14.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.5970 (Git)
Build type: Release
Branch: master
Hash: 19c840e1ab299cb94ed534d5be61a95a5fac8691
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17

jmaustpc

2015-11-29 16:06

manager   ~0006564

The problem is how to display in treeview where the sketch is used, when it is used by Pad and a duplicate of Pad

Issue History

Date Modified Username Field Change
2015-10-27 12:13 danilius New Issue
2015-10-27 12:13 danilius File Added: duplication bug.fcstd
2015-11-29 16:02 jmaustpc Note Added: 0006563
2015-11-29 16:06 jmaustpc Note Added: 0006564
2015-11-29 16:06 jmaustpc Status new => closed
2015-11-29 16:06 jmaustpc Assigned To => jmaustpc
2015-11-29 16:06 jmaustpc Resolution open => no change required
2015-11-29 16:06 jmaustpc Fixed in Version => 0.16