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.8k stars 1.94k forks source link

3mf files from Fusion randomly not being able to open #13209

Open slart11 opened 3 months ago

slart11 commented 3 months ago

Description of the bug

Sometimes when exporting 3mf from Fusion, the file will not open. When I drag it into the slicer, I get an error. When I export as STL, it is fine.

The 3mf can be opened in Cura, then I save, and then I can open in Prusa as well. But the model needs to be repaired.

Project file & How to reproduce

Export 3mf from Fusion Open with Prusaslicer - doesnt work Open with Cura - works Save with Cura Then open with Prusa Your-Files.zip

Checklist of files included above

Version of PrusaSlicer

2.8.0

Operating system

Win11

Printer model

MK4

Jony01 commented 3 months ago

Hi, Long story short: There is invalid object in 3mf.

PrusaSlicer say that there is an issue in file '3D/3dmodel.model' at line 13338. image On the line is defined item from list of object you want to print (object with id = 1). image But definition of this object is without triangles( '3D/3dmodel.model' at lines from 11 to 16). image

3mf (exported 3mf from fusion.3mf) is not valid. By specification [link] vertices should contain at least 3times vertex and by 3mf core specification [link] triangles should contain at least one triangle

At this moment PrusaSlicer do not ignor mistake like this in 3mf. (but we are on the way to fix it)

slart11 commented 3 months ago

Great, then you are on it ^_^