Commit graph

813 commits

Author SHA1 Message Date
Erwan MATHIEU
f19cc66ddb Fix actions relying on never-updating property
CURA-12811
2025-10-22 15:50:40 +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
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
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
837e06c4c0 Add button to enable required extruders before slicing
CURA-12742
2025-10-07 16:13:47 +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
Remco Burema
e3204707db Move 'get painted on extruders' method, use for build-volume.
(Not sure I'm happy with this, but) now we can use this _both_ in the slicing itself _and_ the bounds. The big downsides are a) I had to connect the scene changed signal to the on-stack-changed method, that seems ugly and potentially slow b) I'm not sure this method belongs in the ExtruderManager -- otoh, where else is it going to live (unless we want to make a new type of plugin-object?).

CURA-12752
2025-10-01 22:39:22 +02:00
Erwan MATHIEU
6d747a57d3 Extend disabled extruder warning to painting
CURA-12734
2025-09-25 16:47:54 +02:00
Erwan MATHIEU
e8423755a4 Add button to auto-disable unused extruders
CURA-12622
2025-07-24 11:14:36 +02:00
Erwan MATHIEU
a39f6c94fa Make the warning message more concise
CURA-12622
The purpose being to make the message as short as possible so that people are not too much discouraged to read it
2025-07-24 10:50:31 +02:00
Erwan MATHIEU
b43bc95e2b
Merge branch 'main' into CURA-12622_warn_on_actual_unused
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
2025-07-21 13:56:58 +02:00
Remco Burema
b3552d8b20 Basic warning on unused extruder.
Since the bed-temp (for example) might be unfluenced by unused but (probably accidentally) enabled extruders, we want to be able to warn the user of such.

part of CURA-12622
2025-07-16 11:27:49 +02:00
Erwan MATHIEU
a1d1dc2ea0 Merge remote-tracking branch 'origin/main' into CURA-12543_painting_ux
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-06-24 13:37:23 +02:00
Erwan MATHIEU
be14fc7dd6 Send texture data to the engine
CURA-12574
2025-06-24 13:36:49 +02:00
HellAholic
4001e23d91
Update Cura.proto
Add the types missing
2025-06-20 14:08:09 +02:00
Erwan MATHIEU
b298fa6b39 Merge remote-tracking branch 'origin/main' into CURA-12544_saving-and-loading-painted-files-in-Cura 2025-05-28 09:12:53 +02:00
Erwan MATHIEU
1003d750b9
Merge branch 'main' into CURA-11978_retract-and-unretract-in-a-travel
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-05-27 08:51:07 +02:00
Erwan MATHIEU
86777ac666 Add new travel types and display z-hops
CURA-11978
2025-05-26 11:52:53 +02: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
3b374368c4 Merge remote-tracking branch 'origin/5.9' 2024-10-22 10:43:28 +02:00
Remco Burema
480322354b Autoslice could cause slicing to start before init done.
This could cause slicing to hang forever until settings where changed. So stop too-early slicing, but keep a memo of wether we've already been requested to slice in the initialization interval, so auto-slice doesn't fail either.

CURA-11815
2024-10-15 17:51:14 +02:00
Jaime van Kessel
aaff84ce77
Merge branch 'main' of https://github.com/TheSin-/Cura 2024-10-10 14:09:18 +02:00
Remco Burema
e3211d4128 Make slicing work for the --external-backend option again. 2024-10-02 12:57:36 +02:00
Erwan MATHIEU
74cafe1c4b Handle message too big error when sending model data to engine
CURA-11103
2024-09-24 08:55:29 +02:00
Erwan MATHIEU
f0cbd8e802 Restore lost change after an errored merge
This reverts commit 946bf03306.
2024-09-19 11:00:09 +02:00
Remco Burema
7928c241a8 Merge remote-tracking branch 'origin/5.8' 2024-09-18 17:31:27 +02:00
Erwan MATHIEU
d74e0487cd Apply suggestion to remove unnecessary extra arguments
CURA-12093
2024-09-10 12:50:55 +02:00
Erwan MATHIEU
101a637bbb
Apply typo fix suggestion
Co-authored-by: Remco Burema <41987080+rburema@users.noreply.github.com>
2024-09-10 12:44:50 +02:00
Erwan MATHIEU
48ddaa8861 Add a comment so that we don't forget to update the doc
CURA-12093
2024-09-06 12:20:46 +02:00
Erwan MATHIEU
ccffbea8c9 Add ability to write condition Start/End gcode parts
CURA-12093
2024-09-05 11:03:58 +02:00
Erwan MATHIEU
946bf03306 Revert "Merge branch 'main' into 5.8"
This reverts commit fec7637615, reversing
changes made to 081b9b543b.
2024-08-13 15:56:01 +02:00
Justin F. Hallett
86576c6fbc
Merge branch 'Ultimaker:main' into main 2024-08-10 15:24:02 -06:00
Justin F. Hallett
3bb782fd5f
Add 3 New UI Settings
- Add UI to set `machine_start_gcode_first` so that no gcode is adding infront of the start_gcode.
- Add float input box to set `machine_extruder_change_duration` which added proper extruder change times to the estimated print time.
- Add textbox to set `machine_extruder_prestart_code` to add gcodes that will run pre extruder change, things like heat up so we are at change before with pick up the next extruder.
2024-08-10 12:53:56 -06:00
Jaime van Kessel
8062d92d34
Merge branch '5.8' of github.com:Ultimaker/Cura 2024-07-24 16:16:59 +02:00
Erwan MATHIEU
eff32ea8c2 Order backend plugins by name
The engine processes the plugins based on the order they were given in. By ordering them beforehand, we ensure that they will always be processed with the same logic.

CURA-10914
2024-07-15 12:38:47 +02:00
Erwan MATHIEU
8e32672016 Only allow prepend settings to be disabled
When the printer settings say they should be disabled, they could previously be enabled if the start GCode didn't contain temperature commands. Now we can only enable them if initially enabled.

CURA-11967
2024-07-09 11:50:18 +02:00
Erwan MATHIEU
2e5e43291e Fix missing error message when slicing with disabled extruder
Following the removal of the get/setMessage methods in the Job class, the StartSliceJob has not been updated and still used them. We now use a specific variable for storing the disabled extruders and properly display them.

CURA-11904
2024-05-14 16:27:16 +02:00
Erwan MATHIEU
b342574c19 Change slicing crash error message
CURA-11445
2024-03-01 09:17:37 +01:00
c.lamboo
c29eb49113 Add more paths 2024-02-04 22:44:21 +01:00
Erwan MATHIEU
731ea69ebb
Merge branch 'main' into CURA-11482_sentry 2024-01-17 11:04:05 +01:00
Erwan MATHIEU
54df08f47f Fix specific extruder not being used
CURA-11536
2024-01-16 13:14:49 +01:00
Erwan MATHIEU
ab322ae703 Always send user name for Sentry if available
CURA-11482
2024-01-15 15:22:25 +01:00
c.lamboo
9d78c9ed58 Don't mutate/pollute _all_extruder_settings with additional values
CURA-11536
2024-01-15 12:39:10 +01:00
Erwan MATHIEU
68152e6f31 Code readability
CURA-11482
2024-01-15 12:04:55 +01:00
c.lamboo
5da4dfcb70 Improve unhappy flow
CURA-11536
2024-01-15 12:03:42 +01:00
c.lamboo
fe440a6643 Allow for expressions in start/end machine/extruder code extruder_nr field
CURA-11536
2024-01-15 11:52:11 +01:00
Jelle Spijker
7738059631
Add optional (opt-in) project_name to Sentry
Needed for automatic Issue handling in the future

Contributes to CURA-11482
2024-01-15 10:44:43 +01:00
Jelle Spijker
2bcdacef72
Allow for opt-in of DF User name for Sentry crash reports
This will help us with triage of bugs for our customers.

Contributes to CURA-11482
2024-01-13 11:12:46 +01:00
Jelle Spijker
b3825ee1c7
actually use f string
Contributes to CURA-11482
2024-01-10 05:40:10 +01:00