Yorik van Havre
691c102670
Arch: Added IFC pref option to automatically export IFC objects as Standard Cases when possible
2019-05-08 21:58:04 -03:00
Bernd Hahnebach
953160b0f7
Arch: ifc properties, Py3 fix
2019-04-30 18:01:43 +02:00
Yorik van Havre
0607e64140
Arch: Fixed IFC export of object attributes
2019-04-17 18:50:37 -03:00
Yorik van Havre
4be3448372
Arch: Minor bugfixes in IFC export
2019-04-14 14:18:46 -03:00
Yorik van Havre
506cfd9bd2
Arch: Renamed property IfcRole to IfcType
2019-04-09 15:53:01 -03:00
Yorik van Havre
fd658a00be
Merge branch 'fix-ifc' of https://github.com/Moult/FreeCAD into Moult-fix-ifc
2019-03-27 11:57:22 -03:00
Dion Moult
57b596e0fc
Add a move base property that moves the base object instead of the object itself if true.
...
This is useful because it is the default case for most architectural work.
2019-03-19 14:17:39 -03:00
furti
35eca42fd2
Set window visibility based on wall
...
Previously windows attached to walls were not hidden or shown when the
visibility of the wall changed. This commit searches for all windows
that are based on the wall and hides or unhides them.
https://forum.freecadweb.org/viewtopic.php?f=23&t=34166
fixes 3833
2019-02-16 19:31:16 -02:00
Dion Moult
c9d08b7311
Remove dependency on ifcopenshell at runtime and introduce new IfcVersion config
2019-01-29 21:15:44 +11:00
Dion Moult
36bd51262e
Refactor all IFC functions into ArchIFC and preload attributes with expressions
...
* The import code will manually set 2x3 attributes
* The import code will rely on "smart" attributes for ifc 4
* ArchSite and ArchBuildingPart now support IFC
* IfcSite lat/lon is left alone until I better understand how coords work
2019-01-29 21:15:44 +11:00
Dion Moult
8f06bb29fa
Migrate IfcAttributes to IfcData for backwards compatibility
2019-01-29 21:15:44 +11:00
Dion Moult
240d0a9eb6
Load JSON based on ifcopenshell schema version
...
This allows us to support more than one ifc version. The 2X3 jsons cannot be autogenerated and have been manually written based on the hardcoded values in the old codebase.
2019-01-29 21:15:43 +11:00
Dion Moult
6f50c6e730
Now support boolean, floats, and length IFC types instead of just enum
2019-01-29 21:15:43 +11:00
Dion Moult
445b1e219a
Remove hardcoded ifc types and instead load from ifc_types.json
2019-01-29 21:15:43 +11:00
Dion Moult
8c5261a324
Update ArchComponent and importIFC to use values from the new ifc_products dictionary
2019-01-29 21:15:43 +11:00
Dion Moult
dc3b4f63e0
Add support for IFC enums, and minor variable name consistency cleanup
2019-01-29 21:15:43 +11:00
Dion Moult
61a4aa6f03
Add support for storing all IFC attributes as text attributes for now. Data is stored in IfcData as a JSON serialised string.
2019-01-29 21:15:43 +11:00
Dion Moult
57e6430e2f
Refactor IfcAttributes to be called IfcData.
...
* IfcAttributes as a name is misleading, as currently it stores GUID (yes, an attribute), but also stores IFC export settings (i.e. not an IFC "attribute", per say)
* The previous description of "Custom IFC properties ..." is also misleading, as properties might suggest it stores property sets, which it doesn't (IfcProperties does, currently)
* IfcData is more generic and allows us to store more data in it in the future
2019-01-29 21:15:43 +11:00
Dion Moult
24336fe290
Navigate to the json file in an os agnostic manner
2019-01-29 21:15:43 +11:00
Dion Moult
e2747e095f
Fix incorrect directory for location of json file
2019-01-29 21:15:43 +11:00
Dion Moult
294d9bf353
Load IFC from external JSON file for flexibility
2019-01-29 21:15:43 +11:00
Dion Moult
c6537c14a9
Remove abstract IFC entities (as per IFC4 Add2)
2019-01-22 10:19:14 -02:00
Yorik van Havre
1cbcc7b5a4
Arch: Prevision for forward compatibility
2019-01-20 19:32:12 -02:00
Yorik van Havre
effdefbbf7
Arch: Fixed object transparency not adopting the material's one
2018-12-19 20:51:39 -02:00
Yorik van Havre
00a241ec40
Arch: Fixed non-unified extrusion direction in multisolid structures
2018-12-05 17:27:12 -02:00
Yorik van Havre
306c6d66c5
Arch: Added pref option to set default MoveWithHost property
2018-12-01 12:23:45 -02:00
Yorik van Havre
8c3938347d
Arch: code cleaning
2018-12-01 12:13:25 -02:00
Yorik van Havre
3956cee0ac
Arch: Fixed buggy import/export of 2D objects to IFC
2018-11-09 16:56:59 -02:00
Yorik van Havre
66e46c9a37
Arch: Fixed edit mode of components
2018-09-28 16:13:01 -03:00
Yorik van Havre
6ca4d89cce
Arch: bugfixes in IFC exporter
2018-07-26 19:23:48 -03:00
Yorik van Havre
7a48d539cb
Added Standard Code property to all components
2018-07-24 11:58:55 -03:00
Yorik van Havre
f378fca56a
Arch: Support of shared profiles in extrusions imported from IFC
2018-07-18 15:07:54 -03:00
Yorik van Havre
013502987d
Arch: fixed bug in non-GUI mode
2018-07-09 11:49:26 -03:00
Yorik van Havre
04b47c702d
Arch: Added IFC properties editor to edit mode of all Arch objects
2018-07-07 21:46:49 -03:00
Yorik van Havre
334f2df65f
Arch: Support of IfcBuildingElement and IfcPropertySets in ifc import/export
2018-07-04 14:49:31 -03:00
Yorik van Havre
ed18728a80
Arch: Fixed compatibility with 0.17
2018-06-29 13:07:13 -03:00
Yorik van Havre
2a116ff4f1
Arch: Handle cloning of BuildingParts
2018-06-29 12:12:54 -03:00
Yorik van Havre
75618d862e
Arch: Added Frame and Offset properties to windows
2018-06-21 18:53:52 -03:00
Yorik van Havre
4514ad4260
Arch/Draft: Fixed bugs in non-GUI mode
2018-06-11 21:44:23 -03:00
Yorik van Havre
b7a81b5e80
Arch: Added toggleSubs command to context menu of arch objects
2018-06-02 13:54:10 -03:00
Yorik van Havre
0bae245b26
Arch: separate properties creation in own methods and check properties at file load
2018-06-01 19:36:35 -03:00
luz.paz
69b3b0b7f2
Misc. typos
2018-05-19 12:06:34 -04:00
Yorik van Havre
a8c6f1b647
Arch: Added convenience function ArchComponent.convertOldComponents to convert the Role property to IfcRole
2018-05-11 23:14:41 -03:00
Yorik van Havre
63794fcefd
Arch: Renamed Role property to IfcRole
2018-05-11 12:01:55 -03:00
Yorik van Havre
34ba3d8f3c
Arch: All Arch objects can now have any IFC type(role)
2018-05-10 10:42:06 -03:00
Yorik van Havre
7bf490d42c
Arch: Added setting to limit areas calculations for large objects
2018-04-30 17:39:11 -03:00
luz.paz
9167064fc1
Misc. typos
...
Found via `codespell`
2018-04-25 09:41:33 -03:00
luz.paz
1d04002c3b
Arch: translation fixes
...
Adding Arch WB translation string corrections/refinements
2018-04-17 10:16:28 -03:00
Yorik van Havre
b7c050f23b
Arch: Fixed not working addition/subtraction in components
2018-03-14 13:44:10 -03:00
Yorik van Havre
c51abf803f
Arch: Fixed bug in component icon
2018-02-09 10:37:01 +01:00