Commit Graph

3111 Commits

Author SHA1 Message Date
bgbsww
bad3a83827 Fix #13858
Mistaken enabling of known bad code
2024-05-07 10:17:48 -05:00
PaddleStroke
684c424ccc Sketcher: fix OVP placement issue #13827 2024-05-06 12:30:43 -04:00
Chris Hennes
a2b0941540 Update translations
Also removes Web from translation scripts.
2024-05-06 18:17:53 +02:00
Florian Foinant-Willig
4499ea5b88 Fix 12755 (#13802) 2024-05-06 11:06:27 -05:00
Max Wilfinger
3d2419effc Sketcher / UI: Update Sketcher Toolbars (#13763)
* Update Sketcher toolbar UIs.
Group all create tools for arcs, conics.
Group toggle driving/active constraints.
Update arrangement of icons.

* Change default to unified coincidence tool.
2024-05-06 18:05:56 +02:00
PaddleStroke
2e7a1cf358 Sketcher: Dimension tool : add arc length 2024-05-06 17:50:17 +02:00
bgbsww
d7ade12dc3 Ensure we set up a valid sketch even with invalid external references 2024-05-06 17:42:38 +02:00
wmayer
56f84c8042 Fix various compiler warnings:
* fix -Wunused-parameter
* fix -Wunused-function
* fix -Wunused-private-field
* fix -Wunused-variable
* fix -Winconsistent-missing-override
2024-04-30 16:59:31 +02:00
WandererFan
db22476450 Merge pull request #9750 from hlorus/gsoc2023_measure
GSoC 2023: Unified Measurement Facility
2024-04-29 12:41:54 -04:00
Chris Hennes
a45524712d Merge pull request #13576 from wwmayer/issue_13518
Sketcher: Make ValidateSketch scriptable
2024-04-29 11:11:13 -05:00
wmayer
c14e735c20 Sketcher: Fix possible crash inside ~CurveConverter()
Accessing the parameter manager inside ~CurveConverter() is undefined behaviour because it will be accessed after the main() function
has been exited.

Fixes #13622
2024-04-29 10:56:15 -05:00
WandererFan
34f92f2d5e Merge pull request #13407 from Ondsel-Development/sk_reorganize_tbs
Sketcher: Small reorganization of toolbars
2024-04-29 11:43:52 -04:00
hlorus
832a0653fa [Sketcher] Add handlers for unified measurement facility 2024-04-29 09:27:22 -04:00
Chris Hennes
1ec93fdbc2 Update translations
Note: Web and Start omitted
2024-04-24 13:58:21 -05:00
PaddleStroke
05e79b5d0a Sketcher: Reorganize toolbars 2024-04-22 18:33:49 +02:00
WandererFan
18b7445c6a Merge pull request #13519 from Roy-043/Sketcher-Improve-GUI-texts-in-SketcherSettingsAppearance.ui
Sketcher: Improve GUI texts in SketcherSettingsAppearance.ui
2024-04-22 12:16:00 -04:00
WandererFan
1b91d8de8d Merge pull request #13511 from Ondsel-Development/sk_polyline_midpoint
Sketcher: Fix mid-point autoconstraint not working with polyline.
2024-04-22 12:15:18 -04:00
PaddleStroke
cb0a2d2809 Sketcher: Joint Line and Polyline in a command group. 2024-04-22 11:14:45 -05:00
Roy-043
50be3dcdfc Sketcher: Make geometry menu texts more consistent
Create circle -> Create circle by center
three points -> 3 points
2024-04-22 11:01:53 -05:00
Roy-043
0a514c201a Sketcher: Make constraints menu texts more consistent
The current constraints menu texts are not very consistent. Particularly the mix of adverbs (horizontally) and adjectives (symmetrical) is strange.
2024-04-22 11:01:06 -05:00
wmayer
37f0ad43f9 Sketcher: Fixes #13518: ValidateSketch cannot be scripted 2024-04-21 11:56:02 +02:00
wmayer
989c710d17 Sketch: Fix linter warnings 2024-04-21 11:16:17 +02:00
wmayer
52935f8249 Sketch: expose several methods to Python
* expose detectDegeneratedGeometries to Python
* expose removeDegeneratedGeometries to Python
* expose delConstraintsToExternal to Python
* expose evaluateConstraints to Python
* expose validateConstraints to Python
2024-04-21 10:41:47 +02:00
Roy-043
7909815002 Sketcher: Improve GUI texts in SketcherSettingsAppearance.ui 2024-04-18 12:15:34 +02:00
Chris Hennes
6d504a0351 Update translations. 2024-04-17 16:50:38 -05:00
wmayer
64029d3a5b Sketcher: fix crash in CmdRenderingOrder::updateIcon()
If a parameter in the observed parameter group is changed then CmdRenderingOrder::OnChange() is called but the ActionGroup may not be created yet
2024-04-17 21:52:32 +02:00
PaddleStroke
280452bcc8 Sketcher: Fix mid-point autoconstraint not working on polyline. Fixes #13277 2024-04-17 16:27:21 +02:00
PaddleStroke
4b968a607d Sketcher: Trim tool, hold click and move. Fixes #6152 2024-04-15 17:56:58 +02:00
bgbsww
a88e7baff5 TopoShape/Part: Bug fixes; pass Hasher parms, OCCT 7.8 compatibility, ElementMaps correct item count 2024-04-14 13:56:07 -04:00
bgbsww
c9d8bdf13d Toponaming/Part: Add deprecation comments, clean up code 2024-04-09 21:17:08 -04:00
wmayer
b64e3e750f Sketch: add command to context-menu to change value of constraint
The edit datum dialog is opened by double-clicking on a dimensional constraint in a sketch. However, the double-clicking event doesn't work realiably on
some systems. As a workaround this PR adds the command to the context-menu.

For more details see the forum thread: https://forum.freecad.org/viewtopic.php?t=71137
2024-04-08 18:01:44 +02:00
Max Wilfinger
33abd923b3 Update Sketcher context menu.
Refine poposed constraints on point selection.
Add symmetry constraint to context menu.
Rearrange commands to be consistent with the toolbar.
2024-04-08 17:58:28 +02:00
PaddleStroke
0fcaf5ccae Sketcher: Rectangle DSH Fixes #12297 2024-04-08 17:52:18 +02:00
PaddleStroke
c42b1f1654 Sketcher: Make coincident points the same color as constraints. 2024-04-08 17:49:46 +02:00
PaddleStroke
f5da655429 Sketcher: Points color reflect their construction state. Remove Vertex color. 2024-04-08 17:49:46 +02:00
PaddleStroke
81fcfa1dbe Sketcher: Point DSH: take construction mode into account. 2024-04-08 17:49:46 +02:00
PaddleStroke
5efc44d56a Sketcher: Translate Fixes #13189 horizontal/vertical lost. 2024-04-04 22:46:00 -05:00
wmayer
ba27d6d92d Part: Add overloaded methods of GeomBSplineCurve::approximate 2024-04-03 18:06:00 +02:00
wmayer
d92267c6a7 Fix several compiler warnings
* fix -Winconsistent-missing-override
* fix -Wunused-but-set-variable
* fix -Wunused-parameter
* fix -Wunused-lambda-capture
* fix -Wunused-private-field
* fix -Wpessimizing-move
2024-04-03 10:04:56 +02:00
PaddleStroke
581dee4d48 Sketcher: Fixes #13181 2024-04-02 09:48:44 +02:00
PaddleStroke
c26f52c4e4 Sketcher: Symmetry fix #13164 2024-04-01 11:20:40 -05:00
PaddleStroke
64054d13c4 Sketcher: Add line mid-point auto-constraint 2024-04-01 11:20:02 -05:00
PaddleStroke
5668b6952b Sketcher: Chamfer Fix #13049 2024-04-01 11:04:02 -05:00
sliptonic
75c589d355 Merge pull request #12602 from FlachyJoe/arc-distance
Sketcher : ArcLength Constraint
2024-04-01 10:43:35 -05:00
Roy-043
6c0865a7b9 Sketcher: Rename Sketcher_BSplineApproximate.svg
For consistency: rename the icon to match the command name.
2024-03-31 17:40:40 +02:00
pre-commit-ci[bot]
b5fa008272 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-31 10:47:32 +02:00
ppphp
c014ab7a4e fix: some unuse argument warning 2024-03-31 10:47:32 +02:00
ppphp
da7ee06d67 fix: c++20 deprecate [=] 2024-03-31 10:47:32 +02:00
Max Wilfinger
6ca8b2daae update hardcoded XPMs to .svg files. Updated .svg icons for clarity. 2024-03-30 11:25:13 +01:00
Chris Hennes
49451b3c7f Merge pull request #13154 from chennes/translations20240325
Update translations and fix script
2024-03-28 13:51:39 -05:00