Commit Graph

190 Commits

Author SHA1 Message Date
Yorik van Havre
5ee99ca4ee Draft: Introduced Layers system (former VisGroup) 2019-06-05 18:47:01 -03:00
Yorik van Havre
e2f65ef010 Draft: Fixed regressions in Scale tool + reimplemented Clone mode 2019-06-03 19:06:27 -03:00
Yorik van Havre
b9bcffda03 Draft: Now uses general FreeCAD shape colors instead of defining its own 2019-06-03 17:47:39 -03:00
Dion Moult
95378e5c6b Fix draft missing line tracker when snapper detects an object without any snap targets 2019-06-03 16:36:07 -03:00
Dion Moult
1c243cfc57 Add customisable in-command shortcut keys rather than hardcoding them 2019-06-03 16:31:25 -03:00
Derek V. Schmalenberger
a6fca79576 increased default snapRange from 5 to 8
Grid snapping will fail with a snapRange of 5 if a line or arc passes through the grid point.
2019-05-20 11:08:48 -03:00
luz.paz
11f4f30a37 Misc. typo fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller -L pard,wallthickness,commen,byteorder,alocation`
2019-05-17 13:19:36 +02:00
Yorik van Havre
2e616a4749 Draft: Removed annoying an unuseful verbose command line output 2019-05-16 15:31:57 -03:00
Yorik van Havre
bff34a36ec Draft: Fixed regression bug in Rotate 2019-05-16 14:38:46 -03:00
Yorik van Havre
76cf1ceb39 Draft: Enhancements to Working Plane selection UI 2019-05-15 19:48:58 -03:00
Yorik van Havre
7d2498d65e Draft: Fixed Part primitives mode of Draft tools 2019-05-13 14:55:58 -03:00
Yorik van Havre
9d416bf385 Draft: allow to use different snapping task dialogs 2019-05-10 22:27:08 -03:00
Yorik van Havre
9adc1a351c Draft: General cleanup of the Draft UI 2019-05-10 21:03:35 -03:00
Dion Moult
dc284e4d4d Fix scale command and simplify UI, add support for scale subelements 2019-05-08 10:27:44 -03:00
Dion Moult
60fa857b49 Add subelement mode to draft move command to allow movement of vertices and nodes 2019-05-08 10:26:55 -03:00
carlopav
49ed29cd0b Update DraftGui.py
found another bug: when aligning to y axis while tracing a line, the focus is not set on the length if the option is checked in preferences. this should fix it.
2019-05-06 10:23:37 -03:00
carlopav
c17a89973f Draft GUI setfocus if lengthValue is not visible
If set focus on length instead of x coordinate is checked, Draft set the focus on it also if the lengthValue is not visible
2019-05-06 10:23:37 -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
cclauss
e3545c8c06 Unicode fixes for Python3 2019-03-17 20:58:00 +01: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
3fc17edb41 Draft: Removed leftovers from DraftTools in DraftGui 2019-02-19 19:53:14 -03:00
wandererfan
dace2f39cf Fix ShapeString attachment to Face 2019-02-19 10:32:46 -03:00
triplus
68e7975157 Icon themes support for draft tray and snap 2019-02-18 10:11:25 -03:00
carlopav
dea44454c6 Update Edit Tool
Arc 3 points and minor other fixes
2019-02-13 16:40:26 +01:00
carlopav
0091f2513e Update DraftGui.py
added value to store last edit toolbar mode
2019-02-10 12:03:26 +01:00
carlopav
3b4aaab869 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
Dion Moult
140d085517 Move hardcoded tab shortcut for cycling elsewhere in prep for refactor 2019-02-08 10:59:26 -02:00
Dion Moult
334a2a31d0 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
wmayer
fec487dc7f fix translate() function for Py2 & Qt5 2018-12-16 16:25:25 +01:00
wandererfan
eb9aa5c54d Remove custom translation code
- go back to letting loadUi do the translating.
2018-12-06 08:54:46 -03:00
wandererfan
bdbdf8c6b7 FR1973 Draft ShapeString Ui
- load new ui from Resource file
- minor updates to translate for Py3
2018-12-01 11:08:37 -03:00
Yorik van Havre
024540dbbe Fixed coverity issues
169009 Bad use of null-like value
169005 Bad use of null-like value
169003 Bad use of null-like value
169000 Bad use of null-like value
168998 Bad use of null-like value
168996 Structurally dead code
2018-11-20 12:37:32 -02:00
triplus
10cd4cc7af Hide Draft tray toolbar
Forum discussion:

https://forum.freecadweb.org/viewtopic.php?f=3&t=31720
2018-10-26 04:26:20 +02:00
Yorik van Havre
46b152669b Draft: fixed bug in delay system when passing a function with False as argument 2018-10-24 14:22:11 -03:00
Yorik van Havre
3969400a11 Draft: Don't show the Draft tray bar automatically 2018-10-24 12:23:20 -03:00
luz.paz
baa6d89328 Typos and whitespace fixes 2018-08-07 11:13:31 -04:00
Yorik van Havre
123e9d210d Draft: Allow to turn off Draft verbose output in preferences 2018-08-03 19:07:59 -03:00
Yorik van Havre
ee517cf184 Draft: better tooltip for copy mode option 2018-08-01 21:50:44 -03:00
Yorik van Havre
111c0496b4 Draft: Minor bugfix 2018-07-24 17:10:18 -03:00
Mark Ganson TheMarkster
fa32af7025 convert tabs to spaces 2018-07-16 12:03:45 -03:00
Mark Ganson TheMarkster
dc79a93dde save current color so it can be reverted on cancel 2018-07-16 12:03:45 -03:00
Mark Ganson TheMarkster
1cb114e256 handle user cancel color dialog
Currently, when user cancels line color or face color selection dialog current color gets changed to black, as opposed to retaining the status quo.  https://forum.freecadweb.org/viewtopic.php?f=3&t=29762

The fix is to test QColor.isValid(color), which returns false when the user cancels the QColor dialog.
2018-07-16 12:03:45 -03:00
Yorik van Havre
c9b29dc63b Revert "Added support in DraftGui.todo.delay function to accept any number of arguments."
This reverts commit dc4fa6e804.
2018-07-11 21:31:57 -03:00
Amritpal Singh
dc4fa6e804 Added support in DraftGui.todo.delay function to accept any number of arguments. 2018-07-11 21:12:27 -03:00
Yorik van Havre
a711474552 Draft: Show in-command shortcuts on buttons and in console 2018-05-14 18:57:28 -03:00
Yorik van Havre
89bee2c83c Draft: Catch deleted objects in DraftGui.todo 2018-05-11 12:01:22 -03:00
Yorik van Havre
b3fb790d54 Draft: Added reference mode to Draft Scale task panel 2018-05-09 22:38:51 -03:00
Yorik van Havre
6051a6e9cd Draft: Fixed wrong wire point position - closes #3063 2018-01-17 10:49:24 -02:00
Yorik van Havre
dd45eddbba Draft: Fixed py3 compatibility issues 2018-01-06 13:19:08 -02:00