Kacper Donat
bcb4ee21cc
Gui: Update sketcher colors after file load
...
This commit introduces AutoColor property for sketches that when
enabled ensures that sketches are updated with the color of user
preference. It ensures that sketches from different users will be
still visible on different themes.
To ensure backward compatiblity migration strategy is to compute default
value for this property based on the color. If it is non-white (the
default value in FreeCAD) we assume that the change was inentional and
that it should be kept as-is turning automatic coloring off. In other
cases it is enabled by default.
Fixes: FreeCAD#13980
2024-06-03 11:15:36 -05:00
Chris Hennes
6404de9c21
Update translations
2024-06-03 11:04:42 -05:00
Chris Hennes
6759c72eb6
Merge pull request #14337 from wwmayer/refactor_sketch_analysis
...
Sketch: Refactor SketchAnalysis
2024-06-03 10:49:30 -05:00
howie-j
d22326cf52
Fixes #12384
2024-06-03 10:43:18 -05: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
wmayer
2b108b1bb3
Sketch: Refactor SketchAnalysis
...
Refactor detectMissingPointOnPointConstraints()
2024-05-28 15:28:53 +02:00
wmayer
60574c6507
Sketch: Refactor SketchAnalysis
...
Refactor detectMissingEqualityConstraints()
2024-05-28 15:10:51 +02:00
wmayer
4b8ef4721a
Sketch: Refactor SketchAnalysis
...
Fix linter warnings
2024-05-28 14:43:46 +02:00
wmayer
645c7acf65
Sketch: Refactor SketchAnalysis
...
Refactor autoconstraint()
2024-05-28 14:28:07 +02:00
wmayer
ad56548739
Sketch: Refactor SketchAnalysis
...
Refactor makeMissingEquality()
2024-05-28 14:19:58 +02:00
wmayer
b052470b93
Sketch: Refactor SketchAnalysis
...
Refactor makeMissingVerticalHorizontal
2024-05-28 14:08:44 +02:00
wmayer
7f00aad6aa
Sketch: Refactor SketchAnalysis
...
Refactor makeMissingPointOnPoint
2024-05-28 13:40:38 +02:00
wmayer
8abbed295e
Sketch: Refactor SketchAnalysis
...
Refactor detectMissingPointOnPointConstraints
2024-05-28 13:24:05 +02:00
wmayer
7a2fa1dce8
Sketch: Refactor SketchAnalysis
...
Move helper classes to anonymous namespace
2024-05-28 12:26:23 +02:00
wmayer
72fb5782ed
Sketch: Add test case for validating constraints
2024-05-27 19:15:18 +02:00
wmayer
43949be50d
Sketch: Add test case for deleting constraints with external geometry
2024-05-27 19:15:18 +02:00
wmayer
1e81b7f393
Sketch: Add test case for degenerated geometry
2024-05-27 19:15:18 +02:00
wmayer
b579567465
Sketch: Fix TestSketchValidateCoincidents
2024-05-27 19:15:18 +02:00
Syres916
ed26ade04a
[Sketcher] Add new Fix Missing Coincident test
2024-05-27 19:15:18 +02:00
Max Wilfinger
03cab3d1fc
Revert UI command change in Sketcher and PartDesign
2024-05-27 11:51:02 -05:00
PaddleStroke
a7c2b9cc6f
Sketcher: Fix copy of geo constrained to axis. Fixes #14233
2024-05-27 11:37:33 -05:00
Syres916
6baf2f3715
[Sketcher] Change HeadlightIntensity entering and exiting Edit Mode ( #14013 )
...
* [Sketcher] Change HeadlightIntensity entering and exiting Edit Mode
* [Gui] Fix Lint Warning
* [Sketcher] Fix Lint Warning
* [Sketcher] Remove duplicate parameter check
* [Gui] Add const
2024-05-27 11:27:11 -05:00
Chris Hennes
764dc4cc31
Merge pull request #13968 from marcuspollio/UI-TaskPanels-cleanup-1
...
UI : Task panels cleanup - Sketcher and Part Design headers
2024-05-27 10:56:07 -05:00
0penBrain
4857ef19f2
Gui: offer possibility to editing view provider to handle "Select All" command
2024-05-27 10:52:00 -05:00
Chris Hennes
a8073a2f56
Merge pull request #13869 from Ondsel-Development/sk_redpoints_perp
...
Sketcher: Fixes red points issue #13849
2024-05-27 10:36:27 -05:00
wmayer
0a5a049c87
Sketcher: Fixes #14240
2024-05-27 12:09:35 +02:00
Chris Hennes
73ae4102e6
Update translations
...
Arch->BIM is a WIP
2024-05-25 19:11:51 -05:00
wmayer
f89a0cec28
Sketcher: Fix accessibility of some group commands
...
The affected commands are:
* Sketcher_CompLine
* Sketcher_CompCreateArc
* Sketcher_CompCreateConic
* Sketcher_CompCreateFillets
* Sketcher_CompCurveEdition
* Sketcher_CompSlot
* Sketcher_CompHorVer
* Sketcher_CompToggleConstraints
2024-05-23 10:14:46 +02:00
marcuspollio
ed88002018
Merge remote-tracking branch 'upstream/main' into UI-TaskPanels-cleanup-1
2024-05-21 10:36:10 +12:00
wmayer
9f44b3f9a8
Sketch: Refactor Sketch::updateGeometry()
2024-05-20 11:38:06 -05:00
PaddleStroke
66fceda45e
Sketcher: Fix line to arc point distance movement problem
2024-05-20 11:15:56 -05:00
PaddleStroke
0582e8b76b
Sketcher: Fix distance arc helper : should appear only if constraining the edge.
2024-05-20 11:11:27 -05:00
Chris Hennes
407a572d2f
Merge pull request #14004 from wwmayer/prop_item
...
Gui: move to new-style connect() in createEditor()
2024-05-20 10:45:54 -05:00
marcuspollio
f0707c542f
Merge remote-tracking branch 'upstream/main' into UI-TaskPanels-cleanup-1
2024-05-20 09:14:08 +12:00
PaddleStroke
11e0fcf4ae
Update DrawSketchDefaultHandler.h
2024-05-17 12:34:28 +02:00
PaddleStroke
53f24c849f
Sketcher: fixes #13999
2024-05-17 12:34:28 +02:00
bgbsww
b82e3c73d4
Toponaming: Fix point crash bug
2024-05-16 09:05:27 -05:00
marcuspollio
a5a26aee9e
Merge remote-tracking branch 'upstream/main' into UI-TaskPanels-cleanup-1
2024-05-15 13:45:43 +12:00
wmayer
af3861aa79
Gui: move to new-style connect() in createEditor()
2024-05-14 15:58:44 +02:00
bgbsww
6fa5dc42c6
Toponaming: bring in missing code fragments in Sketcher
2024-05-13 15:47:44 -05:00
Johannes Wüller
33e91421b5
Fix backwards-compatible Qt6 warnings
2024-05-13 11:39:24 -05:00
WandererFan
5b4eeb29a9
Merge pull request #13525 from Ondsel-Development/td_dimension
...
TechDraw: Smart dimension tool
2024-05-13 12:31:32 -04:00
Chris Hennes
9fead3682d
Update translations
2024-05-12 17:06:56 -05:00
marcuspollio
22336540b6
Sketcher UI: Update Task panels icons
2024-05-12 15:57:26 +12:00
bgbsww
ffba7dcbe6
Fix #13858
...
Mistaken enabling of known bad code
2024-05-07 10:17:48 -05:00
PaddleStroke
8967c74605
Sketcher: change rendering height of internal alignment. So that bpsline appears connected. Fixes second part of #13849
2024-05-07 16:00:00 +02:00
PaddleStroke
28bb796fea
Sketcher: Red point if end-point perpendicular
2024-05-07 15:42:03 +02:00
PaddleStroke
4ecd54275b
Sketcher: Dimension : little fixes
2024-05-06 18:40:46 +02:00
PaddleStroke
71b924e7dc
Core/Sketcher: Create ToolHandler class in core for core reuse accross other wbs.
2024-05-06 18:40:46 +02:00
PaddleStroke
08705ecb85
Sketcher: fix OVP placement issue #13827
2024-05-06 12:30:43 -04:00