Commit graph

9971 commits

Author SHA1 Message Date
Paul Kuiper
2c63e33b01 Prevent abstract color profiles to be filtered out for machines that support them.
CURA-11634
2024-09-26 13:35:55 +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
HellAholic
69a9ff8e05
Merge branch 'main' into CURA-11761_container_stack_cache 2024-09-19 14:52:40 +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
370c8e49c3 Add a link to the documentation to write start/end GCode
CURA-12093
2024-09-06 12:20:27 +02:00
Erwan MATHIEU
ac8176d91e
Merge branch 'main' into CURA-11761_container_stack_cache 2024-09-05 11:35:17 +02:00
Erwan MATHIEU
ccffbea8c9 Add ability to write condition Start/End gcode parts
CURA-12093
2024-09-05 11:03:58 +02:00
GregValiant
ffc21403a1 Update TimeLapse.py
Update TimeLapse.py

Update to include a pause before the image is snapped.
2024-09-04 22:01:48 -04:00
Remco Burema
d0252554c4 Make extra sure cache is emptied when objects get altered.
See the (new) cachePerInstance decorator in UM/Decorators, and the accompanying CachedMemberFunction handler-class.

part of CURA-11761
2024-09-03 18:23:41 +02:00
David Fries
6e3e3e6742 Use raw strings for regular expressions with invalid escape sequences
If "T(\d*)" was "T(\n*)" it would search for newlines.  There isn't
any such \d escape character.

It should be "T(\\d*)" or r"T(\d*)" going with the latter, to be
easier to read and be consistent with other Cura usage.

Start python with -Wd or for python 3.12 will raise a SyntaxWarning.
2024-08-31 12:11:59 -05:00
Frederic Meeuwissen
4064dddacc Only convert to yes/no if value is a boolean 2024-08-28 13:39:35 +02:00
Frederic Meeuwissen
a18da5c9bd Only convert to yes/no if value is a boolean 2024-08-26 13:12:03 +02:00
HellAholic
83fc0b764c
Merge pull request #19492 from Ultimaker/CURA-11957_sketch_fileformat_autoselect
[CURA-11957] Makerbot file formats don't just have 1 mime-type.
2024-08-14 13:51:26 +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
Erwan MATHIEU
ee65d93fb6
Merge branch 'main' into TIme-Lapse 2024-08-13 09:21:20 +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
Michael Jäger
3136dfc0ec Process M82 and M83 command for Marlin flavoured GCode too 2024-08-09 18:13:01 +02:00
Remco Burema
77e0d705db The easy way to fix a slow response is to up the timeout.
This might on one hand have (other) consequences, and given the slowness we encounter not even be enough in some cases (may be related to the size of the messages?) May need to be fixed on server side.

attempt to adress CURA-11956
2024-08-07 18:04:18 +02:00
Remco Burema
8b47ce0315 Autoselect file-format: Split up long line and better documentation.
done as part of CURA-11957
2024-08-06 17:04:42 +02:00
Remco Burema
89209f5f9a Makerbot file formats don't just have 1 mimetype.
There are machines with other mime-types. Prepare for adding that one.

last step of CURA-11957 (otherwise solved by previous efforts)
2024-08-06 15:47:28 +02:00
HellAholic
e38987f46b
Merge branch 'main' into CURA-12005_include_slicemetadata_in_makerbot_file 2024-08-06 09:05:26 +02:00
Jaime van Kessel
4a5aecc1e4
Merge branch 'fix/3MFWriter' of https://github.com/nilsiism/Cura 2024-08-05 13:25:55 +02:00
Remco Burema
9c457b0d20 Map internal name reps to .makerbot-file reps.
Not only is this more congruent with the file-format as it exists, the Digital Library handles the metadata in this format, and can do little with it otherwise.

