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!
terrym
Posts: 6
Joined: Mon Dec 09, 2013 1:06 am

AMF file format support?

Post by terrym »

Hi

I seen in one post here a mention of someone using .amf files with FreeCAD, but 0.16 so far does not seem to have any support for it that I can tell?

Am I missing something? an optional library?

Thanks
wmayer
Founder
Posts: 20245
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: AMF file format support?

Post by wmayer »

AMF support is implemented in a separate development branch.
nokian
Posts: 40
Joined: Wed Sep 14, 2016 8:22 pm

Re: AMF file format support?

Post by nokian »

Will it be merged to master some day?
Which branch do you mean?
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 prod; I'll try to finish this up sometime soonish! The branch is at https://github.com/ianrrees/FreeCAD_tin ... export-amf - it's been updated more recently than the name implies but is way behind at the moment. Will rebase off master when I can build FreeCAD again (knee deep in MacOS + Qt5 ATM), but want to re-work some things before making a PR.

Been super busy with other programming stuff lately (New job, also made a food truck tracker website :) ), and need to occasionally get some AFK time. I'm really excited to see all the work going on in FreeCAD lately though, so am hoping to get back in to it! -Ian-
ian.rees
Posts: 696
Joined: Sun Jun 15, 2014 3:28 am
Contact:

Re: AMF file format support?

Post by ian.rees »

I've pulled that branch up to the current master. Have done only the most trivial of tests, but it seems to work OK so far. I should mention this is only for exporting AMFs.

What other software are people interested using AMFs with? -Ian-
nokian
Posts: 40
Joined: Wed Sep 14, 2016 8:22 pm

Re: AMF file format support?

Post by nokian »

Great! Do you mean this branch? Is it a setting in the export file formats?
https://github.com/ianrrees/FreeCAD_tin ... ree/master
What other software are people interested using AMFs with?
I am not aware of any software at the moment but I could imagine there will be support in some slicing software in 3d printing.
People should bury the .stl file format for this purpose.
ian.rees
Posts: 696
Joined: Sun Jun 15, 2014 3:28 am
Contact:

Re: AMF file format support?

Post by ian.rees »

nokian wrote:Great! Do you mean this branch?
https://github.com/ianrrees/FreeCAD_tin ... ree/master
No, the "master" branch there is the same master as regular FreeCAD, though usually somewhat behind it. https://github.com/ianrrees/FreeCAD_tin ... export-amf is the one with the AMF export support.
nokian wrote:
What other software are people interested using AMFs with?
I am not aware of any software at the moment but I could imagine there will be support in some slicing software in 3d printing.
People should bury the .stl file format for this purpose.
Maybe we're misunderstanding each other - are you saying that you're interested in FreeCAD being able to export AMFs, but don't have any other program in mind to use the AMFs with?
nokian
Posts: 40
Joined: Wed Sep 14, 2016 8:22 pm

Re: AMF file format support?

Post by nokian »

Maybe we're misunderstanding each other - are you saying that you're interested in FreeCAD being able to export AMFs, but don't have any other program in mind to use the AMFs with?
Yes I thought if .amf gets more popular for slicing in 3d printing it would be nice to already have FreeCAD support.
I've pulled that branch up to the current master.
But it isn't in the current master but in https://github.com/ianrrees/FreeCAD_tin ... export-amf?
I don't get that.
ian.rees
Posts: 696
Joined: Sun Jun 15, 2014 3:28 am
Contact:

Re: AMF file format support?

Post by ian.rees »

nokian wrote:
I've pulled that branch up to the current master.
But it isn't in the current master but in https://github.com/ianrrees/FreeCAD_tin ... export-amf?
I don't get that.
Sorry about my bad wording. Before last weekend, the AMF export was based on a version of FreeCAD master from several months ago, now it is based on a much newer version of FreeCAD master.

So, if you were to build FreeCAD from that source a few days ago, you would've had a "stale" version of FreeCAD, but with AMF export support. I rebased the changes on the latest master, so now if you build from the AMF branch, you'll get a current (well, already a little behind...) version of FreeCAD plus the AMF export.

There's an illustration of a rebase at https://gist.github.com/beckybeauchamp1 ... e6d976fcc4 that fits; except the "Master on local" should be "AMF feature branch", there are hundreds/thousands of commits between A & C, and D & E add the AMF support. -Ian-
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: AMF file format support?

Post by NormandC »

I haven't followed up on 3D printer slicer software for a while but AFAIK only Slic3r supports the AMF format.

Cura, which seems to be quite popular these days, supports 3MF, a competing format.
Post Reply