Commit Graph

1626 Commits

Author SHA1 Message Date
Roy
adf084bb45 TechDraw: Rename TechDraw_ExtensionArc command to TechDraw_ExtensionDrawCosmArc 2022-01-10 11:22:18 -05:00
Yorik van Havre
e33ef084ff Merged crowdin translations 2022-01-10 11:23:59 +01:00
luz paz
b0fcf45513 Fix various superfluous whitespace in *.dox files 2022-01-09 21:01:42 -06:00
Uwe
2f0c4d055a [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
6cab015fdd [TD] fix another compiler warning about double to float truncation 2022-01-07 21:28:27 +01:00
Uwe
cde8650da8 [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
e58d30d55e [TD]use smart pointers in Extensions 2022-01-07 13:34:20 -05:00
Wanderer Fan
e91cc8e329 [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
058f88ec8b [TD]fix typo in command name 2022-01-07 08:58:10 -05:00
wandererfan
f2d624cede [TD]combine @wmayer and edi271 changes re command extensions 2022-01-07 08:58:10 -05:00
edi271
de1ab433e5 using getCircleCenter from Part WB 2022-01-07 08:58:10 -05:00
edi271
bfe2184251 using enums to define line attributes 2022-01-07 08:58:10 -05:00
edi271
5e44722a18 Changes caused by PR5231 2022-01-07 08:58:10 -05:00
edi271
74c3f2b0cf Cascade spacing added 2022-01-07 08:58:10 -05:00
edi271
f2d89f471e Menu seperators added 2022-01-07 08:58:10 -05:00
edi271
93ea3ba19f Inserted undo/redo commands 2022-01-07 08:58:10 -05:00
edi271
9aac5253dc Desired changes in TaskSelectLineAttributes.h 2022-01-07 08:58:10 -05:00
edi271
ed643f3fe9 Desired changes in Workbench.cpp 2022-01-07 08:58:10 -05:00
edi271
380386851e Next31TechDrawTools 2022-01-07 08:58:10 -05:00
luz paz
4f886b2b8c Fix various typos and refinements 2022-01-06 20:22:34 +01:00
mwganson
abe76b35f4 [TechDraw] Use global DontUseNativeColorDialog parameter from BaseApp/Preferences/Dialog when opening color dialog 2022-01-04 12:55:21 +01:00
Uwe
4b0767dec1 [TD] some style unification
automatically done by MSVC
2022-01-03 23:30:43 +01:00
Benjamin Bræstrup Sayoc
c14af5f5fe Make it possible to do new Pick Points 2022-01-03 09:58:33 -05:00
Benjamin Bræstrup Sayoc
b09822c417 Use latest user input for Add Cosmetic Vertex 2022-01-03 09:58:33 -05:00
Wanderer Fan
4430e3ec8c [TD]Allow selection of Page when adding View 2022-01-02 09:49:33 -05:00
Wanderer Fan
cec898c6b3 [TD]prevent touched but must be execute on DrawPage 2022-01-02 09:48:38 -05:00
Yorik van Havre
6cb3782c03 Merged crowdin translations 2021-12-29 12:20:12 +01:00
wmayer
5fba9cecae TD: [skip ci] partially fix issue 0004765 2021-12-21 11:39:17 +01:00
wmayer
6ad156b6b7 TD: [skip ci] partially fix issue 0004765 2021-12-20 10:11:03 +01:00
wmayer
e743c30f3b Add Global.h headers to modules 2021-12-18 14:06:40 +01:00
wmayer
4dae213b45 Gui: harmonize classes View3DInventorViewer and View3DInventorPy 2021-12-12 11:33:04 +01:00
wmayer
c11d5df80a 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
ca5c799ce2 Gui: rename methods of SelectionObserver to clarify intention in client code 2021-12-07 14:17:07 +01:00
wmayer
8df497b08e Gui: move methods startDefaultEditMode() and addDefaultAction() to ViewProviderDocumentObject 2021-12-06 19:24:26 +01:00
wmayer
96cbb3d2c0 TD: fix C++20 warning: bitwise operation between different enumeration types [-Wdeprecated-enum-enum-conversion] 2021-12-02 10:12:35 +01:00
wmayer
563743e7e6 Gui: do not include generated ui file inside header file 2021-11-22 16:50:21 +01:00
wmayer
9bfab4262f Mod: change error text of Python wrapper when trying to access deleted view 2021-11-21 19:57:21 +01:00
wmayer
d64b698d05 TD: make MDIViewPagePy acting as sub-class of MDIViewPy 2021-11-21 17:33:19 +01:00
wmayer
055068a255 TD: [skip ci] fix deprecation warning with Qt5.15 2021-11-17 17:20:57 +01:00
Yorik van Havre
a26fb4db1a Merged crowdin translations 2021-11-16 17:30:39 +01:00
luz paz
96bbb4ba21 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
d63dab54cb 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
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
wmayer
fbdb4e29d8 TD: [skip ci] fix warning about trunction from double to float 2021-10-11 16:47:27 +02:00
Chris Hennes
485be3acf8 Merge pull request #5082 from pavltom/Balloon_Updates
TechDraw - Balloon handling updates
2021-10-09 13:28:48 -05:00
wmayer
74639da997 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
b485155c33 TechDraw - Balloon updates - improve hospot calculation 2021-10-09 00:30:28 +02:00
Tomas Pavlicek
f43226f1f6 TechDraw - Balloon updates - review based changes 2021-10-08 16:12:01 +02:00
Tomas Pavlicek
c7cc7fa0fd TechDraw - Balloon updates 2021-10-03 13:43:53 +02:00
Yorik van Havre
77925c428e Updated ts files 2021-09-29 14:32:12 +02:00