Commit graph

10330 commits

Author SHA1 Message Date
HellAholic
f0dfccc5b4
Merge branch 'main' into CURA-12718_dont_send_username 2025-11-04 14:16:57 +01:00
HellAholic
ebb91b3651
Merge branch 'main' into CURA-12718_dont_send_username
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-31 14:11:19 +01:00
HellAholic
e782b8d1d9
Merge branch 'main' into CURA-12811_settings-with-errors-can-be-ignored-when-slicing
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-29 21:09:44 +01:00
Remco Burema
eeca0aa7b6 Accumulated errors weren't (cast to) strings.
Fixes Sentry issue CURA-'9HY'.
2025-10-28 09:30:14 +01:00
Erwan MATHIEU
d889e8df06 Merge remote-tracking branch 'origin/5.11' 2025-10-24 14:20:11 +02:00
Erwan MATHIEU
d67793bddf
Merge branch 'main' into CURA-12811_settings-with-errors-can-be-ignored-when-slicing
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-24 14:19:43 +02:00
Remco Burema
89ba272adf Don't send username for local printer connections.
CURA-12718
2025-10-23 11:51:41 +02:00
HellAholic
ae3337f6ec
Merge branch '5.11' into CURA-12717_warn_on_auth_need
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-22 16:55:38 +02:00
Erwan MATHIEU
f19cc66ddb Fix actions relying on never-updating property
CURA-12811
2025-10-22 15:50:40 +02:00
Remco Burema
78ca8439d8 Merge remote-tracking branch 'origin/5.11'
Some checks failed
conan-package / conan-package (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (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-22 14:28:18 +02:00
Remco Burema
cd3aa02440 Show the user a warning when the printer requires authentication.
Also hide it when appropriate.

part of CURA-12717
2025-10-22 12:19:26 +02:00
Remco Burema
6f41127628 Make sure to require authentication again.
... even if it was previously obtained in the session, but something changed (on, say, the printers side).

done as part of CURA-12717
2025-10-22 12:16:59 +02:00
HellAholic
f7d63c3678
Merge branch '5.11' into CURA-12792_model-extruder-assignment-and-color-in-paint-mode 2025-10-21 09:13:20 +02:00
HellAholic
0f5cef22de
Merge branch '5.11' into CURA-12742_add-message-when-painted-with-disabled-extruder 2025-10-20 11:15:26 +02:00
HellAholic
02916eeeaf Remove trailing whitespace in PurgeLinesAndUnload.py
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
2025-10-19 08:59:20 +02:00
GregValiant
542a13195a Update PurgeLinesAndUnload.py
Change the purge line height from a fixed 0.3 to a live value equal to the Initial Layer Height.  This fixes a problem it was creating with the preview of a gcode file.
2025-10-19 08:59:20 +02:00
HellAholic
36eb462bb7 Remove trailing whitespace in PurgeLinesAndUnload.py 2025-10-19 08:58:02 +02:00
GregValiant
6d8b517c62 Update PurgeLinesAndUnload.py
Change the purge line height from a fixed 0.3 to a live value equal to the Initial Layer Height.  This fixes a problem it was creating with the preview of a gcode file.
2025-10-18 21:30:47 -04:00
Erwan MATHIEU
f9f3f92567 Fix clear command for 2nd+ mapped data
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
CURA-12792
2025-10-17 16:11:25 +02:00
HellAholic
d1aee97ea2
Merge branch '5.11' into CURA-12742_add-message-when-painted-with-disabled-extruder
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-17 13:57:44 +02:00
Erwan MATHIEU
56832c4258 Update message and associated translations
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
CURA-12742
2025-10-16 09:59:52 +02:00
Erwan MATHIEU
df31cc8e31 Use separate node attribute to indicate assigned to disabled extruder
CURA-12742
2025-10-16 09:50:09 +02:00
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
Remco Burema
0f18b5e323 Rename method to better cover intended meaning.
done as part of CURA-12752
2025-10-14 11:37:14 +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
Erwan MATHIEU
6632fcaf2f
Merge branch '5.11' into CURA-12742_add-message-when-painted-with-disabled-extruder
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
2025-10-09 15:40: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
HellAholic
d982298011
Merge branch '5.11' into CURA-12742_add-message-when-painted-with-disabled-extruder
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
2025-10-08 14:28:03 +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
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
Erwan MATHIEU
837e06c4c0 Add button to enable required extruders before slicing
CURA-12742
2025-10-07 16:13:47 +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
Erwan MATHIEU
1fe563d06f Note that an ungrouped object should be selected for painting
CURA-12761
2025-10-07 12:30:31 +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
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
cb2e1eddcc Invalidate slice when using undo/redo/clear paint actions
CURA-12763
2025-10-07 09:46:50 +02: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
d315e0a727 Handle group selection as multi-selection w.r.t painting
CURA-12761
2025-10-06 12:31:16 +02:00
Erwan MATHIEU
508886cac7 Merge remote-tracking branch 'origin/5.11' into CURA-12740_multi-material-with-ex2 2025-10-03 12:22:03 +02:00
Erwan MATHIEU
465831ce28 Remove leftover code
CURA-12740
2025-10-03 12:09:51 +02:00
Erwan MATHIEU
6ccd0b3b2b Properly display model extruder when it has no paint data
CURA-12740
2025-10-03 12:00:54 +02:00
HellAholic
72432be487
Merge branch '5.11' into CURA-12743_slow-performance-while-painting 2025-10-03 11:01:40 +02:00
HellAholic
05440640a5
Merge branch '5.11' into CURA-12760_remove-bambu-printers
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
2025-10-02 21:41:54 +02:00
HellAholic
3abac31778 Revert the addition of keys to the ignore_keys and add them to the backups
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
The whitelist of the preferences only allows: "general/visible_settings", "cura/active_mode", "cura/categories_expanded", "metadata/setting_version" to be stored.

In backups, we're obfuscating Secret Preferences and these should be considered as items for that.
2025-10-02 15:21:01 +02:00