slic3r.org »

Slic3r Manual

Slic3r Supported File Formats

Slic3r supports STL, OBJ, AMF formats. This document shows what each format carries and what is supported by Slic3r.

STL

OBJ

What is supported by Slic3r when reading/writing OBJ files:

Supported in Slic3r
Materials NO
Textures and .mtl files NO

AMF

AMF Simple Structure Example

This Example is a taken from the Wikipedia example but it's more simplified

<?xml version="1.0" encoding="utf-8"?>
<amf unit="inch" version="1.1">  <!-- All elements should be contained in the <amf> element -->
  <metadata type="name"></metadata> <!-- Metadata element -->
  <object id="1"> <!-- Object element with identifier -->
    <mesh> <!-- Mesh inside an object -->
      <vertices> <!-- Mesh Vertices -->
        <vertex><coordinates><x>0</x><y>0</y><z>0</z></coordinates></vertex> <!-- A Vertex (x, y, z) coordinates -->
      </vertices>
      <volume materialid="1"> <!-- Volume having material with an identifier -->
        <metadata type="name">Hard side</metadata>  <!-- Metadata element -->
        <!-- Triangular Mesh consits of three vertices from the mentioned above in the mesh vertices elements -->
        <triangle><v1>2</v1><v2>1</v2><v3>0</v3></triangle>
      </volume>
    </mesh>
  </object>
  <material id="2">  <!-- Material element -->
    <metadata type="name">Hard material</metadata>
    <color><r>0.1</r><g>0.1</g><b>0.1</b></color>
  </material>
</amf>

What is supported by Slic3r when reading/writing AMF files:

Supported in Slic3r
Materials YES
Metadata YES
Curved triangles NO
Constellations YES
Textures NO

when writing AMF files, we save additional data which are: * Print configuration for each object and each Material. * Print configuration for each volume and whether it's a modifier volume or not. * Slic3r version in each metadata element in objects, materials, and volumes

References