Commit Graph

332 Commits

Author SHA1 Message Date
Bernd Hahnebach
6d7ed787b2 Arch: import ifc, fix typo in material colors 2020-10-06 17:20:32 +02:00
Bernd Hahnebach
8292664f49 Arch: import ifc, fix import break if colors dictionary contains None values 2020-10-06 17:16:42 +02:00
Bernd Hahnebach
d45e143f17 Arch: ifc import, typo in var name 2020-10-06 10:53:56 +02:00
vocx-fc
fdbfee279c Arch: clean up message printing during IFC import 2020-08-11 12:10:50 +02:00
vocx-fc
c1476cd96f Arch: small cleanup of IFC importer and exporter
Clarify the import of IfcOpenShell's `geom`.

In some cases it fails importing and initializing the regular way,
`import ifcopenshell.geom`.

But it works in this way
```
from ifcopenshell import geom
geom.settings()
```
2020-08-11 12:10:50 +02:00
vocx-fc
25da304b5a Arch: further small fixes in importIFC 2020-07-30 08:36:49 +02:00
vocx-fc
7dc66ce11b Arch: simple cleanup to the importer, spacing, and PEP8 2020-07-30 08:36:49 +02:00
Bernd Hahnebach
d30e4a5088 Arch: import ifc, use the new layer make command since the dereciated one does not create layers on import 2020-07-21 15:18:41 +02:00
Yorik van Havre
d43588d240 Arch: New multicore IFC importer 2020-06-25 14:42:38 +02:00
Harald Geyer
2e3f3dd6c2 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.
2020-06-19 12:19:20 +02:00
Yorik van Havre
d804eb6ec3 Arch: Added timing in IFC import 2020-06-16 13:39:21 +02:00
Yorik van Havre
1aa5b755a9 Arch: Fixed non-GUI mode of exporters 2020-06-05 14:58:20 +02:00
Yorik van Havre
0553e440b7 Arch: Movig utils functions from importIFC to importIFCHelper 2020-06-02 13:39:22 +02:00
Yorik van Havre
7b94a6122b Arch: Handle rectangle-and circle-based profiles in IFC import/export 2020-05-29 12:12:48 +02:00
Yorik van Havre
4f36c23cbd Arch: Allow to skip import of IFC types from python 2020-05-14 11:49:36 +02:00
Yorik van Havre
71414fca96 Arch: Also skip default storey when importing IFC with 'replace by group' option 2020-04-21 14:46:07 +02:00
Yorik van Havre
6e712f601b Arch: Added IFC import option to replace project,site and building with a group 2020-04-21 13:43:28 +02:00
Dion Moult
5da9197bc5 Import transparent and IFC4 colours 2020-01-28 12:14:10 +01:00
Bernd Hahnebach
fa6513d7c7 Arch: import IFC, add commen to True North calculation 2020-01-10 17:01:58 +01:00
hlg
feaf9b24dc [Arch] fix true north handling on IFC import and export 2020-01-10 10:07:08 +01:00
Bernd Hahnebach
2504247d65 Arch: import IFC, fix possible devision by zero 2020-01-07 16:38:28 +01:00
luz.paz
8fb5c65736 Arch: [skip ci] fix header uniformity
This PR fixes header uniformity across all Arch files
2019-12-26 18:24:06 +01:00
Bernd Hahnebach
c3ba04183e Arch: import IFC, add import of layer 2019-11-07 08:04:11 +01:00
Bernd Hahnebach
85883712b7 Arch: import IFC, fix if imported in non Gui mode 2019-11-07 08:04:09 +01:00
Bernd Hahnebach
64cf85c214 Arch: import IFC, fix crash if IfcProject is not found in ifc file 2019-11-04 11:03:30 +01:00
Bernd Hahnebach
d6fc794aca Arch: import IFC, add guid to non parametric arch import 2019-10-28 18:04:48 +01:00
Yorik van Havre
7767103f9c Arch: Added option to allow import of invalid IFC geometry 2019-10-21 17:00:53 -03:00
Bernd Hahnebach
a431cf7d2b Arch: IFC import, fix Axis system placement 2019-10-12 21:50:44 +02:00
Bernd Hahnebach
8d9e0c2c94 Arch: IFC import, better import of small assemblies for nonparametric arch and part shape mode 2019-10-09 08:16:14 +02:00
Bernd Hahnebach
91ae52577b Arch: IFC import, better debug message for skipped objs in non parametric import mode 2019-10-07 21:53:12 +02:00
Yorik van Havre
f44a5e9654 Arch: More info if IfcOpenShell is not installed 2019-09-06 17:45:15 -03:00
Bernd Hahnebach
8e91b3ab2c Arch IFC import and export, new lines and comments 2019-09-02 07:38:28 +02:00
Bernd Hahnebach
d54bff6de5 Arch: import IFC and helper, code formating, E265 block comment should start with '# ' 2019-08-29 07:52:20 +02:00
Bernd Hahnebach
99fa0b35cf Arch: import IFC and helper, code formating, E261 at least two spaces before inline comment 2019-08-29 07:52:09 +02:00
Bernd Hahnebach
4fd1827fa9 Arch: import IFC and helper, code formating, E261 at least two spaces before inline comment 2019-08-29 07:52:00 +02:00
Bernd Hahnebach
db692680fd Arch: import IFC, make use of improved color import 2019-08-28 21:49:28 +02:00
Bernd Hahnebach
7927c7f3c0 Arch: import IFC, remove not needed return value of colors method 2019-08-27 08:04:02 +02:00
Dion Moult
d60a03d9cd Refactor exportIFC to not use global preferences 2019-08-26 10:37:32 -03:00
Dion Moult
4d12917b5f Refactor preferences into injected object instead of global.
The following unrequired preferences are removed:

 - FORCE_BREP
 - STORE_UID
 - SERIALIZE
 - EXPORT_2D
 - FULL_PARAMETRIC
 - ADD-DEFAULT_SITE
 - ADD_DEFAULT_STOREY
 - ADD_DEFAULT_BUILDING
2019-08-22 15:28:06 -03:00
Bernd Hahnebach
cb6f7ce3ee Arch: import and export IFC, add licence text and make it pep8 kompatible 2019-08-21 12:09:06 +02:00
Bernd Hahnebach
8c4856ebeb Arch: import IFC, move methods used by import and export to helper 2019-08-21 12:08:59 +02:00
Bernd Hahnebach
2390a219c0 Arch: import IFC, get back description of empty relation tables 2019-08-21 09:28:58 +02:00
Bernd Hahnebach
d038968b68 Arch: import IFC, split relation table method 2019-08-21 08:51:46 +02:00
Bernd Hahnebach
13ce0bddc8 Arch: import IFC, pep8, indent 2019-08-21 08:40:07 +02:00
Bernd Hahnebach
e634209c1e Arch: import IFC, pep8, add and delete some spaces 2019-08-21 07:20:05 +02:00
Bernd Hahnebach
a56d3c435a Arch: import IFC, white spaces and new lines 2019-08-21 07:19:59 +02:00
Bernd Hahnebach
0477ecee03 Arch: import IFC, add comment 2019-08-21 06:57:53 +02:00
Yorik van Havre
b32f094820 Arch: Further cleaning of IFC importer - moved aux functions to importIFCHelper 2019-08-20 19:44:19 -03:00
Yorik van Havre
b4fc354d2b Arch: Moved building of IFC relationship tables into separate function 2019-08-20 17:59:30 -03:00
Yorik van Havre
181cceddb1 Arch: Moved recycler class to exportIFC helper 2019-08-20 16:58:23 -03:00