Commit Graph

13520 Commits

Author SHA1 Message Date
luz.paz
4bc73c5a37 Crowdin: Drawing/Gui/TaskOrthoViews.ui remove whitespace
Fixed even though WB is obsolete
2019-01-30 11:08:03 -02:00
luz.paz
8e15d0f888 Crowdin: Arch/ArchFloor.py grammar and refinement 2019-01-30 11:08:03 -02:00
luz.paz
c3e15d8d51 Documentation: uniformity 2019-01-30 11:08:03 -02:00
luz.paz
414f166662 Crowdin: Draft/Resources/ui/preferences-dxf.ui grammar fix 2019-01-30 11:08:03 -02:00
luz.paz
b5eedc34c8 Crowdin: AddonManager/AddonManager.py fix some strings 2019-01-30 11:08:03 -02:00
luz.paz
104642305f Crowdin: StartPage/TranslationTexts.py grammatical fix 2019-01-30 11:08:03 -02:00
luz.paz
92decdb610 Crowdin: Gui/qtcolorpicker.cpp refine string 2019-01-30 11:08:03 -02:00
luz.paz
11a1a8f52c Crowdin: Draft/Draft.py fix grammar 2019-01-30 11:08:03 -02:00
luz.paz
1233fbe64e Fix for a previous commits
Crowdin:  Sketcher/App/SketcherAnalysis remove newlines
Crowdin:  Part/AttachmentEditor/TaskAttachmentEditor.py fix previous commiit
Crowdin:  Gui/NetworkRetriever.cpp correct previous commit
2019-01-30 11:08:03 -02:00
luz.paz
c9ab6cf0b5 Crowdin: Tux/NavigationIndicatorGui.py grammar fix 2019-01-30 11:08:03 -02:00
luz.paz
714b79d6bd Crowdin: Part/Gui/TaskAttacher.cpp superfluous whitespace fix 2019-01-30 11:08:03 -02:00
luz.paz
b7c4aed931 Crowdin: Part/AttachmentEditor/TaskAttachmentEditor.py whitespace fix 2019-01-30 11:08:03 -02:00
luz.paz
d500430ffb Crowdin: PartDesign/Gui/CommandBody.cpp grammar fix 2019-01-30 11:08:03 -02:00
luz.paz
299af8b8a2 Crowdin: PartDesign/Gui/TaskFeaturePick.ui superfluous whitespace 2019-01-30 11:08:03 -02:00
luz.paz
b1b81f6df3 Crowdin: Arch/ArchStairs.py missing paranthesis fix 2019-01-30 11:08:03 -02:00
luz.paz
2b3cdf4ad9 Crowdin: Sketcher/App/SketchObject.cpp uniformity fix 2019-01-30 11:08:03 -02:00
luz.paz
356d18e873 Crowdin: Sketcher/App/SketchAnalysis.cpp remove superflous whitespace 2019-01-30 11:08:03 -02:00
luz.paz
566a17985e Crowdin: Sketcher/Gui/CommandConstraints.cpp grammar fix 2019-01-30 11:08:03 -02:00
luz.paz
ab63398a69 Crowdin: Sketcher/Gui/CommandCreateGeo.cpp typo fix 2019-01-30 11:08:03 -02:00
luz.paz
1507f28916 Crowdin: Sketcher/Gui/SketchRectangularArrayDialog.ui typo fix 2019-01-30 11:08:03 -02:00
luz.paz
645ec15fd3 Crowdin: Sketcher/Gui/SketcherSettings.ui whitespace fix 2019-01-30 11:08:03 -02:00
luz.paz
fc061528e3 Crowdin: Sketcher/Gui/CommandConstraints.cpp 2019-01-30 11:08:03 -02:00
luz.paz
550a60c43f Crowdin: Several more various fixes 2019-01-30 11:08:03 -02:00
luz.paz
2ce03a55c6 [WIP] Crowdin: fixes pre-0.18 release
Includes some whitespace fixes as well
2019-01-30 11:08:03 -02:00
wandererfan
f92ddb961c 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
2e4a1f1e19 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
58e25d463e Use regular 'w' mode when writing text files for py3 compatibility. 2019-01-30 10:12:00 -02:00
Dion Moult
c9d08b7311 Remove dependency on ifcopenshell at runtime and introduce new IfcVersion config 2019-01-29 21:15:44 +11:00
Dion Moult
471eb4cad3 Add json to cmakelists 2019-01-29 21:15:44 +11:00
Dion Moult
d8ca1b3eff Add ArchIFC to CMakeLists otherwise nobody will get it 2019-01-29 21:15:44 +11:00
Dion Moult
36bd51262e 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
80f33e5dd9 Fix a couple of broken properties 2019-01-29 21:15:44 +11:00
Dion Moult
8f06bb29fa Migrate IfcAttributes to IfcData for backwards compatibility 2019-01-29 21:15:44 +11:00
Dion Moult
240d0a9eb6 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
85ede1c72b 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
71e5efe074 Implement import and exporting of IFC attributes 2019-01-29 21:15:43 +11:00
Dion Moult
4843a6161a Make importIFC use IfcData instead of IfcAttributes. 2019-01-29 21:15:43 +11:00
Dion Moult
6f50c6e730 Now support boolean, floats, and length IFC types instead of just enum 2019-01-29 21:15:43 +11:00
Dion Moult
445b1e219a Remove hardcoded ifc types and instead load from ifc_types.json 2019-01-29 21:15:43 +11:00
Dion Moult
8c5261a324 Update ArchComponent and importIFC to use values from the new ifc_products dictionary 2019-01-29 21:15:43 +11:00
Dion Moult
2434008c07 Add ifc_types.json which stores all of the ifc types 2019-01-29 21:15:43 +11:00
Dion Moult
479832f2bf Bump IFC products to be a dictionary instead of a list 2019-01-29 21:15:43 +11:00
Dion Moult
dc3b4f63e0 Add support for IFC enums, and minor variable name consistency cleanup 2019-01-29 21:15:43 +11:00
Dion Moult
61a4aa6f03 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
57e6430e2f 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
24336fe290 Navigate to the json file in an os agnostic manner 2019-01-29 21:15:43 +11:00
Dion Moult
e2747e095f Fix incorrect directory for location of json file 2019-01-29 21:15:43 +11:00
Dion Moult
294d9bf353 Load IFC from external JSON file for flexibility 2019-01-29 21:15:43 +11:00
Dion Moult
377f01a2e5 Add extracted list of IFC products 2019-01-29 21:15:43 +11:00
Fredrik Johansson
98d77f8caa Make startpage navigation buttons work initial load 2019-01-27 23:29:25 -02:00