slic3r / Slic3r

Open Source toolpath generator for 3D printers
https://slic3r.org/
GNU Affero General Public License v3.0
3.28k stars 1.29k forks source link

Error when generating support material #5092

Open pbilluart opened 2 years ago

pbilluart commented 2 years ago

Version of Slic3r : 1.3.0

In order to check that I get the same .gcode, the same filament length and the same time of slicing with slic3r as I got with PrusaSlicer, I tried to slice in CLI with Slic3r a .stl file using my default configuration from PrusaSlicer (save in config.ini) by typing :

./slic3r -g ProtoGnome.stl --output ProtoGnome.gcode --load config.ini --info

and I got the output here below, with a lot of errors as you can see. The config.ini file was set at first in a such a way to generate supports (this file is attached and the .stl file as well). Next I modified the config.ini file in order to cancel the generation of support (support_material = 0 in config.ini file) and the error lines "Layer processing ERR: Layer...." just disappeared, suggesting the problem comes from supports. Beside the needed filament length remains the same as with and without supports, suggesting that it's not generating support at all when the errors occur. Do you know how to fix it ?

Furthermore, in the case of "no support" demanded, the filament length outputted by slic3r is quite different from the one outputted by PrusaSlicer (set with no support too) whereas both are running on the same .stl and the same config. Is it normal ? I thought Slic3r was the engine of PrusaSlicer.

PS: I had to change the extension of config.ini file and ProtoGnome.STL to be able to attach them, their extension is .txt : ProtoGnome.txt config.txt

Output from Slic3r when enforcing the generation of supports :

CLI ERR: Arrange: 1, center: 1 Infilling layers Processing triangulated mesh Preparing infill Generating support material

Generating skirt Generating brim Exporting G-Code... Layer processing ERR: Layer #0 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #3 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #5 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #7 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #9 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #10 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #13 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #15 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #17 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #19 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #20 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #21 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #23 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #25 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #29 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #31 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #32 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #33 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #35 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #37 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #39 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #41 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #43 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #251 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #254 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #257 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #260 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #265 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #268 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #270 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #273 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #275 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #278 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #281 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #284 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #286 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #288 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #291 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #296 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #298 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #300 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #302 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #305 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #308 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #311 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #314 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #317 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #320 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #323 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #326 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #328 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #331 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #334 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #337 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #340 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #343 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #346 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #349 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #366 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #368 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #371 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #372 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #373 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #376 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #379 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #382 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #385 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #387 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #390 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #393 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #395 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #397 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #399 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #401 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #403 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #407 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #410 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #412 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #415 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #418 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #421 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #423 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #426 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #429 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #432 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #435 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #438 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #441 doesn't have region 0. The layer has 0 regions. Layer processing ERR: Layer #444 doesn't have region 0. The layer has 0 regions. Done. Process took 1 minutes and 36.608 seconds. Filament required: 4432.53mm (10.66cm3) [ProtoGnome.STL] size_x = 37.32 size_y = 36.03 size_z = 79.20 min_x = -47.63 min_y = -12.93 min_z = 0.97 max_x = -10.31 max_y = 23.10 max_z = 80.17 number_of_facets = 205296 manifold = yes number_of_parts = 2 volume = 22457.77

Stepkur commented 2 years ago

Got the same problem running latest master version (b1a5500f427700ac3dffc0e7d9535ea65f993537 ). Building slicer on Linux from source code. Have you been able to solve this problem?

Stepkur commented 2 years ago

I was building slic3r using cmake and got this problem. Then I tried to build slic3r on a newer Linux using perl- the problem has disappeared. So I'm guessing right now latest master versions don't fully support building by cmake. Not sure, but something similar is described in guide how to build on Windows