Ultimaker / Cura

3D printer / slicing GUI built on top of the Uranium framework
GNU Lesser General Public License v3.0
6.21k stars 2.08k forks source link

Slicing time calculation bug with per object supports. #18889

Open TheMaskedAvengers opened 7 months ago

TheMaskedAvengers commented 7 months ago

Cura Version

5.6.0

Operating System

MacOS 14.3.1 on Macbook Air M1

Printer

Ender 3v2 (also occurs with Voxlab Aquila 1.0, probably printer independent)

Reproduction steps

Firstly, thanks for all you do all this is an amazing piece of software. Bug reporting as the only humble way I can do anything to help.

Will probably work with any model but I used this one: https://www.thingiverse.com/thing:4863325 , I'm using the STLs not the step files in that download.

Only one of the models really needs support (and its been added as the first model of the two I'm printing - the lid)..

My support settings in general were set to tree support on the buildplate only (per model takes settings from here too).

When both parts are printed together and support is enabled for both it gives a print time estimate of just over 9hrs...

BUT, when support is switched off overall and enabled only for the top part of the case (and thus off for the other model) the total estimate INCREASES to 11hrs - despite printing less. The reality is it drops to 7hrs 55mins when printing.

Looking at the breakdown of times spent on different things during the print (both models supported vs one supported):

Support 13% -> 27% Travel 10% -> 8% Retraction 22% -> 20%

So there's a huge increase in the estimate of time spent on support (despite printing less support) and it isn't down to increase time on travel and retraction etc, these dropped as a percentage by a little.

I suspect the software is using only the settings for the model which is on per model settings with support to extrapolate to the whole print rather than calculating it overall.

In case it helps to reproduce the top part of the model with the per model support settings applied is the first model in the object list...which might be a factor.

Actual results

Print times spuriously increase in estimate but decrease as expected in reality when steps above followed. Error in calculation of estimated time.

Expected results

A reduction in estimated print time is expected, and observed in reality for real print time, but an incorrect paradoxical increase in estimate occurs in cura likely an extrapolation from per model settings.

Add your .zip and screenshots here ⬇️

RASPBERRY PI4 - 4863325.zip

These are the files I was printing. Just the STL version of the top and bottom of the case at once.

HellAholic commented 7 months ago

Hey @TheMaskedAvengers , Thanks for the report. The issue seems to be printer specific. I tested on the UM S5 printers and the estimate is within 1 minute tolerance with support on/off for [both having support enabled] image image and [only one model has support enabled] image image

On the other hand the Ender 3v2 seems to inflate the duration when both models have the support enabled [as if it calculates double the the support and then removes a duplicate]

One model with support enabled [behaves as expected] image image

Both models with support enabled [out of expectation] image image

Given that the final print is not affected, I don't believe this will get the traction to be picked up by the Cura team. So instead of deferring, I would suggest asking help from community members (there might even be a PR already active to resolve this) by changing to discussion/help wanted. Hope you understand.

Cheers!