Commit Graph

3108 Commits

Author SHA1 Message Date
Yorik van Havre
f3ccc6d660 Merge pull request #5023 from marioalexis84/gui-encoding
Gui:  Harmonize encoding/decoding between view, property editor and command line.
2021-10-14 12:24:49 +02:00
Roy-043
1a94329d8e Draft: improve hatch matrix algo 2021-10-13 17:38:08 +02:00
Roy-043
482cf61025 Draft: fix context menu
Remove call to get_draft_line_commands.
Update the ContextMenu function. The items are based on the utilities menu now. And the context menu is the same for the Tree view and the 3D view.
2021-10-12 14:35:36 +02:00
Roy-043
f03dfe351e Draft: fix context menu
Remove the get_draft_line_commands function.
Update the def get_draft_context_commands function.
2021-10-12 14:32:36 +02:00
Roy-043
eb0c45ce63 Draft: fix context menu
Remove the 3 gui_lineops items.
2021-10-12 14:30:04 +02:00
Roy-043
d99ad042b1 Draft: fix context menu
Remove gui_lineops.py
2021-10-12 14:28:08 +02:00
Roy-043
fbceff0fdf Delete gui_lineops.py 2021-10-12 14:23:59 +02:00
Yorik van Havre
4f0fb52707 Merge pull request #5102 from Roy-043/Draft-Update-draft_test_objects.py
Draft: Update draft_test_objects.py
2021-10-12 10:56:06 +02:00
Chris Hennes
7a5fb042f7 [Draft] Eliminate default value modification 2021-10-11 21:28:55 -05:00
Chris Hennes
1b4ca8a01c Merge pull request #5101 from Roy-043/Draft-Tweak-gridShowHuman-tooltip
Draft: Tweak gridShowHuman tooltip
2021-10-09 10:35:55 -05:00
Roy-043
0d1488d661 Update draft_test_objects.py 2021-10-09 10:37:05 +02:00
Roy-043
09c0e03ec3 Update draft_test_objects.py 2021-10-09 10:32:50 +02:00
Roy-043
4cce7b4236 Draft: Tweak gridShowHuman tooltip 2021-10-09 10:25:11 +02:00
Roy-043
f271aa9ff6 Draft: make_ellipse default value face should be None 2021-10-09 10:17:07 +02:00
Yorik van Havre
5a7e551c3d 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
714a0fc5a7 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
b6ec36fc3f Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:08:53 +02:00
Roy-043
059b3d46aa Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:08:06 +02:00
Roy-043
48761f4e7d Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:07:12 +02:00
Chris Hennes
2122be22c0 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
bb108cff95 Fix user facing typos [skip ci]
Typos in Draft and OpenSCAD code.
2021-10-06 18:11:48 -04:00
Roy-043
8763810d81 Draft housekeeping: gui_rectangles.py should use make_rectangle 2021-10-06 17:54:30 +02:00
Roy-043
0b9d4db814 Draft: Draft_Text should be aligned toworking plane 2021-10-06 13:15:10 +02:00
Roy-043
30b784a596 Update make_hatch.py 2021-10-05 15:58:47 +02:00
Roy-043
1f2a95f990 Update gui_hatch.py 2021-10-05 15:58:09 +02:00
Roy-043
470f9307f1 Update hatch.py 2021-10-05 15:57:00 +02:00
Roy-043
f002556803 Update Draft.py 2021-10-05 15:56:22 +02:00
Yorik van Havre
bfcfa1f68e 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
ff24678a7c Update init_tools.py
Removed "_temp" from docstrings.
2021-10-05 13:38:43 +02:00
Yorik van Havre
849231b82a Merge pull request #4998 from carlopav/Draft_WPimprovements
Draft: Working Plane improvements
2021-10-05 12:56:58 +02:00
Chris Hennes
a65464b722 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
9687262cfc Update InitGui.py
Removed temp code.
2021-10-02 09:44:01 +02:00
Roy-043
19084494e8 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
ad0113ca26 Draft: prevent negative snaprange
Also fixed misspelled related in-command shortcuts.
2021-10-01 20:38:30 +02:00
Roy-043
c581585574 Update units.py 2021-09-30 23:38:54 +02:00
Yorik van Havre
77925c428e Updated ts files 2021-09-29 14:32:12 +02:00
Roy-043
f4ce6a8291 Draft: fix shortcuts in menus and more (init_tools.py) 2021-09-28 14:50:41 +02:00
Roy-043
a1499c297e Draft: fix shortcuts in menus and more (InitGui.py) 2021-09-28 14:49:22 +02:00
Roy-043
1f6e48de3f Draft: avoid word "hatch" in preferences when dealing with SVG patterns 2021-09-27 15:07:33 +02:00
Roy-043
c1dec8e792 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
c505ac1ee3 [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
dfd8b82fa2 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
67e0395aed Draft: Grid added option in preferences dialog to display the human figure
.
2021-09-26 12:12:51 +02:00
carlopav
5810bde0de 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
e94d7c32b5 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
6102f13071 Draft-fix-2-svg-pattern-issues hatch45R.svg
Changed pattern id.
2021-09-24 11:05:34 +02:00
Roy-043
19aa4e6a46 Draft-fix-2-svg-pattern-issues hatch45L.svg
Changed pattern id.
2021-09-24 11:03:37 +02:00
Roy-043
744ed7be52 Draft-fix-2-svg-pattern-issues
List of patterns is now sorted A-Z.
2021-09-24 10:54:51 +02:00
marioalexis
00e95ba55d Draft: Fix Unicode and UTF-8 encoding character behavior 2021-09-23 21:21:24 -03:00
Roy-043
6babbda88d Update view_base.py 2021-09-23 20:24:35 +02:00