Commit Graph

327 Commits

Author SHA1 Message Date
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
Yorik van Havre
afed92ba8e Arch: More info if IfcOpenShell is not installed 2019-09-06 17:45:15 -03:00
Bernd Hahnebach
ecaf9000f6 Arch IFC import and export, new lines and comments 2019-09-02 07:38:28 +02:00
Bernd Hahnebach
929450521a Arch: import IFC and helper, code formating, E265 block comment should start with '# ' 2019-08-29 07:52:20 +02:00
Bernd Hahnebach
e84b5d662c 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
0eef759864 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
4096c6b8c4 Arch: import IFC, make use of improved color import 2019-08-28 21:49:28 +02:00
Bernd Hahnebach
2d925e4d56 Arch: import IFC, remove not needed return value of colors method 2019-08-27 08:04:02 +02:00
Dion Moult
20612ee9b7 Refactor exportIFC to not use global preferences 2019-08-26 10:37:32 -03:00
Dion Moult
760562cb4c 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
bafc964762 Arch: import and export IFC, add licence text and make it pep8 kompatible 2019-08-21 12:09:06 +02:00
Bernd Hahnebach
4db985b8e0 Arch: import IFC, move methods used by import and export to helper 2019-08-21 12:08:59 +02:00
Bernd Hahnebach
ef5d4b8370 Arch: import IFC, get back description of empty relation tables 2019-08-21 09:28:58 +02:00
Bernd Hahnebach
df4ee8f25d Arch: import IFC, split relation table method 2019-08-21 08:51:46 +02:00
Bernd Hahnebach
658a29fd12 Arch: import IFC, pep8, indent 2019-08-21 08:40:07 +02:00
Bernd Hahnebach
7fad08731b Arch: import IFC, pep8, add and delete some spaces 2019-08-21 07:20:05 +02:00
Bernd Hahnebach
dc5883983f Arch: import IFC, white spaces and new lines 2019-08-21 07:19:59 +02:00
Bernd Hahnebach
f722e98777 Arch: import IFC, add comment 2019-08-21 06:57:53 +02:00
Yorik van Havre
efd9473f23 Arch: Further cleaning of IFC importer - moved aux functions to importIFCHelper 2019-08-20 19:44:19 -03:00
Yorik van Havre
aa344ffb39 Arch: Moved building of IFC relationship tables into separate function 2019-08-20 17:59:30 -03:00
Yorik van Havre
037be677cd Arch: Moved recycler class to exportIFC helper 2019-08-20 16:58:23 -03:00
Yorik van Havre
09d0b2d0e7 Arch: Merge of PR #2259 - Fix ifc project 2019-08-14 16:04:52 -03:00
luz.paz
7d6d267c2d Fix issue in previous commit 2019-08-14 14:36:53 -03:00
luz.paz
020a66cddf Fix misc. typos
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller -L od,orign,orginx,orginy`
2019-08-14 14:36:53 -03:00
Bernd Hahnebach
902ee01eb6 Arch: IFC import, add some comment 2019-08-10 13:04:38 +02:00
Bernd Hahnebach
d1f1f81fff Arch: IFC import, move recycler class around 2019-08-10 13:04:38 +02:00