Commit Graph

1626 Commits

Author SHA1 Message Date
Roy
04549a7b3d TechDraw: Rename TechDraw_ExtensionArc command to TechDraw_ExtensionDrawCosmArc 2022-01-10 11:22:18 -05:00
Yorik van Havre
c24ca51a44 Merged crowdin translations 2022-01-10 11:23:59 +01:00
luz paz
28ab1bb68f Fix various superfluous whitespace in *.dox files 2022-01-09 21:01:42 -06:00
Uwe
2db409659e [TD] coding style fixes for new extensions
all done by MSVC

I do this since on one hand the readability is in this case really improved and because whenever I made a change, MSVC tries to fix the style and then the diffs are unnecessarily large. Also the MSVC style is almost what we use as the "standard" coding style.
2022-01-07 21:35:46 +01:00
Uwe
05a91e822b [TD] fix another compiler warning about double to float truncation 2022-01-07 21:28:27 +01:00
Uwe
af094bb0b0 [TD] fix compiler warning and use predefined M_PI
- fixes:
CommandExtensionPack.cpp(1702,38): warning C4305: 'initializing': truncation from 'double' to 'float'

- uses our predefined M_PI constant
2022-01-07 21:21:51 +01:00
Wanderer Fan
a67e78bda0 [TD]use smart pointers in Extensions 2022-01-07 13:34:20 -05:00
Wanderer Fan
28c5890bc9 [TD] avoid memory leaks by using shared_ptr
TD geometry objects are sometimes double deleted.  This
change uses shared_ptr instead of raw pointers to manage
deletions.
2022-01-07 13:34:20 -05:00
wandererfan
8e86c4473e [TD]fix typo in command name 2022-01-07 08:58:10 -05:00
wandererfan
dffa7040b9 [TD]combine @wmayer and edi271 changes re command extensions 2022-01-07 08:58:10 -05:00
edi271
85662489f9 using getCircleCenter from Part WB 2022-01-07 08:58:10 -05:00
edi271
6f60892209 using enums to define line attributes 2022-01-07 08:58:10 -05:00
edi271
9981e27f92 Changes caused by PR5231 2022-01-07 08:58:10 -05:00
edi271
64419b26a0 Cascade spacing added 2022-01-07 08:58:10 -05:00
edi271
6438b0426e Menu seperators added 2022-01-07 08:58:10 -05:00
edi271
747884a5f8 Inserted undo/redo commands 2022-01-07 08:58:10 -05:00
edi271
68612b1cd7 Desired changes in TaskSelectLineAttributes.h 2022-01-07 08:58:10 -05:00
edi271
b791cc7832 Desired changes in Workbench.cpp 2022-01-07 08:58:10 -05:00
edi271
d09d0b6036 Next31TechDrawTools 2022-01-07 08:58:10 -05:00
luz paz
fd3f2b0092 Fix various typos and refinements 2022-01-06 20:22:34 +01:00
mwganson
09d1e31b73 [TechDraw] Use global DontUseNativeColorDialog parameter from BaseApp/Preferences/Dialog when opening color dialog 2022-01-04 12:55:21 +01:00
Uwe
a3023ed0b9 [TD] some style unification
automatically done by MSVC
2022-01-03 23:30:43 +01:00
Benjamin Bræstrup Sayoc
2d14c0be8d Make it possible to do new Pick Points 2022-01-03 09:58:33 -05:00
Benjamin Bræstrup Sayoc
e483cc2b09 Use latest user input for Add Cosmetic Vertex 2022-01-03 09:58:33 -05:00
Wanderer Fan
5f109b5ee3 [TD]Allow selection of Page when adding View 2022-01-02 09:49:33 -05:00
Wanderer Fan
74dc5344d4 [TD]prevent touched but must be execute on DrawPage 2022-01-02 09:48:38 -05:00
Yorik van Havre
91bfb0fbb6 Merged crowdin translations 2021-12-29 12:20:12 +01:00
wmayer
27fc40a290 TD: [skip ci] partially fix issue 0004765 2021-12-21 11:39:17 +01:00
wmayer
c944c559b7 TD: [skip ci] partially fix issue 0004765 2021-12-20 10:11:03 +01:00
wmayer
ada653e591 Add Global.h headers to modules 2021-12-18 14:06:40 +01:00
wmayer
94a881f829 Gui: harmonize classes View3DInventorViewer and View3DInventorPy 2021-12-12 11:33:04 +01:00
wmayer
3fa4a321d3 TD: replace usage of raw pointers of Vertex and Face with shared pointers.
This fixes issue 4741: Broken File After Using Landmark Dimension in TechDraw
2021-12-10 14:25:24 +01:00
wmayer
a6838cf58f Gui: rename methods of SelectionObserver to clarify intention in client code 2021-12-07 14:17:07 +01:00
wmayer
a12695e44f Gui: move methods startDefaultEditMode() and addDefaultAction() to ViewProviderDocumentObject 2021-12-06 19:24:26 +01:00
wmayer
74c4d17695 TD: fix C++20 warning: bitwise operation between different enumeration types [-Wdeprecated-enum-enum-conversion] 2021-12-02 10:12:35 +01:00
wmayer
8b7dadc1ab Gui: do not include generated ui file inside header file 2021-11-22 16:50:21 +01:00
wmayer
049a34645b Mod: change error text of Python wrapper when trying to access deleted view 2021-11-21 19:57:21 +01:00
wmayer
7a58b7cfb0 TD: make MDIViewPagePy acting as sub-class of MDIViewPy 2021-11-21 17:33:19 +01:00
wmayer
895ff340af TD: [skip ci] fix deprecation warning with Qt5.15 2021-11-17 17:20:57 +01:00
Yorik van Havre
c4d4575eb3 Merged crowdin translations 2021-11-16 17:30:39 +01:00
luz paz
b56cd8007b TechDraw: Renames submenu command + exposes to translation
Fixes https://github.com/FreeCAD/FreeCAD-translations/issues/82  
The dropdown `TechDraw > Extensions: centerlines and threading` (submenu) is too long and superfluous. Renamed to: `Extensions: Centerlines/Threading`. Also exposed to translation.
2021-11-10 01:11:39 +01:00
luz paz
e884c0b41e TechDraw: Fix typo in Tool Attributes command + expose to translation
Fixes https://github.com/FreeCAD/FreeCAD-translations/issues/85
2021-11-09 07:23:11 -05:00
Yorik van Havre
24d1a3f054 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
wmayer
efae4bdf32 TD: [skip ci] fix warning about trunction from double to float 2021-10-11 16:47:27 +02:00
Chris Hennes
547a902a13 Merge pull request #5082 from pavltom/Balloon_Updates
TechDraw - Balloon handling updates
2021-10-09 13:28:48 -05:00
wmayer
a7f9c2f1b9 OCCT: port FreeCAD sources to version 7.6
SMESH is not yet ported
Although FreeCAD code compiles with OCCT 7.6 it doesn't work at the moment
2021-10-09 13:49:02 +02:00
Tomas Pavlicek
af9daa9e46 TechDraw - Balloon updates - improve hospot calculation 2021-10-09 00:30:28 +02:00
Tomas Pavlicek
52dcfc64c3 TechDraw - Balloon updates - review based changes 2021-10-08 16:12:01 +02:00
Tomas Pavlicek
b93d049f8e TechDraw - Balloon updates 2021-10-03 13:43:53 +02:00
Yorik van Havre
140e03301e Updated ts files 2021-09-29 14:32:12 +02:00