Commit Graph

141 Commits

Author SHA1 Message Date
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
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
442eee4946 TechDraw: [skip ci] fix possible crash in QGIViewPart::drawFace 2020-10-15 09:40:39 +02:00
wmayer
a9202f931b Coverity: Unchecked dynamic_cast 2020-07-20 17:34:28 +02:00
wandererfan
0e9fd6c6b1 [TD]multiple faces in GeomHatch 2020-07-16 08:14:16 -04:00
wandererfan
e0c80824de [TD]DPG spacing for oblique views 2020-07-07 15:26:20 -04:00
wmayer
611fd4088a fixes #0004318: Compilation fails with Qt 5.15 beta with QPainterPath errors [skip ci] 2020-07-02 13:19:43 +02:00
wandererfan
6b47318065 [TD]fix 4335 section line pos on rotated base 2020-06-15 13:57:55 -04:00
wandererfan
476b19590b [TD]Fix CosmeticVertex size 2020-06-09 16:12:14 -04:00
WandererFan
2db99798f6 [TD]Improve section face display 2020-06-04 09:00:22 -04:00
wandererfan
8944a9cfbe [TD]Export Svg hatch as bitmap 2020-05-29 20:53:24 -04:00
wandererfan
9cf2e42404 [TD]oblique section lines 2020-05-10 11:03:15 -04:00
WandererFan
243ce53797 [TD]prevent extra recompute on X,Y change 2020-05-10 11:03:15 -04:00
wandererfan
a3029fec74 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
wandererfan
7d7c22cb6e [TD]detail highlight color/style 2020-03-26 12:36:33 -04:00
wandererfan
14e6b19e75 [TD]SectionLine colour property 2020-03-26 12:36:33 -04:00
donovaly
9860c741c8 fix typos 2020-03-21 09:46:04 -04:00
donovaly
69125f7ef7 [TD] add property for section line style
see https://forum.freecadweb.org/viewtopic.php?f=35&t=44320
2020-03-21 09:46:04 -04:00
wandererfan
54cd3b8130 [TD]Hatch - handle empty parameter - use default 2020-03-20 18:42:48 -04:00
wandererfan
cddb3fda75 [TD]make geom hatch lines on property change 2020-03-20 07:28:33 -04:00
wandererfan
7100eb4ba3 [TD]synchronize defaults in code and prefs 2020-03-16 08:57:08 -04:00
wandererfan
6886621008 [TD]fix potential nullptr while restoring 2019-12-30 18:20:48 -05:00
wandererfan
b09233314b [TD]fix Svg hatch on export 2019-12-17 08:29:49 -05:00
wandererfan
8cbcd243e6 [TD]Py routines for CenterLines 2019-12-16 20:36:10 -05:00
wandererfan
b54212f82c [TD]Python routines and extension for line formating 2019-12-16 20:36:10 -05:00
wandererfan
a71bc8f734 [TD]Python routines and extension for Cosmetic Edges 2019-12-16 20:36:10 -05:00
wandererfan
f63cd9255a [TD]Python routines & extension for CosmeticVertex 2019-12-16 20:36:10 -05:00
wandererfan
15f180038f [TD]add ability to filter obvious geometry errors
- also add checks for geometry errors
2019-12-10 06:51:09 -05:00
wandererfan
a78e4229da [TD]correct face detection to avoid ghost faces 2019-11-27 07:31:45 -05:00
wandererfan
13ed0a1be9 [TD]Section Line position 2019-11-27 07:31:45 -05:00
wandererfan
9d9d41bcd0 [TD]correct alignment of Section & Detail with Base 2019-11-27 07:31:45 -05:00
wandererfan
f539a0ea8c [TD]use UUID for CosmeticEdges instead of indices 2019-11-06 20:31:02 -05:00
wandererfan
251e16b6f1 [TD]Transition to on demand page updates ph1 2019-10-23 14:19:52 -04:00
wandererfan
9144e8b938 [TD]Fix slow GC of QGIPrimPath 2019-10-15 06:29:37 -04:00
wandererfan
eac25bff43 [TD]Allow transparent Faces as default 2019-09-08 07:13:23 -04:00
wandererfan
5f4e9906a7 [TD]Remove old hatch on add new hatch 2019-09-07 07:32:24 -04:00
wandererfan
70a64afa53 [TD]Clean up Welding Symbol creation 2019-08-22 17:11:55 -04:00
wandererfan
7f8170f953 [TD]Fix #4017 Crash on bad hatch scale 2019-07-19 11:01:20 -04:00
wandererfan
d745257cc3 [TD]Add Show/Hide invisible lines tool 2019-07-18 08:53:38 -04:00
wandererfan
f2fdc0fde7 [TD]fix master merge conflict 2019-07-15 12:36:48 -04:00
wandererfan
b4edc9e227 [TD]Add line appearance editor 2019-07-15 12:36:48 -04:00
wandererfan
5d601c1cdd [TD]Add CenterLine edit function 2019-07-15 12:36:48 -04:00
wandererfan
fbfdb69c20 [TD]Py Cosmetic Vertex, Line, Circle Arc 2019-07-15 12:36:48 -04:00
wandererfan
20f352ac65 [TD] Improve CenterMark handling on print 2019-07-12 06:45:34 -04:00
wandererfan
5eb7145d97 Cosmetic CL for Section and Detail 2019-06-06 19:58:15 -04:00
wandererfan
07e26d3624 Initial working version Face Centerline 2019-06-06 19:58:15 -04:00
wandererfan
4e2dc942c0 Fix "trails" on dim lines when zoomed in 2019-06-04 15:41:41 -04:00
wandererfan
6fb21ee8bc Fix overlap of line ends and arrowheads 2019-06-04 06:59:17 -04:00
wandererfan
108038df91 Add Midpoint and Quadrant Cosmetic Vertex 2019-05-24 19:38:02 -04:00