Commit Graph

363 Commits

Author SHA1 Message Date
Roy-043
11bbc84b5c Arch: importIFC fix clone placement
Forum topic:
https://forum.freecad.org/viewtopic.php?p=738864#p739039
2024-02-12 11:52:21 +01:00
Roy-043
be03a9cebf Arch: implement new get_param functions
Additionally 2 Arch_Window bugs were fixed:
* If the W1 value was changed the box tracker was not repositioned relative to the cursor.
* The WindowColor was not applied because of a typo in the code. De current default color is quite dark BTW.

Note that all dimensional values that were not really defaults, but just the last entered values, have been removed from preferences-archdefaults.ui. As a result the layout looks a bit strange. That will be improved in a next PR.
2024-01-18 15:43:15 +01:00
Roy-043
c409d3b788 Arch: Avoid dictionary.keys() where possible (#10159) 2023-08-13 11:46:51 +02:00
luzpaz
38a01939e0 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
luzpaz
fdca2d49f7 Arch: lint bad indentation, superfluous formatting (#9310) 2023-04-19 09:40:16 +02:00
mosfet80
bed7b76524 remove Python2 code 2023-03-04 17:51:43 -06:00
Yorik van Havre
dc32d7985e Arch: Removed six module 2023-02-24 13:15:46 +01:00
Bernd Hahnebach
92df8f4440 Arch: IFC, import, add missing debug print new lines and skip information for 2D objects 2023-02-22 15:25:27 +01:00
luzpaz
79e150a81b Fix trailing whitespace, typos, headers
Fix trailing whitespace, typos, and header uniformity.
2023-01-23 00:34:37 +01:00
Bernd Hahnebach
cc1e624643 Arch: import ifc, workaround for merge materials if material colors have not been found on import 2023-01-20 15:52:55 +01:00
Chris Hennes
a64fef50bc Arch: Remove Py2 code 2022-11-09 14:08:54 +01:00
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