View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001293 | FreeCAD | Bug | public | 2013-10-30 10:06 | 2013-11-07 13:21 |
| Reporter | toreram | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | not fixable | ||
| Product Version | 0.13 | ||||
| Summary | 0001293: Part.read + part.show missing colors | ||||
| Description | Adding a part using: >>>ImportGui.import("mymodel.step") => Part is imported and displayed correct with colors Adding part using Part.read + Part.show: >>>mypart = Part.read("mymodel.step") >>>Part.show(mypart) => Part is read and displayed without colors I use a script that uses Part.read + Part.show | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | |||||
|
|
In order to read colors OCC's OCAF framework needs to be used which requires many more libraries which we don't want to have listed as dependency of the Part module. That's why all this is part of the Import module. A few months ago the relevant code from ImportGui has moved to Import so that you load/save colors inside a script without using the GUI. http://forum.freecadweb.org/viewtopic.php?f=3&t=4249&p=33232i#p33331 |
FreeCAD