Commit Graph

78 Commits

Author SHA1 Message Date
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
Yorik van Havre
b9d9ea6b94 Arch: Fixed IFC export of compsolids (#10476) 2023-09-16 17:02:00 +02:00
Roy-043
c409d3b788 Arch: Avoid dictionary.keys() where possible (#10159) 2023-08-13 11:46:51 +02:00
Yorik van Havre
2e28c4ff93 Arch: Export structural nodes to IFC 2023-06-07 10:54:05 +02:00
Yorik van Havre
efbbac87cf Arch: Fixed wrong IFC export of rectangles 2023-05-24 10:44:01 +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
Bernd Hahnebach
6340ef1b96 ARCH, export IFC, serializer, workaround for placement problem 2023-04-20 00:17:03 +02: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
8f021bcb74 Arch: IFC export, fix export break if undefined building part and IFC4 is used 2023-02-23 16:49:17 +01:00
Bernd Hahnebach
9855774fee Arch: IFC, export, improve debug messages if axis object has not been exported 2023-02-17 15:02:18 +01:00
Bernd Hahnebach
b5c9ba93f4 Arch: IFC export, fix because one malformed geometry can break the whole export 2023-02-17 10:51:58 +01:00
Yorik van Havre
cb30b7e882 Arch: Small fix in IFC exporter to adapt to post-0.20 changes 2023-01-26 15:17:29 +01:00
Chris Hennes
a64fef50bc Arch: Remove Py2 code 2022-11-09 14:08:54 +01:00
Yorik van Havre
efcabd69ca Arch: Fixed position of rectangles in IFC export 2022-05-30 10:36:05 +02:00
Yorik van Havre
cc49a3c138 Arch: Fixed duplicate UIDs in IFC export 2022-04-22 12:03:40 +02:00
Yorik van Havre
d2d787c7c3 Arch: Added object type to IFC export of 2D annotations 2022-04-06 14:19:03 +02:00
Yorik van Havre
9442668f7a Arch: Fixed IFC import/export of dimensions 2022-04-06 11:35:18 +02:00
Yorik van Havre
c845270a61 Arch: Fixed text justify in IFC export 2022-04-05 16:03:46 +02:00
Yorik van Havre
338a27cbdc Arch: Fixed placement of rebars in IFC export 2022-03-25 13:41:45 +01:00
Yorik van Havre
6de5aa1220 Arch: Fixed IFC export of dimension text 2022-03-24 09:40:28 +01:00
Yorik van Havre
21c3347af1 Arch: Fixed incomplete detection of 2D objects in IFC export 2022-03-22 12:38:41 +01:00
Yorik van Havre
42e76d1006 Arch: Fixed IFC export of compounds and parts 2022-03-21 16:26:43 +01:00
Yorik van Havre
eea99d8e13 Arch: Fixed export of texts and dimensions to IFC 2022-03-17 15:46:18 +01:00
Yorik van Havre
5d8db3cfbe Arch: Fixed wrong constant in IFC export 2022-02-22 14:36:54 +01:00
Bernd Hahnebach
aa33cdc186 Arch: export IFC, make compatible with ifcopenshell 0.7 2021-11-10 15:59:30 +01:00
Bernd Hahnebach
636be32ec0 Arch: IFC export and import, some code formating (only very clearly ones) 2021-10-27 23:10:01 +02:00
Chris Hennes
6640f13be1 [Arch] Refactor to eliminate unused variable
LGTM complains about the unused variable in a loop that is really only
using the variable to iterate a set number of times. This replaces that
loop with a multiplication by the length of the array, eliminating the
unused iteration variable and clarifying the intent of the code.
2021-02-28 23:42:14 -06:00
Bernd Hahnebach
486febf3dc Arch: ifc export, save guid to obj attribute 2021-02-22 01:50:47 +01:00
Chris Hennes
9d1958475e [ARCH] Catch only Exception, not BaseException 2021-02-11 11:52:45 +01:00
Yorik van Havre
54c52a6128 Arch: Added .ifcjson export type 2020-11-27 13:09:34 +01:00
luz paz
ccf30d98d2 Arch: Fix header uniformity and remove trailing whitespace 2020-11-16 14:51:53 +01:00
Yorik van Havre
de1a46f68f Arch: Fixed group support in IFC export 2020-10-01 10:30:26 +02:00
Bernd Hahnebach
3bda9bda96 Arch: ifc export, workaround for draft array export and some small improvements 2020-09-24 17:50:42 +02:00
Yorik van Havre
b822809c94 Arch: allow exporting of objects with no solid or shell to IFC 2020-09-22 13:31:04 +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
Bernd Hahnebach
2dfcbdf6c7 Arch: export IFC, better default preferences 2020-07-30 08:10:13 +02:00
vocx-fc
c97d13164e Arch: update some functions that come from the Draft workbench
In particular `getGroupContents` was renamed to `get_group_contents`
in the Draft workbench, so the function name is updated accordingly.
2020-07-13 14:35:38 +02:00
Yorik van Havre
0bf34a0b22 Arch: Export wall axes to IFC 2020-06-15 17:11:21 +02:00
Yorik van Havre
f98ed46ad6 Arch: Allow to export structural analysis model to IFC 2020-06-11 14:15:38 +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
2292d5b5c6 Arch: Fixed use of IfcOpenShell serializer 2020-05-27 14:56:53 +02:00
Yorik van Havre
a7c1d07a21 Arch: Fixed export of non-ortho extrusions to IFC 2020-05-13 14:12:37 +02:00
Yorik van Havre
2a83c17b56 Arch: Fixed IFC export of Part Extrusions 2020-05-12 11:16:30 +02:00
Yorik van Havre
674e56817c Arch: Fixed bug in IFC export of furniture 2020-04-15 18:01:11 +02:00
Yorik van Havre
af1438329a Arch: Fixed IFC4 export of surface styles 2020-04-14 17:56:18 +02:00
Yorik van Havre
00b0458e1d Arch: Support App::Parts in IFC export 2020-04-14 16:51:54 +02:00
donovaly
ef099df0a1 [Arch] split IFC dialog 2020-04-14 11:37:36 +02:00
Yorik van Havre
19744a9f83 Arch: Export ortho arrays to IFC 2020-04-10 14:31:14 +02:00