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
wmayer
62dee011ef
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
262a858be5
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
2b667131ef
Sketcher: Fix missing translation of 'Sketcher visual'
2024-03-05 08:35:26 -06:00
Ladislav Michl
d95b56137b
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
63eb83c8f3
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
fbd8767242
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
2643902b6b
add description of colinear function to Sketcher_ConstrainTangent
2024-03-04 18:20:18 +01:00
Roy-043
94120db2a9
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
587f26530e
Merge pull request #12607 from AjinkyaDahale/sketcher-join-curves-2
...
Sketcher: Improve Join Curves
2024-03-04 10:57:41 -06:00
Chris Hennes
c4b54a94a2
Update translations
2024-02-29 17:25:46 -06:00
pre-commit-ci[bot]
b2d42e778d
[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
ce706604e8
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]
212d5cf4a3
[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
499539168e
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]
8923419440
[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
9563f3e580
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
eaff8d5436
Sketcher: Line DSH: Harmonize width/length behavior with rectangle.
2024-02-27 21:46:41 -06:00
Ed Williams
4bb28e543c
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
9c774710be
[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
19b68b9862
[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
26e7b0a704
[Sketcher] Use angle-via-two-points in e2e with BSplines
2024-02-27 09:57:52 -06:00
Ajinkya Dahale
4087f1e508
[planegcs] Add ConstraintAngleViaTwoPoints
...
Needed for B-spline to B-spline end to end tangent. The end point of one is for
now not usable in to get normal at the other.
2024-02-27 09:57:52 -06:00
wmayer
88b2cccc09
Fix compiler warnings:
...
fix [-Winconsistent-missing-override]
fix [-Wunused-lambda-capture]
fix [-Wunused-variable]
fix [-Wswitch]
2024-02-26 11:01:37 -06:00
Chris Hennes
641e3dbbb4
Update translations ( #12557 )
...
* 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-02-24 21:38:37 -06:00
wmayer
be3de50660
Sketcher: fixes #12343 : Undo/Redo for sketcher constraints doesn't work correctly
2024-02-25 00:59:35 +01:00
wmayer
64a91968a3
MSVC: fix compiler warnings
2024-02-25 00:12:34 +01:00
wmayer
78ffa29629
Sketcher: expose the LabelDistance and LabelPosition members of Constraint to Python
2024-02-25 00:10:56 +01:00
Max Wilfinger
a11085e97f
fix typo in polygon task dialog
2024-02-19 15:51:25 -06:00
czinehuba
22cad60585
Updated space in dashed lines
2024-02-19 18:39:58 +01:00
Huba Czine
6826b8fedf
Update icons for Sketcher_ToggleConstruction & Sketcher_ToggleConstruction_Constr
2024-02-19 18:39:58 +01:00
Max Wilfinger
3f1c0d4262
add new Sketcher commands translate and scale to context menu
2024-02-12 21:50:07 +01:00
Chris Hennes
38451a0d3c
Merge pull request #11267 from Ondsel-Development/pw_translate
...
[Sketcher] Translate DSH : replacement for rectangular array / move / copy / clone
2024-02-12 13:24:08 -06:00
Yorik van Havre
ae0f162a41
Crowdin translations ( #12313 )
...
* 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-02-12 11:59:08 -06:00
LemonBoy
72db315043
Fix icon order in constraint menu
...
Closes #12264
2024-02-12 11:50:41 -06:00
wmayer
5eabeff94e
Mod: fix several compiler warnings:
...
* fix -Wsometimes-uninitialized
* fix -Wunused-parameter
* fix -Wunused-variable
* fix -Winconsistent-missing-override
* fix -Wsign-compare
* fix -Wreorder-ctor
* fix -Wtautological-overlap-compare
2024-02-12 11:39:32 -06:00
PaddleStroke
dc942368db
Sketcher: CommandConstraint.cpp : modernize for loops and use some auto
2024-02-12 11:14:22 -06:00
PaddleStroke
4f508067ed
Sketcher: Parallel: Ignore selected points instead of throwing an error.
2024-02-12 11:14:22 -06:00
Max Wilfinger
4b71f44414
Improvements to contextual right click menu in Sketcher.
...
Consider preselection, external geo and copy/cut/paste commands.
2024-02-12 11:04:06 -06:00
PaddleStroke
fc1e978fc0
Sketcher: change DSH framework so that tab cycle through OVP and widget parameters.
2024-02-12 17:48:35 +01:00
PaddleStroke
f56bd4ea5a
Sketcher: DSH: add two shortcuts for DSH to use. Fix a small syntax error in polygon/rotate.
2024-02-12 17:48:29 +01:00