Commit graph

9908 commits

Author SHA1 Message Date
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
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
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
Erwan MATHIEU
3fbc911123 Remove useless variable declaration
The node_matrix is defined in the following if whatever the condition, so there is no need to define it first.

CURA-11902
2024-05-15 09:09:29 +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
b75f168c55 Fix wrong placement of objects children when saving to 3MF
We now ignore the auto-centering of meshes for children objects, because it messes up with their relative position with their parent. Only the top-level objects needs to be centered, the children will follow.

CURA-11902
2024-05-14 14:54:00 +02:00
GregValiant
35775ce3c8 Merge branch 'TIme-Lapse' of https://github.com/GregValiant/Cura into TIme-Lapse 2024-05-14 08:39:46 -04:00
GregValiant
0e0d022fe6 Update TimeLapse.py
Added support for Firmware Retraction
2024-05-14 08:39:41 -04:00
Jelle Spijker
1a95cd39ca
Merge branch 'main' into TIme-Lapse 2024-05-14 00:21:03 +02:00
Saumya Jain
2f8fc2cabe Updated bounds and meta values in MakerbotWriter
The MakerbotWriter.py file has been adjusted to handle "application/x-makerbot-sketch" files without providing bounding box values. Instead of using the node name for model_counts, it now uses the count of nodes under the name "instance0".
2024-05-08 11:40:30 +02:00
Saumya Jain
fdfc5dcc67 added machine bounds
CURA-11777
2024-05-07 12:51:03 +02:00
Saumya Jain
7a52cd3cd5 Update Ultimaker Sketch definitions and refactor PNG formats in MakerbotWriter
CURA-11777
2024-05-07 10:55:23 +02:00
Saumya Jain
0bbde663e4 Update file format and removed 'Sketch' flavor option
The file format 'application/x-makerbotsketch' has been updated to 'application/x-makerbot-sketch' across all instances in the code base. In addition, the 'Sketch' option for gcode flavor has been removed from all printer selection menus in different sections of the code. This should be added again once the code is implemented in gcode for this flavor.
Also, change flavor in ultimaker_sketch.def.json file

CURA-11777
2024-05-06 16:07:48 +02:00
Saumya Jain
4e36c570ed Added support for Makerbot Sketch file format
This commit introduces the ability to export files in the Makerbot Sketch format.Now the file can be saved as in a gcode format as well.
2024-05-06 15:55:49 +02:00
Saumya Jain
f7f56e8766 Add sketch to cloud
CURA-11777
2024-05-06 13:32:52 +02:00
Saumya Jain
810529e01b Add Makerbot Sketch printer support
This commit adds support for the Makerbot Sketch 3D printer. This includes setting specific configuration parameters, defining a new machine definition and relevant build platform mesh. Material compatibility restrictions are also outlined to adhere with the capabilities of the printer.

CURA-11777
2024-05-06 11:46:54 +02:00