Commit graph

10349 commits

Author SHA1 Message Date
HellAholic
0c6d7d65e4
Merge pull request #21206 from Ultimaker/CURA-12361_add-skin-support
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
CURA-12361 add skin support
2025-12-19 15:17:04 +01:00
HellAholic
f5a9cb2f65 Fix layer heights cache to use layer_data id
Updated the caching logic in SimulationView to use the id of the layer_data object instead of the node. This ensures the cache is correctly invalidated when layer_data changes, preventing potential issues when nodes are reused.
2025-12-14 23:54:32 +01:00
HellAholic
749d81c4d9 Optimize layer heights cache in SimulationView
Added logic to track which node's layer heights are cached and only recalculate the cache if the data source changes. This improves performance by avoiding unnecessary recalculations and ensures cache validity when the scene changes.
2025-12-14 23:33:18 +01:00
Erwan MATHIEU
6b275d2914
Merge branch 'CURA-12833_improve-bridge-lines-direction' into CURA-12361_add-skin-support
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-12-11 16:45:29 +01:00
Erwan MATHIEU
9de6f6f2ac Remove obsolete settings
Some checks are pending
conan-package-resources / conan-package (push) Waiting to run
conan-package-resources / signal-curator (push) Blocked by required conditions
conan-package / conan-package (push) Waiting to run
printer-linter-format / Printer linter auto format (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
CURA-12361
2025-12-11 11:23:30 +01:00
HellAholic
d591e7fcfc Cache layer heights to improve performance
Introduced a cache for layer heights to avoid recalculating them on every query. Added a method to populate the cache for all layers at once, and updated layer height retrieval methods to use the cache, improving efficiency when accessing layer height data.
2025-12-10 12:45:29 +01:00
HellAholic
f4430718c7 Show layer height in Simulation View slider labels
Adds display of the current and minimum layer heights (in mm) to the Simulation View slider labels. Implements new properties and logic in SimulationView and SimulationViewProxy to retrieve accurate layer heights for both sliced and gcode data. Bumps plugin version to 1.1.0.
2025-12-09 17:22:32 +01:00
HellAholic
67bae5fda3
Merge branch 'main' into CURA-12701_user_estimation_factor 2025-12-09 14:06:06 +01:00
HellAholic
42d89f2eec
Merge pull request #21198 from GregValiant/Annealing
Annealing
2025-12-09 10:14:30 +01:00
GregValiant
27a72a99b3 Update AnnealingOrDrying.py
Update AnnealingOrDrying.py

Bug fix and some minor changes to "units" as some were too long and didn't fit well.
2025-12-08 16:20:55 -05:00
HellAholic
d20e5bf937
Lint in PurgeLinesAndUnload.py 2025-12-06 19:22:15 +01:00
GregValiant
bc190da418 Update PurgeLinesAndUnload.py
An extremely minor bug fix.
The GcodeReader did not like ";TYPE:CUSTOM" and was adding a "WARNNG" to the log file.  This change addresses that.
2025-12-05 10:23:20 -05:00
HellAholic
89a6708f19 Show warning only for enabled extruders
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
Updated warning icon visibility logic to display warnings only for enabled extruders in the simulation view menu. This prevents warnings from appearing for extruders that are not active.
2025-11-26 09:01:50 +01:00
HellAholic
57fcd1e3c8 Fix extruder warning visibility logic
Updated the warning icon visibility check to only consider extruders that exist in the current printer, preventing false warnings for non-existent extruders.
2025-11-19 13:05:59 +01:00
HellAholic
851ba0e04b Rename SchemeTypeLabel to schemeTypeLabel
id should start with lowercase
2025-11-19 10:02:04 +01:00
HellAholic
932f139c95 Rename lineTypeLabel to SchemeTypeLabel
Updated the id from lineTypeLabel to SchemeTypeLabel and adjusted references accordingly for clarity and consistency in SimulationViewMenuComponent.qml.
2025-11-19 09:58:42 +01:00
HellAholic
6b01d85fb1 Add warning icons for extruder visibility in SimulationView
Introduces warning icons in the SimulationView menu to indicate when extruder visibility is low or unchecked. Updates layout logic to accommodate the new icons and increments the plugin version to 1.0.2.
2025-11-19 09:54:41 +01:00
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