Roy-043
f6754eddfc
Draft: make Draft_Snap_Angle work in 3D
...
Draft_Snap_Angle only worked for circular edges on a plane parallel to the XY plane of the global coordinate system.
2022-01-06 16:57:55 +01:00
Mariwan
122deb98fb
Draft: change static to non-static declared variables ( #5292 )
...
* Draft: change static to non-static declared variables
* Change variable name and add some comment
2022-01-05 16:39:28 +01:00
Roy
1358c110e3
Draft: Commands acting on subelements did not load the Draft module
2022-01-01 16:26:26 -06:00
Yorik van Havre
6895813400
Merge pull request #5249 from Roy-043/Draft-Draft_Label-fix-label-type-list
...
Draft: Draft_Label fix label type list
2021-12-21 11:45:16 +01:00
Roy-043
ac0bae2337
Draft: fix Draft_Arc_3Points task panel issues
...
Fixed the following task panel issues:
1. Wrong title and icon.
2. Continue toggle missing.
2021-12-11 19:00:31 +01:00
Roy
3ad8c1680f
Draft: Draft_Label fix label type list
2021-12-10 18:40:43 +01:00
Roy-043
af24c3ba02
Draft: fix task panel_issues (gui_texts.py)
2021-12-04 22:01:29 +01:00
Roy-043
fccf955c6f
Draft: fix task panel issues (gui_polygons.py)
2021-12-04 22:00:43 +01:00
Roy-043
77d21df65f
Draft: fix task panel issues (gui_points.py)
2021-12-04 21:59:47 +01:00
Roy-043
055f1850e8
Draft: fix task panel issues (gui_edit.py)
2021-12-04 21:58:50 +01:00
Yorik van Havre
78f4e980ba
Merge pull request #5202 from Roy-043/Draft-fix-3-snap-issues
...
Draft: fix 3 snap issues
2021-12-01 15:01:27 +01:00
Roy-043
e2fec183db
Draft: fix style handling of PointColor and PointSize
...
Draft_SetStyle did not handle PointColor and PointSize.
2021-11-28 11:50:49 +01:00
Roy-043
9baf044e6a
Draft: fix 3 snap issues
...
1. Draft_Snap_Parallel only worked beyond the endpoints of the edge.
2. It was very hard to select an edge for Draft_Snap_Parallel if no other snaps were active.
3. Only two snap objects were stored.
2021-11-25 15:21:11 +01:00
Yorik van Havre
0eba852815
Merge pull request #5179 from Roy-043/Draft-housekeeping-SS-shortcut-used-twice
...
Draft housekeeping: SS-shortcut used twice
2021-11-24 15:32:02 +01:00
Roy-043
9a467f39d1
Draft: fix toggle grid issue.
2021-11-17 19:26:36 +01:00
Roy-043
067f533928
Draft housekeeping: SS-shortcut used twice
2021-11-16 16:49:30 +01:00
Roy-043
a624f6a50c
Draft: Fix angle dimension issue
...
If the end points of the selected edges for an angular dimension were (almost) coincident with their intersection, random angles could be calculated. In essence a floating point inaccuracy issue.
2021-10-28 19:29:59 +02:00
Yorik van Havre
13cd1c23ec
Merge pull request #5119 from Roy-043/Draft-Fix-Draft_SelectPlane-ignores-nesting
...
Draft: Fix Draft_SelectPlane ignores nesting
2021-10-25 14:16:44 +02:00
Roy-043
954481bc2b
Draft: Fix Draft_Edit sketch issue
...
Draft_Edit did not work on wall sketch after reopening file
2021-10-21 21:40:55 +02:00
Roy-043
b6faf7f016
Draft: Fix Draft_SelectPlane ignores nesting
2021-10-20 10:16:49 +02:00
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
fbceff0fdf
Delete gui_lineops.py
2021-10-12 14:23:59 +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
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
1f2a95f990
Update gui_hatch.py
2021-10-05 15:58:09 +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
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
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
marioalexis
00e95ba55d
Draft: Fix Unicode and UTF-8 encoding character behavior
2021-09-23 21:21:24 -03:00
Chris Hennes
1761eb8ce0
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
68a027cf94
Draft: LGTM - don't catch BaseException
2021-09-19 14:36:38 -05:00
carlopav
31a8fc5c7d
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
luz paz
c03d4b1c10
Draft: fix comment typo
2021-09-08 10:22:26 -04:00
Yorik van Havre
d964653057
Merge pull request #5014 from marioalexis84/draft-gui_label
...
Draft: Prevent working plane from restoring after label command
2021-09-07 12:45:22 +02:00
marioalexis
bdbe3105ff
Draft: Prevent working plane from restoring after label command
2021-09-07 02:50:38 -03:00
Yorik van Havre
1c8b803f9e
Draft: Introduced Hatch command + object
2021-09-06 15:27:52 +02:00
Yorik van Havre
cbde274c9a
Merge branch 'master' into Draft_addgroup
2021-09-06 12:02:36 +02:00
Yorik van Havre
42a8389e40
Restored docstring
2021-09-06 11:55:42 +02:00
Yorik van Havre
5c0517e620
Changed M shortcut to M,G
2021-09-06 11:53:28 +02:00
marioalexis
813114cab5
Draft: Fix variable referenced before assignment
2021-09-06 01:14:14 -03:00
Yorik van Havre
854fc52ff2
Merge pull request #4891 from Roy-043/Draft_Fix_Misplaced_Edit_Nodes_BezCurve_2
...
Draft: Fix misplaced Draft_Edit nodes for BezCurve 2nd version
2021-09-02 11:41:51 +02:00
Yorik van Havre
ab119685ff
Merge pull request #4907 from Roy-043/Draft_fix_move_alt_copy_mode
...
Draft: Fix Draft_Move Alt copy mode
2021-09-02 11:41:07 +02:00
Yorik van Havre
62997b1bfa
Merge pull request #4915 from carlopav/draft_snap_nodoc_fix
...
Draft: fixed Snap behaviour when no document is active.
2021-08-30 14:26:10 +02:00
carlopav
cd19082ac6
Update src/Mod/Draft/draftguitools/gui_snaps.py
...
Co-authored-by: Yorik van Havre <yorik.vanhavre@gmail.com >
2021-08-30 13:57:04 +02:00
Yorik van Havre
05c88d8ada
Merge pull request #4905 from Roy-043/Draft_fix_trimex_wrong_units
...
Draft: Draft_Trimex: Fix wrong angle units in task panel
2021-08-16 16:22:47 +02:00
Yorik van Havre
a74792e3f6
Draft: Allow to stretch more complex Arch objects
2021-08-03 16:45:43 +02:00
Yorik van Havre
3b444b1cf3
Merge pull request #4927 from marioalexis84/draft-restore
...
Draft: Fix regression on WP and fixes #0004562
2021-08-02 15:52:42 +02:00