Additive Manufacturing file format (AMF) defines open standards for objects description in order to be utilized by additive manufacturing processes such as 3D Printing. CAD programs use the AMF file format by making use of the information such as geometry, color and material of the objects. AMF is different than STL format as the lateral does not support color, materials, lattices, and constellations.
AMF File Format
An AMF file consists of an opening XML tag and ends with a element. This is preceded by an XML declaration line specifying the XML version and encoding of the file. The declarations can include measurement units information and, in the absence of such information, millimetres are used as default unit.
Elements of an AMF File
The five top level elements defined with the tags are as detailed below. The presence of a single object element is must for a fully functional AMF file.
<object> - The object element defines a volume or volumes of material, each of which are associated with a material ID for printing. At least one object element must be present in the file. Additional objects are optional.
<material> - The optional material element defines one or more materials for printing with an associated material ID. If no material element is included, a single default material is assumed.
<texture> - The optional texture element defines one or more images or textures for color or texture mapping, each with an associated texture ID.
<constellation> - The optional constellation element hierarchically combines objects and other constellations into a relative pattern for printing.
<metadata> - The optional metadata element specifies additional information about the object(s) and elements contained in the file.
Following is an example of AMF file that can be copied to a text file and saved as compressed zip file for opening.