Commit Graph

2694 Commits

Author SHA1 Message Date
Roy-043
3c4c2be475 Draft: Tweak gridShowHuman tooltip 2021-10-09 10:25:11 +02:00
Yorik van Havre
2d10bd6dca Merge pull request #5088 from Roy-043/Draft-improvements-for-Draft_Hatch
Draft: improvements for Draft_Hatch
2021-10-08 14:42:46 +02:00
Yorik van Havre
feb7faf173 Merge pull request #5092 from Roy-043/Draft-Draft_Text-should-use-working-plane
Draft: Draft_Text should be aligned with working plane
2021-10-08 14:39:15 +02:00
Roy-043
b537a2351d Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:08:53 +02:00
Roy-043
9b634a2a75 Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:08:06 +02:00
Roy-043
f10a6de031 Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:07:12 +02:00
Chris Hennes
aa4e96594c Merge pull request #5094 from Roy-043/Draft-housekeeping-gui_rectangles-use-make_rectangle
Draft housekeeping: gui_rectangles.py should use make_rectangle
2021-10-06 21:09:51 -05:00
luz paz
be693528be Fix user facing typos [skip ci]
Typos in Draft and OpenSCAD code.
2021-10-06 18:11:48 -04:00
Roy-043
b6565da274 Draft housekeeping: gui_rectangles.py should use make_rectangle 2021-10-06 17:54:30 +02:00
Roy-043
50b8ed49a5 Draft: Draft_Text should be aligned toworking plane 2021-10-06 13:15:10 +02:00
Roy-043
5dd472aea0 Update make_hatch.py 2021-10-05 15:58:47 +02:00
Roy-043
812a0e787a Update gui_hatch.py 2021-10-05 15:58:09 +02:00
Roy-043
2196179cb1 Update hatch.py 2021-10-05 15:57:00 +02:00
Roy-043
6a13be395f Update Draft.py 2021-10-05 15:56:22 +02:00
Yorik van Havre
00676ff3a3 Merge pull request #5072 from Roy-043/Draft-fix-shortcuts-in-menus-and-more
Draft: fix shortcuts in menus and more
2021-10-05 13:51:59 +02:00
Roy-043
1be5385462 Update init_tools.py
Removed "_temp" from docstrings.
2021-10-05 13:38:43 +02:00
Yorik van Havre
00b24bc707 Merge pull request #4998 from carlopav/Draft_WPimprovements
Draft: Working Plane improvements
2021-10-05 12:56:58 +02:00
Chris Hennes
5cc7d017cc Merge pull request #5081 from Roy-043/Draft-prevent-negative-snaprange
Draft: prevent negative snaprange
2021-10-02 14:05:30 -05:00
Roy-043
b2a87d0be7 Update InitGui.py
Removed temp code.
2021-10-02 09:44:01 +02:00
Roy-043
2f187497e9 Update init_tools.py
Removed the temp code. Changed the order of the functions. Only one item per line to make the lists more legible.
2021-10-02 09:42:49 +02:00
Roy-043
878f97b234 Draft: prevent negative snaprange
Also fixed misspelled related in-command shortcuts.
2021-10-01 20:38:30 +02:00
Roy-043
412c041cbe Update units.py 2021-09-30 23:38:54 +02:00
Yorik van Havre
140e03301e Updated ts files 2021-09-29 14:32:12 +02:00
Roy-043
188339c3dc Draft: fix shortcuts in menus and more (init_tools.py) 2021-09-28 14:50:41 +02:00
Roy-043
da185295b2 Draft: fix shortcuts in menus and more (InitGui.py) 2021-09-28 14:49:22 +02:00
Roy-043
9003bfae99 Draft: avoid word "hatch" in preferences when dealing with SVG patterns 2021-09-27 15:07:33 +02:00
Roy-043
893f0cbd3c Draft: move Draft_AddNamedGroup in menu
Draft_AddNamedGroup before Draft_AddToGroup, same as in the toolbar.
2021-09-27 10:34:53 +02:00
Chris Hennes
e4116758c5 [Draft] Silence LGTM warnings about unused vars
LGTM only recognizes "_" and "unused" as variable names that are
expected to be unused, so switch to "_".
2021-09-26 13:34:16 -05:00
carlopav
ffbaaa3526 Draft: updated working plane BIM figure
Display the human figure at the grid corner.
        The silhouette is displayed only if:
        - BIM Workbench is available;
        - preference BaseApp/Preferences/Mod/Draft/gridShowHuman is True;
        - the working plane normal is vertical.
