FreeCAD: master 2e3f3dd6

Author Committer Branch Timestamp Parent
lambda yorik master 2020-06-18 10:41:15 master ca13b246
Changeset Arch: importIFC: Allow faster inserts

For huge models just parsing the IFC file in ifcopenshell takes
significant time. When importing via IFC explorer from the BIM
workbench, the file is already open.

This change allows to pass the ifcopenshell.file object instead of a
filename, making the process much more efficient.

Backwards compatible code to use this will be submitted for the BIM
workbench soon. Then we have a workflow, where we can insert items
from big IFC files in multiple rounds quickly.
mod - src/Mod/Arch/importIFC.py Diff File