Commit graph

37257 commits

Author SHA1 Message Date
Erwan MATHIEU
33671083cd Make sure undo stroke properly clears all the set pixels
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
CURA-12752
Otherwise, when merging the polygons and undo-ing the whole stroke, there may be some remaining pixels outside the mesh triangles that would not be cleared, because the rasterizing is not 100% identical
2025-10-15 16:43:44 +02:00
Erwan MATHIEU
06a7592483 Do not update stacks at every stroke, but under the anti-bounce timer
CURA-12752
2025-10-15 16:01:03 +02:00
Remco Burema
f9c77f8730 For multi-material painting; stack needs to be updated.
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
... because the extruders used for the current object can change (clear all bits of extruder #2 paint on a single object, which results in the object printed with extruder #1 only, which could result in the prime-tower needing to be gone -- or the other way around).

The _previous_ way of doing that was just spamming the stack changes, but that gave other problems.

part of CURA-12752
2025-10-15 11:15:08 +02:00
Remco Burema
d5fc04684a
Apply suggestions from code review (imports).
done as part of CURA-12752

Co-authored-by: HellAholic <alireza.doustdar@gmail.com>
2025-10-15 08:55:10 +02:00
HellAholic
b956d151f7
Merge branch '5.11' into CURA-12752_multimat_paint_prime_tower
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-10-14 13:29:45 +02:00
Remco Burema
0f18b5e323 Rename method to better cover intended meaning.
done as part of CURA-12752
2025-10-14 11:37:14 +02:00
Remco Burema
0396a782b7
Change from code-review.
Easier to read.

done as part or CURA-12752

Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
2025-10-14 11:35:28 +02:00
HellAholic
9378b8179e
Merge pull request #21040 from Ultimaker/PP-682-Hide-seams-on-Factor-4
Some checks failed
conan-package-resources / 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
Hide seams on Factor 4
2025-10-13 15:50:27 +02:00
HellAholic
3b18ae78fe Apply printer-linter format 2025-10-13 13:49:18 +00:00
HellAholic
e0bd68e6fd
apply the linter comment
unnecessary override was removed for z_seam_corner
ultimaker definition has the same value
2025-10-13 15:47:37 +02:00
Erwan MATHIEU
8254c64488 Merge remote-tracking branch 'origin/5.11' into CURA-12752_multimat_paint_prime_tower
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-10-13 14:40:33 +02:00
Erwan MATHIEU
375f030c09 Update extruders count only when inactive
CURA-12752
The previous method was not efficient enough in case of large models, where a single painting stroke can easily cover almost the whole texture (in bounding box). Reverted to the version where the whole texture is counted, but cached in the SliceableObjectDecorator and updated on timer so that it is not done during painting.
2025-10-13 14:22:39 +02:00
Erwan MATHIEU
0e5442d570 Fix extruders counting method
CURA-12752
2025-10-13 13:33:51 +02:00
THeijmans
8d312325ee Hide seams on Factor 4 2025-10-10 15:05:52 +02:00
HellAholic
e599196d4e
Merge pull request #21039 from Ultimaker/PP-680-Remove-gradual-flow-lines-from-high-speed-S-line-prints
Some checks failed
conan-package-resources / 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
PP-680 Remove gradual flow lines from high speed S-line prints
2025-10-10 14:54:48 +02:00
THeijmans
a93f27f894 PP-680 2025-10-10 14:42:24 +02:00
HellAholic
fd59da28fb
Merge pull request #21024 from Ultimaker/CURA-12763_undo-redo-clear-does-not-invalidate-result
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
CURA-12763 undo redo clear does not invalidate result
2025-10-09 12:47:17 +02:00
HellAholic
c26a4e055e
Merge pull request #21027 from Ultimaker/CURA-12750_switch-out-of-paint-when-entering-preview
CURA-12750 Only display paint view in Prepare stage
2025-10-09 08:18:37 +02:00
HellAholic
566b58565f
Merge branch 'CURA-12763_undo-redo-clear-does-not-invalidate-result' into CURA-12750_switch-out-of-paint-when-entering-preview
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
2025-10-08 16:01:01 +02:00
HellAholic
df5c34b9e4
Merge branch '5.11' into CURA-12763_undo-redo-clear-does-not-invalidate-result
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
2025-10-08 15:55:44 +02:00
Remco Burema
c412def982 Extruder counts in image was too slow, cache and do per bounding-rect.
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
Rewrite the whole 'count pixels to get extruders for paint on materials' so that it's cached outside of the extruder manager instead, so that counting pixels in a 4096x4096 image isn't called xx of times per second.

part of CURA-12752
2025-10-08 09:58:05 +02:00
HellAholic
47ab4d7a1f
Merge pull request #21019 from Ultimaker/CURA-12761_painting-does-not-work-with-group
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
CURA-12761 Handle group selection as multi-selection w.r.t painting
2025-10-08 08:20:35 +02:00
Erwan MATHIEU
b30a2407d6 Only display paint view in Prepare stage
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
CURA-12750
2025-10-07 16:40:01 +02:00
HellAholic
cdaf3d5458
Merge branch '5.11' into CURA-12761_painting-does-not-work-with-group
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
2025-10-07 15:42:44 +02:00
HellAholic
7331cef53a
Merge pull request #21021 from Ultimaker/CURA-12747_unable-to-slice
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
CURA-12747 Fix unable to slice when using paint-on-seam first
2025-10-07 15:35:59 +02:00
HellAholic
0c5172c8a4
Merge branch '5.11' into CURA-12747_unable-to-slice 2025-10-07 14:58:41 +02:00
Erwan MATHIEU
c04ca0dde5 Restore initial text to avoid untranslated text
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
CURA-12761
2025-10-07 12:28:47 +02:00
Erwan MATHIEU
1a4de11537
Merge branch '5.11' into CURA-12761_painting-does-not-work-with-group 2025-10-07 12:27:25 +02:00
Remco Burema
107c3503d7 Merge remote-tracking branch 'origin/5.11' into CURA-12752_multimat_paint_prime_tower 2025-10-07 11:34:01 +02:00
Erwan MATHIEU
ab8d9686e2
Merge pull request #21022 from h1data/5.11
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
Updating Japanese translation for 5.11
2025-10-07 10:38:01 +02:00
Erwan MATHIEU
4c5d7e1bd1
Merge branch '5.11' into 5.11 2025-10-07 10:33:07 +02:00
Erwan MATHIEU
7453eb2322 Merge remote-tracking branch 'origin/CURA-12761_painting-does-not-work-with-group' into CURA-12763_undo-redo-clear-does-not-invalidate-result 2025-10-07 09:49:10 +02:00
Erwan MATHIEU
cb2e1eddcc Invalidate slice when using undo/redo/clear paint actions
CURA-12763
2025-10-07 09:46:50 +02:00
h1data
460a27ecc8 Updated Japanese translation for 5.11 2025-10-06 23:21:57 +09:00
Erwan MATHIEU
52f571e705 Fix unable to slice when using paint-on-seam first
CURA-12747
2025-10-06 13:41:13 +02:00
Erwan MATHIEU
1bc7986b34
Merge branch '5.11' into CURA-12761_painting-does-not-work-with-group 2025-10-06 12:35:06 +02:00
Erwan MATHIEU
d315e0a727 Handle group selection as multi-selection w.r.t painting
CURA-12761
2025-10-06 12:31:16 +02:00
HellAholic
79b1ebddd8
Merge pull request #21016 from Ultimaker/CURA-12755_mixed-translations
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
CURA-12755 mixed translations
2025-10-06 11:15:05 +02:00
Erwan MATHIEU
6e50df5066 Fix a few poor translations
CURA-12755
2025-10-06 10:50:25 +02:00
Erwan MATHIEU
78685b99e9 Fix Italian text present in French translation
CURA-12755
2025-10-06 10:49:59 +02:00
HellAholic
4d1005c680 Set conan package version 5.11.0-beta.1
Some checks failed
conan-package-resources / conan-package (push) Has been cancelled
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
conan-package-resources / signal-curator (push) Has been cancelled
2025-10-03 11:52:45 +00:00
HellAholic
1763907bc8
Merge pull request #21005 from Ultimaker/CURA-12739_5.11-Changelog-and-Whats-New-Pages
CURA-12739 5.11 changelog and whats new pages
2025-10-03 13:49:19 +02:00
Erwan MATHIEU
8ea4633dc8
Merge branch '5.11' into CURA-12739_5.11-Changelog-and-Whats-New-Pages 2025-10-03 13:43:34 +02:00
HellAholic
95916a2f4d
Merge pull request #20989 from Ultimaker/CURA-12740_multi-material-with-ex2
CURA-12740 properly handle material painting when object is set to extruder != 1
2025-10-03 13:41:43 +02:00
HellAholic
755705f83e
add script for clarity 2025-10-03 13:41:30 +02:00
Erwan MATHIEU
a1c8d755b3 Apply suggested changes
CURA-12739
2025-10-03 13:40:10 +02:00
Erwan MATHIEU
953cc990e4
Update resources/texts/change_log.txt
Co-authored-by: HellAholic <alireza.doustdar@gmail.com>
2025-10-03 13:37:58 +02:00
Erwan MATHIEU
066bb39683
Merge branch '5.11' into CURA-12740_multi-material-with-ex2
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-10-03 13:20:09 +02:00
Erwan MATHIEU
d50e4fece6
Merge branch '5.11' into CURA-12739_5.11-Changelog-and-Whats-New-Pages 2025-10-03 12:53:28 +02:00
Erwan MATHIEU
1ee01ae315 Bump SDK version for 5.11 2025-10-03 12:50:40 +02:00