Documentation

    Table of Content
    • 3D File Formats
      • 3D File Formats
      • 3D2
      • 3DS
      • 3MF
      • AMF
      • ASE
      • DAE
      • DRC
      • FBX
      • GLB
      • GLTF
      • IPT
      • JRXML
      • JT
      • MA
      • OBJ
      • PLY
      • PRC
      • RVM
      • STEP
      • U3D
      • USD
      • USDZ
      • VRML
      • X
      • X3D
    • Audio File Formats
      • Audio File Formats
      • AAC
      • AC3
      • FLAC
      • M3U
      • MID
      • MKA
      • MP3
      • OGG
      • OPUS
      • RA
      • SDT
      • STAP
      • WAV
      • WMA
    • CAD File Formats
      • CAD File Formats
      • CF2
      • DC3
      • DGN
      • DWF
      • DWFX
      • DWG
      • DWT
      • DXF
      • HPGL
      • IFC
      • IGES
      • IGS
      • JVSG
      • NWC
      • NWD
      • NWF
      • PAT
      • PHJ
      • PLT
      • PSM
      • PSS
      • RVT
      • STL
    • Compression File Formats
      • Compression File Formats
      • 7Z
      • ARC
      • ARJ
      • BZ2
      • DAA
      • GZ
      • RAR
      • TAR
      • ZIM
      • ZIP
    • Database
      • Database File Formats
      • ACCDB
      • ACCDE
      • ACCDT
      • ACCFT
      • BAK
      • BCP
      • DDL
      • DTSX
      • LDF
      • MDB
      • MDF
      • MYI
      • NDF
      • NSF
      • SQL
      • SQLITE
    • EBook File Formats
      • EBook File Formats
      • AZW
      • AZW3
      • CBC
      • CBR
      • CBZ
      • EPUB
      • FB2
      • KFX
      • LRF
      • LRS
      • LRX
      • MOBI
      • TR
    • Email File Formats
      • Email File Formats
      • EDB
      • EML
      • EMLX
      • ICS
      • MBOX
      • MSG
      • OFT
      • OLM
      • OST
      • PST
      • TNEF
      • VCF - Virtual Contact File
    • Font
      • Font File Formats
      • CFF
      • CFF2
      • EOT
      • FNT
      • FON
      • JFPROJ
      • OTF
      • PFA
      • PFB
      • PFM
      • SFD
      • TTC
      • TTF
      • Type1
      • WOFF
    • GIS File Formats
      • GIS File Formats
      • E00
      • FileGDB
      • GeoJSON
      • GML
      • GPX
      • KML
      • KMZ
      • OSM
      • SHP
    • Image File Formats
      • Image File Formats
      • AI
      • APNG
      • AVIF
      • BMP
      • BPG
      • CDR
      • CMX
      • CPC
      • DCM
      • DIB
      • DICOM
      • DJVU
      • DNG
      • EMF
      • EMZ
      • EXIF
      • FLIF
      • FODG
      • GIF
      • ICO
      • J2C
      • J2K
      • JFIF
      • JP2
      • JPEG
      • JPF
      • JPM
      • JPX
      • JXR
      • ODG
      • OTG
      • PNG
      • PSB
      • PSD
      • SVGZ
      • TGA
      • TIFF
      • VDX
      • VSD
      • VSDM
      • VSDX
      • VSS
      • VSSM
      • VSSX
      • VST
      • VSTM
      • VSTX
      • VSX
      • VTX
      • WEBP
      • WMF
      • WMZ
    • Note Taking File Formats
      • Note Taking File Formats
      • ONE
      • ONETOC2
    • Page Description Language
      • Page Description Language
      • CGM
      • EPS
      • PCL
      • PS
      • SVG
      • SWF
      • TEX
      • XPS
      • XSLFO
    • PDF
      • PDF
      • PDF/A
      • PDF/E
      • PDF/UA
      • PDF/VT
      • PDF/X
    • Presentation File Formats
      • Presentation File Formats
      • ODP
      • OTP
      • POT
      • POTM
      • POTX
      • PPS
      • PPSM
      • PPSX
      • PPT
      • PPTM
      • PPTX
    • Programming
      • Programming
      • C
      • Class
      • CPP
      • CS
      • CSPROJ
      • Dart
      • H
      • JAR
      • Java
      • KT
      • MF
      • PDB
      • PHP
      • PY
      • SH
      • SLN
      • SWIFT
      • TOML
      • VB
      • VBPROJ
      • VCXPROJ
      • YAML
    • Project Management File Formats
      • Project Management File Formats
      • MPP
      • MPT
      • MPX
      • XER
    • Spreadsheet File Formats
      • Spreadsheet File Formats
      • CSV
      • DIF
      • FODS
      • NUMBERS
      • NUMBERS-TEF
      • ODS
      • OTS
      • SXC
      • TSV
      • XLA
      • XLAM
      • XLM
      • XLS
      • XLSB
      • XLSM
      • XLSX
      • XLT
      • XLTM
      • XLTX
    • Video File Formats
      • Video File Formats
      • 3G2
      • 3GP
      • ASF
      • AVI
      • F4V
      • FLV
      • M4V
      • MJPEG
      • MK3D
      • MKS
      • MKV
      • MOV
      • MP4
      • MXF
      • QT
      • RM
      • RMVB
      • RV
      • SRT
      • VOB
      • VP6
      • WEBM
      • WMV
      • Xvid
    • Web File Formats
      • Web File Formats
      • ASP
      • ASPX
      • CHM
      • CSS
      • HTM
      • HTML
      • IXBRL
      • JS
      • JSON
      • MHT
      • MHTML
      • Sass
      • SCSS
      • VDW
      • XAML
      • XBRL
      • XHTML
      • XML
      • XOML
      • XSLT
    • Word Processing File Formats
      • Word Processing File Formats
      • DOC
      • DOCM
      • DOCX
      • DOT
      • DOTM
      • DOTX
      • MD
      • ODT
      • OTT
      • RTF
      • TXT
    • Reporting
      • RDL
      • RDLC
      • RPL
    1. Home
    2. 3D File Formats
    3. AMF

    What's on this Page

      • What is an AMF file?
      • AMF File Format
        • Elements of an AMF File
      • AMF Example
      • References

    What is an AMF file?

    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.

    AMF Example

    Following is an example of AMF file that can be copied to a text file and saved as compressed zip file for opening.

    <?xml version="1.0" encoding="utf-8"?>
    <amf unit="inch" version="1.1">
      <metadata type="name">Split Pyramid</metadata>
      <metadata type="author">John Smith</metadata>
      <object id="1">
        <mesh>
          <vertices>
            <vertex><coordinates><x>0</x><y>0</y><z>0</z></coordinates></vertex>
            <vertex><coordinates><x>1</x><y>0</y><z>0</z></coordinates></vertex>
            <vertex><coordinates><x>0</x><y>1</y><z>0</z></coordinates></vertex>
            <vertex><coordinates><x>1</x><y>1</y><z>0</z></coordinates></vertex>
            <vertex><coordinates><x>0.5</x><y>0.5</y><z>1</z></coordinates></vertex>
          </vertices>
          <volume materialid="2">
            <metadata type="name">Hard side</metadata>
            <triangle><v1>2</v1><v2>1</v2><v3>0</v3></triangle>
            <triangle><v1>0</v1><v2>1</v2><v3>4</v3></triangle>
            <triangle><v1>4</v1><v2>1</v2><v3>2</v3></triangle>
            <triangle><v1>0</v1><v2>4</v2><v3>2</v3></triangle>
          </volume>
          <volume materialid="3">
            <metadata type="name">Soft side</metadata>
            <triangle><v1>2</v1><v2>3</v2><v3>1</v3></triangle>
            <triangle><v1>1</v1><v2>3</v2><v3>4</v3></triangle>
            <triangle><v1>4</v1><v2>3</v2><v3>2</v3></triangle>
            <triangle><v1>4</v1><v2>2</v2><v3>1</v3></triangle>
          </volume>
        </mesh>
      </object>
      <material id="2">
        <metadata type="name">Hard material</metadata>
        <color><r>0.1</r><g>0.1</g><b>0.1</b></color>
      </material>
      <material id="3">
        <metadata type="name">Soft material</metadata>
        <color><r>0</r><g>0.9</g><b>0.9</b><a>0.5</a></color>
      </material>
    </amf>
    

    References

    • AMF - Wikipedia
    • AMF specifications on ISO