Commit graph

19 commits

Author SHA1 Message Date
Jaime van Kessel
fd887a877a
Don't sync invisible materials
CURA-10953
2023-09-07 13:48:36 +02:00
Remco Burema
20b435af76
Qt5->Qt6: More renamed stuff.
part of CURA-8591
2021-12-29 11:18:49 +01:00
Remco Burema
abe7c1bf7f
Search/replace Qt5->Qt6.
part of upgrading Qt to v6.2: CURA-8591
2021-12-28 14:46:02 +01:00
Ghostkeeper
426e3064d2
Don't crash when material file can't be opened for sending to printer
It seems that due to the threaded nature, the limit to the number of open file handlers could be reached here. Or it could just be locked or something of course.

Fixes Sentry issue CURA-2V2.
2021-09-22 14:59:27 +02:00
Ghostkeeper
16c5fdd798
Code style: Spaces around binary operators
Contrbutes to issue CURA-8224.
2021-05-06 16:27:09 +02:00
Jaime van Kessel
b2b10f693d
Rate limit the sending of materials to networked ultimakers
Some ultimakers tend to choke if you try and send a lot of materials in one go.

Previously we would also always send the materials on the main thread, which would also make
the interface freeze a bit. That should no longer happen.

The implementation of this is not really great, but since this is a hotfix i've opted to change
as little as possible.

CURA-8224
2021-05-06 15:43:39 +02:00
Ghostkeeper
13d0fbdea7
Don't attempt to send the empty material
We can't send it because sending it looks up the serialised form on disk, and there is no file for this one on disk.

Contributes to issue CURA-7501.
2020-10-16 14:32:00 +02:00
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Nino van Hooff
5eb5ffd916 Convert doxygen to rst for UM3NetworkPrinting 2020-05-15 15:05:38 +02:00
Ghostkeeper
d9cdea9496
Don't crash when material file is missing
This could happen because a material is deleted right at that moment, since the SendMaterialJob is done on a separate thread.

Fixes Sentry issue CURA-JZ.
2020-04-23 11:10:52 +02:00
Jaime van Kessel
2e9dca71ce
Remove a number of unused imports 2020-04-10 13:58:10 +02:00
Ghostkeeper
05de920c21
Once more with feeling
Sorry, I didn't see the other review comment until after I pushed the previous commit.

Contributes to issue CURA-6600.
2019-09-18 14:28:22 +02:00
Ghostkeeper
a3e9316f48
Rename all_root_materials to all_base_files
This naming is more consistent with the naming of the metadata entry and most of the other code.

Contributes to issue CURA-6600.
2019-09-18 14:27:04 +02:00
Ghostkeeper
f6089ed627
Don't use material manager to get list of materials to send
The material manager is no longer populated so it wouldn't send any materials any more.

This is probably faster anyway since it doesn't need to go back to the container registry for every file.

Contributes to issue CURA-6600.
2019-09-11 15:43:35 +02:00
Diego Prado Gesto
b18565d9cf Merge branch 'master' into feature_intent_container_tree 2019-09-10 11:08:21 +02:00
ChrisTerBeke
4364d94423 Reduce logging and network activity during print job upload 2019-09-04 18:54:53 +02:00
Jaime van Kessel
f7d61e1e24 Merge branch 'feature_intent' of github.com:Ultimaker/Cura into feature_intent_container_tree 2019-08-29 16:31:44 +02:00
ChrisTerBeke
5ee6cd7e8f Better handling of error response, not always show message 2019-08-28 22:39:25 +02:00
ChrisTerBeke
47237cda5f Fix syncing materials via API, show nice message 2019-08-28 22:17:39 +02:00
Renamed from plugins/UM3NetworkPrinting/src/SendMaterialJob.py (Browse further)