Commit Graph

352 Commits

Author SHA1 Message Date
Yorik van Havre
1b2f3fddd7 Merge remote-tracking branch 'gitlab/master' 2022-09-15 15:40:33 +02:00
Yorik van Havre
6585010002 Arch: Allow to override IFC importer with the BIM WB version 2022-09-15 15:30:03 +02:00
Yorik van Havre
97545c8836 Arch: Housecleaning - Moving IFC getPreferences() to helper module 2022-09-15 14:22:07 +02:00
Yorik van Havre
197ae3bc0a Arch: Fixed IFC import of Rebars 2022-04-05 16:06:22 +02:00
Yorik van Havre
ec70f760db Arch: fixed missing multicore IFC import of 2D annotations 2022-03-24 09:41:08 +01:00
Bernd Hahnebach
67a7f038bf Arch: import IFC, Materials, make merge materials working on duplicate label setting 2021-10-28 16:02:06 +02:00
Bernd Hahnebach
b679c15164 Arch: import IFC, Material, small improvement, no changes 2021-10-28 15:45:15 +02:00
Bernd Hahnebach
5be99d7469 Arch: import IFC, Materials, small code improvements, no changes 2021-10-28 15:43:35 +02:00
Bernd Hahnebach
5f8422e7ea Arch: import IFC, use doc identifier instead of FreeCAD.ActiveDocument 2021-10-28 09:49:51 +02:00
Bernd Hahnebach
636be32ec0 Arch: IFC export and import, some code formating (only very clearly ones) 2021-10-27 23:10:01 +02:00
Bernd Hahnebach
6d6559e99c Arch: import IFC, replace project, comment debug print 2021-10-27 08:17:48 +02:00
Bernd Hahnebach
c581a5b3dc Arch: import IFC, fix import if replace project and only one building or one storey 2021-10-26 22:18:37 +02:00
Bernd Hahnebach
6ac93003ee Arch: import IFC, Layers, do not overwrite the imported object color and line color with the default layer values 2021-10-26 16:42:07 +02:00
Bernd Hahnebach
8c3c9d4a1c Arch: import IFC, fix new preference for not importing Layer 2021-10-26 14:02:58 +02:00
Bernd Hahnebach
5bb0ffe0e4 Arch: import IFC, add preference to not import Layer 2021-10-26 13:52:50 +02:00
Bernd Hahnebach
433929490e Arch: import IFC, some comments 2021-10-26 12:36:37 +02:00
Bernd Hahnebach
bddce5f082 Arch: import IFC, materials, improve code but no changes on what is done 2021-10-26 12:25:51 +02:00
Bernd Hahnebach
cf64ff763e Arch: import IFC, fix merge material preference import 2021-10-26 11:24:12 +02:00
Chris Hennes
9d1958475e [ARCH] Catch only Exception, not BaseException 2021-02-11 11:52:45 +01:00
luz paz
ccf30d98d2 Arch: Fix header uniformity and remove trailing whitespace 2020-11-16 14:51:53 +01:00
Bernd Hahnebach
6cb4c91ee1 Arch: import ifc, fix typo in material colors 2020-10-06 17:20:32 +02:00
Bernd Hahnebach
74a1f21b67 Arch: import ifc, fix import break if colors dictionary contains None values 2020-10-06 17:16:42 +02:00
Bernd Hahnebach
7700e3267f Arch: ifc import, typo in var name 2020-10-06 10:53:56 +02:00
vocx-fc
6c740d55a1 Arch: clean up message printing during IFC import 2020-08-11 12:10:50 +02:00
vocx-fc
85038ac520 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
c7232dfd15 Arch: further small fixes in importIFC 2020-07-30 08:36:49 +02:00
vocx-fc
c07e627f9e Arch: simple cleanup to the importer, spacing, and PEP8 2020-07-30 08:36:49 +02:00
Bernd Hahnebach
933c90c74a 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
ec6ea813c5 Arch: New multicore IFC importer 2020-06-25 14:42:38 +02:00
Harald Geyer
98c05349ac 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
9c0a35f48b Arch: Added timing in IFC import 2020-06-16 13:39:21 +02:00
Yorik van Havre
0a43d9ecc1 Arch: Fixed non-GUI mode of exporters 2020-06-05 14:58:20 +02:00
Yorik van Havre
4d48b2aa38 Arch: Movig utils functions from importIFC to importIFCHelper 2020-06-02 13:39:22 +02:00
Yorik van Havre
b74a2ba7ef Arch: Handle rectangle-and circle-based profiles in IFC import/export 2020-05-29 12:12:48 +02:00
Yorik van Havre
dfd098a714 Arch: Allow to skip import of IFC types from python 2020-05-14 11:49:36 +02:00
Yorik van Havre
ea5211e5d3 Arch: Also skip default storey when importing IFC with 'replace by group' option 2020-04-21 14:46:07 +02:00
Yorik van Havre
32d73bca15 Arch: Added IFC import option to replace project,site and building with a group 2020-04-21 13:43:28 +02:00
Dion Moult
24c7ceb309 Import transparent and IFC4 colours 2020-01-28 12:14:10 +01:00
Bernd Hahnebach
e44fc27505 Arch: import IFC, add commen to True North calculation 2020-01-10 17:01:58 +01:00
hlg
3535cf7a83 [Arch] fix true north handling on IFC import and export 2020-01-10 10:07:08 +01:00
Bernd Hahnebach
3b2bf60cdf Arch: import IFC, fix possible devision by zero 2020-01-07 16:38:28 +01:00
luz.paz
8af8689d73 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
24ac773b28 Arch: import IFC, add import of layer 2019-11-07 08:04:11 +01:00
Bernd Hahnebach
0e7a705664 Arch: import IFC, fix if imported in non Gui mode 2019-11-07 08:04:09 +01:00
Bernd Hahnebach
c471916c90 Arch: import IFC, fix crash if IfcProject is not found in ifc file 2019-11-04 11:03:30 +01:00
Bernd Hahnebach
ca3070247b Arch: import IFC, add guid to non parametric arch import 2019-10-28 18:04:48 +01:00
Yorik van Havre
92d1ff8fbe Arch: Added option to allow import of invalid IFC geometry 2019-10-21 17:00:53 -03:00
Bernd Hahnebach
b2bc37a609 Arch: IFC import, fix Axis system placement 2019-10-12 21:50:44 +02:00
Bernd Hahnebach
58b62853c1 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
f5768441a6 Arch: IFC import, better debug message for skipped objs in non parametric import mode 2019-10-07 21:53:12 +02:00