Ultimaker / Cura

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

Additional bug slicing many copies. #19449

Open versaielle opened 1 month ago

versaielle commented 1 month ago

Cura Version

5.7.2

Operating System

Windows 11

Printer

S7

Name abnormal settings

No, no profile works.

Describe model location

Tried multiple locations on build plate.

Describe your model

Sliced a similar model with less layers and ultimate height with a total of 70 copies. This successfully slices with a a total of 50 copies. Watertight.

Add your .zip here ⬇️

This appears to be failing during thumbnail creation. Log file below:

2024-07-30 00:13:41,615 - INFO - [MainThread] UM.Backend.Backend.startEngine [96]: Started engine process: C:\Program Files\UltiMaker Cura 5.7.2\CuraEngine.exe 2024-07-30 00:13:41,616 - DEBUG - [MainThread] UM.Backend.Backend._backendLog [140]: [Backend] Calling engine with: ['C:\Program Files\UltiMaker Cura 5.7.2\CuraEngine.exe', 'connect', '127.0.0.1:49675', ''] 2024-07-30 00:13:41,742 - DEBUG - [EngineOutputThread] UM.Backend.Backend._backendLog [140]: [Backend] [2024-07-30 00:13:41.741] [info] Sentry url: https://734f9ec9024f73e53701d59c3ffddfe3@o323038.ingest.sentry.io/4506257745510401 2024-07-30 00:13:41,743 - DEBUG - [EngineOutputThread] UM.Backend.Backend._backendLog [140]: [Backend] [2024-07-30 00:13:41.742] [info] Sentry config path: C:/Users/***/AppData/Roaming/cura/.sentry-native 2024-07-30 00:13:41,744 - DEBUG - [EngineOutputThread] UM.Backend.Backend._backendLog [140]: [Backend] [2024-07-30 00:13:41.742] [info] Starting sentry 2024-07-30 00:13:41,762 - DEBUG - [EngineOutputThread] UM.Backend.Backend._backendLog [140]: [Backend] [2024-07-30 00:13:41.762] [info] Connecting to 127.0.0.1:49675 2024-07-30 00:13:41,766 - DEBUG - [MainThread] UM.Backend.Backend._logSocketState [236]: Socket state changed to Connected 2024-07-30 00:13:41,766 - DEBUG - [MainThread] UM.Backend.Backend._onSocketStateChanged [225]: Backend connected on port 49675 2024-07-30 00:13:41,871 - DEBUG - [EngineOutputThread] UM.Backend.Backend._backendLog [140]: [Backend] [2024-07-30 00:13:41.871] [info] Connected to 127.0.0.1:49675 2024-07-30 00:13:43,921 - DEBUG - [MainThread] UM.Operations.OperationStack.push [72]: GroupedOp.(#=1) <UM.Operations.RemoveSceneNodeOperation.RemoveSceneNodeOperation object at 0x000001964A5FE470>, took 16ms 2024-07-30 00:14:10,675 - DEBUG - [MainThread] UM3NetworkPrinting.src.UltimakerNetworkedPrinterOutputDevice._checkStillConnected [264]: It has been 33.7792444229126 seconds since the last response for outputdevice hd4Xdf1WQXNlx1aRi8djshSN3TkNYevVbxBJY1FBL-M8, so assume a timeout 2024-07-30 00:14:10,840 - INFO - [MainThread] CuraEngineBackend.CuraEngineBackend._createSnapshot [331]: Creating thumbnail image (just before slice)... 2024-07-30 00:14:11,110 - DEBUG - [MainThread] UM.Scene.Camera._preferencesChanged [255]: Changing perspective mode to perspective. 2024-07-30 00:14:11,114 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [61]: Loading [C:\Program Files\UltiMaker Cura 5.7.2\share\cura\resources\shaders\overhang.shader]... 2024-07-30 00:14:11,116 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [61]: Loading [C:\Program Files\UltiMaker Cura 5.7.2\share\cura\resources\shaders\transparent_object.shader]... 2024-07-30 00:14:11,118 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [61]: Loading [C:\Program Files\UltiMaker Cura 5.7.2\share\cura\resources\shaders\striped.shader]... 2024-07-30 00:14:11,665 - INFO - [MainThread] CuraEngineBackend.CuraEngineBackend.slice [348]: Starting to slice... 2024-07-30 00:14:11,665 - DEBUG - [MainThread] CuraEngineBackend.CuraEngineBackend.slice [368]: Going to slice build plate [0]! 2024-07-30 00:14:12,376 - DEBUG - [MainThread] UM3NetworkPrinting.src.UltimakerNetworkedPrinterOutputDevice._checkStillConnected [264]: It has been 35.480350732803345 seconds since the last response for outputdevice hd4Xdf1WQXNlx1aRi8djshSN3TkNYevVbxBJY1FBL-M8, so assume a timeout 2024-07-30 00:14:12,625 - DEBUG - [MainThread] UM3NetworkPrinting.src.Cloud.CloudOutputDeviceManager._onGetRemoteClustersFinished [170]: Synced cloud printers with account. 2024-07-30 00:14:14,310 - DEBUG - [MainThread] UM3NetworkPrinting.src.UltimakerNetworkedPrinterOutputDevice._reconnectForActiveMachine [281]: Reconnecting output device after timeout. 2024-07-30 00:14:14,369 - DEBUG - [MainThread] CuraEngineBackend.CuraEngineBackend._onStartSliceCompleted [580]: Sending slice message took 2.703065872192383 seconds 2024-07-30 00:14:15,290 - DEBUG - [EngineErrorThread] UM.Backend.Backend._backendLog [140]: [Backend] [libprotobuf ERROR C:.conan\8eede8\1\src\src\google\protobuf\io\coded_stream.cc:194] A protocol message was rejected because it was too big (more than 524288000 bytes). To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in third_party/protobuf/io/coded_stream.h. 2024-07-30 00:14:15,291 - DEBUG - [EngineOutputThread] UM.Backend.Backend._backendLog [140]: [Backend] [2024-07-30 00:14:15.289] [error] Failed to parse message: 2024-07-30 00:14:15,292 - DEBUG - [EngineOutputThread] UM.Backend.Backend._backendLog [140]: [Backend] ¸õ…ý 2024-07-30 00:14:15,293 - DEBUG - [EngineOutputThread] UM.Backend.Backend._backendLog [140]: [Backend] £ŒûàèÍâ2ø‹ûfÖÍÀ0eÁ 2024-07-30 00:14:15,294 - DEBUG - [EngineOutputThread] UM.Backend.Backend._backendLog [140]: [Backend] æA‚¬ÆÀÚâgÁÊçAèÀ¢À†YÁ5çAÝkù@2‘1Á þA^žì@î 1Á@¸Ayxæ@µ4ÁidA'òAœ-/Á!A2A1ÁÒèA þAF/0Á© A™'AÓq-Át°AåÅ'A|,Á·ŽA„ñ'Am2-Áû3A!&Aä)ÁÑAí&A#*Á. AÒ¤&AR¹*Á¬A!&Aä)ÁÑAR¤%AÐI(ÁqùAí&A#*Á. A )Aړ-Á¶AD«)AL-Á¦A>Â)Aã,Á¶AÞj'AB-ÁÌ AåÅ'A|,Á·ŽA™'AÓq-Át°AÒ¤&AR¹*Á¬Aô!&Aõ+ÁKJ Aš&A±+ÁäáAš&A±+ÁäáAô!&Aõ+ÁKJ Að(&Aœ,ÁèL A€“(A”‰'ÁtÌAL)Arp%Á A?)AñÕ%Áü”A 2024-07-30 00:15:02,231 - DEBUG - [MainThread] CuraEngineBackend.CuraEngineBackend._terminate [421]: Attempting to kill the engine process 2024-07-30 00:15:02,232 - DEBUG - [MainThread] CuraEngineBackend.CuraEngineBackend._terminate [427]: Killing engine process 2024-07-30 00:15:02,236 - DEBUG - [MainThread] CuraEngineBackend.CuraEngineBackend._terminate [430]: Engine process is killed. Received return code 1 2024-07-30 00:15:02,237 - DEBUG - [MainThread] UM.Backend.Backend._createSocket [294]: Previous socket existed. Closing that first. 2024-07-30 00:15:02,241 - DEBUG - [MainThread] UM.Backend.Backend._logSocketState [232]: Socket state changed to Listening

HellAholic commented 1 month ago

We have a ticket on this issue on the backlog. This happens when the size of the model (models) exceeds the capacity of the protocol used. A protocol message was rejected because it was too big (more than 524288000 bytes). To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in third_party/protobuf/io/coded_stream.h.

For Internal reference: CURA-11103

versaielle commented 1 month ago

Is there a way to disable thumbnail creation in the meantime?

HellAholic commented 1 month ago

Thumbnail creation fails silently, it attempts to create a thumbnail 10 times and if it can't then there will be no thumbnail image in the file (ufp). I don't believe you can disable that without modifying the cura code. If your model size times the number of copies is more than 500MB then you will get the message regardless of whether the thumbnail is generated or not.

Here is the thumbnail for 160 models being sliced. model size 100kb thumbnail image

A workaround that you might be able to try is to reduce the number of polygons on your models. To do this you can use different 3D software tools but the easiest is the 3D builder from Microsoft (it's also free).

In example below I cut the model size in half by reducing the polygons by 2 levels, and the quality is still the same.

image image image image

versaielle commented 1 month ago

Thank you for the information. Reducing the complexity of the model works.