Commit Graph

1367 Commits

Author SHA1 Message Date
Jakub Tyszkowski
9b3ffef570 TestDraft: Fix testRotate and testOffset cases
Wire needs to be recomputed to update it's dimensions.
2019-04-09 12:08:45 -03:00
Yorik van Havre
8e8b93aab1 Draft: Shape2DView can now fuse Arch Walls and Structures 2019-04-08 18:18:11 -03:00
Yorik van Havre
71dedf60d0 Draft: re-added recomputes where needed in Draft GUI tools 2019-04-08 18:17:44 -03:00
carlopav
5db6da0eed Split the command in two
With this commit 2 commands are created, one for current bezier curve tool behaviour, the other for cubic bezier in inkscape style...
grouped in a dropdown button in the toolbar.
2019-04-08 17:17:21 -03:00
carlopav
5897e52d5b Update DraftTools.py
cleanup
2019-04-08 17:17:21 -03:00
carlopav
c191e61926 Update DraftTools.py
minor fixes and cleanup to bezier creation tool
2019-04-08 17:17:21 -03:00
carlopav
4b10f1d874 Update DraftTools.py
Added the parameter self.degree and allow the segmentation of the curve while drawing it. If set to none, nothing change in the tool.
2019-04-08 17:17:21 -03:00
carlopav
4e4218e01a Update DraftTrackers.py
Upate bezier curve tracker to accept a given degree of the curve and to be able to segment the preview in a similar way the curve creator work.
2019-04-08 17:17:21 -03:00
Yorik van Havre
7de2248bb5 Draft: Fixed node selection in Draft Edit 2019-04-07 17:24:40 -03:00
Yorik van Havre
4f19a65559 Draft: Added 3-point arc command from BIM WB 2019-04-07 17:23:42 -03:00
Yorik van Havre
2935cbb71a Better vertices comparison 2019-04-07 12:15:50 -03:00
paullee0
6de9183dad Fix findIntersection() can't find coincident points due to overspecifying Precision by user
- Cap Precision in precision()
2019-04-07 12:15:50 -03:00
paullee0
9bce6a4838 OffsetWire() - Seems has repeatedly sortEdges, remark out here
- edges = Part.__sortEdges__(wire.Edges)
2019-04-07 12:15:50 -03:00
paullee0
7d142b16a0 Fix connect() bug - If prev v2 had been calculated, do not calculate again, just use it as current v1
- avoid chance of slight difference in result
2019-04-07 12:15:50 -03:00
paullee0
e3e95e3ea5 Fix offsetWire() bug - first edge vector should depends on geometry (line or arc) 2019-04-07 12:15:50 -03:00
DinoMesina
144ce0dbaf Modify using FreeCAD.Vector.getAngle() 2019-04-07 12:14:25 -03:00
Yorik van Havre
35ecc15a80 Draft: Limit preferences precision value to max 10 2019-04-06 16:52:37 -03:00
Joel Graff
7660c428a5 removed all document recompute calls 2019-04-06 16:39:49 -03:00
DinoMesina
7b4949ee61 Update Draft.py 2019-04-04 11:16:14 -03:00
DinoMesina
a0868f6f0b Update Draft.py 2019-04-04 11:16:14 -03:00
DinoMesina
0fabc7fbe2 Add files via upload
Added the correct placement for 3D entities
2019-04-04 11:16:14 -03:00
DinoMesina
a4e6b46552 Update Draft.py 2019-04-04 11:16:14 -03:00
wandererfan
ac58367781 Fix Direction of Draft Arrows in TechDraw
- Arrowheads in DraftView were reverse when displayed
  in TechDraw.
2019-03-31 11:49:00 +02:00
Yorik van Havre
17e44f79b7 Draft: Better tooltip for Draft precision pref settings 2019-03-29 11:48:11 -03:00
wandererfan
45d8787110 Add pref for new Dxf Exporter 2019-03-28 10:44:33 -03:00
Yorik van Havre
bab0401f98 Arch: Fixed IFC misc export issues, support for objects inside App Parts 2019-03-27 17:34:36 -03:00
Yorik van Havre
272a8dfcc9 Merge branch 'master' of https://github.com/carlopav/FreeCAD into carlopav-master 2019-03-27 15:57:31 -03:00
furti
a8686cdb88 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
50c82c2b91 Misc. source comment typos 2019-03-22 10:44:14 -03:00
Yorik van Havre
251a9bff11 Draft: minor bugfix 2019-03-19 20:00:48 -03:00
Yorik van Havre
20f3c124f7 Draft: Fix for translation 2019-03-19 14:17:39 -03:00
Dion Moult
a7d22096c7 Allow move base to work for rotation too 2019-03-19 14:17:39 -03:00
Dion Moult
75fefb53c8 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
778b489e77 Draft: do not try to move object base if it has no base 2019-03-19 14:17:39 -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
Yorik van Havre
de18975c14 Fixed six.py2 -> PY2 2019-03-17 20:59:08 +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
triplus
10cdb56f24 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
8d01876484 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
3ca714670f Draft: Fixed failing dimension snap tool 2019-03-04 15:54:51 -03:00
wmayer
519849de89 fix -Wmaybe-uninitialized 2019-03-03 15:04:24 +01: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
Yorik van Havre
187988b64b Draft: Fixed move/rotate of objects inside PArt containers - fixes #3485 2019-02-19 19:55:20 -03:00
Yorik van Havre
3fc17edb41 Draft: Removed leftovers from DraftTools in DraftGui 2019-02-19 19:53:14 -03:00
carlopav
8ee0b6859e 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
dace2f39cf Fix ShapeString attachment to Face 2019-02-19 10:32:46 -03:00
Yorik van Havre
60d6a21493 Draft: better handling of non-closing paths in SVG import - issue #2488 2019-02-18 23:22:31 -03:00
triplus
68e7975157 Icon themes support for draft tray and snap 2019-02-18 10:11:25 -03:00