Commit Graph

61 Commits

Author SHA1 Message Date
Uwe
c9b709d814 [TD] remove unnecessary nullptr checks 2022-07-26 00:28:57 +02:00
Benjamin Bræstrup Sayoc
6ed38eeb99 [TechDraw] Improve readability of DrawViewDetail.cpp
[TechDraw] Improve readability of DrawViewDimension.cpp

[TechDraw] Improve readability of DrawViewDimExtent.cpp

[TechDraw] Improve readability of DrawViewDraft.cpp

[TechDraw] Improve readability of DrawViewImage.cpp

[TechDraw] Improve readability of DrawViewMulti.cpp
2022-07-20 16:44:26 -04:00
Uwe
93796e2d92 [TD] App: remove some superfluous nullptr checks 2022-07-19 02:03:50 +02:00
wmayer
23eb600774 TD: fixes warning: local variable will be copied despite being returned by name [-Wreturn-std-move] 2022-04-17 17:21:37 +02:00
wmayer
a99be14233 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Wanderer Fan
02155296ce [TD]fix spelling mistake in comment for CI 2022-03-14 20:03:08 -04:00
Wanderer Fan
8f1bd5340b [TD]fix DetailView alignment 2022-03-14 20:03:08 -04: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
309a1455cb [TD]Fix 4486 allow detail view of Base with no solids 2022-02-01 09:15:00 -05:00
wandererfan
ff66708c35 [TD]Detail default scale 2020-06-20 12:36:54 -04:00
donovaly
74b2321cbf Merge branch 'master' of github.com:FreeCAD/FreeCAD into TD-DetailWork 2020-05-09 01:36:49 +02:00
wandererfan
e80c576241 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
donovaly
19e171c5d7 Merge branch 'master' of github.com:FreeCAD/FreeCAD into TD-DetailWork 2020-04-20 01:07:35 +02:00
WandererFan
8a7ebe6fad [TD]Piecewise Detail Algo 2020-04-19 09:17:28 -04:00
donovaly
e0793779a8 DrawViewDetail: remove unwanted commit 2020-04-18 14:59:28 +02:00
donovaly
6d06bdffb5 [TD] some Detail View fixes
see https://forum.freecadweb.org/viewtopic.php?f=35&t=45236&p=388925#p388925 for a description of the changes
2020-04-18 14:56:01 +02:00
wandererfan
b44044f95b [TD]dialog for Detail #4221 2020-04-08 13:23:28 -04:00
wandererfan
ebc6536ce8 [TD]remove highlight on deletion of detail 2020-03-26 12:36:33 -04:00
donovaly
be694170a5 [TD] Detail view - add missing update
- now changes of the BaseView and to the anchor coordinates are directly shown
2020-03-26 08:08:06 -04:00
wandererfan
0825e5ece4 [TD]Support Landmark Dim in Section and Detail 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
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
9381d4cb9f [TD]Handle missing XDirection on old files 2019-11-27 07:31:45 -05:00
wandererfan
cd2764fcb9 [TD]let DVD fail gracefully 2019-11-27 07:31:45 -05:00
wandererfan
4323ca24e7 [TD]Fix detail position 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
6e6fdb88fe [TD]fix Orientation of Detail of Section of DPG 2019-10-27 07:23:18 -04:00
wandererfan
f3ae1aaf49 [TD]prevent bleed through on angled details 2019-10-23 14:19:52 -04:00
wandererfan
789733d691 [TD]fix Detail orientation from DPG source 2019-10-23 14:19:52 -04:00
wandererfan
5bb659e7e2 [TD]Transition to on demand page updates ph1 2019-10-23 14:19:52 -04:00
wandererfan
621b66be17 [TD]Add Properties for Cosmetic persistence 2019-07-15 12:36:48 -04:00
wandererfan
11d8aaed61 [TD]Add CenterLine edit function 2019-07-15 12:36:48 -04:00
wandererfan
5970e91ef2 [TD]Py Cosmetic Vertex, Line, Circle Arc 2019-07-15 12:36:48 -04:00
wandererfan
3e0452417b Cosmetic CL for Section and Detail 2019-06-06 19:58:15 -04:00
wandererfan
9d296194e8 Fix Detail Highlight when Detail has no Geometry
- Detail circles were no drawn if detail area did not
  produce any geometry (detail anchor point + radius not
  over original part.
2019-04-18 18:47:03 -04:00
wandererfan
175966a6f7 Improve error messages for invalid shapes 2019-04-05 19:35:26 -04:00
wandererfan
77b22f4f30 Fix bad highlight position in Detail from ProjGroup 2019-02-22 11:55:21 +01:00
wandererfan
5a26558a9d Fix out of scope warnings
- Links within TD were not set to Global scope. This caused
  problems when a Page was in a container, but Views were not
  in the container.
2019-01-22 10:15:04 -02:00
wandererfan
cd1959a094 Fix Detail highlight position for rotated DPGI
- highlight position calculation was not taking into account
  rotation of DPGI due to RotationVector property.
2018-12-19 10:30:30 -02:00
wandererfan
e67b84c5ec Fix #3698 Detail of Section View 2018-11-19 10:12:08 +01:00
wandererfan
9d384bd74e Fix #3674 inverted Detail from DPG
- Base views from ProjectionGroups can
  have inverted projection direction or
  rotation vector vs regular views. This
  causes Detail views to be inverted.
2018-11-10 17:04:58 +01:00
wandererfan
a281832627 Change tool from cylinder to prism
- cutting with cylinder produced too many
  short bsplines from HLR.  Straight cut
  from prism reduces these and speeds up
  HLR significantly.
2018-10-17 11:25:49 +02:00
wandererfan
d48d014eb9 Fix Detail view orientation 2018-07-23 12:45:32 -03:00
wandererfan
2a0c65137f Fix message for empty detail area 2018-05-15 21:50:48 +02:00
wandererfan
449dbe13eb Fix painting of detail highlight
- painting of the detail highlight in the base
  view was being delayed until the base view
  was updated. It is now drawn when detail
  changes.
2018-03-03 11:22:15 -03:00
WandererFan
e163ae1746 Allow multiple sources for all View types 2017-12-31 14:54:05 +01:00
WandererFan
44fd200166 Rotate DrawViewPart around part centroid 2017-11-12 19:08:32 -05:00
WandererFan
485321f8ea Add requestPaint formerly in DrawView::execute 2017-09-10 15:24:50 +02:00
WandererFan
d27b8387e8 Eliminate superfluous DPG executes 2017-09-10 15:22:49 +02:00