Yorik van Havre
f94e76c111
Arch: Fixed duplicate IfcSurfaceStyle names in IFC export
2019-02-01 18:38:21 -02:00
Yorik van Havre
ac18ec0d79
Updated translations
2019-02-01 13:54:10 -02:00
luz.paz
67fff1538d
Crowdin: Arch/ArchFloor.py grammar and refinement
2019-01-30 11:08:03 -02:00
luz.paz
1db71c3c7e
Crowdin: Arch/ArchStairs.py missing paranthesis fix
2019-01-30 11:08:03 -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
b89907c92c
Add json to cmakelists
2019-01-29 21:15:44 +11:00
Dion Moult
1c4a6e22d7
Add ArchIFC to CMakeLists otherwise nobody will get it
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
3448bb477c
Fix a couple of broken properties
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
69f7789dca
Bump ifc_products.json to have uppercase enums
...
Enums should be uppercase which matches the IFC docs. This also prevents the need to do a upper() when using these values with IfcOpenShell.
2019-01-29 21:15:43 +11:00
Dion Moult
2c1fca3e5e
Implement import and exporting of IFC attributes
2019-01-29 21:15:43 +11:00
Dion Moult
6da7f44916
Make importIFC use IfcData instead of IfcAttributes.
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
f097b3a2bf
Add ifc_types.json which stores all of the ifc types
2019-01-29 21:15:43 +11:00
Dion Moult
84d39e8316
Bump IFC products to be a dictionary instead of a list
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
e2d2e723f9
Add extracted list of IFC products
2019-01-29 21:15:43 +11:00
Yorik van Havre
090fc64284
Misc translation fixes from https://forum.freecadweb.org/viewtopic.php?p=281670
2019-01-23 18:20:43 -02:00
Dion Moult
47a2296c69
Remove abstract IFC entities (as per IFC4 Add2)
2019-01-22 10:19:14 -02:00
Yorik van Havre
13bf2c9672
Arch: Fixed missing UIDs in IFC import
2019-01-22 00:11:49 -02:00
Yorik van Havre
3ade7b34af
Arch: Fixed multiple documents open bug in Reference object
2019-01-22 00:11:11 -02:00
Yorik van Havre
79a25ff6bd
Arch: Prevision for forward compatibility
2019-01-20 19:32:12 -02:00
Yorik van Havre
7fd16affee
Arch: Updated IFC property sets definitions
2019-01-20 15:30:54 -02:00
Yorik van Havre
a60b6957db
Arch: Axis can now be referenced in sketches
2019-01-18 17:40:50 -02:00
luz.paz
f86f5e9272
Crowdin: Experiment to remove obsolete translations from .ts file
...
Crowdin currently has an issue where typo strings that have been fixed in the FC source haven't been permeating in to the Crowdin UI. This maybe do to discrepency between lupdate and crowdin. This PR experiments with removing a few lingering obsolete translations in the main .ts file of the Arch and Path WBs. If this works then a follow-up PR will be made to remove all the rest of the obsolete strings.
2019-01-14 19:39:58 +01:00
luz.paz
506741aee1
[For v0.18] Crowdin fixes
...
https://crowdin.com/translate/freecad/568/en-en#1172237
https://crowdin.com/translate/freecad/568/en-en#1172239
https://crowdin.com/translate/freecad/568/en-en#195053
https://crowdin.com/translate/freecad/568/en-en#1172247
https://crowdin.com/translate/freecad/568/en-en#1172249
https://crowdin.com/translate/freecad/568/en-en#1172251
https://crowdin.com/translate/freecad/6766/en-en#6511058
https://crowdin.com/translate/freecad/6766/en-en#6511060
https://crowdin.com/translate/freecad/6766/en-en#6502381
+ random typo fixes
2019-01-13 02:24:50 +01:00
Yorik van Havre
6ccc239f97
Arch: Small bugfix in ifc exporter
2019-01-10 15:33:53 -02:00
Yorik van Havre
9a72871137
Arch: Fixed behaviour of alternative wall icon
2019-01-09 10:28:27 -02:00
Yorik van Havre
3d52e8a6b9
Arch: Fixed recursion loop in windows
2019-01-08 16:39:11 -02:00
Yorik van Havre
89cf78b262
Arch: Fixed Reference object that cannot be deleted
2019-01-08 15:44:45 -02:00
wmayer
1ebcb36545
Remove decode as returned object by translate() function is a unicode oject
2019-01-08 13:23:51 +01:00
cclauss
a7c0f4bc5b
Drop depencence on six module
2019-01-07 15:51:34 +01:00
cclauss
51ab27f54a
Fix file, long, raw_input, and xrange for Python 3
2019-01-07 15:42:37 +01:00
Yorik van Havre
59eb1735bc
Arch: Fixed wrong movement of references on reload
2019-01-07 11:19:32 -02:00
Bernd Hahnebach
ade267b8f6
Arch: import ifc, code formating, flake8, only the most important ones
2019-01-05 12:17:52 +01:00
Yorik van Havre
d9f8cfac18
Arch: Fixed wire/edge bug in IFC import
2019-01-04 22:48:49 -02:00
Bernd Hahnebach
8a3fd0caf6
Arch: IFC, print code formating in the regard of Py3
2019-01-04 15:28:16 +01:00
wmayer
df3853738e
fix several Py3 issues
2019-01-03 18:11:37 +01:00
paullee
5af993cb1c
Curvilinear Landing based on underlying curve edges supported; found sortEdges() 'problem'
...
Discussion:-
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=100#p277409
2019-01-02 17:26:34 -02:00
Yorik van Havre
79723fe3d4
Arch: small cosmetic fix in material editor
2018-12-27 12:56:49 -02:00
Yorik van Havre
f3a44bed80
Arch: Lowered tolerance of planar profiles for Arch structures
2018-12-27 12:29:03 -02:00