last step needed for CURA-12005
2024-08-01 15:31:04 +02:00
Remco Burema
ddf4f4c6fe Also move printer name mapping to new FormatMaps utility.
done as part of CURA-12005
2024-08-01 14:33:24 +02:00
Remco Burema
f1dbf943a4 Merge branch 'main' into CURA-12005_include_slicemetadata_in_makerbot_file 2024-08-01 11:41:39 +02:00
Remco Burema
dd9f19605e Merge branch '5.8' 2024-07-31 14:55:44 +02:00
HellAholic
931aac2cb0
Merge pull request #19393 from Ultimaker/CURA-11958_fix_autoselect_mbot_format
[CURA-11958] fix auto-select `.makerbot` format
2024-07-26 16:15:32 +02:00
Jaime van Kessel
8062d92d34
Merge branch '5.8' of github.com:Ultimaker/Cura 2024-07-24 16:16:59 +02:00
Erwan MATHIEU
2e00ef9393
Merge branch '5.8' into CURA-11940_yes_is_true_for_cura 2024-07-18 11:49:55 +02:00
Erwan MATHIEU
c8e87b888d
Merge branch '5.8' into CURA-11958_fix_autoselect_mbot_format 2024-07-18 11:49:49 +02:00
Remco Burema
b1dcfcb79d XmlMaterial: Don't 'translate' to yes when it's a cura-setting.
CURA-11940
2024-07-18 09:00:27 +02:00
Remco Burema
39d9ab7afb Allow DigitalFactory bundled-plugin to autoselect format on save.
There was an earlier implementation of this, which was hacky, and didn't work anymore.

CURA-11958
2024-07-17 18:05:33 +02:00
c.lamboo
05a6bb7e45 Remove plugin code
oops
2024-07-17 12:08:04 +02:00
c.lamboo
6ebed84553 Add "instance0" entry to gaggles 2024-07-17 12:04:27 +02:00
Remco Burema
285a241eb2 Drop-to-buildplate/3MF-reading: Simplify boolean parsing.
Avoid heavy methods like previously here for a number of reasons.
2024-07-16 09:20:00 +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
nilsiism
be4d4d404f
Fix transformation
The transformation from UM to savitar in the 3MFWriter does not invert the transformation in the 3MFReader. This usually doesn't cause any problems as the center mesh extension is zero and the resulting matrix the identity. However if the extent is not zero the final transformation is incorrect.
2024-07-12 13:47:21 +02:00
Erwan MATHIEU
92ad484f83
Merge branch '5.8' into CURA-12005_include_slicemetadata_in_makerbot_file 2024-07-10 13:16:39 +02:00
Erwan MATHIEU
7ba48bfa97 Add the slicemetadata.json file into the makerbot file archive
CURA-12005
2024-07-10 13:13:26 +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
Jaime van Kessel
4fb9042dbf
Significantly improve the speed of the version upgrader
This knocked about 10 seconds from my boot time. Huzzah :D
2024-07-03 17:27:27 +02:00
Erwan MATHIEU
772692250f
Merge branch 'main' into 5.7-merge-to-main 2024-06-12 12:02:35 +02:00
GregValiant
dabc3d8032 Rewrite - Insert At Layer Change
This is an extensive re-do of the script.
#     Added an 'Enable' setting
#     Added support for multi-line insertions (comma delimited)
#     Added insertions in a range of layers or a single insertion at a layer.  Numbers are consistent with the Cura Preview (base1)
#     Added frequency of Insertion (once only, every layer, every 2nd, 3rd, 5th, 10th, 25th, 50th, 100th)
#     Added support for 'One at a Time' print sequence
2024-05-15 20:53:20 -04:00
c.lamboo
21b8694289 Add comment explaining workaround
CURA-11777
2024-05-15 17:49:44 +02:00
HellAholic
84449ace8b
Merge pull request #19076 from Ultimaker/CURA-11904_fix_crash_first_extruder_disabled
CURA-11904 Fix crash when slicing with first extruder disabled
2024-05-15 15:22:49 +02:00