Commit Graph

2971 Commits

Author SHA1 Message Date
Max Wilfinger
b57a6b504c [Sketcher] enable BSpline commands in contextual right click menu 2024-01-22 12:21:01 -06:00
Chris Hennes
1ebcb6c99b Merge pull request #12012 from Ondsel-Development/radius_render_fix
[Sketcher] Improve rendering of arc-angle, line-angle, arc-distances and fix radius
2024-01-22 11:21:53 -06:00
Paddle
a5d980ff59 Sketcher: Edges pattern and width by type. 2024-01-22 11:12:42 -06:00
Chris Hennes
4d416016e5 Merge pull request #11537 from Ondsel-Development/copy_paste_2023
[Sketcher] Add copy/cut/paste sketcher commands
2024-01-22 10:45:22 -06:00
Ajinkya Dahale
04bc6f8006 [Sketcher] Visualize B-spline in edit mode
Instead of the control polygon, or "join the dots" for interpolated splines.
2024-01-20 18:45:18 -07:00
Paddle
85b5a343f0 Sketcher: PythonConverter: Replace useLastGeoIdVar bool by enum class 2024-01-20 06:49:32 +01:00
Paddle
e3860080e5 Sketcher : Distance constraint : introduce arc helpers for conic distances. 2024-01-19 11:50:38 +01:00
Paddle
7654c4446b Sketcher: copy paste : move from XML to python. 2024-01-19 11:13:53 +01:00
Paddle
f0c491ef79 Sketcher: python converter : add possibility to add lastGeoId to the constraint process. 2024-01-19 11:13:53 +01:00
Paddle
88883faaf8 Sketcher: Add copy/cut/paste sketcher commands 2024-01-19 11:13:53 +01:00
Paddle
772d2940bd Sketcher : arc angle render improvement. 2024-01-19 11:13:09 +01:00
Paddle
edc247cd54 Sketcher : improve single line angle rendering. 2024-01-19 11:13:09 +01:00
Paddle
865212fc85 Sketcher Fix radius arc helpers. 2024-01-19 11:13:09 +01:00
Paddle
af76942a0b Sketcher: polyline: fix ESC exit tool 2024-01-17 13:53:04 -03:00
Paddle
8b888814e6 Sketcher: bspline: fix ESC exit tool 2024-01-17 13:53:04 -03:00
Paddle
ec7e3ea364 Sketcher: Define double click on edges : Select the whole wire. 2024-01-17 11:05:28 -03:00
Paddle
e5dcbf1f45 Sketcher: add isPeriodicBsplineCurve helper function 2024-01-17 11:05:28 -03:00
Paddle
7baa964dc6 Draw arc helpers for radius constraints. 2024-01-12 19:03:38 -06:00
Paddle
215870ca8c Improve angle constraint rendering. 2024-01-12 19:03:38 -06:00
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