prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.73k stars 1.93k forks source link

File impossible to slice #13495

Open renaud-lebrun opened 3 weeks ago

renaud-lebrun commented 3 weeks ago

Description of the bug

I have an STL which is not "awfully big" (less than 2 million triangles), however, I can not slice it, PrusaSlicer fails to slice it.

Project file & How to reproduce

It's more than 25 Mb. However, this 3mf file can be downloaded here : https://entrepot.recherche.data.gouv.fr/dataset.xhtml?persistentId=doi:10.57745/GPWDXP

=> then I exported the plate as an STL (because when opened directly with prusaslicer, the model looked weird and had many "open faces" for some reason) and reimported it in PrusaSlicer (then the STL file had no error), and tried to slice it (without support, 0.20mm Structural, Prusament PLA, Mk4 Input Shaper 0.4 nozzle)

Checklist of files included above

Version of PrusaSlicer

2.8.1 +win64

Operating system

Windows 11

Printer model

MK4

neophyl commented 3 weeks ago

I downloaded your file. That model is the most broken I have ever seen. It is also more than 2 million triangles, over 3.5 million.
It ALSO has over 10 million open edges. Every purple line, which is all of them as far as I can tell, is is a non manifold edge. A non manifold model cant be sliced properly.

I'm curious as to what method/software was used to create this ? I'm not sure I could create something this broken if I tried.

I ran the windows repair option on it and after VERY long time it returned a repaired version. However even that when sliced returns a Vector too long error. Not sure what that is :)

So I tried simplifying it a bit and slicing. That finally worked. Even simplified its over 3 million triangles. It also complains about print stability issues such as long bridges, unsupported bits etc and recommends supports. Which if enabled are never going to be removeable unless printed in a soluble material with a multi extruder setup.

image

The repaired and simplified file is still over 25MB (45MB).

renaud-lebrun commented 3 weeks ago

Many thanks for your answer and your time !

To be honest, I have never seen a 3D model that ugly myself, it's a user at my research lab who asked me to print this. I usually work with heavy (much heavier... sometimes 20 million faces) and ugly broken surfaces extracted from X-ray µCT dataset, and so far PrusaSlicer had never failed to slice any of them. So that is why I was surprised and reported this issue.

Thanks again, I will simplify these models and try to print them that way for my user (he works on wood and would like to create such "wood" models for outreach).

u89djt commented 2 weeks ago

@renaud-lebrun Just demonstrating the feasibility of support. The fragments of the sieve plates in the phloem are in bad shape, but they indicate general location, so they might as well be there. @neophyl is right - that's not a mesh in the traditional sense :) It's at the very least inside out with triangles that don't match up. I fixed those two factors in meshlab, imported to prusaslicer, reduced the resolution of the slice and gcode, chopped it down and supported it on its side. Also switched to the classic perimeter generator, because arachne had a number of stray lines in space. halffixedsupported211_alisier.zip image