Commit Graph

1342 Commits

Author SHA1 Message Date
Yorik van Havre
c040a3c6f5 Arch: Fixed IFC misc export issues, support for objects inside App Parts 2019-03-27 17:34:36 -03:00
Yorik van Havre
7e5ad96704 Merge branch 'master' of https://github.com/carlopav/FreeCAD into carlopav-master 2019-03-27 15:57:31 -03:00
furti
a8aef43d2f Fix broken texture loading for PY 3 builds
The problem was that Python 3 wants a bytes object and not a string.
So we have to encode the string first to make it useable. Python 2 handles
bytes objects as normal strings so the fix should be backwards compatible.

Furthermore this commit adds a massive performance improvement by collecting
all bytes in a list and calling "join" at the end. This is significantly
faster than simply appending each byte to the bytes object one at one.

https://forum.freecadweb.org/viewtopic.php?f=3&t=35032
2019-03-22 10:59:26 -03:00
luz.paz
ad0ee86589 Misc. source comment typos 2019-03-22 10:44:14 -03:00
Yorik van Havre
7da437c87e Draft: minor bugfix 2019-03-19 20:00:48 -03:00
Yorik van Havre
9640ff9423 Draft: Fix for translation 2019-03-19 14:17:39 -03:00
Dion Moult
c20528ee70 Allow move base to work for rotation too 2019-03-19 14:17:39 -03:00
Dion Moult
e07cbd00af Add warning if there are multiple parents for a base in statusline and in console 2019-03-19 14:17:39 -03:00
Yorik van Havre
101b334ef4 Draft: do not try to move object base if it has no base 2019-03-19 14:17:39 -03:00
Dion Moult
57b596e0fc 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
Yorik van Havre
0a34b6d9a0 Fixed six.py2 -> PY2 2019-03-17 20:59:08 +01:00
cclauss
361c44c6dc Unicode fixes for Python3 2019-03-17 20:58:00 +01:00
Yorik van Havre
a3607ce029 Updated translations 2019-03-06 21:50:08 -03:00
triplus
63455844e0 Add scroll area to Draft Toolbar
Forum discussion:
https://forum.freecadweb.org/viewtopic.php?f=3&t=34552&p=291101#p291101

issue #3881
2019-03-06 11:53:45 -03:00
Dion Moult
8ab36b9371 Change hotkey of of cycle snap from tab to ` to prevent clashes with current tab behaviour 2019-03-06 11:47:00 -03:00
Yorik van Havre
48c077532e Draft: Fixed failing dimension snap tool 2019-03-04 15:54:51 -03:00
wmayer
61eeca41e1 fix -Wmaybe-uninitialized 2019-03-03 15:04:24 +01:00
Yorik van Havre
512af24397 Revert "Merged crowdin translations" for investigation due to some problems found in the translation files...
This reverts commit cd433358b09117f234dd0a51dc2a6bfa05428867.
2019-03-02 19:17:44 -03:00
Yorik van Havre
bd93bd2494 Merged crowdin translations 2019-02-28 21:53:37 -03:00
Yorik van Havre
a661bbb211 Draft: Fixed move/rotate of objects inside PArt containers - fixes #3485 2019-02-19 19:55:20 -03:00
Yorik van Havre
be49b27010 Draft: Removed leftovers from DraftTools in DraftGui 2019-02-19 19:53:14 -03:00
carlopav
e37d3394c3 Update DraftTools.py
Update draf edit to:
- improve arc editing
- insert Undo marks
- insert initial window editing support
2019-02-19 16:40:43 +01:00
wandererfan
11d0bc9e90 Fix ShapeString attachment to Face 2019-02-19 10:32:46 -03:00
Yorik van Havre
d9c765eba5 Draft: better handling of non-closing paths in SVG import - issue #2488 2019-02-18 23:22:31 -03:00
triplus
062206bee2 Icon themes support for draft tray and snap 2019-02-18 10:11:25 -03:00
Yorik van Havre
07fda613aa Draft: Fixed non-GUI issues - Fixes #3826 2019-02-14 22:18:41 -02:00
carlopav
f40f1fde59 Update Edit Tool
Arc 3 points and minor other fixes
2019-02-13 16:40:26 +01:00
luz.paz
745f0cb3b4 Crowdin: Continuing to refine translation strings 2019-02-11 16:22:12 +01:00
carlopav
e04b4447d7 Update DraftTools.py 2019-02-10 22:44:09 +01:00
carlopav
54be7c15ce Update DraftGui.py
added value to store last edit toolbar mode
2019-02-10 12:03:26 +01:00
carlopav
f312b0dd33 Edit tool Arc 3 points editing
Updated the edit tool to edit arc by 3 points. Just a dubt: i did a bit of a workaround using Part.ArcOfCircle to compute the values of the new arc.
2019-02-10 11:55:26 +01:00
Yorik van Havre
9a6ed6ad8b Draft: Small bugfix 2019-02-09 20:37:36 -02:00
donovaly
d0008e6756 export Flattened SVG fixes for python 3
To be able to export as flattened SVG with the Conda build of FC one needs these fixes.
2019-02-09 20:01:44 -02:00
carlopav
17dde5600a Update DraftTools.py
Updated first part of file from FreeCAD/FreeCAD
2019-02-09 20:00:38 -02:00
carlopav
88b29d3bd4 Update DraftTools.py
Refined last commit code
2019-02-09 20:00:38 -02:00
carlopav
7f3235ef13 Update DraftTools.py
Modified arc editing:
- middle editpoint control radius
- end editpoint control first and last angle;
2019-02-09 20:00:38 -02:00
carlopav
d6b703a68d Update DraftTools.py
Update Edit tool to edit wall base objects.
2019-02-09 20:00:38 -02:00
carlopav
61a4191e6b Merge remote-tracking branch 'upstream/master' 2019-02-09 00:28:30 +01:00
carlopav
9eeb422070 Update DraftTools.py
Updated first part of file from FreeCAD/FreeCAD
2019-02-08 23:27:21 +01:00
carlopav
b1b8a3a0a0 Update DraftTools.py
Refined last commit code
2019-02-08 23:13:15 +01:00
carlopav
f232054404 Update DraftTools.py
Modified arc editing:
- middle editpoint control radius
- end editpoint control first and last angle;
2019-02-08 23:06:35 +01:00
Yorik van Havre
3cc1a327ce Updated master translation files 2019-02-08 19:16:21 -02:00
luz.paz
cb4a0adf71 Misc. typos
Found via `codespell`
2019-02-08 11:01:24 -02:00
Dion Moult
0802908e52 Move hardcoded tab shortcut for cycling elsewhere in prep for refactor 2019-02-08 10:59:26 -02:00
Dion Moult
0498a4c619 Allow tabbing to cycle through objects to snap
To do this, the object snapping code has been refactored into a snapToObject function. This allows it to be called on different objects easily. A new base class which handles the tab event has been added.
2019-02-08 10:59:26 -02:00
carlopav
761a2d277b Update DraftTools.py
Update Edit tool to edit wall base objects.
2019-02-06 21:44:58 +01:00
Yorik van Havre
95dda429eb Updated translations 2019-02-01 13:54:10 -02:00
Yorik van Havre
4c0f75c936 Draft: Fixed UI focus in arc tool 2019-02-01 12:16:52 -02:00
Dion Moult
dc9293fdf2 Fix to take into account joining an object into a closed wire. 2019-01-31 10:54:36 -02:00
Dion Moult
63d24f9eba Support splitting closed wires as well as open wires 2019-01-31 10:54:36 -02:00