Commit Graph

3286 Commits

Author SHA1 Message Date
Chris Hennes
7831bf06d1 Merge pull request #16355 from CalligaroV/Sketcher-checkSubName-from-LS3
Sketcher/Toponaming: import SketchObject::checkSubName() from LS3
2024-09-12 21:11:39 -05:00
Kacper Donat
7646d4b611 Sketcher: AutoColor should update only colors
Previously AutoColor property forced reinitialization of all subscribed
parameters. It was mostly fine as most of them should stay in sync with
user settings but it also affected grids.
2024-09-09 21:19:35 -05:00
Morimiue
83c846e411 Sketcher: transfer constraints on conic's mid point to the newly created conic arc (e.g. ellipse arc)" -m "Fixes #15860" -m "When spliting a sketch curve, constraints on the original curve are transferred to the newly created curve. The original code did not consider the constraints on the center point of an ellipse arc. 2024-09-09 18:31:13 +02:00
Yorik van Havre
e1823d25e8 Translations (#16389)
* Translations: Updated ts files

* Translations: 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-09-09 18:25:52 +02:00
Yorik van Havre
869ff4e51e Merge pull request #16140 from Ondsel-Development/sk_rectangle_thickness_crash
Sketcher: Fix round corner + thickness issue if radius + thickness = 0
2024-09-09 18:14:41 +02:00
CalligaroV
62f9d10321 Sketcher/Toponaming: import code for SketchObject::checkSubName() from LS3
* applied review hints

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-09-08 10:39:54 +02:00
Zheng, Lei
819ae560f1 Sketcher/Toponaming: import code for SketchObject::checkSubName() from LS3
* import code
 * add modified_item assignment in TaskSketcherElements::onSelectionChanged() like for non ExternalEdge
2024-09-07 14:08:23 +02:00
PaddleStroke
729d8c9958 Sketcher: Rectangle DSH: refactor the createShape function. 2024-09-04 08:32:22 +02:00
PaddleStroke
08cd921cb6 Sketcher: Fix round corner + thickness issue if radius + thickness = 0. 2024-09-04 08:32:22 +02:00
Kacper Donat
8fac01b75a Gui: Make sketcher element icons normally opaque 2024-09-03 20:53:47 +02:00
Kacper Donat
9ec1e29f98 Gui: Force 24px icons in sketcher task panel 2024-09-03 20:53:47 +02:00
PaddleStroke
4f93df136b Sketcher: CommandConstraints: Make sure points are created as constructions in few functions. 2024-09-03 18:28:54 +02:00
PaddleStroke
2e38cbdf3a Sketcher: Point DSH : remove unecessary "toggleConstruction(%d)", 2024-09-03 18:27:34 +02:00
PaddleStroke
c79bde4db5 Sketcher: ConstraintPyImp: replace 'cstr' name by 'constraint' 2024-09-02 18:22:51 +02:00
PaddleStroke
e7ff71c20c Sketcher: addGeometry : Remove point construction limitation. 2024-09-02 18:22:51 +02:00
PaddleStroke
f763fe5bf3 Sketcher: Fillet preserving point : Make point construction. 2024-09-02 18:22:51 +02:00
PaddleStroke
0ed0d6518c Sketcher: Make it possible to specify if the constraint is active or driving during python creation. 2024-09-02 18:22:51 +02:00
Chris Hennes
983c33bbc0 Merge pull request #16133 from Ondsel-Development/sk_circle_ovp_bug
Sketcher: Fix autoconstraint issue
2024-08-31 13:23:14 -05:00
bgbsww
608c80b5a3 Toponaming: Remove remaining FC_USE_TNP_FIX defines 2024-08-31 13:21:10 -05:00
Ajinkya Dahale
b485965d97 [planegcs] Fix error gradient check in ConstraintTangentCircumf 2024-08-31 13:19:13 -05:00
PaddleStroke
a32aff3cda Sketcher: Fix problem where preselectAtPoint was called after the autoconstraints being generated, hence having no effect. By adding updateDataAndDrawToPosition after we regenerate the correct autoconstraint. We cannot just move the mouseMove to after preselectAtPoint because we need to have the enforced position. 2024-08-29 12:49:07 +02:00
PaddleStroke
0879c553e0 Sketcher: Circle DSH: fix seekSecond case of doEnforceControlParameters 2024-08-29 11:37:51 +02:00
pre-commit-ci[bot]
a91ba92f01 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-08-28 15:56:09 +00:00
Yorik van Havre
2c17bf7200 Merged crowdin translations 2024-08-28 17:51:34 +02:00
Yorik van Havre
0f30e525f5 Updated ts files 2024-08-28 17:50:59 +02:00
Ajinkya Dahale
5b174a048e [Sketcher] Replace tangent autoconstraint with equality for circles 2024-08-26 18:22:29 +02:00
Ajinkya Dahale
1381c279fa [Sketcher] Fix a check during tangent autoconstraint 2024-08-26 18:22:29 +02:00
wmayer
c30d42c441 Core: Rename ViewProviderPythonFeature to ViewProviderFeaturePython
Fixes #15888
2024-08-26 18:14:22 +02:00
bgbsww
e4a509cc77 Toponaming: Remove all FC_USE_TNP_FIX protected old code 2024-08-26 11:12:48 -05:00
Chris Hennes
40d58745cb Merge pull request #16041 from mosfet80/patch-16
Update libs into .pre-commit-config.yaml
2024-08-26 10:54:47 -05:00
Ajinkya Dahale
2c6817d796 [planegcs] Support circle-to-circle tangent when centers coincide
This simply implies avoiding some NaN's when computing error or gradient.
2024-08-25 23:20:41 +05:30
pre-commit-ci[bot]
09386be6a9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-08-25 07:29:42 +00:00
Ajinkya Dahale
4d447bcb24 [Sketcher] Fix #14736
Recompute even if the addition of new elements and autoconstraints failed
partially.
2024-08-25 07:33:59 +05:30
Ajinkya Dahale
0d32b98e14 [Sketcher] Use modernized geometry type checks 2024-08-25 07:33:59 +05:30
Ajinkya Dahale
d03464b7d6 [Sketcher] Fix endpoint-to-endpoint/edge tangency substitution
Only substitute if the point(s) involved are `start`/`end`. Centers do
not make sense here.
2024-08-25 07:33:59 +05:30
wmayer
7d492c9f64 Building: Boost dependency errors
Fixes #15999
2024-08-22 18:50:24 -05:00
Pieter Hijma
7fb0a97300 Core: Fix a missing interpreter lock 2024-08-12 11:45:46 -04:00
bgbsww
4fd5b0b562 Toponaming: Additional element map changes to transform 2024-08-08 09:09:46 -05:00
Chris Hennes
3b33d73b7e Sketcher: Modernize license text 2024-08-05 10:49:14 -05:00
Yorik van Havre
23a9f47780 Translations (#15689)
* 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-08-05 10:42:18 -05:00
bgbsww
6269196acf Toponaming: use correct face maker 2024-08-02 21:55:51 -04:00
bgbsww
5f657bc1ce Toponaming: bring in code to fix delExternal breakage. 2024-08-02 14:13:38 -05:00
hasecilu
5c70bb70b8 Fix typos on Assembly & Sketcher WBs 2024-08-01 21:25:28 -05:00
bgbsww
d0abd4e5ad Toponaming: Final piece nine of fixing Save/Restore sketch external geometry 2024-07-29 09:38:21 -05:00
wmayer
5c9d780a17 Sketch: Fix compiler warnings
Fix warning: -Wunused-but-set-variable
2024-07-28 11:59:51 +02:00
Chris Hennes
e290cd48e1 Sketcher/Toponaming: Further linter cleanup 2024-07-26 22:10:44 -05:00
Chris Hennes
48a37e4d1e Sketcher/Toponaming: Minor code cleanup during review 2024-07-26 21:48:33 -05:00
bgbsww
8b25341a7f Toponaming: Touchup cleanup
Includes some header re-ordering from chennes.
2024-07-26 21:39:39 -05:00
bgbsww
9f2210313d Toponaming: Tests, cleanup, and fix axis drawing 2024-07-26 11:49:56 -04:00
Zheng, Lei
77f181a307 Toponaming: Transfer in ExportGeo and associated 2024-07-26 11:49:56 -04:00