bgbsww
459644be31
TopoShape/Part: Bug fixes; pass Hasher parms, OCCT 7.8 compatibility, ElementMaps correct item count
2024-04-14 13:56:07 -04:00
bgbsww
942ebd58f0
Toponaming/Part: Add deprecation comments, clean up code
2024-04-09 21:17:08 -04:00
wmayer
1d2bd837c1
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
7c9546fdb1
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
494e91948f
Sketcher: Rectangle DSH Fixes #12297
2024-04-08 17:52:18 +02:00
PaddleStroke
4e6966bbd6
Sketcher: Make coincident points the same color as constraints.
2024-04-08 17:49:46 +02:00
PaddleStroke
c6bf546b7a
Sketcher: Points color reflect their construction state. Remove Vertex color.
2024-04-08 17:49:46 +02:00
PaddleStroke
8c1b69e3c6
Sketcher: Point DSH: take construction mode into account.
2024-04-08 17:49:46 +02:00
PaddleStroke
27b72398b1
Sketcher: Translate Fixes #13189 horizontal/vertical lost.
2024-04-04 22:46:00 -05:00
wmayer
7a7c0081c3
Part: Add overloaded methods of GeomBSplineCurve::approximate
2024-04-03 18:06:00 +02:00
wmayer
c96fd71e4f
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
4ef99a1f4a
Sketcher: Fixes #13181
2024-04-02 09:48:44 +02:00
PaddleStroke
956841056e
Sketcher: Symmetry fix #13164
2024-04-01 11:20:40 -05:00
PaddleStroke
81e1d7249d
Sketcher: Add line mid-point auto-constraint
2024-04-01 11:20:02 -05:00
PaddleStroke
6f817fa190
Sketcher: Chamfer Fix #13049
2024-04-01 11:04:02 -05:00
sliptonic
d82ee98d46
Merge pull request #12602 from FlachyJoe/arc-distance
...
Sketcher : ArcLength Constraint
2024-04-01 10:43:35 -05:00
Roy-043
9aa0fca3e4
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]
15d7980173
[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
041ed30055
fix: some unuse argument warning
2024-03-31 10:47:32 +02:00
ppphp
8863b9ac4c
fix: c++20 deprecate [=]
2024-03-31 10:47:32 +02:00
Max Wilfinger
e38b8d9bd4
update hardcoded XPMs to .svg files. Updated .svg icons for clarity.
2024-03-30 11:25:13 +01:00
Chris Hennes
c37c32edc9
Merge pull request #13154 from chennes/translations20240325
...
Update translations and fix script
2024-03-28 13:51:39 -05:00
Roy-043
f54723fc73
Sketcher: Improve menu text of Sketcher_MapSketch
...
The old menu text of Sketcher_MapSketch did not describe the tool very well. Not just a face can be selected.
"Map sketch to face..." -> "Attach sketch..."
Forum topic:
https://forum.freecad.org/viewtopic.php?t=86112
2024-03-28 12:05:08 +01:00
bgbsww
51a311e6fb
Toponaming/Part: Bug fix for #13169 while we sort this out
2024-03-27 21:33:57 -05:00
wmayer
cb0f92dbde
Sketcher: fix typo in function name -> areCollinear
...
The same function exists in the Draft module but don't fix it there to avoid to possibly break add-ons
2024-03-26 10:34:01 +01:00
Roy-043
bc7833cfab
Sketcher: Spelling colinear -> collinear
...
I have not changed the name of the `areColinear` function.
2024-03-26 07:40:14 +01:00
bgbsww
8d5385fcd2
Clean, enable disabled element map code in sketcher, add tests
2024-03-25 21:51:41 -04:00
Zheng, Lei
8dd6863414
Toponaming/Part: Move sketcher override of getElementName over
2024-03-25 21:51:41 -04:00
Chris Hennes
1a51c0cb57
Update translations
2024-03-25 18:08:22 -05:00
Chris Hennes
32a957bd07
Translation update: move Path to CAM
2024-03-25 17:32:59 -05:00
Florian Foinant-Willig
311137c958
fix undeclared M_PI
2024-03-25 22:32:20 +01:00
Florian Foinant-Willig
e2086ce1c7
Sketcher: ArcLength GUI
2024-03-25 22:32:20 +01:00
Florian Foinant-Willig
ef35ec195d
Sketcher : ArcLength Constraint
2024-03-25 22:32:20 +01:00
PaddleStroke
a8adc573f8
Sketcher: Symmetry tool rework.
2024-03-25 17:48:01 +01:00
Chris Hennes
f24071a1e7
Merge pull request #12641 from Ondsel-Development/toolsettings_fix_focus_issue
...
[Sketcher] Toolsettings fix focus issue
2024-03-22 10:40:10 -05:00
wmayer
6151abaac1
Fixes #12186 : Two new Sketcher preferences should show "Restart required" popup
2024-03-22 09:41:31 +01:00
luzpaz
65cdbe3e89
Fix various typos throughout the codebase ( #13029 )
...
* Fix various typos throughout the codebase
* [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-03-18 16:54:30 -05:00
Max Wilfinger
3d5d58c418
add constraint perpendicular to the context menu if a conic and line is selected.
2024-03-18 13:24:16 -04:00
PaddleStroke
58975135f4
Sketcher: Chamfer tool (and fillet refactor)
2024-03-18 13:23:54 -04:00
PaddleStroke
e6802b049c
Sketcher : fix error in className of CmdSketcherCompHorizontalVertical
2024-03-18 13:23:54 -04:00
PaddleStroke
3c87ff59ee
Sketcher: Rename 'FocusOut' signal to 'TabOrEnterPressed'
2024-03-18 10:02:00 +01:00
PaddleStroke
4ced18c419
DrawSketchController: Fix crazy focus behavior in tool widget (see in the translate tool).
2024-03-17 08:15:54 +01:00
wmayer
87e0d10d33
Sketch: fixes #12480 : Sketcher_CreateBSplineByInterpolation Unhandled unknown C++ exception
...
The interpolation of a BSpline can fail and then OCC throws an exception. Because this OCC exception isn't handled by the DrawSketchHandler the core system handles it as unknwon C++ exception
2024-03-17 00:47:43 +01:00
Chris Hennes
73417470f5
Sketcher: Remove trailing spaces from translations
2024-03-12 22:42:19 -05:00
Roy-043
ad667811a5
Sketcher: correct position of ConstrainLock and ConstrainRadiam in GUI
...
Sketcher_ConstrainLock after Sketcher_ConstrainAngle.
Sketcher_ConstrainRadiam before Sketcher_ConstrainRadius.
This was not always correct.
See also #12667 .
2024-03-11 12:28:28 -05:00
Chris Hennes
9df1472e43
Sketcher: Translate QWidgetAction items
...
Explicitly set the context used by tr() to fix missing context without it.
2024-03-11 18:17:32 +01:00
Chris Hennes
5bd6304548
Sketcher: Fix missing translations in DSH tools
2024-03-11 18:07:42 +01:00
Chris Hennes
ff92c76569
Sketcher: Translate menu entries for rectangle spec
2024-03-11 18:06:09 +01:00
xtemp09
f037a1ae25
Fix segmentation fault in Sketcher
...
Closes #11954 .
2024-03-11 16:02:15 +01:00
Chris Hennes
441d674545
Merge pull request #12066 from 3x380V/time_cleanup
...
Base: Use std::chrono for time manipulation
2024-03-05 15:47:33 -06:00