Commit graph

10118 commits

Author SHA1 Message Date
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
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
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
Erwan MATHIEU
b43bc95e2b
Merge branch 'main' into CURA-12622_warn_on_actual_unused
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
2025-07-21 13:56:58 +02:00
HellAholic
249d5f5245
Merge pull request #20640 from Ultimaker/CURA-12543_painting_ux
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-12543] Painting UI
2025-07-17 12:07:12 +02:00
Remco Burema
b3552d8b20 Basic warning on unused extruder.
Since the bed-temp (for example) might be unfluenced by unused but (probably accidentally) enabled extruders, we want to be able to warn the user of such.

part of CURA-12622
2025-07-16 11:27:49 +02:00
Erwan MATHIEU
bbddcab4e9 Proper paint-on-seam UI
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
CURA-12578
2025-07-03 11:05:09 +02:00
HellAholic
4a18b2e0af
Merge branch 'main' into CURA-12557_handle-deactivated-things 2025-06-30 12:50:15 +02:00
Erwan MATHIEU
ae2a189c14 Replace "cloudActive" property by generic "active"
CURA-12557
2025-06-30 09:53:54 +02:00
HellAholic
9cf75648ab Review comment
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
- Set default to `""` for `Optional[str]` to remove the `or ""`
-The FW version can be returned as None which requires the fallback `or ""`
2025-06-25 13:54:56 +02:00
HellAholic
6a230b3df5 ClusterPrinterStatus: optional init args
Prevents a cura crash if any of the args are not returned from api call
2025-06-24 14:03:07 +02:00
Erwan MATHIEU
a1d1dc2ea0 Merge remote-tracking branch 'origin/main' into CURA-12543_painting_ux
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-06-24 13:37:23 +02:00
Erwan MATHIEU
be14fc7dd6 Send texture data to the engine
CURA-12574
2025-06-24 13:36:49 +02:00
Erwan MATHIEU
7dcc5cd470 Expose brush shape to QML
CURA-12543
2025-06-24 13:11:00 +02:00
HellAholic
248efa51a8
Merge pull request #20240 from Ultimaker/CURA-11978_retract-and-unretract-in-a-travel
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
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
CURA-11978 Retract and unretract in a travel
2025-06-20 14:52:06 +02:00
HellAholic
4001e23d91
Update Cura.proto
Add the types missing
2025-06-20 14:08:09 +02:00
HellAholic
be3d620142
typo fix
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
2025-06-20 12:28:51 +02:00
Erwan MATHIEU
3c04680c71 Load and save texture data mapping in 3MF
CURA-12566
2025-06-19 15:57:48 +02:00
HellAholic
397c43545c
Merge branch 'main' into CURA-12557_handle-deactivated-things
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
2025-06-19 13:57:53 +02:00
Erwan MATHIEU
7cca040033 Merge remote-tracking branch 'origin/CURA-12544_saving-and-loading-painted-files-in-Cura' into CURA-12566_save-proper-data-in-painted-texture 2025-06-19 10:35:53 +02:00
Erwan MATHIEU
810638a29a Merge remote-tracking branch 'origin/CURA-12543_painting_ux' into CURA-12544_saving-and-loading-painted-files-in-Cura 2025-06-19 10:24:33 +02:00
Erwan MATHIEU
960d2a2315 Optimized application of stroke
CURA-12566
2025-06-19 10:15:37 +02:00
Erwan MATHIEU
4caba52f05 Basically working multipurpose painting
CURA-12566
2025-06-18 16:00:47 +02:00
Remco Burema
e27926a968 Paint: Have a stroke properly propagate over the texture-triangles.
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
part of CURA-12543
2025-06-18 15:02:06 +02:00
Remco Burema
d2ade67cad Paint: 'Substrokes per face' data-structure.
part of CURA-12543
2025-06-18 13:41:20 +02:00
Remco Burema
56f669d1fd Paint: Replace undo-redo UI code with qml Action.
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
part of CURA-12543
2025-06-18 12:50:21 +02:00
Remco Burema
01c02e4479 Paint: Simplify and clarify input-event-code.
part of CURA-12543
2025-06-18 12:42:45 +02:00
Remco Burema
4fae9b231a Paint: Make calculation of Baricentric-coordinates a bit more robust.
part of CURA-12543
2025-06-18 12:06:04 +02:00
Remco Burema
75946d8871 Shape of brush is an enum now, not a string.
part of CURA-12543
2025-06-18 11:56:08 +02:00
Erwan MATHIEU
864ccbc33b Merge remote-tracking branch 'origin/CURA-12543_painting_ux' into CURA-12544_saving-and-loading-painted-files-in-Cura 2025-06-17 09:27:52 +02:00
Erwan MATHIEU
a789a5bc90
Merge branch 'main' into CURA-12543_painting_ux
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-06-17 09:22:17 +02:00
Erwan MATHIEU
4ff78c893b
Merge branch 'main' into CURA-12544_saving-and-loading-painted-files-in-Cura
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
2025-06-16 15:43:22 +02:00
HellAholic
247b512ac2
Merge pull request #19419 from geekykayaker-anon/CreateThumbnailBeginBlockOptions
Add some options to CreateThumbnail to allow for some customisation o…
2025-06-16 11:09:54 +02:00
Erwan MATHIEU
3579d85ba9
Merge pull request #20444 from Ultimaker/PostProcessing_InsertAtLayerChange_update
InsertAtLayerChange: Make the conversion to uppercase optional
2025-06-16 11:09:03 +02:00
HellAholic
5db75acffb No need for type cast -> it returns a bool 2025-06-16 10:44:36 +02:00
Erwan MATHIEU
facf0b7d4a
Merge branch 'main' into PostProcessing_InsertAtLayerChange_update 2025-06-16 10:24:18 +02:00
HellAholic
cda8c33c2d
Merge branch 'main' into CreateThumbnailBeginBlockOptions 2025-06-16 10:23:10 +02:00
HellAholic
5849fd9c99 Update CreateThumbnail.py 2025-06-16 10:22:40 +02:00
Erwan MATHIEU
44e1c08062
Merge branch 'main' into Update-PurgeAndUnload.py 2025-06-16 10:08:44 +02:00
HellAholic
b7ce5cc07f
Merge branch 'main' into CURA-11978_retract-and-unretract-in-a-travel
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-06-13 17:10:00 +02:00
HellAholic
21cf6ee14e
Merge branch 'main' into AddCoolingProfile 2025-06-13 12:39:33 +02:00
HellAholic
40ba22930b
Merge branch 'main' into Update-PurgeAndUnload.py
Some checks failed
printer-linter-format / Printer linter auto format (push) Has been cancelled
2025-06-13 12:38:25 +02:00