vocx-fc
ffb802d72c
Arch: import from draftutils instead of DraftTools
...
These functions were moved from DraftTools and DraftGui
to individual modules precisely to make them easy to import.
Otherwise we have to import the entire DraftTools and DraftGui
modules which creates dependency problems when we want to use
some functions without the graphical interface.
2020-03-23 12:14:58 +01:00
alafr
eac01576ad
Arch Component: triple quotes for the docstring
2020-03-02 11:53:46 -03:00
alafr
ac0268c904
Export Arch Structure as Ifc Brep if not a simple extrusion
2020-03-02 11:53:46 -03:00
luz.paz
8fb5c65736
Arch: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all Arch files
2019-12-26 18:24:06 +01:00
Zheng, Lei
a3e88a399f
Arch: relax Part::Feature type checking
...
For supporting Link inside Arch.
2019-11-17 13:03:42 -03:00
Francesco Fantoni
61435b30f9
[Arch] suggested feature: add the ability to choose whether an Arch BuildingPart transmits its height value to children
2019-10-14 16:48:07 -03:00
Yorik van Havre
59c15ebbc5
Arch: Adjust height of objects inside groups
2019-10-07 15:33:28 -03:00
Yorik van Havre
a937461d6f
Arch: Merge of PR #2259 - Fix ifc project
2019-08-14 16:04:52 -03:00
Yorik van Havre
a210ec3733
Arch: fixed wrong copy/paste, duh...
2019-08-12 19:40:33 -03:00
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