Commit Graph

79 Commits

Author SHA1 Message Date
Yorik van Havre
e16f993df7 [Arch] Always use a default IFC type - fixes yorikvanhavre/FreeCAD-NativeIFC#60 2024-02-19 11:26:38 -06:00
Roy-043
544bd1e7ea 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
3ac314aa71 Arch: Fixed IFC export of compsolids (#10476) 2023-09-16 17:02:00 +02:00
Roy-043
91cfb15f64 Arch: Avoid dictionary.keys() where possible (#10159) 2023-08-13 11:46:51 +02:00
Yorik van Havre
cee922bbbd Arch: Export structural nodes to IFC 2023-06-07 10:54:05 +02:00
Yorik van Havre
4a748f4fb3 Arch: Fixed wrong IFC export of rectangles 2023-05-24 10:44:01 +02:00
luzpaz
129d5882a7 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
e75bc1c299 ARCH, export IFC, serializer, workaround for placement problem 2023-04-20 00:17:03 +02:00
luzpaz
1c75bbb48a Arch: lint bad indentation, superfluous formatting (#9310) 2023-04-19 09:40:16 +02:00
mosfet80
3137dea940 remove Python2 code 2023-03-04 17:51:43 -06:00
Yorik van Havre
32bd87ff7d Arch: Removed six module 2023-02-24 13:15:46 +01:00
Bernd Hahnebach
2e5c518cec Arch: IFC export, fix export break if undefined building part and IFC4 is used 2023-02-23 16:49:17 +01:00
Bernd Hahnebach
5888edef05 Arch: IFC, export, improve debug messages if axis object has not been exported 2023-02-17 15:02:18 +01:00
Bernd Hahnebach
acb78e8e88 Arch: IFC export, fix because one malformed geometry can break the whole export 2023-02-17 10:51:58 +01:00
Yorik van Havre
20695da6f7 Arch: Small fix in IFC exporter to adapt to post-0.20 changes 2023-01-26 15:17:29 +01:00
Chris Hennes
f6f1928cf8 Arch: Remove Py2 code 2022-11-09 14:08:54 +01:00
Yorik van Havre
47125d8fda Arch: Fixed position of rectangles in IFC export 2022-05-30 10:36:05 +02:00
Yorik van Havre
20f4195039 Arch: Fixed duplicate UIDs in IFC export 2022-04-22 12:03:40 +02:00
Yorik van Havre
b5a6970c53 Arch: Added object type to IFC export of 2D annotations 2022-04-06 14:19:03 +02:00
Yorik van Havre
002ba58bad Arch: Fixed IFC import/export of dimensions 2022-04-06 11:35:18 +02:00
Yorik van Havre
ed5ee5655d Arch: Fixed text justify in IFC export 2022-04-05 16:03:46 +02:00
Yorik van Havre
b704454e33 Arch: Fixed placement of rebars in IFC export 2022-03-25 13:41:45 +01:00
Yorik van Havre
d6c24dfb3b Arch: Fixed IFC export of dimension text 2022-03-24 09:40:28 +01:00
Yorik van Havre
117aed2d92 Arch: Fixed incomplete detection of 2D objects in IFC export 2022-03-22 12:38:41 +01:00
Yorik van Havre
dbaf19b442 Arch: Fixed IFC export of compounds and parts 2022-03-21 16:26:43 +01:00
Yorik van Havre
84a505287c Arch: Fixed export of texts and dimensions to IFC 2022-03-17 15:46:18 +01:00
Yorik van Havre
b6d2974b63 Arch: Fixed wrong constant in IFC export 2022-02-22 14:36:54 +01:00
Bernd Hahnebach
62ad96508a Arch: export IFC, make compatible with ifcopenshell 0.7 2021-11-10 15:59:30 +01:00
Bernd Hahnebach
5f82ec99fc Arch: IFC export and import, some code formating (only very clearly ones) 2021-10-27 23:10:01 +02:00
Chris Hennes
ac4b02f5a0 [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
f5a567a1fc Arch: ifc export, save guid to obj attribute 2021-02-22 01:50:47 +01:00
Chris Hennes
8228d64ac4 [ARCH] Catch only Exception, not BaseException 2021-02-11 11:52:45 +01:00
Yorik van Havre
c3b0af2d8d Arch: Added .ifcjson export type 2020-11-27 13:09:34 +01:00
luz paz
67381e9579 Arch: Fix header uniformity and remove trailing whitespace 2020-11-16 14:51:53 +01:00
Yorik van Havre
a01d045498 Arch: Fixed group support in IFC export 2020-10-01 10:30:26 +02:00
Bernd Hahnebach
82a2c1b753 Arch: ifc export, workaround for draft array export and some small improvements 2020-09-24 17:50:42 +02:00
Yorik van Havre
35d5c5dc4c Arch: allow exporting of objects with no solid or shell to IFC 2020-09-22 13:31:04 +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
Bernd Hahnebach
74ffe857dc Arch: export IFC, better default preferences 2020-07-30 08:10:13 +02:00
vocx-fc
a5aa9646b0 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
1c7c3b3d9f Arch: Export wall axes to IFC 2020-06-15 17:11:21 +02:00
Yorik van Havre
6271887cc6 Arch: Allow to export structural analysis model to IFC 2020-06-11 14:15:38 +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
8752bc126a Arch: Fixed use of IfcOpenShell serializer 2020-05-27 14:56:53 +02:00
Yorik van Havre
4fa967b240 Arch: Fixed export of non-ortho extrusions to IFC 2020-05-13 14:12:37 +02:00
Yorik van Havre
b9fc0fb8d4 Arch: Fixed IFC export of Part Extrusions 2020-05-12 11:16:30 +02:00
Yorik van Havre
97fbda9b47 Arch: Fixed bug in IFC export of furniture 2020-04-15 18:01:11 +02:00
Yorik van Havre
a150f8a54f Arch: Fixed IFC4 export of surface styles 2020-04-14 17:56:18 +02:00
Yorik van Havre
855fa1adc6 Arch: Support App::Parts in IFC export 2020-04-14 16:51:54 +02:00
donovaly
940af87f69 [Arch] split IFC dialog 2020-04-14 11:37:36 +02:00