Commit Graph

2952 Commits

Author SHA1 Message Date
bgbsww
bd1fc0fc03 Add support for OCCT 7.8.0 (#11909) 2024-01-09 19:47:25 -06:00
Max Wilfinger
96d3e26110 sketcher: create contextual right click menu 2024-01-08 12:39:17 -05:00
Paddle
621b4bd5fc Sketcher_dimension : Fixes https://github.com/FreeCAD/FreeCAD/issues/11904 2024-01-07 20:53:22 -06:00
bgbsww
494cb9388c Detect circular references in sketches, and add corresponding tests (#11716)
* Possible fix for 10482 circular reference regression with tests

* Remove redundant test

* Cleanup pre PR

* [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-01-06 18:13:44 -06:00
Max Wilfinger
e1b69d6f18 Change tool description of rotate and polygon tool to hint users to modify with U and J keys. 2024-01-05 11:07:09 -06:00
Florian Foinant-Willig
48dd1614d6 Sketcher: fix one point distance (#11854) 2024-01-05 09:29:28 -06:00
Max Wilfinger
15d8a7aa17 add capabilities to auto-dimension tool to dimension distances between arc-point, arc-circle, arc-arc 2024-01-05 09:25:53 -06:00
Chris Hennes
fce7dea6f7 Update translations (#11886)
* Update 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>
2024-01-03 09:27:18 -06:00
Max Wilfinger
5c2da33b1f always show auto HorVer tool command in the toolbar when the tool is present (concise toolbar oprion) 2023-12-31 10:44:08 -06:00
Max Wilfinger
d783f2fce4 Sketcher: adjust cursor icons to match toolbar icons (#11749)
* adjust cursor icons to match toolbar icons

* adjusting fillet cursor icon

* correct fillet icon

* updated other icons to be in line with toolbar icon

* oblong fixes

* Discord feedback adjusted

* added arc slot cursor icon

* Update of arc cursor icons. Added ellipse variants

* update line. added polygon variations. added bspline options.

* updated other icons to be in line

* changed line icons

* discord feedback implemented

* Updated to implement new icons

* sketcher: change carbon copy and external cursor icons to match toolbar icons

* added copy icon for XPM hardcoded

* added new copy pointer icon to resources

* Update to support multiple cursor icons per tool mode for spline, ellipse, fillet, rectangle.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* adjusted icon and if statements

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* delete unnecessary icons

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-22 06:06:09 +01:00
Abdullah Tahiri
a6bbb7f970 Sketcher: Activate new icon for optional unified coincident constraint 2023-12-21 15:36:56 +01:00
Max Wilfinger
817f6539ae stroke color 2023-12-20 21:41:20 +01:00
Max Wilfinger
a258eb11b2 icon overhaul for the sketcher workbench to unify the appearance 2023-12-20 21:41:20 +01:00
Florian Foinant-Willig
2b12632861 Sketcher: Fix Point to Line Distance 2023-12-20 20:03:13 +01:00
pre-commit-ci[bot]
2830e77874 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-12-20 09:27:37 +01:00
Yorik van Havre
651fc54a8c merged crowdin translations 2023-12-20 09:27:37 +01:00
Yorik van Havre
1f65348080 Updated ts files 2023-12-20 09:27:37 +01:00
Paddle
a5a77fc0fd Rotate DSH : Polar pattern tool for sketcher. 2023-12-20 06:59:47 +01:00
Paddle
68dd184646 CommandSketcherTools : add local getSketchObject to avoid copy paste. 2023-12-20 06:59:47 +01:00
Paddle
30e2a109e6 PythonConverter: Extend for Hyperbola/Parabola/BSpline 2023-12-20 06:59:47 +01:00
Abdullah Tahiri
aa901520b5 Sketcher: DSH Framework fix lints 2023-12-20 06:59:47 +01:00
Paddle
d66151a2aa Sketcher : Tool parameter : Fix U / J keys when widget spinboxes has focus. 2023-12-20 06:59:47 +01:00
Paddle
f877de3015 GeometryFacade : Add static getInternalType and setInternalType 2023-12-20 06:59:47 +01:00
Paddle
cda68e913c Sketcher: Add support for adding internal alignment constraints independently 2023-12-20 06:59:47 +01:00
Paddle
8cf4aacfb6 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
c92dcea0eb Sketcher: Move lint comment to right position 2023-12-18 10:55:16 -06:00
Kacper Donat
34c85e26da 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
d4e5c7e966 Fix isCircleOrArc usage 2023-12-17 16:01:29 +01:00
Florian Foinant-Willig
b40c2f2491 Fix Sketcher::getRadiusCenterCircleArc(circle) 2023-12-17 16:01:29 +01:00
Abdullah Tahiri
f06e805d8a Refactor ViewProvider move constraint code 2023-12-17 16:01:29 +01:00
Abdullah Tahiri
8d00b00c9b Sketcher: Utils/CommandConstraints/EditModeConstraintCoinManager - refactor duplicated code 2023-12-17 16:01:29 +01:00
Abdullah Tahiri
d28fe43565 Sketcher: Redraft circle/arc to circle/arc constraint command 2023-12-17 16:01:29 +01:00
Abdullah Tahiri
ed14b2c845 Sketch: Distance - fix uninit pointers and scope 2023-12-17 16:01:29 +01:00
Florian Foinant-Willig
7343bf940b Sketcher: Extend distance constraint to arcs 2023-12-17 16:01:29 +01:00
Florian Foinant-Willig
838802e28d Sketcher: Arc to arc or circle distance constraint 2023-12-17 16:01:29 +01:00
xtemp09
af68c8c1dc [Sketcher] Fix crash described in #10975 2023-12-09 11:05:16 +01:00
Roy-043
83fbcf4239 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
b70eb6a173 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
bd9a210b65 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
c34bc88d66 Sketcher: Solver - Remove outdated request for reporting 2023-12-04 16:32:23 +01:00
wmayer
edb6a25335 Python: deprecated aliases have been removed in Py 3.12 2023-12-02 14:45:55 +01:00
Paddle
bc4605aa6a Add a setting to disable auto horizontal/vertical. 2023-11-28 09:45:35 +01:00
Paddle
d94fdf795e 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
fac94ba932 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
084a758481 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
ad3e832576 Sketcher : remove deleteAllConstraints from toolbar. 2023-11-27 11:00:50 -06:00
wmayer
7157448b37 Sketcher: add security checks to avoid possible undefined behaviour 2023-11-27 10:58:50 +01:00
Paddle
466395194c hor/ver tool, remove unused variables 2023-11-27 10:44:25 +01:00
Paddle
b3fc34d61b Sketcher : Replace toggle icons. 2023-11-25 20:55:50 -03:00
Paddle
ef2a723a32 Draw arc helpers for radius constraints. 2023-11-24 15:07:35 +01:00