Commit Graph

2751 Commits

Author SHA1 Message Date
Paddle
c1bd68d8a5 Sketcher_Dimension Replace SubNames by std::move(SubNames) 2023-09-02 11:35:31 +02:00
Paddle
351bd2d5f4 Sketcher_Dimension fix crash. 2023-09-01 18:50:46 +02:00
wmayer
ee6e9e4923 Sketcher: fix several warnings:
* fix -Wunused-parameter
* fix -Wsign-compare
2023-09-01 17:34:29 +02:00
Paddle
465e98a502 Sketcher_Dimension: Disable arc-circle and arc-line distances as they are not implemented yet. 2023-09-01 08:00:21 -05:00
Paddle
126558ccf8 Sketcher_Dimension: Implement Point-to-Circle distance. 2023-09-01 08:00:21 -05:00
Paddle
392d29c20b Sketcher_Dimension Fix the transaction auto-closing issue 2023-09-01 07:58:45 -05:00
Paddle
be7b9b33e7 Sketcher_Dimension : Implement selection->tool workflow 2023-09-01 07:58:45 -05:00
Paddle
3fad071760 Sketcher_Dimension : Turn the command into a group-command to have at hand individual commands. 2023-09-01 07:57:44 -05:00
luzpaz
40d2a90e3a Fix typos 2023-08-31 22:29:17 -05:00
bdieterm
177a86e6e0 Sketcher: fix segfault on distance constraints without SecondPos 2023-08-29 16:24:15 -05:00
kaktus Jacek
ddc6c2a1a0 Cleaning code from unnecessary strings generated to Crowdin 4 (#10426)
Cleaning Crowdin of "garbage". Second approach.
https://github.com/FreeCAD/FreeCAD-translations/issues/270
2023-08-29 12:57:26 -05:00
Chris Hennes
40f130643a Update translations 2023-08-29 07:38:09 -05:00
kaktus Jacek
21b327eb04 Cleaning code from unnecessary strings generated to Crowdin 3 (#10420)
Cleaning Crowdin of "garbage". Second approach.
https://github.com/FreeCAD/FreeCAD-translations/issues/270
2023-08-29 07:35:04 -05:00
Florian Foinant-Willig
9681ad595b Sketcher: Point to Circle Distance Constraints (#9559) 2023-08-28 10:58:09 -05:00
Chris Hennes
d0ee2702ec Merge pull request #9810 from Ondsel-Development/v2_constrain_contextually
Sketcher: Constrain Contextual implementation V2
2023-08-28 10:52:05 -05:00
Florian Foinant-Willig
3311d6d6e3 Sketcher: Fix Visual toolbox visibility 2023-08-28 10:46:48 -05:00
Paddle
e21b6cf860 Implement GeomSelectionSizes to further refactor Dimension::makeAppropriateConstraint 2023-08-27 18:48:33 +02:00
Paddle
d5bdebfe10 Dimension: Fix 2 circles concentric and length mode. 2023-08-27 18:48:00 +02:00
kaktus Jacek
b6db25c2d2 Cleaning code from unnecessary strings generated to Crowdin. (#10385)
Cleaning Crowdin of "garbage". Second approach.
https://github.com/FreeCAD/FreeCAD-translations/issues/270
2023-08-27 10:08:11 -05:00
Paddle
a683f3aca4 Fix crash when user click 'Close' button while Dimension is active.
TaskDlgEditSketch didn't purge the handler first as is doing CmdSketcherLeaveSketch.
2023-08-27 09:26:44 +02:00
Paddle
f1f31fd3df Refactor makeAppropriateConstraint 2023-08-27 08:25:20 +02:00
Paddle
1fcfdedb05 Replace multiple occurence of selVec.size() by s_vec to clean the makeAppropriateConstraint function 2023-08-27 07:26:53 +02:00
Paddle
3598dd4820 Small simplification by removing useless tests in makeAppropriateConstraint 2023-08-26 22:13:11 +02:00
Paddle
f3bca0d641 Sketcher settings Dimension Add enums instead of magic numbers 2023-08-26 19:55:17 +02:00
Paddle
b95713599a refactor Sketcher Dimension releaseButton 2023-08-26 19:47:23 +02:00
Paddle
bc3d06fafc Remove superfluous virtual add missing override. 2023-08-26 19:13:52 +02:00
Paddle
eee2f14128 Change the name to 'Dimension' instead of 'Constrain Contextual' 2023-08-26 08:35:27 +02:00
Paddle
fe594941a5 Fix texts in the new settings. 2023-08-26 07:41:11 +02:00
Paddle
b10b9bf22d Sketcher: Constrain Contextual implementation. 2023-08-26 07:41:09 +02:00
sliptonic
68bf28bea7 Merge pull request #9703 from FlachyJoe/arc_helper_gui
Sketcher: Add command to switch arc helpers
2023-08-21 11:20:16 -05:00
Syres916
31e938f9eb [Sketcher] Fix minor icon missing bug...
...icon was moved to obsolete in 2020
2023-08-18 17:43:00 +01:00
Chris Hennes
58cf9f3212 Update translations
Adds the ten units strings from Base as well.
2023-08-16 22:50:39 -05:00
Florian Foinant-Willig
06cd311acd Fix the fix o:-) 2023-08-14 22:31:36 +02:00
Florian Foinant-Willig
f120c7a317 Fix menu and ressource file 2023-08-14 22:12:18 +02:00
Florian Foinant-Willig
0a02aaea51 Merge branch 'master' into arc_helper_gui 2023-08-14 16:24:28 +02:00
luzpaz
5b698e6b68 Fix various typos 2023-08-13 08:17:01 -07:00
Chris Hennes
3bad74fe7d Update translations 2023-08-08 17:52:59 -06:00
wmayer
948cbfccd9 modernize C++: avoid bind
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
52e1c7c33b modernize C++: move from boost::bind to std::bind 2023-08-08 17:36:13 +02:00
wmayer
b6f331f4fa modernize C++: use transparent functors 2023-08-07 16:08:35 +02:00
wmayer
31ed14db83 modernize C++: use noexcept 2023-08-07 16:06:58 +02:00
wmayer
9f99285d59 modernize C++: use nullptr 2023-08-05 11:23:12 -06:00
wmayer
2b3d48176c Mods: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
wmayer
7d0926d0b3 Qt6 port:
Fix deprecation warnings with version 6.3 or 6.4
2023-08-04 21:23:14 -06:00
andrea
18e1883284 removed coin<3 references 2023-08-04 21:19:29 -06:00
luzpaz
57b9442df7 Fix various typos 2023-08-04 19:46:12 +02:00
wmayer
b8a7849dd3 Misc: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
6ff3ee9951 Sketch: modernize C++: use override 2023-08-04 17:09:53 +02:00
Florian Foinant-Willig
4a5da1940c Create overlay icon folder and ArcOverlay icon
And move BSpline overlay related icons to the new folder
2023-08-03 13:06:05 +02:00
Florian Foinant-Willig
159f82af45 Sketcher: Add command to switch arc helper 2023-08-03 13:06:05 +02:00