Commit Graph

17927 Commits

Author SHA1 Message Date
luz.paz
845e77164b Crowdin: Part/AttachmentEditor/TaskAttachmentEditor.py whitespace fix 2019-01-30 11:08:03 -02:00
luz.paz
a07e675d9e Crowdin: Gui/CADNavigationStyle.cpp refinements 2019-01-30 11:08:03 -02:00
luz.paz
4c33b114de Crowdin: PartDesign/Gui/CommandBody.cpp grammar fix 2019-01-30 11:08:03 -02:00
luz.paz
bccfcfc5d7 Crowdin: PartDesign/Gui/TaskFeaturePick.ui superfluous whitespace 2019-01-30 11:08:03 -02:00
luz.paz
cf75857376 Crowdin: Gui/NetworkRetriever.cpp superfluous whitespace fix 2019-01-30 11:08:03 -02:00
luz.paz
adae9071ed Crowdin: Base/Exception.h uniformity fix 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
luz.paz
d858a8609d Crowdin: Sketcher/App/SketchObject.cpp uniformity fix 2019-01-30 11:08:03 -02:00
luz.paz
c65fce6128 Crowdin: Sketcher/App/SketchAnalysis.cpp remove superflous whitespace 2019-01-30 11:08:03 -02:00
luz.paz
95f16814f6 Crowdin: Sketcher/Gui/CommandConstraints.cpp grammar fix 2019-01-30 11:08:03 -02:00
luz.paz
90841f72c1 Crowdin: Sketcher/Gui/CommandCreateGeo.cpp typo fix 2019-01-30 11:08:03 -02:00
luz.paz
0df518db8f Crowdin: Sketcher/Gui/SketchRectangularArrayDialog.ui typo fix 2019-01-30 11:08:03 -02:00
luz.paz
16653a4be9 Crowdin: Sketcher/Gui/SketcherSettings.ui whitespace fix 2019-01-30 11:08:03 -02:00
luz.paz
83c2434bd9 Crowdin: Sketcher/Gui/CommandConstraints.cpp 2019-01-30 11:08:03 -02:00
luz.paz
d5ea453f9d Crowdin: Several more various fixes 2019-01-30 11:08:03 -02:00
luz.paz
e1446a0b99 [WIP] Crowdin: fixes pre-0.18 release
Includes some whitespace fixes as well
2019-01-30 11:08:03 -02:00
wandererfan
0c5629870c Hide n/a Rotation property
- DPG does not rotate, but shows Rotation property in
  Property Editor
2019-01-30 10:12:49 -02:00
wandererfan
0f00402201 Prevent selection of read only field
- "current primary view direction" in TaskProjGroup is
  read only, but can obtain focus.  This can cause events
  to be unexpectedly passed to other objects.
2019-01-30 10:12:49 -02:00
markus
0b7c0b93dc Use regular 'w' mode when writing text files for py3 compatibility. 2019-01-30 10:12:00 -02:00
Dion Moult
1406a61584 Merge branch 'fix-ifc' of github.com:Moult/FreeCAD into fix-ifc 2019-01-29 21:16:36 +11: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
Dion Moult
f6d6cd35d3 Remove dependency on ifcopenshell at runtime and introduce new IfcVersion config 2019-01-29 21:14:35 +11:00
Fredrik Johansson
93dd00cc39 Make startpage navigation buttons work initial load 2019-01-27 23:29:25 -02:00
carlopav
763b4f3d8c Update DraftTools.py
Small fix to edit tool when editing arcs.
2019-01-27 23:26:22 -02:00
Dion Moult
373e414dac Add json to cmakelists 2019-01-28 10:23:27 +11:00
Dion Moult
7191d7727e Add ArchIFC to CMakeLists otherwise nobody will get it 2019-01-28 10:19:07 +11:00
Dion Moult
47b9c17a4d 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-27 23:21:04 +11:00
Dion Moult
fc72922834 Fix a couple of broken properties 2019-01-27 23:16:14 +11:00
Fredrik Johansson
5caae5f430 Fix chrash when clicking link to allow internetaccess, and not having a open document 2019-01-27 11:35:43 +01:00