Commit Graph

3232 Commits

Author SHA1 Message Date
bgbsww
0bddc51805 Refactor all element name pairs into clearer struct names - renames 2024-07-20 16:32:12 -04:00
bgbsww
159c811bce Toponaming: refactor getExportElementName to separate method 2024-07-19 10:19:57 -04:00
bgbsww
db9c075be8 Toponaming: Clean Code adding RefIndex to ExternalGeometry and supporting new migration types. 2024-07-19 09:39:19 -04:00
Zheng, Lei
1972156308 Transfer in code from linkstage3 2024-07-19 09:22:17 -04:00
Chris Hennes
c8046b1c60 Sketcher: Fix crash on recompute with points
Fixes #15154.
2024-07-17 10:25:22 -04:00
PaddleStroke
e4c707b989 Sketcher: Rotate: correct the name of the checkbox 2024-07-17 00:12:24 -05:00
Chris Hennes
f6d45db7eb Merge pull request #15194 from bgbsww/bgbsww-toponamingFix15145
Toponaming: Missing getSubObject code in PartDesign::Body
2024-07-16 23:20:24 -05:00
Pesc0
0e5690d732 Rename variables and clean method 2024-07-15 12:50:30 -04:00
PaddleStroke
4527112392 Sketcher: Dimension: Fix right click/esc so that it dismiss the dimension before exiting the tool. 2024-07-15 18:26:03 +02:00
PaddleStroke
64c83f3588 Sketcher: Fix bug of auto-constraints icon not clearing up on mouseMove. 2024-07-15 11:23:03 -05:00
Zheng, Lei
bcea524177 Toponaming: Missing getSubObject code in PartDesign::Body and SketchObject::getSubObject 2024-07-15 11:59:15 -04:00
Chris Hennes
0918dfcf98 Merge pull request #15085 from wwmayer/issue_15068
Sketcher: Delete key in non-functional in macOS
2024-07-15 10:34:55 -05:00
PaddleStroke
a1487106ab Sketcher: re-apply cursor of tool when clicking. 2024-07-14 22:35:07 -05:00
Chris Hennes
2a60242724 Merge pull request #15167 from Ondsel-Development/sk_pref_default
Sketcher/Techdraw: add resetSettingsToDefaults to reset correctly dimension tool settings
2024-07-14 20:54:26 -05:00
Chris Hennes
4bb6d191b4 Merge pull request #15371 from yorikvanhavre/translations
Translations
2024-07-14 12:55:28 -05:00
PaddleStroke
d3a9b11599 Sketcher: Fix offset crash that was caused by coincident wires that were unconstrained. 2024-07-13 19:05:19 -05:00
PaddleStroke
9868533d8d Sketcher: Fix undo of external creation not working. 2024-07-12 09:41:55 -05:00
pre-commit-ci[bot]
6470f3b129 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-07-11 13:11:59 +00:00
Yorik van Havre
2c66c8a788 Merged crowdin translations 2024-07-11 15:07:17 +02:00
Yorik van Havre
0a69f0d7c2 Updated ts files 2024-07-11 14:56:33 +02:00
bgbsww
af1f7385d4 Toponaming: Comment out console warnings triggered by external geometry 2024-07-09 08:55:21 -05:00
pre-commit-ci[bot]
b571f09c1c [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-07-09 08:52:17 -05:00
Yorik van Havre
32c9ed5493 Merged crowdin translations 2024-07-09 08:52:17 -05:00
Max Wilfinger
7d21d9edb8 Fix source string typos mentioned on Crowdin (#15261) 2024-07-08 17:18:31 -05:00
wmayer
8668d48b2d Sketch: Fix compiler warnings 2024-07-08 19:27:39 +02:00
PaddleStroke
5e4ab51c02 Sketcher: Bspline: Fix degree visibility, default value and combobox not updating with methode change. 2024-07-08 11:27:46 -05:00
Chris Hennes
fe007b205b Merge pull request #14979 from Ondsel-Development/sk_ovp_switching
Sketcher: Dimension: Fix 2 bugs.
2024-07-08 11:26:39 -05:00
wmayer
fadb607054 Tests: Make PD and Sketcher tests independent of user settings
The Refine property must be explicitly set as otherwise some tests will break because of different user settings
2024-07-08 11:19:36 -05:00
PaddleStroke
b7c6ffe785 Sketcher: scale/translate: fix OVP warning if disabled 2024-07-08 11:13:29 -05:00
FEA-eng
e09d8c58f7 Sketcher: Increase default width of dashed lines (#15075)
* Sketcher: Update SketcherSettingsAppearance.ui

* Sketcher: Update EditModeCoinManager.cpp
2024-07-08 11:06:55 -05:00
Chris Hennes
4eb57fb50d Sketcher: Resolve unsafe combination of bool and int in | 2024-07-08 11:02:49 -05:00
ppphp
51c6dbd3e3 fix unique ptr usage in sketch (#15008)
* fix unique ptr usage in sketch

* [pre-commit.ci] auto fixes from pre-commit.com hooks
2024-07-08 10:53:49 -05:00
Chris Hennes
24c7d3ef25 Sketcher: Switch SnapManager from Win-1252 to UTF-8 2024-07-08 17:51:33 +02:00
PaddleStroke
cef87b5642 Sketcher: BSpline DSH: Fix crash: If you create new sketch, start bspline tool and change mode, it would crash. It's because it was doing a abortCommand before the command was opened. So it cancelled the create sketch command. 2024-07-08 10:50:33 -05:00
PaddleStroke
6a309e889e Sketcher: BSpline: Fix crash when cancelled while only one point with autoconstraint. 2024-07-08 10:41:11 -05:00
wmayer
1eaf89b485 Sketcher: Handle PyException in createGeneratedAutoConstraints
Command::doCommand may throw an exception that isn't handled by the active sketch handler. This may leave it in an inconsistent state and can cause a crash later.

See #14945
2024-07-08 10:40:04 -05:00
wmayer
561e521817 MSVC: Fix warning C4005: 'NOMINMAX': macro redefinition 2024-07-05 17:04:43 +02:00
wmayer
858e59fabf Sketcher: Fix format string in ExternalGeometryFacade::initExtensions()
The format string of the warnings were incorrect and caused an fmt::format_error exception
2024-07-04 22:05:22 +02:00
PaddleStroke
09209436d2 Sketcher: add SketcherSettings::resetSettingsToDefaults to reset correctly some settings. 2024-07-03 18:33:57 +02:00
PaddleStroke
d92742f9c6 Sketcher: Dimension: Prevent the use of Undo from crashing. 2024-07-02 15:48:47 +02:00
Yorik van Havre
2a009589f9 Translations (#15107)
* 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-07-02 12:21:53 +02:00
PaddleStroke
fa0fdf22cf Sketcher: Dimension: Fix constraint switching. Refactor a little bit by adding finishDimensionCreation to reduce code copies. 2024-07-02 09:49:47 +02:00
Chris Hennes
2411f9f3b3 Merge pull request #14461 from AjinkyaDahale/sk-fix-12592-bsp-by-knot-trim
[Part][Sketcher] Fix some B-spline trimming issues
2024-07-01 11:28:50 -05:00
FEA-eng
2abe477651 Sketcher: New carbon copy icons (#15074)
* Sketcher: Delete src/Mod/Sketcher/Gui/Resources/icons/geometry/Sketcher_CarbonCopy.svg

* Sketcher: Delete src/Mod/Sketcher/Gui/Resources/icons/geometry/Sketcher_CarbonCopy_Constr.svg

* Add new carbon copy icon

* Add new carbon copy constr icon
2024-07-01 11:00:07 -05:00
Max Wilfinger
e490531510 Activate Part/Part Design check and refine preferences by default (#14406)
* Activate Part/Part Design check and refine preferences by default

* added bool in .ui

* Update tests

* Fix Sketcher tests
2024-07-01 10:50:42 -05:00
wmayer
fe89807f53 Sketcher: Delete key in non-functional in macOS 2024-07-01 11:51:14 +02:00
bgbsww
d65ee84ff2 Cleanup 2024-06-28 22:24:30 -04:00
pre-commit-ci[bot]
54920e6611 Review cleanups 2024-06-28 11:57:43 -05:00
bgbsww
a674729dd3 Toponaming: Cleanups 2024-06-28 11:57:43 -05:00
Zheng, Lei
7a4bc95d47 Toponaming: Transfer in missing Code for BaseFeatures and Sketches 2024-06-28 11:57:43 -05:00