2021-09-26 12:12:51 +02:00
carlopav
5bb28069a0 Draft: Grid added option in preferences dialog to display the human figure
.
2021-09-26 12:12:51 +02:00
carlopav
12f797ef65 Draft: Grid added option to disable human figure representation
The "gridShowHuman" preference was introduced to disable the human figure representation in the grid.
2021-09-26 09:59:34 +02:00
Chris Hennes
5b415978ac Merge pull request #5060 from Roy-043/Draft-fix-2-svg-pattern-issues
Draft: fix 2 SVG pattern issues
2021-09-24 10:34:31 -05:00
Roy-043
0daac05a7f Draft-fix-2-svg-pattern-issues hatch45R.svg
Changed pattern id.
2021-09-24 11:05:34 +02:00
Roy-043
60a0ce8289 Draft-fix-2-svg-pattern-issues hatch45L.svg
Changed pattern id.
2021-09-24 11:03:37 +02:00
Roy-043
fb484a2367 Draft-fix-2-svg-pattern-issues
List of patterns is now sorted A-Z.
2021-09-24 10:54:51 +02:00
Roy-043
bb1fccbc23 Update view_base.py 2021-09-23 20:24:35 +02:00
Roy-043
114b3b4d1f Draft: fix 2 edit mode issues 2021-09-23 20:16:53 +02:00
Yorik van Havre
6ad3530981 Merged crowdin translations 2021-09-23 17:14:48 +02:00
Yorik van Havre
3573c5b21f Updated ts files 2021-09-23 17:04:05 +02:00
Yorik van Havre
d0a591485f Merge pull request #5053 from Roy-043/Draft_fix_dim_symbol_issues
Draft: fix dim symbol issues
2021-09-23 16:43:25 +02:00
Yorik van Havre
117328250e Merge pull request #5055 from Roy-043/Draft_fix_wpproxy_view_prop_group
Draft: fix wpproxy view properties group
2021-09-23 16:41:14 +02:00
Roy-043
cfd4704024 Draft: fix wrong type for layer transparency
Also fixed a typo.
2021-09-23 16:25:40 +02:00
Roy-043
e2e16e60dc Draft: fix wpproxy view properties group
View properties of a WP proxy should not appear in the Arch group.
2021-09-23 12:44:17 +02:00
Roy-043
dc988eb613 Draft: fix dim symbol issues 2021-09-23 10:45:21 +02:00
Roy-043
65a60fa639 Draft: Fix annotation scale to label issue.
The scale_to_label function did not handle scale 5:1, 10:1 or 20:1 properly.
2021-09-20 11:01:59 +02:00
Chris Hennes
28127c5f2d Merge pull request #5046 from carlopav/Draft_fixSnapGrid
Draft: fix Snapper GridSnap not working over a face
2021-09-19 16:36:38 -05:00
Chris Hennes
f99059e371 Draft: LGTM - don't catch BaseException 2021-09-19 14:36:38 -05:00
carlopav
967a97e9a8 Draft: fix Snapper GridSnap not working over a face
ref. https://forum.freecadweb.org/viewtopic.php?f=23&t=62274&sid=4c9d07255e4f0db219b661c345768319

If the cursor is over a Face and no SnapCenter is active, the snapToObject method returns the current cursor point instead of None. Doing so the snap() method does not check for extension and grid snaps.
It seems this is a bug since the snap() already contains the deleted code.

One note: the no snaps case was moved before the lastObj setting, since if no snap point was found, it's not right to set it to a non snapped object.
2021-09-19 14:31:44 +02:00
wmayer
9ce79bf3c7 Mod: fix warning [-Wmacro-redefined] 2021-09-14 22:57:17 +02:00
luz paz
1f97dbc285 Draft: whitespace tweak 2021-09-08 10:22:26 -04:00