View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003354 | Draft | Bug | public | 2018-02-25 09:10 | 2021-02-06 06:29 |
Reporter | abdullah | Assigned To | yorik | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Product Version | 0.18 | ||||
Target Version | 0.20 | ||||
Summary | 0003354: Draft Clone does not maintain the colours of the original | ||||
Description | I am not sure how difficult is this to handle as it is in the Python realm, but it would be great if the original colors where maintained. | ||||
Steps To Reproduce | 1. Make a part of your choice. 2. Colour it using the "Shape Color" property. 3. Make a clone of it. The result is with the default system color (grey). | ||||
Tags | colors | ||||
FreeCAD Information | |||||
|
Hello @abdullah, The provider copy the color. So it is not a Draft topic rather PartDesign. I don't know it good enough in the part design next source and I can't find the pdn provider. We must implement this Darft source code in PartDesign:
|
|
Using grep I found that the clone is small solution in pdn(src/Mod/PartDesign/Gui/Command.cpp). Look on commit: 600b736 Please keep in mind that not included a update service of color analogy to the placement. |
|
Just add a look at this one, indeed by cloning an App::Part the clone doesn't take the individual face colors. But, it's not possible to set individual face colors to an App::Part. Only to its child objects. If you clone the child objects, it works correctly. So the App::Part doesn't know of individual face colors. Should the clone go through the different children to make up the colors? Not realy sure that would be the proper way... Isn't the App::Part that should hold a colors list instead? |
|
This ticket has been migrated to GitHub as issue 5765. |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-02-25 09:10 | abdullah | New Issue | |
2018-02-26 01:14 | Kunda1 | Tag Attached: colors | |
2018-06-10 08:47 | gift | Note Added: 0011392 | |
2018-06-10 13:38 | Kunda1 | Note Edited: 0011392 | |
2018-06-10 13:39 | Kunda1 | Description Updated | |
2018-06-10 13:39 | Kunda1 | Steps to Reproduce Updated | |
2018-06-11 18:56 | gift | Note Added: 0011403 | |
2019-02-15 00:00 | yorik | Note Added: 0012644 | |
2019-02-15 00:00 | yorik | Assigned To | => yorik |
2019-02-15 00:00 | yorik | Status | new => assigned |
2019-02-15 00:01 | yorik | Target Version | 0.18 => 0.19 |
2021-02-06 06:29 | abdullah | Target Version | => 0.20 |