Commit Graph

1942 Commits

Author SHA1 Message Date
Chris Hennes
696196d8f0 Update translations 2024-06-03 11:04:42 -05:00
PaddleStroke
10531f998a TechDraw: Snapping: Fix bug where distanceX dimensions would wrongly compare to all dimensions. 2024-06-03 11:58:58 -04:00
PaddleStroke
6082ef521d TechDraw: Dimension Snapping : Enable different types of dimensions to snap together. 2024-06-03 11:58:58 -04:00
PaddleStroke
298deb7199 TechDraw: Dimension: fix centering snapping. 2024-06-03 11:58:58 -04:00
PaddleStroke
8acc6c534a TechDraw: Smart dimension, fix initial selection by disabling Auto::Transaction 2024-06-03 11:57:33 -04:00
PaddleStroke
25172e42d9 TechDraw: QGVPage: remove copy paste useless leftover. 2024-06-03 11:57:33 -04:00
PaddleStroke
65b6f349bb TechDraw: Smart dimension: fix D shortcut that was wrongly assigned to radius. 2024-06-03 11:57:33 -04:00
PaddleStroke
61712c8a6b TechDraw: Smart dimension : fix radius/diameter command names 2024-06-03 11:57:33 -04:00
PaddleStroke
ae3139e9f3 TechDraw: Smart Dimension: Fix cannot pan with middle mouse click. Fixes #14326 2024-06-03 11:54:37 -04:00
wandererfan
6f0f3d3186 [TD]use light-on-dark preference for dark themes 2024-06-03 09:03:33 -04:00
Syres916
f8cb31ba0e [TechDraw] Improve visibility of TD preference icons in combo boxes...
...when using dark style sheets.
2024-06-03 09:03:33 -04:00
wandererfan
06f79b5ebd [TD]restore stretch on pref page widgets 2024-06-03 09:03:33 -04:00
wmayer
ffad1e0c34 Mod: Fix several compiler warnings 2024-05-30 08:55:11 +02:00
wandererfan
7d6e9b19fb [TD]add style options for broken view 2024-05-29 14:12:13 -04:00
wmayer
4185605d5e clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors 2024-05-29 13:37:07 +02:00
PaddleStroke
48f43429bb TechDraw: Enable snapping section views to their base views. 2024-05-27 11:44:31 -04:00
PaddleStroke
babe4cc35f TechDraw: Remove TechDraw_ExtensionPosChainDimensionGroup and TechDraw_ExtensionCascadeDimensionGroup from toolbar since we can snap. 2024-05-27 11:44:31 -04:00
PaddleStroke
a9d690e26d TechDraw: Introduce dimension snapping 2024-05-27 11:44:31 -04:00
PaddleStroke
d201fb25db TechDraw: Dimension: Allow snapping label to its center position. 2024-05-27 11:44:31 -04:00
PaddleStroke
45332a275c TechDraw: Enable snapping views to align them with other views vertically and horizontally. 2024-05-27 11:44:31 -04:00
wandererfan
7f26c17a3b [TD]prevent recalculation of dimension type during repair 2024-05-26 15:30:24 -04:00
wandererfan
5b17a73d71 [TD]allow multiple primitives in complex selections 2024-05-26 15:30:24 -04:00
Chris Hennes
d4f780782d Update translations
Arch->BIM is a WIP
2024-05-25 19:11:51 -05:00
wandererfan
502207db31 [TD]Fix selection issue in DimensionRepair 2024-05-24 18:42:58 -04:00
WandererFan
b71c2a3278 [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
Michael K Johnson
42768a44a5 Fix typo in TechDraw tooltip 2024-05-20 11:57:40 -05:00
wandererfan
f937d4579a [TD]allow custom format for hidden lines 2024-05-20 12:25:20 -04:00
Max Wilfinger
3e3c9d36b1 make the smart dimension tool the default one 2024-05-20 11:18:59 -05:00
wandererfan
55968bbf6c [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
Reqrefusion
a17bf278c4 Boring changes made to better suit the guide and keyline 2024-05-18 09:23:57 -04:00
wandererfan
e484db2a03 [TD]revert to v0.21 hatch exporting 2024-05-17 18:06:47 -04:00
wmayer
c7532cf496 TD: Fix several compiler warnings 2024-05-14 10:55:41 +02:00
Johannes Wüller
0e24e121eb Fix backwards-compatible Qt6 warnings 2024-05-13 11:39:24 -05:00
WandererFan
c12e1f8bc2 Merge pull request #13525 from Ondsel-Development/td_dimension
TechDraw: Smart dimension tool
2024-05-13 12:31:32 -04:00
marcuspollio
fd01f325b3 Update Draft WB icons (#13585)
* Update Draft WB icons

* Also make all icons 64px based

* keep inner white outline and small tweaks

* Tweaks following review

* Further tweaks following feedback

* Tweak more icons for consistency with light/dark themes

* Update following PR 13865, save as Plain SVG and remove unused ressources

Update texts for visibility

Some more cleanup

Use consistent FreeSans font
2024-05-13 11:20:42 -05:00
PaddleStroke
3ed366b629 TechDraw: Smart Dimension tool : Integrate the 'chamfer' tool. 2024-05-13 15:03:43 +02:00
PaddleStroke
1aee2772f0 Techdraw: Smart Dimension: Fixes and simplifies code 2024-05-13 15:03:37 +02:00
Chris Hennes
e703615603 Update translations 2024-05-12 17:06:56 -05:00
PaddleStroke
e33c983614 TechDraw: Implement 'Area' dimension. 2024-05-06 18:42:28 +02:00
PaddleStroke
337cd39244 TechDraw: Improve Arc Length dimension tool so that it can do any edge length: arc of ellipse, bspline. 2024-05-06 18:40:46 +02:00
PaddleStroke
05b6e9e2ee TechDraw: Smart Dimension tool : Integrate chain and coord dimensions. 2024-05-06 18:40:46 +02:00
PaddleStroke
3bd3c953de TechDraw: Smart Dimension tool : Integrate extent dimensions. 2024-05-06 18:40:46 +02:00
PaddleStroke
7f67c4f30d TechDraw: Implement smart dimension tool. 2024-05-06 18:40:46 +02:00
Chris Hennes
a2b0941540 Update translations
Also removes Web from translation scripts.
2024-05-06 18:17:53 +02:00
WandererFan
89b9a324b2 Merge pull request #13703 from Reqrefusion/main
Gui:Making Technical Drawing icons compatible with Part Design and Assembly icon
2024-04-30 07:45:42 -04:00
PaddleStroke
14a12b916a TechDraw: remove 'Project Shape' from Techdraw toolbar 2024-04-29 18:08:50 +02:00
Reqrefusion
1e697c3369 Correction of some line colors 2024-04-29 15:44:39 +03:00
Reqrefusion
72be35c304 Making Technical Drawing icons more compatible with Part Design and Assembly icons Continue
Another overlooked logo was combined and hidden lines were made into dash lines
2024-04-29 15:18:37 +03:00
Reqrefusion
e0964efb77 Making Technical Drawing icons more compatible with Part Design and Assembly icons
It is aimed to provide integrity by including the shape used in other workbenches in technical drawing icons. For the hidden line, color variation was used instead of dashed. The reason for this is to comply with the art guide. I think the dashed line looks better.
2024-04-28 23:59:51 +03:00
wmayer
fada9ed82c TD: Fix compiler warning
Warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
2024-04-25 10:46:24 +02:00