PaddleStroke
4d15b8f66a
Sketcher: Fix circle diameter OVP
2024-06-13 14:51:48 -05:00
PaddleStroke
22a98d81f0
Sketcher: - Give focus to the MDI so that keyboard events are caught after starting edit. Else pressing ESC right after starting edit will not be caught to exit edit mode.
...
- After tool handler is purged, give back focus to MDI to make sure VPSketch receive the keyboard event. Else if user start a tool, dismiss it with ESC, then press ESC again to exit edit mode it won't be detected.
2024-06-13 14:44:30 -05:00
bgbsww
d467236564
Guard all uses of basic_random_generator for thread safety
2024-06-10 11:10:57 -05:00
PaddleStroke
833e9cc8ab
Sketcher: Fix default value of dimConstrDeactivatedColor
2024-06-10 11:09:36 -05:00
mosfet80
62279d083d
[mod] clean ( #14378 )
...
* [mod] clean
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-10 11:07:14 -05:00
Emmanuel Obrien
a7e1760bfb
Speedup sketcher item selection
...
Selecting lots of elements in the sketcher slows down quadratically because we were redrawing the entire element list widget for each element.
2024-06-10 10:35:32 -05:00
Kacper Donat
8def94e6f8
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
696196d8f0
Update translations
2024-06-03 11:04:42 -05:00
Chris Hennes
e11bafc715
Merge pull request #14337 from wwmayer/refactor_sketch_analysis
...
Sketch: Refactor SketchAnalysis
2024-06-03 10:49:30 -05:00
howie-j
a4b97e29d6
Fixes #12384
2024-06-03 10:43:18 -05: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
wmayer
ddfc21afc1
Sketch: Refactor SketchAnalysis
...
Refactor detectMissingPointOnPointConstraints()
2024-05-28 15:28:53 +02:00
wmayer
7e5b0d570a
Sketch: Refactor SketchAnalysis
...
Refactor detectMissingEqualityConstraints()
2024-05-28 15:10:51 +02:00
wmayer
112c26cf1c
Sketch: Refactor SketchAnalysis
...
Fix linter warnings
2024-05-28 14:43:46 +02:00
wmayer
e0e2e01484
Sketch: Refactor SketchAnalysis
...
Refactor autoconstraint()
2024-05-28 14:28:07 +02:00
wmayer
1c03bc4eaa
Sketch: Refactor SketchAnalysis
...
Refactor makeMissingEquality()
2024-05-28 14:19:58 +02:00
wmayer
d5c92fee98
Sketch: Refactor SketchAnalysis
...
Refactor makeMissingVerticalHorizontal
2024-05-28 14:08:44 +02:00
wmayer
5461d0d27f
Sketch: Refactor SketchAnalysis
...
Refactor makeMissingPointOnPoint
2024-05-28 13:40:38 +02:00
wmayer
bcc1a9ada5
Sketch: Refactor SketchAnalysis
...
Refactor detectMissingPointOnPointConstraints
2024-05-28 13:24:05 +02:00
wmayer
5982ac470e
Sketch: Refactor SketchAnalysis
...
Move helper classes to anonymous namespace
2024-05-28 12:26:23 +02:00
wmayer
e67502025d
Sketch: Add test case for validating constraints
2024-05-27 19:15:18 +02:00
wmayer
948d747c6c
Sketch: Add test case for deleting constraints with external geometry
2024-05-27 19:15:18 +02:00
wmayer
e96ac0b1db
Sketch: Add test case for degenerated geometry
2024-05-27 19:15:18 +02:00
wmayer
cdec6dd1a2
Sketch: Fix TestSketchValidateCoincidents
2024-05-27 19:15:18 +02:00
Syres916
f52a039811
[Sketcher] Add new Fix Missing Coincident test
2024-05-27 19:15:18 +02:00
Max Wilfinger
9d0320198f
Revert UI command change in Sketcher and PartDesign
2024-05-27 11:51:02 -05:00
PaddleStroke
6bbf61b1f2
Sketcher: Fix copy of geo constrained to axis. Fixes #14233
2024-05-27 11:37:33 -05:00
Syres916
e7c11a01be
[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
3a080fcc6d
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
b9db90ea20
Gui: offer possibility to editing view provider to handle "Select All" command
2024-05-27 10:52:00 -05:00
Chris Hennes
7136c46620
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
5696ee821c
Sketcher: Fixes #14240
2024-05-27 12:09:35 +02:00
Chris Hennes
d4f780782d
Update translations
...
Arch->BIM is a WIP
2024-05-25 19:11:51 -05:00
wmayer
83d91d61c6
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
1209d769ca
Merge remote-tracking branch 'upstream/main' into UI-TaskPanels-cleanup-1
2024-05-21 10:36:10 +12:00
wmayer
27b1caa82b
Sketch: Refactor Sketch::updateGeometry()
2024-05-20 11:38:06 -05:00
PaddleStroke
7075e3c1d5
Sketcher: Fix line to arc point distance movement problem
2024-05-20 11:15:56 -05:00
PaddleStroke
0c53340746
Sketcher: Fix distance arc helper : should appear only if constraining the edge.
2024-05-20 11:11:27 -05:00
Chris Hennes
8157504bdd
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
8944dd5c53
Merge remote-tracking branch 'upstream/main' into UI-TaskPanels-cleanup-1
2024-05-20 09:14:08 +12:00
PaddleStroke
6bac37db2e
Update DrawSketchDefaultHandler.h
2024-05-17 12:34:28 +02:00
PaddleStroke
c43658ea89
Sketcher: fixes #13999
2024-05-17 12:34:28 +02:00
bgbsww
ad7ceb8ba6
Toponaming: Fix point crash bug
2024-05-16 09:05:27 -05:00
marcuspollio
0526257be5
Merge remote-tracking branch 'upstream/main' into UI-TaskPanels-cleanup-1
2024-05-15 13:45:43 +12:00
wmayer
f3327475b9
Gui: move to new-style connect() in createEditor()
2024-05-14 15:58:44 +02:00
bgbsww
869cb1f83b
Toponaming: bring in missing code fragments in Sketcher
2024-05-13 15:47:44 -05: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
Chris Hennes
e703615603
Update translations
2024-05-12 17:06:56 -05:00
marcuspollio
23537d97d7
Sketcher UI: Update Task panels icons
2024-05-12 15:57:26 +12:00