Commit Graph

1181 Commits

Author SHA1 Message Date
Yorik van Havre
4a41c27cda Arch: Fixed materials not updating their dicts 2019-03-20 10:00:30 -03:00
Yorik van Havre
b533c64361 Arch: Fixed IFC export of rebars 2019-03-19 19:54:51 -03:00
Dion Moult
348a1777a2 Add a move base property that moves the base object instead of the object itself if true.
This is useful because it is the default case for most architectural work.
2019-03-19 14:17:39 -03:00
paullee0
0c1137f5bd Fix to Build Curve Segment Railing Wire To Follow Curve Landing
Limited by makePipeShell, curvilinear railing still usually has problems to be created

Discussions:-

https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&sid=bfd05589642577079096cd8879b7a88f&start=120#p285656
https://forum.freecadweb.org/viewtopic.php?f=22&t=34081#p285607
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=110#p284683
2019-03-19 14:16:05 -03:00
paullee0
327162dbcc Revert "Build Curve Segment Railing Wire To Fit Landing"
This reverts commit e5989280bb8aeb73b73483c0c74d019bdb1116d6.
2019-03-19 14:16:05 -03:00
paullee0
176c0d4e7a Build Curve Segment Railing Wire To Fit Landing
Limited by makePipeShell, curvilinear railing usually has problems to be created

Discussions:-
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=110#p284683
https://forum.freecadweb.org/viewtopic.php?f=22&t=34081#p285607
2019-03-19 14:16:05 -03:00
Yorik van Havre
3cf15c014b Fixed six.py2 -> PY2 2019-03-17 20:59:22 +01:00
Yorik van Havre
d9ca64ad55 Fixed six.py2 -> PY2 2019-03-17 20:58:51 +01:00
cclauss
e3545c8c06 Unicode fixes for Python3 2019-03-17 20:58:00 +01:00
Yorik van Havre
dcae6d027e Updated translations 2019-03-06 21:50:08 -03:00
Yorik van Havre
8a84875e07 Arch: Minor bugfix in IFC exporter 2019-03-06 17:04:50 -03:00
Yorik van Havre
a70a82e19f Revert "Merged crowdin translations" for investigation due to some problems found in the translation files...
This reverts commit 9032c4c587.
2019-03-02 19:17:44 -03:00
Yorik van Havre
9032c4c587 Merged crowdin translations 2019-02-28 21:53:37 -03:00
kazan417
979177deb1 Fix cut an object with a plane feature translation
Fix not worked translation for cut an object with a plane feature in arch module.
Without this fix cut an object with a plane does not work in languages different to English.
Similar bugs was fixed earlier, but this was harder to find because of initially grayed out feature.
2019-02-28 14:43:08 -03:00
Yorik van Havre
21dc8c5054 Arch: Fixed remaining encoding problems - issue #3827 2019-02-19 20:03:51 -03:00
furti
b8da380ef4 Set window visibility based on wall
Previously windows attached to walls were not hidden or shown when the
visibility of the wall changed. This commit searches for all windows
that are based on the wall and hides or unhides them.

https://forum.freecadweb.org/viewtopic.php?f=23&t=34166

fixes 3833
2019-02-16 19:31:16 -02:00
luz.paz
112f3de671 Crowdin: Continuing to refine translation strings 2019-02-11 16:22:12 +01:00
furti
27a467a44b Fix missing DWG imports in ArchSectionPlane.getSVG
When a DWG file is imported into FreeCAD it gets imported as a Part
object with a compound shape. One would imagine, that such an object
should be rendered like a symbol inside a TechDraw View. But when the
imported shape is inside a SectionPlane that also contains solids, the
shape is not included in the SVG.

The problem is, that getCutShapes only uses solid shapes, when a volume
was cut before. But the imported DWG is a flat 2D object and has no solids
inside.

To fix it, the getSVG method will check if an object looks like a draft
object, meaning:
 - It has a shape
 - It has no solids
 - It has no volume

When it finds such a shape, it will treat it like a draft object. So
it is displayed like a symbol in the resulting SVG.

https://forum.freecadweb.org/viewtopic.php?f=3&t=34079
2019-02-09 19:53:54 -02:00
Yorik van Havre
7ee0e4d439 Updated master translation files 2019-02-08 19:16:21 -02:00
GeneGH
09da55e90f Repair pythonopen in line 126 for Python3
Python 3 is fussy about match of data type for a file open or write. Python 2 does not seem to care if a string is written with a 'wb' indicating a binary type, but Python 3 flags it as an error.
2019-02-08 11:06:05 -02:00
furti
cce889b21c Fix missing door symbols in getSVG
The ArchSectionPlane has a built in SVG Cache. But the door symbols and
a few other things are not inside the cache. This things not inside the
cache rely on the presence of a cutface. But this cutface was only built
when the cache is not available.

So the First invocation after the cache was cleared added the symbols.
The next invocations of the method, with a cached SVG did not calculate
the symbols again, because the cutfaces where missing.

This commit fixes it by calculating the cutfaces independent from the
cache.

Reported in https://forum.freecadweb.org/viewtopic.php?f=3&t=33987
2019-02-08 11:05:17 -02:00
Yorik van Havre
18b5f238ae Arch: Fixed py3/encoding bug 2019-02-07 21:05:09 -02:00
paullee
f431226bb8 Fix Right Align Railing Offset Bug 2019-02-06 10:13:37 -02:00
Yorik van Havre
50895db6c1 Arch: Small bugfix in spaces 2019-02-04 22:35:16 -02:00
Syres916
550009be14 Collada Export Py3 Fixes
To allow successful Collada Export for Py3 and Py2, tested import of DAE file with colours from Blender to ensure no regression on the import side. Note: I had to download Pycollada to enable testing in Conda build.
2019-02-04 22:20:47 -02:00
Yorik van Havre
a4d5c02d36 Arch: Fixed encoding bug in OBJ importer 2019-02-04 13:35:00 -02:00
Yorik van Havre
2c0dfda7b5 Arch: Small bugfix in IFC exporter 2019-02-04 13:25:14 -02:00
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
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