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

AMF file format support?

Postby terrym » Sun Feb 28, 2016 11:23 pm

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
Site Admin
Posts: 11356
Joined: Thu Feb 19, 2009 10:32 am

Re: AMF file format support?

Postby wmayer » Mon Feb 29, 2016 8:20 am

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

Re: AMF file format support?

Postby nokian » Fri Jan 13, 2017 2:28 pm

Will it be merged to master some day?
Which branch do you mean?
ian.rees
Posts: 582
Joined: Sun Jun 15, 2014 3:28 am
Contact:

Re: AMF file format support?

Postby ian.rees » Tue Jan 17, 2017 7:08 am

Thanks for the prod; I'll try to finish this up sometime soonish! The branch is at https://github.com/ianrrees/FreeCAD_tinkering/tree/20151212-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: 582
Joined: Sun Jun 15, 2014 3:28 am
Contact:

Re: AMF file format support?

Postby ian.rees » Sun Feb 05, 2017 5:19 pm

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

Re: AMF file format support?

Postby nokian » Mon Feb 06, 2017 6:41 pm

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

Re: AMF file format support?

Postby ian.rees » Mon Feb 06, 2017 6:55 pm

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

Re: AMF file format support?

Postby nokian » Mon Feb 06, 2017 7:17 pm

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

Re: AMF file format support?

Postby ian.rees » Mon Feb 06, 2017 7:28 pm

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
Posts: 12294
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: AMF file format support?

Postby NormandC » Tue Feb 07, 2017 4:07 am

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.