Commit Graph

2935 Commits

Author SHA1 Message Date
Paddle
1526563791 Rotate DSH : Polar pattern tool for sketcher. 2023-12-20 06:59:47 +01:00
Paddle
00423deaa2 CommandSketcherTools : add local getSketchObject to avoid copy paste. 2023-12-20 06:59:47 +01:00
Paddle
e685918ea8 PythonConverter: Extend for Hyperbola/Parabola/BSpline 2023-12-20 06:59:47 +01:00
Abdullah Tahiri
81d59abfe4 Sketcher: DSH Framework fix lints 2023-12-20 06:59:47 +01:00
Paddle
c1fa4c705f Sketcher : Tool parameter : Fix U / J keys when widget spinboxes has focus. 2023-12-20 06:59:47 +01:00
Paddle
6b2d6fc8eb GeometryFacade : Add static getInternalType and setInternalType 2023-12-20 06:59:47 +01:00
Paddle
c66661124b Sketcher: Add support for adding internal alignment constraints independently 2023-12-20 06:59:47 +01:00
Paddle
8293ade024 Remove the use of BRepOffsetAPI_MakeOffsetFix and use OCC BRepOffsetAPI_MakeOffset directly.
Fixing one line offset.
2023-12-20 06:17:16 +01:00
Abdullah Tahiri
759930e3aa Sketcher: Move lint comment to right position 2023-12-18 10:55:16 -06:00
Kacper Donat
a8f0f5964e Gui: Allow ActionGroups to not remember choice
This is fix to issue mentioned in the #11717, on discord and forum that
for smart dimension tool the chosen tool should not be remembered. This
will ensure that the "smart" tool is always visible on the toolbar and
other tools are accessible in case that such explicit choice is needed.
2023-12-18 17:51:48 +01:00
Florian Foinant-Willig
df32ad2d38 Fix isCircleOrArc usage 2023-12-17 16:01:29 +01:00
Florian Foinant-Willig
7bc493acb5 Fix Sketcher::getRadiusCenterCircleArc(circle) 2023-12-17 16:01:29 +01:00
Abdullah Tahiri
4586f71d86 Refactor ViewProvider move constraint code 2023-12-17 16:01:29 +01:00
Abdullah Tahiri
4d860203fc Sketcher: Utils/CommandConstraints/EditModeConstraintCoinManager - refactor duplicated code 2023-12-17 16:01:29 +01:00
Abdullah Tahiri
e29617c3fb Sketcher: Redraft circle/arc to circle/arc constraint command 2023-12-17 16:01:29 +01:00
Abdullah Tahiri
dac70b6416 Sketch: Distance - fix uninit pointers and scope 2023-12-17 16:01:29 +01:00
Florian Foinant-Willig
d2a579bdc6 Sketcher: Extend distance constraint to arcs 2023-12-17 16:01:29 +01:00
Florian Foinant-Willig
94eaa7db78 Sketcher: Arc to arc or circle distance constraint 2023-12-17 16:01:29 +01:00
xtemp09
ee7f0911ef [Sketcher] Fix crash described in #10975 2023-12-09 11:05:16 +01:00
Roy-043
09f7446ec4 Sketcher: Sketcher_Offset: menu text and shortcut
* Menu text "Offset geometry" (singular).
* Shortcut "Z, O" was already in use. Changed to "Z, T".
2023-12-05 15:25:52 +01:00
Chris Hennes
6c3e002be5 Merge pull request #11507 from Ondsel-Development/constr_primitives
[Sketcher] Improve angle & radius constraint rendering
2023-12-04 10:48:20 -06:00
Chris Hennes
fe0f96ca44 Merge pull request #11494 from Ondsel-Development/Coincident
[Sketcher] Introduce an optional unified version of coincident and pointOnObject
2023-12-04 10:46:21 -06:00
Abdullah Tahiri
779af0aa2f Sketcher: Solver - Remove outdated request for reporting 2023-12-04 16:32:23 +01:00
wmayer
1245c3f3b2 Python: deprecated aliases have been removed in Py 3.12 2023-12-02 14:45:55 +01:00
Paddle
921a8f3040 Add a setting to disable auto horizontal/vertical. 2023-11-28 09:45:35 +01:00
Paddle
5839848f21 Introduce CmdSketcherConstrainCoincidentUnified. This is a unified version of coincident + pointOnObject.
This is disabled by default. Nothing changes by default.
2023-11-27 21:14:33 +01:00
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