Commit Graph

380 Commits

Author SHA1 Message Date
Roy-043
25ee38495e Draft: Improve Draft_Edit context menus 2022-09-26 10:03:50 +02:00
wmayer
838a91fafb Draft: fix snapper icons
* Add convenience function to get 3D views from MDI area
* Use 'inherits' instead of 'QMetaObject.className()' to check more reliably for sub-classes
2022-08-11 11:50:53 +02:00
carlopav
58054f13bc [Draft] Fix Draft Edit AddPoint with BSpline
ref. https://forum.freecadweb.org/viewtopic.php?p=613622#p613622

Fix Bug when adding point to a BSpline.
2022-08-01 22:15:51 +02:00
luzpaz
95070bded4 Draft: Fix 'testing inequality to None' syntax (#7275)
* Draft: Fix 'testing inequality to None' syntax 

- Substitute `is not None` for `!= None`
- Trim trailing whitespace on touched files
2022-07-30 00:26:56 +02:00
Uwe
32ab100ed5 Mod: remove some superfluous Boolean checks (#7213)
* Mod: remove some superfluous Python Boolean checks
2022-07-19 01:35:12 +02:00
Roy-043
9d41e9307f Draft: Add resetEdit to gui_hatch.py 2022-07-12 16:27:22 +02:00
Roy-043
d2ce02058e Update gui_snapper.py 2022-07-04 16:59:02 +02:00
Roy-043
9623cd5973 Draft: Fix near snap 2022-07-04 09:43:15 +02:00
Yorik van Havre
29f5e2cc83 Update src/Mod/Draft/draftguitools/gui_selectplane.py
Co-authored-by: 0penBrain <48731257+0penBrain@users.noreply.github.com>
2022-06-27 11:51:51 +02:00
Roy-043
a574cdb6b2 Draft: Fix align working plane to DatumPlane bug 2022-06-27 10:26:59 +02:00
Chris Hennes
3575b8874a Draft: Fix menu text for Select Plane 2022-06-06 12:12:08 -05:00
0penBrain
272ab6ff72 Draft: fix issues with grid spacing parameter 2022-05-25 09:02:12 +02:00
Roy-043
ce341084be Draft: Fix grid update issue
If the grid spacing was updated in this sequence: 1 -> 0 -> 1 (or any sequence where the first and last value are equal), the grid would not be redrawn.
2022-05-18 22:49:05 +02:00
Yorik van Havre
bed5bc053a Draft: Prevented error when grid size is zero - issue #5427 2022-05-17 10:58:10 +02:00
Yorik van Havre
6150c61d62 Draft: Fixed qt connect style - fixes #6879 2022-05-17 09:58:56 +02:00
Roy-043
9ab722781f Draft: Fix Draft_WorkingPlaneProxy ignores Auto Working Plane 2022-05-04 20:56:06 +02:00
Roy-043
e7ae0dbb33 Draft: fix 2 gui_groups.py translation issues 2022-04-30 21:40:34 +02:00
Roy-043
f2698ac017 Draft: Fix Draft_Snap_Intersection for self-intersecting objects 2022-04-29 14:20:15 +03:00
marioalexis
8baaa1028e Draft: Fix orientWP method used by in Draft_Line command 2022-04-20 14:12:26 -03:00
marioalexis84
aa2ebb9601 Draft: Make ShapeString editable by double-click - fixes #5885
* Draft: Make ShapeString editable - fixes #5885
2022-04-08 17:47:41 +02:00
marioalexis
79b7bfd5d0 Draft: Remove Python 2 type support 2022-03-28 18:02:23 -03:00
flachyjoe
cf9485f191 Don't take grid into account when View_FitAll 2022-03-16 17:30:25 +01:00
Roy
84b3003e8e Draft: Housekeeping: call 'make' functions with new name (4) 2022-02-20 22:31:08 -06:00
Roy
1566c00d35 Draft: Housekeeping: call 'make' functions with new name (3) 2022-02-13 11:01:15 +01:00
Roy
acfdfb9c2d Draft: Housekeeping: call 'make' functions with new name, continued 2022-02-12 19:34:57 +01:00
wmayer
29b940fb66 Part: Circle variable name change to create consistency
Change variable names of the Circle from Angle0 to Angle1 to create consistency with all other named angle variables
2022-02-11 18:28:58 +01:00
Yorik van Havre
9e9790f1b1 Merge pull request #6337 from Roy-043/Draft-Housekeeping-call-'make'-functions-with-new-name
Draft: Housekeeping: call 'make' functions with new name
2022-02-11 12:00:23 +01:00
Roy
f59011bfea Draft: Housekeeping: call 'make' functions with new name 2022-02-10 16:44:37 +01:00
marioalexis
e83972f990 Draft: Fix SoSeparator not deleted 2022-02-09 19:07:10 -03:00
Roy-043
c44dcf018b Draft: Fix-gui_edit.py Y is zero input bug
Entering a Y=0 coordinate when editing points caused an error.
2022-01-31 22:15:38 +01:00
Roy-043
2a043d4be9 Update gui_orthoarray.py 2022-01-28 14:01:42 -06:00
Roy-043
049ebfd2fc Update gui_beziers.py
Oops copy-paste error... Fixed.
2022-01-28 14:01:42 -06:00
Roy-043
34b18484aa Update gui_beziers.py 2022-01-28 14:01:42 -06:00
Roy
359f9d7886 Draft: Fix several translation issues 2022-01-28 14:01:42 -06:00
Roy
c7da560d39 Draft: fix task panel related issues
This PR fixes several task panel related issues for Draft modifier commands.
2022-01-15 18:23:05 +01:00
Roy
db7b37dd1f Draft: Fix additional translation issues related to the snapping commands 2022-01-12 13:44:05 +01:00
Roy-043
0f79fe81f9 Update gui_arcs.py 2022-01-11 11:42:45 +01:00
Roy-043
cefd414f54 Update gui_arrays.py 2022-01-10 15:12:09 +01:00
Roy
91f037912e Draft: Fix translation issues 2022-01-10 10:17:53 +01:00
Roy-043
dede60c481 Draft: fix Draft_SelectGroup
The behavior of the Draft_SelectGroup command was a bit cryptic. Layers were also regarded as groups. And the selection result was not the same if a nested object, instead of the group that object was in, was selected. The new version selects all objects in the `Group` property of the selected groups (or group-like objects). Nested groups are selected, but their contents is not.
2022-01-09 21:09:42 -06:00
marioalexis
5acf2f5340 Draft: Use super() to call base class methods 2022-01-07 22:24:21 +01:00
Roy-043
ba3961574b 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
e63472b10c 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
3c1531b39a Draft: Commands acting on subelements did not load the Draft module 2022-01-01 16:26:26 -06:00
Yorik van Havre
a318c19711 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
8529786fd1 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
418ca4a235 Draft: Draft_Label fix label type list 2021-12-10 18:40:43 +01:00
Roy-043
a62ffdf93d Draft: fix task panel_issues (gui_texts.py) 2021-12-04 22:01:29 +01:00
Roy-043
6684196c81 Draft: fix task panel issues (gui_polygons.py) 2021-12-04 22:00:43 +01:00
Roy-043
4f8094baec Draft: fix task panel issues (gui_points.py) 2021-12-04 21:59:47 +01:00