Commit Graph

246 Commits

Author SHA1 Message Date
Yorik van Havre
afe0d6fad8 Draft: Remember Offset copy mode separately from Move copy mode 2019-07-06 16:52:58 -03:00
Yorik van Havre
631204ef6f Draft: Set global copy mode to False by default 2019-07-06 14:05:31 -03:00
Yorik van Havre
94c2617362 Arch: Misc bugfixes 2019-07-05 20:58:44 -03:00
Yorik van Havre
6fa859ab89 Draft: Better positioned layers button popup + new layer entry 2019-06-30 13:32:42 -03:00
Yorik van Havre
f717d540c8 Draft: Turned autogroup button into layers selector (added pref option to restore old groups-based system) 2019-06-30 01:00:50 -03:00
wmayer
d2bf707e7a Draft: QPixmap.fill expects a QColor, not an int or long 2019-06-14 11:30:43 +02:00
Yorik van Havre
2c918366e4 Draft: Introduced Layers system (former VisGroup) 2019-06-05 18:47:01 -03:00
Yorik van Havre
7957e065db Draft: Fixed regressions in Scale tool + reimplemented Clone mode 2019-06-03 19:06:27 -03:00
Yorik van Havre
4e9eb995df Draft: Now uses general FreeCAD shape colors instead of defining its own 2019-06-03 17:47:39 -03:00
Dion Moult
1b362fd82b Fix draft missing line tracker when snapper detects an object without any snap targets 2019-06-03 16:36:07 -03:00
Dion Moult
514fa9d4fc Add customisable in-command shortcut keys rather than hardcoding them 2019-06-03 16:31:25 -03:00
Derek V. Schmalenberger
297c7f2ec6 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
92bf2228d9 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
601b09bb83 Draft: Removed annoying an unuseful verbose command line output 2019-05-16 15:31:57 -03:00
Yorik van Havre
8a432cc830 Draft: Fixed regression bug in Rotate 2019-05-16 14:38:46 -03:00
Yorik van Havre
3a2aac4fe0 Draft: Enhancements to Working Plane selection UI 2019-05-15 19:48:58 -03:00
Yorik van Havre
8119077feb Draft: Fixed Part primitives mode of Draft tools 2019-05-13 14:55:58 -03:00
Yorik van Havre
d72d5a5b21 Draft: allow to use different snapping task dialogs 2019-05-10 22:27:08 -03:00
Yorik van Havre
eb47cf84a0 Draft: General cleanup of the Draft UI 2019-05-10 21:03:35 -03:00
Dion Moult
5bd56c82e7 Fix scale command and simplify UI, add support for scale subelements 2019-05-08 10:27:44 -03:00
Dion Moult
efa4f7cdc9 Add subelement mode to draft move command to allow movement of vertices and nodes 2019-05-08 10:26:55 -03:00
carlopav
8eb2c49237 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
5860d67b64 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
7e5ad96704 Merge branch 'master' of https://github.com/carlopav/FreeCAD into carlopav-master 2019-03-27 15:57:31 -03:00
cclauss
361c44c6dc Unicode fixes for Python3 2019-03-17 20:58:00 +01: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
be49b27010 Draft: Removed leftovers from DraftTools in DraftGui 2019-02-19 19:53:14 -03:00
wandererfan
11d0bc9e90 Fix ShapeString attachment to Face 2019-02-19 10:32:46 -03:00
triplus
062206bee2 Icon themes support for draft tray and snap 2019-02-18 10:11:25 -03:00
carlopav
f40f1fde59 Update Edit Tool
Arc 3 points and minor other fixes
2019-02-13 16:40:26 +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
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
wmayer
edaeb679d4 fix translate() function for Py2 & Qt5 2018-12-16 16:25:25 +01:00
wandererfan
971cbc4e73 Remove custom translation code
- go back to letting loadUi do the translating.
2018-12-06 08:54:46 -03:00
wandererfan
2e55e5b0ca 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
88f47ee725 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
8150d39a25 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
fe067060d4 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
14c70ce8cd Draft: Don't show the Draft tray bar automatically 2018-10-24 12:23:20 -03:00
luz.paz
424cd49398 Typos and whitespace fixes 2018-08-07 11:13:31 -04:00
Yorik van Havre
02868667dc Draft: Allow to turn off Draft verbose output in preferences 2018-08-03 19:07:59 -03:00
Yorik van Havre
f68f3140af Draft: better tooltip for copy mode option 2018-08-01 21:50:44 -03:00
Yorik van Havre
a1bc8dbc9a Draft: Minor bugfix 2018-07-24 17:10:18 -03:00
Mark Ganson TheMarkster
7484412d47 convert tabs to spaces 2018-07-16 12:03:45 -03:00
Mark Ganson TheMarkster
51fdef4193 save current color so it can be reverted on cancel 2018-07-16 12:03:45 -03:00
Mark Ganson TheMarkster
012db7a0b1 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
808a7b675e Revert "Added support in DraftGui.todo.delay function to accept any number of arguments."
This reverts commit 7d0334302eed6bfd3af873870f0c16ff3c192d39.
2018-07-11 21:31:57 -03:00