Commit Graph

77 Commits

Author SHA1 Message Date
wandererfan
e2441c7079 [TD]add style options for broken view 2024-05-29 14:12:13 -04:00
WandererFan
50f970efd7 [TD]Cosmetic function overhaul (#14216)
* [TD]Cosmetic geometry and tools update

- all cosmetics to store geometry in same form
- all cosmetics to survive scaling and rotation
- extension functions to survive scaling and rotation

* [TD]overhaul leader point storage and editing

- add py routine makeLeader(points)

* [TD]add leader conversion utility

* [TD]Set Leader RotateWithView default to true

* [TD]fix intersection vertex position

* [TD]add CosmeticEdge::makeLineFromCanonicalPoints

* [TD]fix 2 Extension tools

- positioning in DrawCosmeticCircle
- mishandling of points in execLineParallelPerpendicular

* [TD]Remove duplicate constexpr

* [TD]fix 2x Cosmetic arc tools

* [TD]refactor LineFormat out of Cosmetic

* [TD]move cosmetic appearance settings to LineFormat

* [TD]remove 2 unused methods

* [TD]apply format to blue line & circle tools

* [TD]fix ballon arrowhead does not rotate with view

* [TD]fix CosmeticCircle3Points

* [TD]allow multiple cosmetic object deletions

* [TD]fix extend/shorten centerline
2024-05-23 09:41:42 -04:00
wandererfan
ff17df2ff5 [TD]assorted Preference updates
- section line convention label
- remove superfluous save/restore on changeEvent
- change default scrub count
- add preference for default symbol dir
- add preference for display of section cut line
2024-05-19 09:42:47 -04:00
PaddleStroke
246496eed1 TechDraw: Add taskbox to Part View. Removes Projection Group from toolbar. 2024-04-22 15:53:14 +02:00
wmayer
d57640005e TD: fixes #12984: Doing Ctrl-Z in TechDraw reliably causes a segfault 2024-03-16 09:43:40 +01:00
pavltom
ed3a1a6184 [TechDraw] Reimplement Rich Annotation parent linking 2024-02-26 16:22:30 -05:00
mos
037fbbc5c5 removed deprecaded functions
.

.
2024-02-26 17:38:01 +01:00
wandererfan
fc4cd682bb [TD]ANSI/ASME section line conformance 2024-02-21 11:46:18 -05:00
pavltom
ff14c58ccc [TechDraw] Add Owner property to Symbols 2024-02-11 16:03:44 -05:00
wandererfan
d4e1731716 [TD]Standard Line Styles - Gui components 2023-12-01 11:27:29 -05:00
pavltom
9de796d4e6 [TechDraw] Issue #6527 - Implement face transparency 2023-11-10 10:48:06 -05:00
Florian Foinant-Willig
1d8a51b47b TechDraw: modernize type checking 2023-10-23 18:08:59 +02:00
wandererfan
68f79e06ae [TD]allow centerline deletion with Del 2023-09-27 12:24:21 -04:00
wandererfan
82db4a3e47 [TD]allow cosmetic deletion via DEL 2023-09-15 11:46:37 -04:00
wandererfan
72be73fc4e [TD]allow delete of dependents on delete of parent
- deleting a dvp will now delete any hatches, dimensions or
  balloons belonging to it.
- deleting a dvp that is the base view for a section or detail
  is still blocked.
2023-07-10 17:05:57 -04:00
wandererfan
cb25671863 [TD]fix lost parent on undo 2023-06-24 19:21:25 -04:00
Benjamin Bræstrup Sayoc
5d05acc87e [TechDraw] Simplify retrievement of user preferences
for all TechDraw files
2023-04-10 23:34:05 -04:00
wmayer
da956906e3 TD: [skip ci] fix possible crash in ViewProviderViewPart::onChanged 2022-12-28 21:17:23 +01:00
wandererfan
1f3bfe0dd4 [TD]make detail highlight interactive
- drag detail highlight to change detail anchor point
- change detail reference position using HighlightAdjust property
2022-12-28 09:41:44 -05:00
wandererfan
02008c8877 [TD]fix fail on missing base view (#7856) 2022-11-22 20:38:46 -05:00
wandererfan
0ff473a9b6 [TD]Complex Section - initial implementation 2022-10-28 08:47:45 -04:00
wandererfan
d683ba12d2 [TD]CI clang warnings 2022-09-05 19:52:34 -04:00
wandererfan
aa2b1b8392 [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Benjamin Bræstrup Sayoc
17bcd06464 [TechDraw] Use inherited unsetEdit
Remove uneeded redefinitions of inherited functions
2022-08-04 10:02:47 -04:00
Benjamin Bræstrup Sayoc
aed0346cdb [TechDraw] Remove uneeded redefinitions of inherited functions 2022-08-04 10:02:47 -04:00
Benjamin Bræstrup Sayoc
f30c30b06f [TechDraw] Simplify code getting default line weights 2022-08-02 16:13:01 -04:00
Uwe
b514f47c21 [TD] Gui: remove some superfluous nullptr checks 2022-07-19 02:49:46 +02:00
Benjamin Bræstrup Sayoc
3b809fe77b [TechDraw] Improve readability of ViewProviderViewPart.cpp 2022-07-15 11:31:11 -04:00
wmayer
e8f9c8a1d3 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
8f786ea6ef Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
Uwe
7c11debe1a [TD] ViewProviders: remove more unused includes
- also sort the includes
2022-02-18 05:11:52 +01:00
wmayer
fa86b0216e Mod: make sure to call the base class' handleChangedPropertyType 2021-09-15 14:07:32 +02:00
bitacovir
b26069a508 [TD] Name uniformity for Tree Icons 2021-05-07 12:07:35 -04:00
luz paz
d13e450343 [TD] Renamed SpreadsheetView, RichTextAnnotation, SectionView...
`Quadrants`, `DetailView`, `ShowAll`
2021-04-17 11:38:10 +02:00
donovaly
4bae944950 [TD] make LineGroup selectable
At the moment one has to specify the LineGroup as string. But one doesn't know what groups exist. So one has to check the Wiki, learn there where the groups are defined and then open the definition file with a text editor.

This PR simplifies this by reading the existing groups out of the definition file and fill the combobox accordingly.
It also give the user info what the selected LineGroup defines via the tooltip.

A nice side effect is that no typos can occur since you don't have to enter the LineGroup name as text.
2020-12-03 17:24:49 +01:00
donovaly
97e1274b00 Merge branch 'master' of github.com:FreeCAD/FreeCAD into TD-DetailWork 2020-05-09 01:36:49 +02:00
wandererfan
a3029fec74 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
donovaly
ec58acb7df [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
2cfb124ac6 [TD]dialog for Detail #4221 2020-04-08 13:23:28 -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
7100eb4ba3 [TD]synchronize defaults in code and prefs 2020-03-16 08:57:08 -04:00
donovaly
823f955032 handle Leaders, Welds, Tiles and RichAnnos 2020-03-05 11:34:35 -05:00
donovaly
b9db61533a handle now also section view, detail view and view 2020-03-04 08:24:17 -05:00
wandererfan
61cbdd0297 [TD]fix missing parm save/restore 2020-01-29 15:26:06 -05:00
donovaly
bb2db008ad TD: add units for line widths
- this also prevents negative values
- also fix an issue in DrawViewBalloon introduced by me recently
2019-12-07 08:37:56 -05:00
wandererfan
7cb2713e8c [TD]Welding Symbol creation 2019-08-22 17:11:55 -04:00