AMF file format support?

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
ian.rees
Posts: 696
Joined: Sun Jun 15, 2014 3:28 am
Contact:

Re: AMF file format support?

Post by ian.rees »

Cura supports (or at least supported) AMF as well.

That actually reminds me of an outstanding bug report with Slic3r that could use some attention - https://github.com/alexrj/Slic3r/issues/3167 . From memory, it looked easy to do for someone with a bit more Perl experience than I have ;). -Ian-
nokian
Posts: 40
Joined: Wed Sep 14, 2016 8:22 pm

Re: AMF file format support?

Post by nokian »

Now that I searched for it I found some software capable of .amf import:
Slic3r 1.2.9
MatterControl 1.6.2

Cura 2.4.0 does not support .amf import. You are right it was supported, but:
"As long as there is no official AMF document (eg; They stop being so -damn- secretive about what they are doing) we won't re-add AMF support." (https://github.com/Ultimaker/Cura/issues/103)

"Unfortunately, slic3r does not support compressed AMFs, which is what MatterControl creates."(https://github.com/MatterHackers/Matter ... issues/702)
ian.rees
Posts: 696
Joined: Sun Jun 15, 2014 3:28 am
Contact:

Re: AMF file format support?

Post by ian.rees »

AMF export got merged in today, please let me know if you find any issues with it. -Ian-
nokian
Posts: 40
Joined: Wed Sep 14, 2016 8:22 pm

Re: AMF file format support?

Post by nokian »

Seems to work properly.
Thanks Ian!
ian.rees
Posts: 696
Joined: Sun Jun 15, 2014 3:28 am
Contact:

Re: AMF file format support?

Post by ian.rees »

No problem, thanks for the feedback! -Ian-
User avatar
babaroga
Posts: 180
Joined: Sun Aug 14, 2016 6:52 pm
Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina

Re: AMF file format support?

Post by babaroga »

Nice addition to FreeCAD. Thanks.

I tested it on different 3D printing software. So, model exported from FreeCAD can be opened without any problems by Cura, Repetier Host and Mattercontrol.
It cannot be open by Slic3r directly, b'cos it complains about empty file. I guess, Slic3r cannot handle compressed AMF files.
But if you just uncompress file, it can be opened also by Slic3r.

My config

Code: Select all

OS: KDE neon User Edition 5.8
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10452 (Git)
Build type: Unknown
Branch: master
Hash: 0196d50c487a6937bbcca5aeb13df32a652907db
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
ian.rees
Posts: 696
Joined: Sun Jun 15, 2014 3:28 am
Contact:

Re: AMF file format support?

Post by ian.rees »

Thanks for the testing and feedback, Babaroga!

Slic3r cannot handle compressed AMF currently - there's a ticket on github, linked to earlier in this thread. I think it should be a very small change to Slic3r, so anticipate it being changed if more people start making compressed AMFs.

If you go in to Preferences after opening the Mesh workbench, there is a checkbox in the "Mesh Exports" tab that enables/disables exporting AMFs with compression, so there's no need to "uncompress" as a discrete step. -Ian-
User avatar
babaroga
Posts: 180
Joined: Sun Aug 14, 2016 6:52 pm
Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina

Re: AMF file format support?

Post by babaroga »

Thanks, :oops:

I learn something new every day.
Post Reply