Commit Graph

1607 Commits

Author SHA1 Message Date
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
Yorik van Havre
2ea84272fd Updated translations from crowdin 2018-12-23 13:54:30 -02:00
Yorik van Havre
0ab6b3ec02 Arch: fixed wrong WP when double-clicking an Arch BuildingPart 2018-12-21 18:55:59 -02:00
Yorik van Havre
2e03d02a1a Arch: Fixed crash on creating new BuildingParts 2018-12-20 13:21:48 -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
842672d961 Arch: Fixed display bug in BuildingPart 2018-12-19 16:33:48 -02:00
Yorik van Havre
ca7dd2e1c3 Arch: Small refactor in arch reference 2018-12-19 12:29:34 -02:00
Yorik van Havre
7aa4d2a9f6 Arch: Fixed wrong elevation of imported IFC elements 2018-12-19 11:46:40 -02:00
Yorik van Havre
47a38eceb3 Arch: more thorough file search in arch references 2018-12-18 21:49:27 -02:00
Yorik van Havre
56aba4c9d9 Arch: Allow to not zoom fit after importing IFC files 2018-12-18 11:00:56 -02:00
Yorik van Havre
175566d551 Arch: Fixed remaining bugs in Schedule - Fixes #3590 2018-12-17 12:24:27 -02:00
Yorik van Havre
eb04b8ef0c Arch: Fixed incomplete last commit 2018-12-17 11:24:33 -02:00
Yorik van Havre
ea885fb650 Arch: Stored if preferences pages are loaded or not 2018-12-17 11:22:20 -02:00
Yorik van Havre
497b85f68c Arch: Fixed merged same-color IfcSurfaceStyles in IFC export 2018-12-14 13:21:47 -02:00
Yorik van Havre
083954a0e2 Arch: small optimization in Arch Reference 2018-12-10 19:41:02 -02:00
Yorik van Havre
686688e00c Arch: Ability to unload shape of Arch References 2018-12-10 19:33:08 -02:00
Yorik van Havre
5633bd14d2 Arch/Draft: Misc small fixes
* Properly handle offset2D and arch objects in Draft Stretch
* Allow the WP of Arch BuildingParts to stay weak
* Fixed Draft Edit making Wires not plane anymore
* Dont change the WP if already perpendicular to current view
* Fixed DXF import of Polyfaces
2018-12-10 10:21:17 -02:00
looooo
1476caf281 py3: iteritems -> items, iterkeys -> keys 2018-12-08 11:27:22 -03:00
Yorik van Havre
c507ab9efd Arch: minor bugfix in arch reference 2018-12-07 14:27:18 -02:00
Yorik van Havre
ef002fdde2 Arch: Fixed non-unified extrusion direction in multisolid structures 2018-12-05 17:27:12 -02:00