Commit graph

10466 commits

Author SHA1 Message Date
HellAholic
2cc3b0bbf5
Update error message for painting availability 2026-03-03 11:51:11 +01:00
HellAholic
9d5bb17ea0
Merge branch '5.12' into CURA-12853-add-message-painting-in-compatibility-mode 2026-03-03 08:59:14 +01:00
HellAholic
b564d2005e Defer 3MF node loading until machine activation
Postpone reading/adding 3MF scene nodes until after the target machine/UCP is activated to ensure correct build volume and settings are applied. Adds a deferred filename field and stores the file during initial load, then reads and adds nodes in new _loadAndAddNodesToScene using AddSceneNodeOperation after activation. Fixes _updateActiveMachine calls to use the reader's is_ucp state, resets is_ucp only after nodes are added, and clears the deferred filename in _clearState. Also updates WorkspaceDialog and QML logic so machine selection/combobox visibility behave correctly for UCP files.
2026-03-02 15:40:01 +01:00
Erwan MATHIEU
097f65b06f
Merge branch '5.12' into CURA-12853-add-message-painting-in-compatibility-mode
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
2026-02-26 13:27:35 +01:00
HellAholic
8cc504d765 code-review comments part II
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
Add type hints to ThreeMFWorkspaceReader methods
2026-02-23 12:36:40 +01:00
HellAholic
590e98b41b code-review comments part I 2026-02-23 12:28:58 +01:00
HellAholic
a0e3911922
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-21 14:36:32 +01:00
HellAholic
aefe8333c6 Refactor logging to use specific Logger methods
Replace generic Logger.log(...) calls with explicit Logger.error/warning/info/debug methods and standardize message formatting using f-strings. Also update Logger.logException call formatting for clarity. This is a stylistic refactor to make log severities and messages consistent across ThreeMFWorkspaceReader.py with no behavioral changes intended.
2026-02-21 14:26:25 +01:00
HellAholic
ab1cedd919 Defer machine activation and material apply
Delay active-machine switching and postpone applying materials/user settings until after machine activation so container/metadata signals can propagate. Removed the immediate _updateActiveMachine/_applyMaterials calls and replaced them with deferred callbacks using Application.getInstance().callLater: _finalizeMachineActivation -> _applyMaterialsAndFinalize for non-UCP flows, and _finalizeUcpActivation -> _applyUcpUserSettings for UCP flows. Adjusted _updateActiveMachine signature to accept is_ucp and moved containersChanged.emit to the deferred finalizers to ensure re-validation occurs after all changes are applied.
2026-02-21 13:36:06 +01:00
HellAholic
b067a2287b
Merge branch '5.12' into CURA-12872_fix-crash-at-file-load
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
2026-02-16 15:24:25 +01:00
HellAholic
8336931c54
Merge branch '5.12' into CURA-12871_preview-issues-with-loaded-gcode 2026-02-16 08:52:43 +01:00
Erwan MATHIEU
d64c3629eb Fix possible crash when loading a 3MF file
CURA-12872
2026-02-13 08:54:48 +01:00
Erwan MATHIEU
f49f0e5a88 Gracefully fail painting in OpenGL compatibility mode
CURA-12853
2026-02-11 16:52:28 +01:00
Erwan MATHIEU
8b4cee93c9 Fix cases of non-updating simulation view
CURA-12871
The removed test condition was only here for optimization, but is not reliable in all cases. It turns out the scene was updated thanks to the BuildVolume object being updated, so mostly by chance.
Now it is quite difficult to write a fully relevant test condition that triggers only when necessary, so instead the condition is removed. Since this slot is not called very often anyway, it should not hurt performance significantly.
2026-02-11 14:18:28 +01:00
Erwan MATHIEU
8311f332e1 Clear the upload handle when appropriate
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
CURA-12970
Some paths of the upload sequence would not clear the handle, so subsequent actions like changing the scene would result in displaying a network error
2026-02-11 11:25:00 +01:00
HellAholic
eefc333dcc Handle RuntimeError when writing UFP files
Include RuntimeError in several except clauses in plugins/UFPWriter/UFPWriter.py so runtime exceptions are caught and reported alongside EnvironmentError. This covers writing gcode, slice metadata, thumbnail, material relations, and closing the archive to improve error handling and avoid uncaught RuntimeError crashes.
2026-02-06 11:18:42 +01:00
HellAholic
fba94926db
Merge branch 'main' into CURA-12950-5.12_upgrade-script
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
2026-02-04 17:52:14 +01:00
Erwan MATHIEU
8daab8e43d
Do not force honeycomb infill for S6/S8
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
2026-02-03 14:54:17 +01:00
Erwan MATHIEU
768f299187 Add actual upgrade script
CURA-12950
2026-02-03 13:46:06 +01:00
Erwan MATHIEU
9d26e6dec9
Merge branch 'main' into CURA-12919_application-crash-if-model-reloaded-in-paint-mode
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
2026-02-03 08:40:49 +01:00
HellAholic
282c098d31
Merge pull request #21209 from GregValiant/adj_TweakAtZ
Update TweakAtZ.py
2026-02-03 08:24:47 +01:00
HellAholic
a7c68f91ef
Merge pull request #21264 from GregValiant/UpdateAnnealingOrDrying
Update AnnealingOrDrying.py
2026-02-03 08:19:18 +01:00
Erwan MATHIEU
2a295f4d03 Remove unused code
CURA-12919
2026-02-02 16:42:06 +01:00
Erwan MATHIEU
527d76edea Recalculate UV coordinates after mesh data was reloaded
CURA-12919
2026-02-02 16:41:30 +01:00
HellAholic
f5218bff38
Merge pull request #21283 from GregValiant/Z_Hop_Update
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
Update ZHopOnTravel.py
2026-01-29 16:01:05 +01:00
HellAholic
a2ce10516d
Merge pull request #21266 from GregValiant/AddCoolingProfile-Update
Update AddCoolingProfile.py
2026-01-29 15:48:18 +01:00
HellAholic
ee80ce958a Set default value for advanced cooling option
Added 'default_value': true to the 'Enable Advanced Cooling' setting to ensure the script is enabled by default.
2026-01-29 15:47:07 +01:00
HellAholic
61f1f4edf7
Merge pull request #21193 from GregValiant/UpdateDisplayInfoOnLCD
Update display info on LCD
2026-01-29 15:30:46 +01:00
GregValiant
256cbe87cc
Update DisplayInfoOnLCD.py
Added an exception to line 638
2026-01-29 06:37:06 -05:00
HellAholic
ca4783781c
Merge pull request #21289 from hobbe/patch-1
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
Add multiline support for custom G-code in FilamentChange script of PostProcessing plugin
2026-01-29 10:59:22 +01:00
GregValiant
07db87b7c6
Update DisplayInfoOnLCD.py
copilot changes
2026-01-28 11:11:37 -05:00
GregValiant
1cf6c60cd7
Update AddCoolingProfile.py
removed magic numbers
2026-01-28 11:10:46 -05:00
GregValiant
5180f01a86
Update plugins/PostProcessingPlugin/scripts/AddCoolingProfile.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-28 11:02:11 -05:00
GregValiant
526b213639
Update plugins/PostProcessingPlugin/scripts/AddCoolingProfile.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-28 10:25:02 -05:00
Remco Burema
b685bc6ff6 At least log an error if anything goes wrong here.
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
Defensive programming.

