Dion Moult
ed081afb48
Migrate IfcAttributes to IfcData for backwards compatibility
2019-01-27 21:14:31 +11:00
Dion Moult
484355f255
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-27 18:31:26 +11:00
Dion Moult
407a7c7256
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-26 22:04:10 +11:00
Dion Moult
7baa6f1648
Implement import and exporting of IFC attributes
2019-01-26 21:58:42 +11:00
Dion Moult
a9f9cfec16
Make importIFC use IfcData instead of IfcAttributes.
2019-01-26 20:47:58 +11:00
Dion Moult
698704425e
Now support boolean, floats, and length IFC types instead of just enum
2019-01-26 14:51:57 +11:00
Dion Moult
a186c663c2
Remove hardcoded ifc types and instead load from ifc_types.json
2019-01-26 13:35:56 +11:00
Dion Moult
00dba0008b
Update ArchComponent and importIFC to use values from the new ifc_products dictionary
2019-01-26 13:35:17 +11:00
Dion Moult
9fdc516545
Add ifc_types.json which stores all of the ifc types
2019-01-26 13:33:17 +11:00
Dion Moult
eb74f8e6dc
Bump IFC products to be a dictionary instead of a list
2019-01-26 13:33:01 +11:00
Dion Moult
374c1cdfa2
Add support for IFC enums, and minor variable name consistency cleanup
2019-01-25 22:48:44 +11:00
Dion Moult
d68a37e891
Add support for storing all IFC attributes as text attributes for now. Data is stored in IfcData as a JSON serialised string.
2019-01-25 22:22:20 +11:00
Dion Moult
857ac3a99d
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-25 22:16:37 +11:00
Dion Moult
665ef676bd
Navigate to the json file in an os agnostic manner
2019-01-25 22:11:51 +11:00
Dion Moult
b2323c32b9
Fix incorrect directory for location of json file
2019-01-23 22:19:12 +11:00
Dion Moult
5e305d33f1
Load IFC from external JSON file for flexibility
2019-01-23 22:12:29 +11:00
Dion Moult
7faac9c5dd
Add extracted list of IFC products
2019-01-23 22:10:17 +11:00
sliptonic
21e1883602
fixes #3665
...
Applying patch from jurij
2019-01-22 20:26:59 +01:00
luz.paz
7f081b24fd
Fix source typos
2019-01-22 20:26:59 +01:00
luz.paz
c5641feba3
Path: Misc. comment typo and whitespace fixes
2019-01-22 20:26:58 +01:00
wmayer
8345b0c1c3
add method multVec to MatrixPy class for better consistency
2019-01-22 15:57:10 +01:00
Dion Moult
c6537c14a9
Remove abstract IFC entities (as per IFC4 Add2)
2019-01-22 10:19:14 -02:00
wandererfan
af75332295
Fix Compile Warning
...
- m_sectionFormat is not used yet and provokes a
warning message.
2019-01-22 10:15:04 -02:00
wandererfan
242717f5e3
Fix out of scope warnings
...
- Links within TD were not set to Global scope. This caused
problems when a Page was in a container, but Views were not
in the container.
2019-01-22 10:15:04 -02:00
Yorik van Havre
bdaa14c073
Arch: Fixed missing UIDs in IFC import
2019-01-22 00:11:49 -02:00
Yorik van Havre
30c251e956
Arch: Fixed multiple documents open bug in Reference object
2019-01-22 00:11:11 -02:00
Yorik van Havre
519120c634
Draft: Small cosmetic fix in edit points
2019-01-22 00:10:31 -02:00
wmayer
23fe2041d9
handle also B-spline and Bezier curves in GeomCurve::closestParameter
2019-01-21 13:47:41 +01:00
wandererfan
79504462d1
Fix movement of Front View in ProjectionGroup
2019-01-21 11:45:30 +01:00
wmayer
3564278739
fixes 0003785: Incorrect extension FCstd instead fcstd
2019-01-21 11:41:16 +01:00
Yorik van Havre
1cbcc7b5a4
Arch: Prevision for forward compatibility
2019-01-20 19:32:12 -02:00
Yorik van Havre
6e4249f677
Merge branch 'master' of github.com:FreeCAD/FreeCAD
2019-01-20 19:31:20 -02:00
Bernd Hahnebach
ebe79a9671
FEM: result and mesh, add compact result and mesh, workaround for issue #2873
2019-01-20 18:40:53 +01:00
Yorik van Havre
b31902a8b6
Arch: Updated IFC property sets definitions
2019-01-20 15:30:54 -02:00
wmayer
4156a32ad7
add convenience functions to get element type to id and vice versa
2019-01-20 17:58:30 +01:00
wmayer
450c1bcff9
fix crash when accessing invalid group
2019-01-20 17:57:08 +01:00
sliptonic
4fb43389f0
Path: Remove obsolete code
2019-01-19 23:31:49 -06:00
sliptonic
d71231c5b3
crowdin: fix whitespace
2019-01-19 23:31:49 -06:00
luz.paz
49bb541a1e
Crowdin: Path/PathScripts/PathOp.py capitalize string
2019-01-19 23:31:49 -06:00
luz.paz
bdcbf3b29c
Crowdin: Path/PathScripts/PathProfileBase.py capitalize string
2019-01-19 23:31:48 -06:00
DeepSOIC
e49d715352
Spreadsheet: fix #3474 cross-CS drag-drop issue
2019-01-20 00:45:49 +01:00
Kurt Kremitzki
0b75a92231
Fix Start WB behavior for missing examples dir in Debian package
2019-01-20 00:36:35 +01:00
Bernd Hahnebach
93d8347537
FEM: file ending, use FCStd in FEM strings
2019-01-20 00:32:19 +01:00
Bernd Hahnebach
a766705193
FEM: unit tests, add some comments to open test files in FreeCAD
2019-01-20 00:32:19 +01:00
Bernd Hahnebach
1e32082ee1
FEM: test suite, use FCStd instead of fcstd, as it is what FreeCAD does on saveing a file
2019-01-20 00:32:19 +01:00
Bernd Hahnebach
1b6beb23ad
FEM: white space
2019-01-20 00:32:17 +01:00
Bernd Hahnebach
532390f1ba
FEM: tetgen exporter, code formating pep 8
2019-01-20 00:32:17 +01:00
Bernd Hahnebach
3a31e099dc
FEM: code formating, space in block comment
2019-01-20 00:32:17 +01:00
Bernd Hahnebach
a5632e11cc
FEM: file types, sort them for im- and export
2019-01-20 00:32:17 +01:00
Bernd Hahnebach
b437fe5330
FEM: solver settings, sort setting
2019-01-20 00:32:17 +01:00