Commit Graph

407 Commits

Author SHA1 Message Date
mosfet80
889ad11e02 [Draft] Remove obsolete code related to Drawing WB
* [Draft] Remove obsolete code related to Drawing WB




remove unused elif

* [Draft] Remove obsolete code related to the Drawing WB

* Update preferences-draftvisual.ui

Also remove the template label.

* Update utils.py

Remove reference to "template"

* Remove Draft_Drawing.svg from Draft.qrc

---------

Co-authored-by: Roy-043 <info@b-k-g.nl>
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com>
2023-04-03 16:36:23 +02:00
Yorik van Havre
45001fa160 Merge pull request #8795 from yorikvanhavre/draft-layermanager
Draft: Added LayerManager command from BIM
2023-03-15 11:59:59 +01:00
Yorik van Havre
23f266f2e2 Merge pull request #8818 from yorikvanhavre/draft-grid-fix
Draft: Fixes grid on/off behaviour - fixes #5878
2023-03-15 11:59:30 +01:00
BHennen
0f4acc55be Add offset options to Draft PathArray (#8295)
* Add offset options to Draft PathArray

Allows user to specify a starting and ending offset to items in Draft PathArrays.

* [Draft] path array offset

---------

Co-authored-by: Roy-043 <info@b-k-g.nl>
2023-03-11 15:54:25 +01:00
Yorik van Havre
3585ed46e3 Draft: Fixes grid on/off behaviour - fixes #5878
- If grid is on and auto grid on: Grid always appears
- If grid is on and auto grid off: Grid off at start, on when using a tool, off afterwards
- If grid is off: Grid never appears
2023-03-10 12:19:27 +01:00
Yorik van Havre
5c471bef37 Draft: Added LayerManager command from BIM 2023-03-09 14:26:09 +01:00
Roy-043
a891d5c766 Draft: fix normal calculation for angular dims 2023-02-03 15:44:27 +01:00
Roy-043
ec0182b915 Draft: housekeeping: remove obsolete code (uiMode and DraftGui.py) (#8327) 2023-02-02 23:24:27 +01:00
Roy-043
693ec401f7 Draft: subelement mode ignored nesting (#8319) 2023-02-02 11:49:55 +01:00
Roy-043
25c4792690 Draft: fix issue with undo (#8267) 2023-01-31 21:38:19 +01:00
Roy-043
b2e7d20795 Draft: fix gui_offset.py issue caused by PR8207 2023-01-24 15:02:38 +01:00
Roy-043
6cf6299254 Draft: improve color handling in gui_setstyle.py (#8219)
Alhpa values of colors were not correct.
2023-01-22 11:18:17 +01:00
Roy-043
e6eb208639 Draft: Fix and improve Draft_AnnotationStyleEditor (#8207)
* Draft: Fix and improve Draft_AnnotationStyleEditor

* Draft: Fix and improve Draft_AnnotationStyleEditor 2
2023-01-21 10:28:47 +01:00
Roy-043
f7db685a28 Draft: gui_setstyle.py onApplyAnnot should check for doc (#8196) 2023-01-15 00:20:34 +01:00
Roy-043
0c1994e749 Draft: Update gui_setstyle.py and gui_utils.py (#8195) 2023-01-14 20:07:59 +01:00
Roy-043
ff80575244 Draft: Update Draft_SetStyle (#8190) 2023-01-14 13:54:16 +01:00
Roy-043
19d624396f Draft: housekeeping: indentation gui_snapper.py
As mentioned here: #8172
2023-01-12 16:04:31 +01:00
Roy-043
dec88420bf Draft: Properly remove Snap toolbar when switching workbenches (#8172) 2023-01-12 15:29:21 +01:00
Roy-043
fe02d63c8c Draft: update inspect.getargspec to inspect.getfullargspec (#8101) 2022-12-29 23:20:38 +01:00
Roy-043
de20241452 Draft: Draft_SetStyle wrongly handled LineSpacing as an int (#8052) 2022-12-18 20:29:13 +01:00
Roy-043
e920410607 Draft: housekeeping: rename snap icons 2022-11-11 17:33:09 +01:00
Yorik van Havre
3ac40a3778 Merge pull request #7656 from Roy-043/Draft-Change-Snap-toolbar-to-standard-toolbar
Draft: Change Snap toolbar to standard toolbar
2022-11-07 10:49:26 +01:00
Roy-043
dab714563d Draft: Use DefaultShapeTransparency in gui_setstyle.py 2022-10-28 10:43:55 +02:00
Roy-043
1eee16e9f3 Draft: Change Snap toolbar to standard toolbar 2022-10-27 10:45:48 +02:00
Roy-043
ee872dbc76 Draft: Escape should not switch off continue mode 2022-10-15 12:14:51 +02:00
Roy-043
a4a11a42d3 Draft: Point array: Take placement of point object into account and accept more point object types 2022-10-12 11:18:12 +02:00
Roy-043
d6fd0e2ef5 Draft: Improve Draft_Edit task panel 2022-10-01 11:51:53 +02:00
Roy-043
fc14567d34 Draft: Improve Draft_Edit context menus 2022-09-26 10:03:50 +02:00
wmayer
2b5b7cd607 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
d37a1a2440 [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
1ef31f40f5 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
3a50f95be4 Mod: remove some superfluous Boolean checks (#7213)
* Mod: remove some superfluous Python Boolean checks
2022-07-19 01:35:12 +02:00
Roy-043
7413a3a999 Draft: Add resetEdit to gui_hatch.py 2022-07-12 16:27:22 +02:00
Roy-043
e6e210467e Update gui_snapper.py 2022-07-04 16:59:02 +02:00
Roy-043
88d1808ccb Draft: Fix near snap 2022-07-04 09:43:15 +02:00
Yorik van Havre
27bfa083b2 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
d69888b74d Draft: Fix align working plane to DatumPlane bug 2022-06-27 10:26:59 +02:00
Chris Hennes
fd47f2253a Draft: Fix menu text for Select Plane 2022-06-06 12:12:08 -05:00
0penBrain
ccdbf99341 Draft: fix issues with grid spacing parameter 2022-05-25 09:02:12 +02:00
Roy-043
0b12cba3b5 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
06515cd340 Draft: Prevented error when grid size is zero - issue #5427 2022-05-17 10:58:10 +02:00
Yorik van Havre
27277e29c6 Draft: Fixed qt connect style - fixes #6879 2022-05-17 09:58:56 +02:00
Roy-043
72e91dbbca Draft: Fix Draft_WorkingPlaneProxy ignores Auto Working Plane 2022-05-04 20:56:06 +02:00
Roy-043
868b5f1a1c Draft: fix 2 gui_groups.py translation issues 2022-04-30 21:40:34 +02:00
Roy-043
a222bc6782 Draft: Fix Draft_Snap_Intersection for self-intersecting objects 2022-04-29 14:20:15 +03:00
marioalexis
e62496b636 Draft: Fix orientWP method used by in Draft_Line command 2022-04-20 14:12:26 -03:00
marioalexis84
44a989f3b9 Draft: Make ShapeString editable by double-click - fixes #5885
* Draft: Make ShapeString editable - fixes #5885
2022-04-08 17:47:41 +02:00
marioalexis
659e84e57f Draft: Remove Python 2 type support 2022-03-28 18:02:23 -03:00
flachyjoe
e6f3f4ba57 Don't take grid into account when View_FitAll 2022-03-16 17:30:25 +01:00
Roy
fae36b2da0 Draft: Housekeeping: call 'make' functions with new name (4) 2022-02-20 22:31:08 -06:00