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
Roy-043
beb66d3cfb
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
4df1088896
Toponaming/Part: Bug fix for #13169 while we sort this out
2024-03-27 21:33:57 -05:00
wmayer
4c9b21d003
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
a7251a6c3a
Sketcher: Spelling colinear -> collinear
...
I have not changed the name of the `areColinear` function.
2024-03-26 07:40:14 +01:00
bgbsww
55acedb83d
Clean, enable disabled element map code in sketcher, add tests
2024-03-25 21:51:41 -04:00
Zheng, Lei
f19df465ea
Toponaming/Part: Move sketcher override of getElementName over
2024-03-25 21:51:41 -04:00
Chris Hennes
af131413c5
Update translations
2024-03-25 18:08:22 -05:00
Chris Hennes
47df83c4db
Translation update: move Path to CAM
2024-03-25 17:32:59 -05:00
PaddleStroke
e4213fc10f
Sketcher: Symmetry tool rework.
2024-03-25 17:48:01 +01:00
Chris Hennes
a7416c509b
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
4f429e3288
Fixes #12186 : Two new Sketcher preferences should show "Restart required" popup
2024-03-22 09:41:31 +01:00
luzpaz
5839134e95
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
4ca8e3b283
add constraint perpendicular to the context menu if a conic and line is selected.
2024-03-18 13:24:16 -04:00
PaddleStroke
b3fe5bba28
Sketcher: Chamfer tool (and fillet refactor)
2024-03-18 13:23:54 -04:00
PaddleStroke
9d43e7fda7
Sketcher : fix error in className of CmdSketcherCompHorizontalVertical
2024-03-18 13:23:54 -04:00
PaddleStroke
65da0c1d6f
Sketcher: Rename 'FocusOut' signal to 'TabOrEnterPressed'
2024-03-18 10:02:00 +01:00
PaddleStroke
a7b78530da
DrawSketchController: Fix crazy focus behavior in tool widget (see in the translate tool).
2024-03-17 08:15:54 +01:00
wmayer
fc8f93d437
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
d9fc266772
Sketcher: Remove trailing spaces from translations
2024-03-12 22:42:19 -05:00
Roy-043
18f6abb3c0
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
46e2c45e2e
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
b0fab6ec79
Sketcher: Fix missing translations in DSH tools
2024-03-11 18:07:42 +01:00
Chris Hennes
d56a051c4c
Sketcher: Translate menu entries for rectangle spec
2024-03-11 18:06:09 +01:00
xtemp09
9961f2949a
Fix segmentation fault in Sketcher
...
Closes #11954 .
2024-03-11 16:02:15 +01:00
Chris Hennes
da36c0c1f3
Merge pull request #12066 from 3x380V/time_cleanup
...
Base: Use std::chrono for time manipulation
2024-03-05 15:47:33 -06:00
wmayer
5d1564fec5
Sketcher: fix crash when trying to edit malformed sketch
...
For more details see: https://forum.freecad.org/viewtopic.php?p=745031#p745031
2024-03-05 10:34:01 -06:00
Yorik van Havre
1e164f24c0
Translations ( #12748 )
...
* 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>
2024-03-05 08:54:36 -06:00
Chris Hennes
988391fe22
Sketcher: Fix missing translation of 'Sketcher visual'
2024-03-05 08:35:26 -06:00
Ladislav Michl
e4d304f934
Base: Implement TimeElapsed
...
Some instances of TimeInfo serve the sole purpose of measuring time
duration. Using system time is unfortunate as it returns wall clock,
which is not guaranteed to be monotonic. Replace such a usage with
the new TimeElapsed class based on steady clock.
2024-03-05 12:29:24 +01:00
wmayer
8743f5e82a
Sketch: fix compiler warning
...
Fix warning: add explicit braces to avoid dangling else [-Wdangling-else]
2024-03-04 23:15:42 -06:00
Josh Coalson
a8ae56e06a
Part: Rename AttachExtension::Support property to AttachmentSupport, to avoid name conflict with base features. Fixes #7052
2024-03-04 18:22:43 +01:00
Max
4e29ce1fcf
add description of colinear function to Sketcher_ConstrainTangent
2024-03-04 18:20:18 +01:00
Roy-043
8145eed95f
Sketcher: Sketcher_ConstrainHorizontal before Sketcher_ConstrainVertical in GUI
...
Changes to TaskSketcherElements.cpp are not required, but were done for consistency. The order in the file follows the GUI.
2024-03-04 11:12:38 -06:00
Chris Hennes
047d99e8a7
Merge pull request #12607 from AjinkyaDahale/sketcher-join-curves-2
...
Sketcher: Improve Join Curves
2024-03-04 10:57:41 -06:00
Chris Hennes
b6c8f8d460
Update translations
2024-02-29 17:25:46 -06:00
pre-commit-ci[bot]
5829c3a058
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-02-28 12:58:07 +01:00
Roy-043
dcc41bf80c
Sketcher: improve GUI texts for arcs and conics
...
The descriptions were sometimes not accurate (major/minor radius for ellipses). I have also tried to improve the constistency a little.
Forum topic:
https://forum.freecad.org/viewtopic.php?t=85396
2024-02-28 12:58:07 +01:00
pre-commit-ci[bot]
8f1b8b1f1f
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-02-28 12:55:40 +01:00
Roy-043
5cc566bb98
Sketcher: improve GUI texts for rectangles
...
The texts for the modes were changed to match those of the line tool.
2024-02-28 12:55:40 +01:00
pre-commit-ci[bot]
6a3c689d40
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-02-28 12:54:11 +01:00
Roy-043
86726f21b7
Sketcher: Change Sketcher_CreatePointFillet button text to match menu text
...
The menu text is "Create corner-preserving fillet" it makes sense to use a similar text for the button and not "Constraint-preserving sketch fillet".
2024-02-28 12:54:11 +01:00
PaddleStroke
dfa1b94c83
Sketcher: Line DSH: Harmonize width/length behavior with rectangle.
2024-02-27 21:46:41 -06:00
Ed Williams
f88f48f64f
Change the calculation of the b parameter of the hyperbolic arc ( #12467 )
...
* Change the calculation of the b parameter of the hyperbolic arc
so that it does not give 0/0 when cos(phi) = 0
This gave problems if the first two points defined in the sketcher had
the same x-coordinate.
2024-02-27 14:38:05 -06:00
Ajinkya Dahale
da7d5391af
[Sketcher] Join curves with C1 continuity
...
If endpoint-to-endpoint tangent constraint exists between the connecting points
of the curves to be joined, also apply C1 continuity (i.e. a knot multiplicity
of degree-1).
2024-02-27 09:57:52 -06:00
Ajinkya Dahale
f8f159c4d3
[Sketcher] Include endpoint-to-endpoint tangency as coincidence
...
Coincidence is implied as part of this particular variety of tangent constraint.
2024-02-27 09:57:52 -06:00
Ajinkya Dahale
d1c9370614
[Sketcher] Use angle-via-two-points in e2e with BSplines
2024-02-27 09:57:52 -06:00