Commit Graph

2797 Commits

Author SHA1 Message Date
wandererfan
55515b1e7f [TD]allow template fields to re-apply autofill 2024-06-23 09:48:25 -04:00
wandererfan
cb2573844f [TD]allow manual update of autofill fields 2024-06-23 09:48:25 -04:00
wandererfan
668a6ea010 [TD]correct source of autofill fields 2024-06-23 09:48:25 -04:00
wandererfan
1bc72ce3bb [TD]clean up editable field length and click area 2024-06-23 09:48:25 -04:00
wandererfan
1b669ee7b5 [TD]fix wrong xml namespace in some templates 2024-06-23 09:48:25 -04:00
wmayer
1a84404515 MSVC: Fix compiler warnings
* avoid redefines in Assembly
* explicit cast from size_t to int
* remove unused variables
* avoid implicit cast from double to float
* in test cases replace EXPECT_FLOAT_EQ with EXPECT_DOUBLE_EQ or EXPECT_NEAR when doubles are used
2024-06-20 15:42:16 -05:00
wandererfan
24c1aaf148 [TD]fix weld symbol position 2024-06-20 09:08:32 -04:00
wmayer
127f935711 Fix several compiler warnings
* -Wmaybe-uninitialized
* -Wunused-parameter
* -Wunused-variable
* -Wnonnull
* -Wstringop-truncation
* -Wstringop-overflow
2024-06-19 21:14:23 -05:00
wandererfan
9334092c9f [TD]fix scene and tree selection sync 2024-06-17 19:31:56 -04:00
Chris Hennes
85baef1ad5 TD: Use new Qt6.5 interface for setContent (#14543) 2024-06-17 11:33:15 -05:00
wandererfan
e31f338a94 [TD]fix segfault on confused selection
- failure in DrawDimHelper when both 2d & 3d geom selected
2024-06-16 13:15:19 -04:00
wandererfan
5594d23b5a [TD]fix ActiveView image size 2024-06-13 19:25:29 -04:00
wandererfan
9aeeeb61fd [TD]disable crop fields if crop not checked 2024-06-13 19:25:29 -04:00
wandererfan
526e6c5a62 [TD]remove spurious error messages 2024-06-13 19:25:29 -04:00
bgbsww
42eb4fdda6 Guard all uses of basic_random_generator for thread safety 2024-06-10 11:10:57 -05:00
PaddleStroke
d09fb588f4 Techdraw: area dimension: fix scale issue. 2024-06-10 08:28:36 -04:00
wandererfan
75b655fea0 [TD]fix incorrect section lines with expression link 2024-06-07 10:19:13 -04:00
wandererfan
26f5760aa5 [TD]Change template svg_namespace to www.freecad.org
- was www.freecadweb.org
2024-06-07 10:18:42 -04:00
Chris Hennes
6404de9c21 Update translations 2024-06-03 11:04:42 -05:00
PaddleStroke
c335ecb5ae TechDraw: Snapping: Fix bug where distanceX dimensions would wrongly compare to all dimensions. 2024-06-03 11:58:58 -04:00
PaddleStroke
cc4dd7ca64 TechDraw: Dimension Snapping : Enable different types of dimensions to snap together. 2024-06-03 11:58:58 -04:00
PaddleStroke
fcf973170b TechDraw: Dimension: fix centering snapping. 2024-06-03 11:58:58 -04:00
PaddleStroke
a4be7a9772 TechDraw: Smart dimension, fix initial selection by disabling Auto::Transaction 2024-06-03 11:57:33 -04:00
PaddleStroke
ca6a44be85 TechDraw: QGVPage: remove copy paste useless leftover. 2024-06-03 11:57:33 -04:00
PaddleStroke
fc105ea34d TechDraw: Smart dimension: fix D shortcut that was wrongly assigned to radius. 2024-06-03 11:57:33 -04:00
PaddleStroke
dd8fa20baf TechDraw: Smart dimension : fix radius/diameter command names 2024-06-03 11:57:33 -04:00
PaddleStroke
9a94c5c1a3 TechDraw: Smart Dimension: Fix cannot pan with middle mouse click. Fixes #14326 2024-06-03 11:54:37 -04:00
wandererfan
f0f34b12b3 [TD]use light-on-dark preference for dark themes 2024-06-03 09:03:33 -04:00
Syres916
a56909f57b [TechDraw] Improve visibility of TD preference icons in combo boxes...
...when using dark style sheets.
2024-06-03 09:03:33 -04:00
wandererfan
e5df9a9df7 [TD]restore stretch on pref page widgets 2024-06-03 09:03:33 -04:00
wmayer
3e23bd759b Mod: Fix several compiler warnings 2024-05-30 08:55:11 +02:00
wandererfan
e2441c7079 [TD]add style options for broken view 2024-05-29 14:12:13 -04:00
Max Wilfinger
b44d4e420a Update templates to new FreeCAD icon. 2024-05-29 08:44:54 -04:00
wmayer
560cab6f31 clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors 2024-05-29 13:37:07 +02:00
obelisk79
178bac70b7 [UI] Logo Update (#14284)
* Updating instances of FreeCAD's old logo to reflect the new Logo

* updating additional instances of the Logo

* updating additional instances of the Logo

* Update logo for windows installer

* Update logo reference to /src/Gui/Icons/freecad.svg
2024-05-27 15:33:55 -04:00
PaddleStroke
127ee90cec TechDraw: Enable snapping section views to their base views. 2024-05-27 11:44:31 -04:00
PaddleStroke
f0ebd62637 TechDraw: Remove TechDraw_ExtensionPosChainDimensionGroup and TechDraw_ExtensionCascadeDimensionGroup from toolbar since we can snap. 2024-05-27 11:44:31 -04:00
PaddleStroke
f523f6c3ad TechDraw: Introduce dimension snapping 2024-05-27 11:44:31 -04:00
PaddleStroke
80fb3a492c TechDraw: Dimension: Allow snapping label to its center position. 2024-05-27 11:44:31 -04:00
PaddleStroke
94d3fa45db TechDraw: Enable snapping views to align them with other views vertically and horizontally. 2024-05-27 11:44:31 -04:00
wandererfan
f96ab9af05 [TD]prevent recalculation of dimension type during repair 2024-05-26 15:30:24 -04:00
wandererfan
ac436f454b [TD]allow multiple primitives in complex selections 2024-05-26 15:30:24 -04:00
obelisk79
21e6911a81 Resolves missing include for GCC14 compilers 2024-05-26 10:11:50 -04:00
Chris Hennes
73ae4102e6 Update translations
Arch->BIM is a WIP
2024-05-25 19:11:51 -05:00
wandererfan
8543bd6595 [TD]Fix selection issue in DimensionRepair 2024-05-24 18:42:58 -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
85be479fd6 [TD]fix Win CI fail a/c OCC Handle style 2024-05-21 14:14:16 -04:00
wandererfan
5f820b8b85 [TD]fix conversion of BSpline to Circle/Arc 2024-05-21 14:14:16 -04:00
wandererfan
e72c63e98a [TD]fix autocorrect handling of older documents 2024-05-21 14:14:16 -04:00
Michael K Johnson
7d2a5fe35e Fix typo in TechDraw tooltip 2024-05-20 11:57:40 -05:00