part of CURA-12924
2026-01-28 14:37:54 +01:00
Remco Burema
b475d750ff Merge branch 'main' into CURA-12924 2026-01-28 14:15:52 +01:00
GregValiant
3921ee24d1
Update AddCoolingProfile.py
Removed the duplicate setting "enable_off_fan_speed_enable" from line 300
2026-01-28 07:40:31 -05:00
GregValiant
936e1bf0da
Update plugins/PostProcessingPlugin/scripts/AddCoolingProfile.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-28 07:37:35 -05:00
GregValiant
a6c4be5246
Update plugins/PostProcessingPlugin/scripts/AddCoolingProfile.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-28 07:37:11 -05:00
GregValiant
293d2e69ca
Update plugins/PostProcessingPlugin/scripts/AddCoolingProfile.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-28 07:36:45 -05:00
GregValiant
f60f9f1635
Update plugins/PostProcessingPlugin/scripts/AddCoolingProfile.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-28 07:32:07 -05:00
GregValiant
64e35df6bb
Update plugins/PostProcessingPlugin/scripts/ZHopOnTravel.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-28 07:14:35 -05:00
GregValiant
56f1088dd5
Update plugins/PostProcessingPlugin/scripts/ZHopOnTravel.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-28 07:13:00 -05:00
HellAholic
5a9c7728d1
Merge branch 'main' into Z_Hop_Update 2026-01-28 12:30:45 +01:00
HellAholic
921c412a28
Merge branch 'main' into AddCoolingProfile-Update 2026-01-28 12:29:24 +01:00
HellAholic
ffdf72a580
Merge branch 'main' into patch-1 2026-01-28 11:53:55 +01:00
HellAholic
3034757f38
Merge pull request #21298 from Ultimaker/Add_multiline_textArea_for_gcode_post_processing_plugin
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
Add multiline text area for gcode post processing plugin
2026-01-27 16:34:54 +01:00
HellAholic
227655b494
Merge branch 'main' into UpdateAnnealingOrDrying 2026-01-23 09:37:41 +01:00
HellAholic
67572c2d71
typofix 2026-01-23 09:30:17 +01:00
HellAholic
b7b4d39f40
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-23 09:29:17 +01:00