View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002762 | Arch | Bug | public | 2016-11-09 00:35 | 2016-12-29 18:06 |
Reporter | jpmbk | Assigned To | yorik | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.16 | ||||
Summary | 0002762: IFC import takes too much times when processing styled items | ||||
Description | Processing code for "IfcStyledItem" is something such as : loop on all IfcStyledItem if ..... : loop on all IFCProducts else: loop on all IFCMaterialDefinitionRepresentation This code is way too much polynomial for my ifc model :) | ||||
Steps To Reproduce | Try to import a medium sized ifc model : the styleditem processing will block FreeCAD for a long time .... | ||||
Additional Information | Partial solution is to split processing in two phases : first create a dictianry mapping IfcStyledItem to colors and then loop over the products. However I'm not sure how to integrate "IFCMaterialDefinitionRepresentation" in ths scheme. Please see my attempt to correct importIFC.py as attachment | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-11-09 00:35 | jpmbk | New Issue | |
2016-11-09 00:35 | jpmbk | File Added: importIFC.py | |
2016-12-29 18:06 | yorik | Changeset attached | => FreeCAD Master master 02492358 |
2016-12-29 18:06 | yorik | Assigned To | => yorik |
2016-12-29 18:06 | yorik | Status | new => closed |
2016-12-29 18:06 | yorik | Resolution | open => fixed |
2016-12-29 18:06 | yorik | Note Added: 0007556 |