Yorik van Havre
683397b187
Arch: Allow to turn off material color and object color syncing
2019-08-12 19:22:58 -03:00
Yorik van Havre
125380ddd9
Arch: Added Area property to walls
2019-07-17 19:25:42 -03:00
Yorik van Havre
2876e82faa
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
a733dc6ddd
Arch: ifc properties, Py3 fix
2019-04-30 18:01:43 +02:00
Yorik van Havre
f65eba4f91
Arch: Fixed IFC export of object attributes
2019-04-17 18:50:37 -03:00
Yorik van Havre
ab2338d9ac
Arch: Minor bugfixes in IFC export
2019-04-14 14:18:46 -03:00
Yorik van Havre
624e20e9a2
Arch: Renamed property IfcRole to IfcType
2019-04-09 15:53:01 -03:00
Yorik van Havre
8c9e2a6d95
Merge branch 'fix-ifc' of https://github.com/Moult/FreeCAD into Moult-fix-ifc
2019-03-27 11:57:22 -03:00
Dion Moult
348a1777a2
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
b8da380ef4
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
0855be08e5
Remove dependency on ifcopenshell at runtime and introduce new IfcVersion config
2019-01-29 21:15:44 +11:00
Dion Moult
c85514b2cf
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
6e7a0138cd
Migrate IfcAttributes to IfcData for backwards compatibility
2019-01-29 21:15:44 +11:00
Dion Moult
33078844e6
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
a192e5411f
Now support boolean, floats, and length IFC types instead of just enum
2019-01-29 21:15:43 +11:00
Dion Moult
06ccc04f1c
Remove hardcoded ifc types and instead load from ifc_types.json
2019-01-29 21:15:43 +11:00
Dion Moult
9d3a988cda
Update ArchComponent and importIFC to use values from the new ifc_products dictionary
2019-01-29 21:15:43 +11:00
Dion Moult
8d04a4882c
Add support for IFC enums, and minor variable name consistency cleanup
2019-01-29 21:15:43 +11:00
Dion Moult
2924dd1779
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
171e713de0
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
7c8fb24338
Navigate to the json file in an os agnostic manner
2019-01-29 21:15:43 +11:00
Dion Moult
b81ab2718a
Fix incorrect directory for location of json file
2019-01-29 21:15:43 +11:00
Dion Moult
7f02b0924c
Load IFC from external JSON file for flexibility
2019-01-29 21:15:43 +11:00
Dion Moult
47a2296c69
Remove abstract IFC entities (as per IFC4 Add2)
2019-01-22 10:19:14 -02:00
Yorik van Havre
79a25ff6bd
Arch: Prevision for forward compatibility
2019-01-20 19:32:12 -02:00
Yorik van Havre
b918cbe14d
Arch: Fixed object transparency not adopting the material's one
2018-12-19 20:51:39 -02:00
Yorik van Havre
ef002fdde2
Arch: Fixed non-unified extrusion direction in multisolid structures
2018-12-05 17:27:12 -02:00
Yorik van Havre
5217b245b4
Arch: Added pref option to set default MoveWithHost property
2018-12-01 12:23:45 -02:00
Yorik van Havre
bc53910ace
Arch: code cleaning
2018-12-01 12:13:25 -02:00
Yorik van Havre
a8fda8df0b
Arch: Fixed buggy import/export of 2D objects to IFC
2018-11-09 16:56:59 -02:00
Yorik van Havre
0d228bce02
Arch: Fixed edit mode of components
2018-09-28 16:13:01 -03:00
Yorik van Havre
e45a3674f0
Arch: bugfixes in IFC exporter
2018-07-26 19:23:48 -03:00
Yorik van Havre
64c760f537
Added Standard Code property to all components
2018-07-24 11:58:55 -03:00
Yorik van Havre
50a10a2020
Arch: Support of shared profiles in extrusions imported from IFC
2018-07-18 15:07:54 -03:00
Yorik van Havre
c4fc02cbcf
Arch: fixed bug in non-GUI mode
2018-07-09 11:49:26 -03:00
Yorik van Havre
b54661c09a
Arch: Added IFC properties editor to edit mode of all Arch objects
2018-07-07 21:46:49 -03:00
Yorik van Havre
2f6fe25971
Arch: Support of IfcBuildingElement and IfcPropertySets in ifc import/export
2018-07-04 14:49:31 -03:00
Yorik van Havre
ab1520b872
Arch: Fixed compatibility with 0.17
2018-06-29 13:07:13 -03:00
Yorik van Havre
1314210a4c
Arch: Handle cloning of BuildingParts
2018-06-29 12:12:54 -03:00
Yorik van Havre
5da2280cd6
Arch: Added Frame and Offset properties to windows
2018-06-21 18:53:52 -03:00
Yorik van Havre
0fcb378f02
Arch/Draft: Fixed bugs in non-GUI mode
2018-06-11 21:44:23 -03:00
Yorik van Havre
15d2f9bb73
Arch: Added toggleSubs command to context menu of arch objects
2018-06-02 13:54:10 -03:00
Yorik van Havre
e49a5af3ae
Arch: separate properties creation in own methods and check properties at file load
2018-06-01 19:36:35 -03:00
luz.paz
6e64b4f75d
Misc. typos
2018-05-19 12:06:34 -04:00
Yorik van Havre
9763696216
Arch: Added convenience function ArchComponent.convertOldComponents to convert the Role property to IfcRole
2018-05-11 23:14:41 -03:00
Yorik van Havre
30476e951d
Arch: Renamed Role property to IfcRole
2018-05-11 12:01:55 -03:00
Yorik van Havre
b5ffabace2
Arch: All Arch objects can now have any IFC type(role)
2018-05-10 10:42:06 -03:00
Yorik van Havre
52f4375625
Arch: Added setting to limit areas calculations for large objects
2018-04-30 17:39:11 -03:00
luz.paz
505488c4f9
Misc. typos
...
Found via `codespell`
2018-04-25 09:41:33 -03:00
luz.paz
90c6689722
Arch: translation fixes
...
Adding Arch WB translation string corrections/refinements
2018-04-17 10:16:28 -03:00