Commit graph

36775 commits

Author SHA1 Message Date
Erwan MATHIEU
08a9bbe52c Merge branch 'CURA-12660_painting-UI-improvements' into CURA-12449_handling-painted-models-map
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
2025-08-06 16:34:41 +02:00
Erwan MATHIEU
e69a436942 Fix sometimes wrongly displayed view
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
CURA-12660
This required a refactoring of the management of the active view. The previous behavior was that anyone could set the active view, depending on certain conditions. But now we also have a view that is set by a tool, so sometimes the actually set view would be incorrect. Now each Stage requests an active view, and each tool CAN also request an active view. Then the Controller decides which view should actually be active depending on the active stage and tool.
2025-08-06 16:15:05 +02:00
Erwan MATHIEU
2e8cc4da82 Fix display not updating when changing tool
Some checks failed
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
conan-package-resources / conan-package (push) Has been cancelled
printer-linter-format / Printer linter auto format (push) Has been cancelled
conan-package-resources / signal-curator (push) Has been cancelled
CURA-12660
Previous fix caused issues when moving to preview
2025-08-05 16:10:57 +02:00
Erwan MATHIEU
310128d87e Merge branch 'CURA-12660_painting-UI-improvements' into CURA-12449_handling-painted-models-map 2025-08-05 15:57:57 +02:00
Erwan MATHIEU
cf24ed91e9 Improve fix for opacity issues
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
CURA-12660
Previous fix caused issues when moving to preview
2025-08-05 15:55:23 +02:00
Erwan MATHIEU
c75c668604 Allow user to display and select material color painting
CURA-12584
2025-08-05 15:34:57 +02:00
Erwan MATHIEU
9e186af74b Merge branch 'CURA-12660_painting-UI-improvements' into CURA-12449_handling-painted-models-map 2025-08-05 14:08:45 +02:00
Erwan MATHIEU
9d97eb7d59 Fix sometimes wrong painting color display
CURA-12660
2025-08-05 14:07:44 +02:00
Erwan MATHIEU
fa00082777 Set higher default multi-material resolution
CURA-12587
2025-08-05 12:54:44 +02:00
Erwan MATHIEU
3670c46b9e Merge remote-tracking branch 'origin/main' into CURA-12449_handling-painted-models-map 2025-08-04 16:19:03 +02:00
Erwan MATHIEU
63843b59c4 Merge remote-tracking branch 'origin/main' into CURA-12660_painting-UI-improvements
Some checks failed
conan-package-resources / conan-package (push) Has been cancelled
conan-package / conan-package (push) Has been cancelled
printer-linter-format / Printer linter auto format (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
conan-package-resources / signal-curator (push) Has been cancelled
2025-08-04 11:55:26 +02:00
Erwan MATHIEU
862c81e3c0
Merge pull request #20780 from Ultimaker/CURA-12528_unwrap_uvs
Some checks failed
conan-package / conan-package (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
CURA-12528 unwrap uvs
2025-08-04 11:30:27 +02:00
Erwan MATHIEU
bef7bac6a1
Merge branch 'main' into CURA-12528_unwrap_uvs 2025-08-04 11:29:45 +02:00
Erwan MATHIEU
a7366c86f9
Merge branch 'main' into CURA-12660_painting-UI-improvements 2025-08-04 11:29:06 +02:00
Erwan MATHIEU
44d6c0a969 Call SolidView dynamically instead of by inheritance
CURA-12660
The previous method actually doesn't work when Cura is packaged because the plugins paths change. This method is much safer, and uses the actual SolidView instance.
2025-08-04 11:28:31 +02:00
Erwan MATHIEU
e742ca81f3 Fixed more possible crashes
CURA-12528
2025-08-04 10:24:29 +02:00
Erwan MATHIEU
4c0dc9e026
Merge pull request #20821 from Ultimaker/CURA-12630_fix_reload_differences
[CURA-12630] Use newly exposed 'reloadNodes' so we can use Uraniums version of that.
2025-08-04 09:51:11 +02:00
Erwan MATHIEU
7a4402770a
Merge branch 'main' into CURA-12630_fix_reload_differences 2025-08-04 08:57:10 +02:00
Erwan MATHIEU
6547eb6ff3
Merge branch 'main' into CURA-12660_painting-UI-improvements 2025-08-04 08:46:04 +02:00
Erwan MATHIEU
78daa94ebf Save and restore painting tool settings
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
CURA-12660
2025-08-01 17:08:53 +02:00
Erwan MATHIEU
ea488f0202 Fix wrongly displayed error message
CURA-12660
2025-08-01 14:23:02 +02:00
HellAholic
8aa5c41c96 Merge remote-tracking branch 'origin/5.10'
Some checks failed
conan-package-resources / conan-package (push) Has been cancelled
conan-package / conan-package (push) Has been cancelled
printer-linter-format / Printer linter auto format (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
conan-package-resources / signal-curator (push) Has been cancelled
2025-08-01 13:30:41 +02:00
Erwan MATHIEU
ab58dec5d1 Fix unability to paint with visible message box
CURA-12660
When a message box is displayed, some offscreen rendering passes (face selection) render an unpredictable result and we are unable to start painting.
This went through a refactoring of the rendering passes. Since doing the offscreen rendering outside the Qt rendering loop caused some troubles, we now use the rendering passes only inside the Qt rendering loop, so that they work properly. Tools also have the ability to indicate which extra passes they require, so that we don't run all the passes when they are not required.
Since this issue also concerns the support blockers placement and rotation by face selection, they have been updated so that they now also always work.
The face selection mechanism using the Selection class was partially working and used only by the rotation, so now it has been deprecated in favor of the new mechanism.
2025-08-01 13:10:03 +02:00
HellAholic
be88e9d18f
Merge branch 'main' into CURA-12528_unwrap_uvs
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
2025-08-01 11:27:11 +02:00
HellAholic
cabdcd4fc3
Merge pull request #20820 from Ultimaker/CURA-12665_fix-possible-painting-crash
CURA-12665 Avoid crash when UV coordinates not loaded/generated
2025-08-01 11:25:31 +02:00
Erwan MATHIEU
347f4d10ca Apply proper AppImage compression level
Some checks failed
conan-package / conan-package (push) Has been cancelled
2025-07-31 13:22:16 +02:00
Erwan MATHIEU
3cb7eb3c87 Avoid too dark or too light areas while painting
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
CURA-12660
This avoid having parts of the model where you cannot see the painted areas anymore
2025-07-31 11:47:41 +02:00
Erwan MATHIEU
ef7bde87fa Allow painting only when 1 object is selected
CURA-12660
2025-07-31 11:24:36 +02:00
Erwan MATHIEU
6292f5b133 Hide paint-on-support option until it is implemented
CURA-12660
2025-07-30 16:57:29 +02:00
Erwan MATHIEU
91e986697d Fix painting after changing the selected object
CURA-12660
2025-07-30 16:54:05 +02:00
Erwan MATHIEU
6896c0ed4b Display classic view when there is no selection
CURA-12660
2025-07-30 16:53:41 +02:00
Erwan MATHIEU
6bf9a8a0ae Ignore invisible object for selection in paint mode
CURA-12660
2025-07-30 16:00:13 +02:00
Erwan MATHIEU
73f5b817b4 Display build plate in paint mode
CURA-12660
2025-07-30 15:59:30 +02:00
Erwan MATHIEU
da0509cda3 Fix painting through an invisible object
CURA-12660
2025-07-30 15:58:26 +02:00
Remco Burema
8af8283d2c Use newly exposed 'reloadNodes' so we can use Uraniums version of that.
This caused issues where the code deleted in this ticket was almost the same as in Uranium, except it was slightly buggy (but it also did slightly more, hence the new 'on_done' parametrer).

part of CURA-12630
2025-07-30 14:02:56 +02:00
Erwan MATHIEU
5d2aca4e31 Avoid crash when UV coordinates not loaded/generated
CURA-12664
2025-07-30 12:10:40 +02:00
Remco Burema
92ff625a52 Add UV-unwrap lib to 'hidden imports'.
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
This is probably what it needs for the builds to start working on Windows.

part of CURA-12528
2025-07-29 19:18:39 +02:00
Erwan MATHIEU
5426f80c57 Update action version
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
2025-07-29 07:55:32 +02:00
Erwan MATHIEU
fc9ea47384
Merge pull request #20807 from wosym/fix_quotes
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
conanfile.py: correct quotes in f-string
2025-07-28 12:16:37 +02:00
HellAholic
3e7394d1d9
Merge pull request #20798 from Ultimaker/CURA-12640_ChangelogUpdate
Some checks failed
conan-package-resources / conan-package (push) Has been cancelled
conan-package / conan-package (push) Has been cancelled
printer-linter-format / Printer linter auto format (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
Updated changelog for service patch
2025-07-28 11:53:55 +02:00
Mariska
17600c2660
Added category
added a *
2025-07-28 10:17:58 +02:00
Mariska
a866542a32
Apply suggestions from code review
Applied suggested improvements (and typo fixes)

Co-authored-by: Erwan MATHIEU <erwan.mathieu@ultimaker.com>
2025-07-28 10:15:13 +02:00
HellAholic
bd45cb47c7
Merge pull request #20795 from Ultimaker/CURA-12658_exclude_0.3_layerheight_petcf_pacfslide_ccp0.6
Cura 12658 exclude 0.3 layerheight petcf pacfslide ccp0.6
2025-07-28 09:52:24 +02:00
Wouter Symons
f8810c463a conanfile.py: correct quotes in f-string 2025-07-27 15:30:32 +02:00
MariMakes
4dca70bf29 Updated changelog for the patch
Updated changelog for the patch. Contributes to CURA-12640
2025-07-25 17:32:09 +02:00
HellAholic
c985793039 Delete um_s8_cc_plus_0.6_petcf_0.3mm.inst.cfg 2025-07-25 12:19:10 +02:00
HellAholic
2e07629bc1 Delete um_s8_cc_plus_0.6_nylon-cf-slide_0.3mm.inst.cfg 2025-07-25 12:19:08 +02:00
HellAholic
8da9818f43
Merge pull request #20765 from Ultimaker/CURA-12622_warn_on_actual_unused
Some checks failed
conan-package / conan-package (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
[CURA-12622] Warning on unused extruder.
2025-07-24 14:31:56 +02:00
Erwan MATHIEU
e8423755a4 Add button to auto-disable unused extruders
CURA-12622
2025-07-24 11:14:36 +02:00
Erwan MATHIEU
a39f6c94fa Make the warning message more concise
CURA-12622
The purpose being to make the message as short as possible so that people are not too much discouraged to read it
2025-07-24 10:50:31 +02:00