Commit Graph

157 Commits

Author SHA1 Message Date
Wanderer Fan
e0a73327c2 [TD]fix bad edge in face finder 2022-07-07 10:22:50 -04:00
wmayer
a99be14233 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Wanderer Fan
7c6a7aa25b [TD]fix detail highlight on DrawViewDetail 2022-03-14 20:03:08 -04:00
Wanderer Fan
913fb21502 [TD]fix misplaced section line
- BRepBndLib::Add results in wrong bbox center.
- replaced with BRepBndLib::AddOptimal
2022-03-03 09:31:29 -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
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
Tomas Pavlicek
4edf18a630 TechDraw - Undo for Cosmetics Vertices and Lines 2021-08-11 10:07:02 +02:00
Aapo
7900a069c2 [TD] DrawViewPart.cpp: Fix a crash when user sets the PropertyVector Direction to zero. 2021-02-25 12:40:59 +01:00
wmayer
17a848dfe1 TD: [skip ci] explicitly nullify geometryObject in DrawViewPart::partExec to avoid to leave it a dangling pointer in case makeGeometryForShape raises an exception 2021-02-25 11:34:29 +01:00
vosk
542bf23cb0 [TD] - Fix geometry object leaking on every exec 2021-02-19 16:50:56 +01:00
wmayer
e5a3ba0ce8 TechDraw: [skip ci] Coverity: Uninitialized scalar variable/Uninitialized scalar field 2020-09-14 13:54:55 +02:00
wandererfan
1cad17c5f5 [TD]draw line through 2 points 2020-08-19 09:02:25 -04:00
wandererfan
abd18ff88f [TD]fix showSectionEdge preference 2020-08-10 10:19:09 -04:00
wmayer
16f953ad65 PVS: V1004 A pointer was used unsafely after it was verified against nullptr 2020-07-18 10:59:27 +02:00
wandererfan
b7e8ad9a4e [TD]DPG spacing for oblique views 2020-07-07 15:26:20 -04:00
donovaly
ddf0cf3136 [TD] code optimization for DrawViewPart
Use same code for GeomHatch and Hatch in DrawViewPart as discussed here: https://forum.freecadweb.org/viewtopic.php?f=35&t=47536&start=10
2020-06-16 10:02:21 -04:00
wandererfan
8a9ea0caeb [TD]clear svg hatch on delete 2020-06-15 13:57:55 -04:00
wandererfan
a9b718d1e0 [TD]Export Svg hatch as bitmap 2020-05-29 20:53:24 -04:00
wandererfan
a5ab09aa09 [TD]minor code clean ups 2020-05-16 07:42:45 -04:00
wandererfan
1533ea01ba [TD]Simplify Cosmetic List & PyObject handling 2020-05-16 07:42:45 -04:00
WandererFan
92dfdf605b [TD]prevent extra recompute on X,Y change 2020-05-10 11:03:15 -04:00
wandererfan
e80c576241 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
wandererfan
4104a0e263 [TD]Use PropertyXLinkList for external Sources 2020-04-14 10:24:29 -04:00
wandererfan
ebc6536ce8 [TD]remove highlight on deletion of detail 2020-03-26 12:36:33 -04:00
wandererfan
ee626abef4 [TD]synchronize defaults in code and prefs 2020-03-16 08:57:08 -04:00
wandererfan
37b578bf49 [TD]support App::Link in View Source 2020-03-13 09:00:14 -04:00
wandererfan
0ab6ba7a5c [TD]remove Hatches from Display when deleted 2020-03-11 18:17:46 -04:00
wandererfan
8533527af9 [TD] Landmark Dim minor clean ups
- clean up reference vertices on delete

- protect fail on close empty Page

- hide unimplemented functions
2020-02-27 15:46:31 -05:00
wandererfan
0825e5ece4 [TD]Support Landmark Dim in Section and Detail 2020-02-25 17:21:00 -05:00
wandererfan
96e8f752be [TD]Landmark Dims initial impl 2020-02-25 17:21:00 -05:00
wandererfan
48fc14efcb [TD]2 pass autoscale for DVD, DVS 2020-02-14 07:44:56 -05:00
wandererfan
3a42205cb4 [TD]fix autoscale for DPG 2020-02-14 07:44:56 -05:00
wandererfan
0e015dad54 [TD]delete extraneous definition 2020-01-27 08:02:29 -05:00
wandererfan
c282924064 [TD]Preferences: reorganize and add missing 2020-01-27 08:02:29 -05:00
luz.paz
cbdba0b5bb TD: fix header uniformity
This PR fixes header uniformity across all TechDraw WB.
2019-12-21 09:57:45 -05:00
wandererfan
a04d0f2574 [TD]Py routines for CenterLines 2019-12-16 20:36:10 -05:00
wandererfan
1ad2d35bce [TD]Python routines and extension for line formating 2019-12-16 20:36:10 -05:00
wandererfan
08f23b84f7 [TD]Python routines and extension for Cosmetic Edges 2019-12-16 20:36:10 -05:00
wandererfan
d9e0c2e452 [TD]Python routines & extension for CosmeticVertex 2019-12-16 20:36:10 -05:00
wandererfan
ba28f959af [TD]fix assembly CS has wrong XDir 2019-11-27 07:31:45 -05:00
wandererfan
fff0029de5 [TD]correct face detection to avoid ghost faces 2019-11-27 07:31:45 -05:00
wandererfan
acc7686b83 [TD]Section Line position 2019-11-27 07:31:45 -05:00
wandererfan
9381d4cb9f [TD]Handle missing XDirection on old files 2019-11-27 07:31:45 -05:00
wandererfan
92dfecea75 [TD]correct alignment of Section & Detail with Base 2019-11-27 07:31:45 -05:00
wandererfan
5b63ac5a7d [TD]CL removal 2019-11-06 20:31:02 -05:00
wandererfan
4027c780a3 [TD]Avoid double delete on cosmetic items 2019-11-06 20:31:02 -05:00
wandererfan
900a7c6bdd [TD]use UUID for CosmeticEdges instead of indices 2019-11-06 20:31:02 -05:00
wandererfan
5cab111a65 [TD]Implement unique tags for Cosmetic Vertex 2019-11-02 14:59:32 -04:00
wandererfan
a7d9661b1d [TD]Extent Dimensions 2019-11-02 14:59:32 -04:00
wandererfan
3124323b28 [TD]improve handling of Assembly4 Models 2019-10-28 08:39:06 -04:00