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.
ian.rees
Posts: 581
Joined: Sun Jun 15, 2014 3:28 am
Contact:

Re: AMF file format support?

Postby ian.rees » Tue Feb 07, 2017 4:58 am

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: 34
Joined: Wed Sep 14, 2016 8:22 pm

Re: AMF file format support?

Postby nokian » Tue Feb 07, 2017 9:13 am

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: 581
Joined: Sun Jun 15, 2014 3:28 am
Contact:

Re: AMF file format support?

Postby ian.rees » Fri Mar 03, 2017 1:14 am

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

Re: AMF file format support?

Postby nokian » Wed Mar 08, 2017 9:16 pm

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

Re: AMF file format support?

Postby ian.rees » Wed Mar 08, 2017 9:42 pm

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

Re: AMF file format support?

Postby babaroga » Thu Mar 09, 2017 8:34 am

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: 581
Joined: Sun Jun 15, 2014 3:28 am
Contact:

Re: AMF file format support?

Postby ian.rees » Thu Mar 09, 2017 5:28 pm

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: 20
Joined: Sun Aug 14, 2016 6:52 pm
Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina

Re: AMF file format support?

Postby babaroga » Thu Mar 09, 2017 6:13 pm

Thanks, :oops:

I learn something new every day.