Commit Graph

85 Commits

Author SHA1 Message Date
Wanderer Fan
db89eec8e3 [TD]implement navigation styles 2022-06-24 10:03:02 -04:00
Wanderer Fan
1c97b3d5df [TD]fix ExtendShorten handling of CenterLine 2022-04-23 18:43:27 -04:00
Wanderer Fan
f53ac146c0 [TD]fix ExtendLine changes CenterLine
- extendShortenLine converts CenterLines to CosmeticEdges
2022-04-23 18:43:27 -04:00
wmayer
ccc0d54d97 TD: [skip ci] activate PCH of TechDraw (Gui) and use forward declarations
For MSVC this reduces compile time by ~20%
2022-03-25 13:54:47 +01:00
wmayer
883012e4b0 TD: Fix several coverity issues:
* CID 316569: Uninitialized scalar variable
* CID 350651: Unchecked dynamic_cast
* CID 350565: Unchecked dynamic_cast
* CID 350595: Unchecked dynamic_cast
* CID 350638: Unchecked dynamic_cast
* CID 350547: Division or modulo by float zero
2022-03-13 15:40:49 +01:00
wmayer
8f786ea6ef Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
Wanderer Fan
7ebc4c44c9 [TD]use <br> in ToolTipText vs \n 2022-03-03 09:31:01 -05:00
Wanderer Fan
4a97a6244c [TD]fix area scale and make unit aware 2022-03-03 09:31:01 -05:00
wmayer
79f8e33b87 TD: further security checks in CmdTechDrawExtensionPositionSectionView::activated 2022-02-28 19:09:31 +01:00
wmayer
f301532efb TD: improve handlings with casts 2022-02-28 18:56:28 +01:00
andrea reale
9b0d9ca6fc Fix uninitialized variable 2022-02-28 18:53:09 +01:00
luz paz
6718d8797e Fix some typos and whitespace 2022-02-12 19:33:28 +01:00
edi271
fcb423992b New tool circle through 3 points 2022-02-02 08:35:34 -05:00
edi271
8003ea80e5 [TD] Include Intersection method into DrawUtil class 2022-01-29 14:49:44 -05:00
edi271
f2f858190c [TD] Insert new tool Area Annotation 2022-01-29 14:49:44 -05:00
Roy-043
e72537ae5b Update CommandExtensionPack.cpp
Added the missing bracket!
2022-01-26 08:48:42 -05:00
Roy-043
0a23730be9 Update CommandExtensionPack.cpp
Delta Distance was added to the dialog box.
2022-01-26 08:48:42 -05:00
Roy-043
8c062b9f06 Update CommandExtensionPack.cpp
Modifications as suggested by Edi.
2022-01-26 08:48:42 -05:00
Roy
b974da4ea6 TechDraw: Ext. Tools: Improve menu texts and tooltips 2022-01-26 08:48:42 -05:00
edi271
6f1924f89a [TD] Variable line stretching distance 2022-01-21 11:22:40 -05:00
edi271
1a8e88eeec [TD] Move Circulation method to DrawUtil 2022-01-21 11:22:40 -05:00
Roy
04549a7b3d TechDraw: Rename TechDraw_ExtensionArc command to TechDraw_ExtensionDrawCosmArc 2022-01-10 11:22:18 -05: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
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
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
747884a5f8 Inserted undo/redo commands 2022-01-07 08:58:10 -05:00
edi271
d09d0b6036 Next31TechDrawTools 2022-01-07 08:58:10 -05:00
wmayer
efae4bdf32 TD: [skip ci] fix warning about trunction from double to float 2021-10-11 16:47:27 +02:00
Roy-043
be24cbbcc0 TechDraw: typo in menu extension pack
Typo: "center line(s)" should be "centerline(s)". Same as in the name of the submenu: "Extensions: centerlines and threading".
2021-09-27 14:25:24 +02:00
edi271
e660403b17 renamed to CommandExtensionPack 2021-09-06 18:32:45 +02:00