Yorik van Havre
3ade39ccf1
Translations ( #11551 )
...
* Updated ts files
* merged crowdin translations
* [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>
2023-11-27 11:29:38 -06:00
sliptonic
594cfb924b
Merge pull request #11549 from wwmayer/sketcher_security_checks
...
Sketcher: add security checks to avoid possible undefined behaviour
2023-11-27 10:28:14 -07:00
Paddle
70d81f4b51
Sketcher : remove deleteAllConstraints from toolbar.
2023-11-27 11:00:50 -06:00
wmayer
f6d0340abc
Sketcher: add security checks to avoid possible undefined behaviour
2023-11-27 10:58:50 +01:00
Paddle
5a4a358f13
hor/ver tool, remove unused variables
2023-11-27 10:44:25 +01:00
Paddle
1c04566548
Sketcher : Replace toggle icons.
2023-11-25 20:55:50 -03:00
Paddle
a2c909f329
Draw arc helpers for radius constraints.
2023-11-24 15:07:35 +01:00
Paddle
74dd736e3c
Improve angle constraint rendering.
2023-11-24 15:07:35 +01:00
Paddle
05c382f6d9
When moving an angle, we did not take into account the case where they are reversed. This fixes that.
2023-11-24 15:07:30 +01:00
Paddle
2deb38aa29
Sketcher: remove unused cursor_createcoincident[] and DrawSketchHandlerCoincident. They are not used anymore.
2023-11-22 16:47:51 +01:00
Paddle
19a2b52277
Sketcher: Move Distance command next to DistanceX. ONLY move code, nothing changed.
2023-11-22 16:19:08 +01:00
wmayer
de7c598b33
MSVC: fix warnings about unused variable
2023-11-21 23:10:03 +01:00
wmayer
3ab5165291
Qt: fix duplicate widget names
2023-11-21 23:10:03 +01:00
Chris Hennes
90dc4aeb13
Update translations
2023-11-20 13:46:22 -06:00
Paddle
ea5abfda0d
Fix autoconstraints of arcslot tool.
2023-11-20 14:19:51 -03:00
PaddleStroke
e56359d6d7
[Sketcher] Auto horizontal/vertical ( #11330 )
...
* Refactor sketcher horizontal / vertical constraints and adds a horizontal/vertical command.
* Sketcher : HorVer : change tool icon.
---------
Co-authored-by: Paddle <PaddleStroke@users.noreply.github.com >
2023-11-20 11:00:22 -06:00
Paddle
59b64ebab0
Group Trim/extend/split.
2023-11-20 10:58:17 -06:00
Paddle
fbcc53d2cb
Fix ESC key for Sketcher_Dimension
2023-11-15 14:41:43 +01:00
Paddle
12f48d531c
Sketcher OVP setting : add missing default.
2023-11-15 14:40:03 +01:00
Abdullah Tahiri
97d3665757
SketcherGui: Fix preselectAtPoint for non X-Y orientations
2023-11-15 14:34:11 +01:00
Paddle
60dc6cd1cf
Slot fix vertical/horizontal constraints
2023-11-14 14:22:26 +01:00
Paddle
ca4ba5e3b0
Slot DSH : fixes
2023-11-14 14:22:26 +01:00
Paddle
cb19b1036e
Slot DSH : implement tool parameters.
2023-11-14 14:22:26 +01:00
Abdullah Tahiri
b4d4a00329
SketcherGui: DSH - parameter unused depending of constexpr fixed
2023-11-14 14:12:16 +01:00
Abdullah Tahiri
4ff00ef998
SketcherGui: Compiler warning fix
2023-11-13 21:09:13 +01:00
Abdullah Tahiri
0525cee4ee
SketcherGui: DSH Default - return reference in ShapeConstraint helpers
2023-11-13 20:52:04 +01:00
Abdullah Tahiri
d9a81dd139
SketcherGui: ArcSlot lints
2023-11-13 18:19:10 +01:00
Abdullah Tahiri
cc1e11482b
SketcherGui: Fix lints
2023-11-13 18:18:50 +01:00
Paddle
2f30b63b9d
ArcSlot DSH : implement the Arc slot tool with tool parameters support.
2023-11-13 15:05:36 +01:00
Paddle
6e4da8cc82
Circle DSH : Implement tool parameters.
2023-11-13 14:00:18 +01:00
Paddle
c5853fae9d
Ellipse DSH : add cursor texts and remove showInternal checkbox.
2023-11-13 14:00:18 +01:00
Paddle
02dd9dba10
Ellipse DSH : Implement tool parameters.
2023-11-13 14:00:18 +01:00
Paddle
c613f3bbac
Arc DSH : implement tool parameters.
2023-11-13 14:00:18 +01:00
Paddle
0936499e5b
DSH : modify drawDoubleAtCursor so that it can draw an angle.
2023-11-13 14:00:18 +01:00
Paddle
58aa2d5cec
Adds areColinear function to Utils.
2023-11-13 14:00:18 +01:00
Paddle
71637aeec1
Adds CircleEllipseConstructionMethod.
2023-11-13 14:00:18 +01:00
Abdullah Tahiri
8d82835514
Sketcher: DSH Default - improve return value of ShapeGeometry functions
...
=======================================================================
Previous version return an reference to the smart pointer to generic Part::Geometry.
This version returns a type specific naked pointer, while ShapeGeometry keeps ownership
and memory management, so if an arc is created a Part::ArcOfCircle is returned.
2023-11-12 17:53:36 +01:00
Abdullah Tahiri
55639df573
Sketcher: Box Selection - refactor
...
==================================
Full refactor of this function without change of functionality (hopefully).
2023-11-11 21:19:12 +01:00
Abdullah Tahiri
811da8bb09
Sketcher: Box selection - Hyperbola/Parabola endpoint fix
2023-11-11 21:19:12 +01:00
Abdullah Tahiri
373a167d7d
Sketcher: DSH - improving geo creation helpers for ShapeGeometry
...
================================================================
In some DSHs instead of the convenience function, the code is being duplicated because
of the need to access the geometry after pushing it to the std::vector.
This commit leverages emplace_back return reference to improve code reuse.
2023-11-11 21:18:20 +01:00
Abdullah Tahiri
0144b4b14d
Sketcher: Adapt DSHs to new dynamic cursor
2023-11-11 11:15:54 +01:00
Abdullah Tahiri
136392830a
Sketcher: DSHController - extend framework to make cursors OVP visibility dependent
2023-11-11 11:15:54 +01:00
Abdullah Tahiri
e73d8e2e96
Sketcher: DSH - new cursor drawing functions
2023-11-11 11:15:54 +01:00
Chris Hennes
954c2fa03f
Update translations
2023-11-09 12:23:56 -06:00
Abdullah Tahiri
0d221c0969
Sketcher: Fix lints
2023-11-08 17:46:34 +01:00
Abdullah Tahiri
75c3972c44
Sketcher: Encapsulate function to ensure MDI focus
2023-11-08 17:46:34 +01:00
Paddle
403bc55bfa
Line DSH : hide widget if OVP disabled.
2023-11-08 15:20:13 +01:00
Paddle
20fcdfbd89
Remove moveCursorToSketchPoint on init.
2023-11-08 15:20:13 +01:00
Paddle
f035331263
Fix bug where M key stop working in some cases by giving focus to MDI on reset.
2023-11-08 15:20:13 +01:00
Paddle
8f3ebe1cc6
Rectangle DSH : set OVP Functions.
2023-11-08 15:20:13 +01:00