That failed as well -- also, the unzipped file was close to 1MB, which is quite a bit larger than the initial 86kb.
.3mf file type
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: .3mf file type
Thanks for checking. With the supplied file, PrusaSlicer 2.4.2 (the current version) fails silently. Fusion 360 displays a generic message that reads: "Cannot insert mesh body. The source file may be damaged."wmayer wrote: ↑Mon Jun 13, 2022 5:57 amAs reference I have used Blender and that imported the file that was created with FreeCAD without problems. Do you get any error messages?
Does PrusaSlicer or Fusion 360 support the export of the 3mf format? If yes you could export the object from FreeCAD in a mesh format that the two programs support (e.g. STL), import into PrusaSlicer or Fusion 360 and export as 3mf. This way the output files can be compared.
As suggested, I exported the model from FreeCAD in both AMF and STL formats. PrusaSlicer can read both (but for some reason, the STL lands centered on the print bed area, and the AMF is positioned with the center of the object at 0,0 -- not sure what controls that...). I saved the AMF out as a 3MF from PrusaSlicer, and confirmed that it can be imported correctly into Fusion 360.
Attached is the 3MF I exported from PrusaSlicer after importing (and centering on the bed) the AMF I previously exported from FreeCAD. The AMF export is also attached. Both are in the zipped file.
Thanks!
- Attachments
-
- Export-Tests.zip
- (237.32 KiB) Downloaded 20 times
Re: .3mf file type
Thanks.
Re: .3mf file type
I've downloaded Blender 3.2 for macOS ARM/M1, installed the community-supported 3MF importer (found here: https://developer.blender.org/T84154) (as 3MF doesn't show up be default) and did confirm that it seemed to import my original FreeCAD exported 3MF file correctly.
Thanks,
John
Thanks,
John
Re: .3mf file type
Comparing Freecad (bottom windeo) and Prusa Slicer (top window) one can see differences in the model-file Prusa Slicer doesn't have a carriage return in the leading model tag. And more obvious Prusa doesn't sets a blank space behind the last value, neither for vertices nor for faces.
cheers
Re: .3mf file type
Thanks for looking at the issue. However, these extra spaces shouldn't be a problem because it's still valid XML. If you load it into an XML validator you will see that both files are OK.
Re: .3mf file type
Thanks for creating the ticket!
- adrianinsaval
- Veteran
- Posts: 5541
- Joined: Thu Apr 05, 2018 5:15 pm
Re: .3mf file type
does xml follow indentation for hierarchy? I notice one has resources at the same level as the metadata and the other has more indentation for resources
Re: .3mf file type
Im also having issues in Linux, with Cura 5.0.0. File is read as "corrupt".
- Attachments
-
- Cylinder.zip
- Change extension to 3mf!!!
- (9.82 KiB) Downloaded 20 times