Commit graph

10036 commits

Author SHA1 Message Date
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
21cf6ee14e
Merge branch 'main' into AddCoolingProfile 2025-06-13 12:39:33 +02:00
HellAholic
5afb380c0b
Merge pull request #20388 from GregValiant/FilamentChangeUpdate
Update FilamentChange.py
2025-06-13 12:28:21 +02:00
HellAholic
b4c023479c Merge remote-tracking branch 'origin/5.10'
Some checks failed
conan-package-resources / conan-package (push) Waiting to run
conan-package-resources / signal-curator (push) Blocked by required conditions
printer-linter-format / Printer linter auto format (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 / conan-package (push) Has been cancelled
2025-06-04 10:40:21 +02:00
HellAholic
05d1738fa8 Fix image mode of the F4
Restore transparency
2025-05-28 17:19:45 +02:00
HellAholic
da32232158 Resize images uniformly
All images now have a width of 300px as a constant factor. This is still more than twice the width that will display on the Monitor Tab.
Render quality on the user's screen remains the same.
2025-05-28 17:09:49 +02:00
MariMakes
240abc0929 Updates for 5.10.1`
Updates Changelog and introduces pictures for the monitor page for the newer printers
2025-05-28 15:30:24 +02:00
HellAholic
43a055cfd5
Merge pull request #20482 from GregValiant/PurgeLinesUpdate
Update PurgeLinesAndUnload.py
2025-05-07 20:33:34 +02:00
Erwan MATHIEU
d2e625edb3 Export project settings into BambuLab 3MF
CURA-12101
The printer parses the machine_start_gcode to allow selecting the filaments mapping at start time, without it the user has to set the filaments in fixed order. This is probably a security to ensure the proper filament is loaded at start.
2025-04-29 11:28:56 +02:00
Erwan MATHIEU
52be6f3d2d Merge remote-tracking branch 'origin/CURA-12099_export-and-import-to-bambu-3mf' into CURA-12101_introduce-x1 2025-04-29 10:22:57 +02:00
Remco Burema
3e25b4ff9a Merge remote-tracking branch 'origin/main' into CURA-12099_export-and-import-to-bambu-3mf 2025-04-29 09:59:16 +02:00
Remco Burema
46216e1282 Renamed confusing 'Default' variant class to 'Cura3mf'.
result of code review of CURA-12099
2025-04-29 09:25:19 +02:00
Erwan MATHIEU
603df28c2a Fix all exporters being broken
CURA-12099
2025-04-28 13:37:14 +02:00
Remco Burema
371f280ab8 Add newlines to the end of new files.
done as part of CURA-12099
2025-04-24 15:13:24 +02:00
Remco Burema
254087cb45 Split-out bambu-specific elements to their own 3MF 'variant'.
part of CURA-12099
2025-04-24 15:10:19 +02:00
Erwan MATHIEU
4ff70ac46f Fix exporting Bambu 3mf format to removable drive
CURA-12099
2025-04-24 09:23:27 +02:00
Remco Burema
de8bf1a5df Fix 3MF export imports.
done as part of CURA-12099
2025-04-23 11:06:31 +02:00
Erwan MATHIEU
7731ee4b24 Basically working import from BambuStudio/OrcaSlicer 3MF
CURA-12099
2025-04-22 16:01:32 +02:00
Erwan MATHIEU
a6e324b748 Fix extruder stack corruption
CURA-12346
For some dark reason, importing the ExtruderStack class in the ThreeMFWriter somehow corrupts the loading of the extruders stacks. As it is imported only for typing, do the import only for type-checking.
2025-04-22 12:52:05 +02:00
GregValiant
1e18e0e63d Update AddCoolingProfile.py
Found a bug.  The ";LAYER:" line was not being added to the "modified data" string when in "single_fan_by_feature" mode.

Update AddCoolingProfile.py

bug fix for the bug fix.
2025-04-16 10:16:32 -04:00
Erwan MATHIEU
f69d80f6a0 Allow selecting material mapping on printer
CURA-12099
2025-04-16 15:08:58 +02:00
Erwan MATHIEU
09af18ec8f Export proper thumbnail and gcode into BambuLab 3mf format
CURA-12099
2025-04-16 09:09:22 +02:00
Remco Burema
14bf34d96a Adjust code to review comments.
- Use delete-on-close instead.
- Prevent infinite loops.

part of CURA-12156
2025-04-15 21:08:33 +02:00
GregValiant
03aa64448a Update AddCoolingProfile.py
Update AddCoolingProfile.py

Un-trapped ValueError in line 782.  It might also be an IndexError.  I left it open.

Update AddCoolingProfile.py

Change an IndexError to a ValueError
2025-04-13 20:12:24 -04:00
GregValiant
d78d19820b Update PurgeLinesAndUnload.py
Missed a newline in line 499.
2025-04-04 08:27:10 -04:00
Remco Burema
1fb89e0e7d Restore Backups: Correctly handle requests to redownload plugins.
- Fix: Need to fill the package's API version into the (template) URL, instead of using latest.
- Fix: Loop was closing over the package ID, which caused the recieving function to always only get the last handled package ID instead of the one it needed to handle.

part of CURA-12156
2025-04-02 13:19:01 +02:00
Remco Burema
43d9e1d522 Restore Backups: Fix handling the (re)downloaded tempfile.
Was opening the tempfile for handling when it was still open for writing. Also the wrong net-reply got used (reply instead of msg).

part of CURA-12156
2025-04-02 13:15:35 +02:00
Remco Burema
1f4f432d49 Restore Backups: Fix reading which packages need to be reinstalled.
Also save the version, so we can get the correct url when redownloading the package (see next commits).

part of CURA-12156
2025-04-02 13:13:25 +02:00
Remco Burema
c857dab0f7 Logging (mostly on errors).
CURA-12156
2025-04-01 16:47:17 +02:00
Remco Burema
b295ca7d04 Workaround for process-events during multiple http requests.
Would not work otherwise, but that should have been true in the old situation then as well?

CURA-12156
2025-04-01 15:10:27 +02:00
Erwan MATHIEU
4f859e278b Reapply "Merge pull request #20128 from Ultimaker/CURA-12371"
This reverts commit bf2eef3537.
2025-03-28 11:35:10 +01:00
Remco Burema
a50fa29a0f Merge remote-tracking branch 'origin/main' into CURA-12156_dont_zip_downloadable_plugins 2025-03-27 14:17:59 +01:00
HellAholic
c91862f4bb Make the conversion to uppercase optional
- Add the option type bool
- Set to be enabled by default
- Add condition to only convert if bool value is true
2025-03-25 20:33:01 +01:00
GregValiant
99b198339a Update AddCoolingProfile.py
Update per requested changes.
Comments are consistent with "# ".
global_stack, extruder_list, extruder_count are assigned to "self".
2025-03-22 15:41:39 -04:00
HellAholic
a94f5e0f28
Add space after # for the comments 2025-03-22 17:53:48 +01:00
GregValiant
001dfc30af Update AddCoolingProfile.py
Re-worked the Build Volume fan code to include a printers Auxiliary fan if there is one.
2025-03-22 11:10:23 -04:00
Erwan MATHIEU
bf2eef3537 Revert "Merge pull request #20128 from Ultimaker/CURA-12371"
This reverts commit f2ebf160a5, reversing
changes made to 97deb2f15e.
2025-03-21 10:13:46 +01:00
HellAholic
e18e0649d6
Merge branch '5.10' into purgelineMinZ_and_fix 2025-03-16 12:02:18 +01:00
GregValiant
06cbb2c65c Update FilamentChange.py
Hide the "Z-Move" when in "use firmware configuration" mode.
2025-03-13 20:40:59 -04:00
Erwan MATHIEU
a6ee53c944 Fix visibility settings not being applied for lower layers
CURA-12272
2025-03-10 14:55:46 +01:00
HellAholic
2cf13c5e94 Remove extra empty line 2025-03-09 19:30:55 +01:00
HellAholic
b25620826f use helper function
Since the added lines are identical, it can be replaced with a helper function
2025-03-09 19:30:55 +01:00
GregValiant
253d11f84d Update PurgeLinesAndUnload.py
This change adds a setting for "minimum Z height" for the "nail down the string" moves.

Update PurgeLinesAndUnload.py

Bug fix.  The prime blob code didn't account for the retraction at the end.  This adds an 'unretract' to compensate.
2025-03-09 19:30:55 +01:00
Remco Burema
d167e3f28e Work in progress on pulling plugins out of the backups.
It's now in a state where it can actually upload ... something (that should work). Not tested the restore yet.

I did run into trouble with the max concurrent requests, which I had to up to [more than 4, now on 8] to get it to work -- I'm not sure if I'm just working around a bug here, or if that's expected behaviour.

part of CURA-12156
2025-02-27 16:52:27 +01:00
Remco Burema
74420ee57b Merge branch 'main' into CURA-12156_dont_zip_downloadable_plugins 2025-02-27 11:26:58 +01:00
Erwan MATHIEU
f9b8bc20c2 Fix single-line statement processing
CURA-12386
The regex was not specific enough and would catch the rest of the line, now we force stopping as soon as we see a { or }
2025-02-26 15:02:06 +01:00
Erwan MATHIEU
90c119a176 Restore unnecessarily changed indentation
CURA-7435
2025-02-21 08:30:41 +01:00
Erwan MATHIEU
fedf5a4794 Restore unnecessarily changed indentation
CURA-7435
2025-02-21 08:05:27 +01:00
Erwan MATHIEU
b9534d7c2b Fix typing imports
CURA-7435
2025-02-20 15:46:59 +01:00