FDM printing file formats

Data protocol used in 3D printing

Modern entry level FDM 3D-printer (costs around $300–400)

FDM (fused deposition modeling) printing is one of the most popular types of 3D printing,[1] it is used throughout different engineering industries (medical, robotics, automotive)[1] and also has a great number of individual users that enjoy 3D-printing as a hobby.[2] FDM printing is so popular because it can produce near finished models of hardware with a very short manufacturing process also known as Rapid prototyping.[3] This kind of printing was first developed and patented in 1989 by Stratasys[1] and has made lots of advancements in the past few decades becoming much cheaper and accessible.[4]

A key aspect of FDM printing is the use of specialized file formats that contain the data necessary to guide the printing process. These formats encode information about the 3D model, including its geometry, print settings and tool paths,[3] ensuring that the printer accurately recreates the digital design in physical form. Understanding the various file formats associated with FDM printing is crucial for both novice and experienced users, as each format has unique characteristics that can influence the final output.[5]

## Background

[edit]

Charles Hull

Born| May 12th, 1939
Education| B.S. of Engineering physics, University of Colorado 1961 Honorary Doctorate, University of Colorado and University of Louborough.
Occupation| Engineer
Known for| Inventor of SLA 3D printing and the STL File format
Title| Co-Founder of 3D Systems
Honours| National Medal of Technology and Innovation (2022)

### Charles Hull and the invention of stereolithography

[edit]

Charles Hull, an American engineer, is widely regarded as the inventor of stereolithography (SLA) the first 3D printing system. In 1984, Hull developed and patented the first method for creating 3D objects by curing layers of a liquid photopolymer with ultraviolet light, a process that became known as stereolithography.[1]

Recognizing the potential of his invention, Chuck Hull co-founded 3D Systems in 1986 and introduced the first commercial 3D printer, the SLA-1, in 1988.[1] Coupled with 3D System's STL (Stereolithographic) file format, Charles Hull made a crucial development in stereolithography.[6] The STL format was designed to encode the surface geometry of 3D models in a way that could be easily interpreted by 3D printers,[7] making it possible to convert digital designs into physical objects with high precision. Hull's development of the STL format and his contributions to stereolithography fundamentally transformed the manufacturing industry and cemented him as the father of 3D printing.

### G-code

[edit]

G-code is a programming language used to control CNC (Computer Numerical Control) machines, including FDM printers.[8] Originating in the 1950s and 1960s, G-code specifies the movements and operations essential for the 3D printing process.

In 3D printing, G-code translates a 3D model, created in a specialized 3D printing format, into specific instructions that guide the printer. This includes commands for movement along the X, Y and Z axes, extrusion of material, temperature settings, and printing speed.[3] This Slicing software generates the G-code layer by layer so that the model can be built from the bottom up.[9]

Although G-code is versatile and widely used, it can be complex and may vary between different printer models. Despite these limitations, G-code remains the standard language for 3D printing, enabling precise control over the printing process.[6]

## FDM printing file Formats

[edit]

STL triangle mesh modeling

### STL (stereolithography) file format

[edit]

The STL (stereolithographic) file format is the oldest and most widely used file format in 3D printing. Developed in 1987 by 3D Systems, STL was initially designed for stereolithography, but it has since become the standard format for FDM printers.[6]

STL files recreate the geometry of a 3D CAD model using a mesh of triangles, which approximate the shape of the object. Each triangle is defined by three vertices and a normal vector that indicates the direction of the outer surface (due to the Right-Hand Rule).[5] Because STL files only recreate the surface geometry of the CAD, they do not contain any information about the color, texture, or material properties.[7] This simplicity in design makes them easily transferable across different platforms and software.

However, the simplicity of the STL format comes with limitations. The lack of support for complex data like color and materials means that STL files are best suited for basic 3D printing tasks. Additionally, because STL files use an approximation of the model's surface, a printed STL file may be inaccurate compared to the CAD geometry, and high-resolution models can result in very large file sizes.[5]

3MF ConsortiumFounders| Microsoft, HP and Autodesk

|

Established| 2015
Focus| The 3MF Consortium is an industry association formed to develop and promote a new full-fidelity file format for 3D printing/additive manufacturing, known as the 3D Manufacturing Format (3MF).
Head| Duann Scott, Alexander Oster
Website| 3mf.io

### 3MF

[edit]

The 3MF (3D manufacturing format) was developed by the 3MF Consortium, an industry group founded in 2015 by Microsoft, HP and Autodesk.[10] Their goal was to address the limitations of older file formats like the STL. The 3MF format is designed to be the solution for modern 3D printing, offering better features and being completely open-source[5] so anyone can edit it. Since its creation, the 3MF Consortium has expanded to now include over 35 companies most of which are big names in the tech and engineering world who now work to improve this format.[11]

Like the STL format, 3MF files use a triangular mesh to represent the geometry of a CAD model. However, 3MF ensures that the mesh follows a 100% manifold format,[7] meaning it can detect and prevent issues such as holes or overlapping triangles, ensuring the mesh accurately conforms to the intended model geometry.[7] The 3MF can also store many other data types beyond just geometry. This includes info about the model's color, materials, textures, and even specific print settings like layer height or print speed.[8] The ability to include this metadata within a single file makes the 3MF format versatile, particularly for complex or multi-material prints.

The advantages of the 3MF format come with its compressed XML-based structure, which makes the files smaller and more efficient to store than STL files of the same model. Being XML-based also means the code is readable making for easier development.[5] However, being so new the 3MF format has yet to fully take over the 3D printing industry as the format is not always compatible with certain FDM printers and slicing software.[7]

### AMF file format

[edit]

Curved triangular mesh (AMF format)

The AMF (additive manufacturing) file format was developed from 2009–2011 by the ASTM, its goal was to replace the outdated STL format and was originally called the STL 2.0.[5] The main goal of the format was to overcome the many shortcomings of the STL and become a new and streamlined file format.[7] The AMF was then created with a slew of new and innovative features from code that was made open source[7] for its users.

Like other 3D printing formats, AMF formats recreate CAD using a triangular mesh, but what sets the AMF apart is its ability to add curves in the triangle's edges. This innovation, along with the addition of normal vectors at each vertex of the triangles, creates 3D shapes and allows the AMF format to accurately create rounded edges and more complex geometry,[7] all while using fewer triangles. AMF files do not only have innovative mesh geometry they are also able to record the model's color, materials, and texture and can naturally handle microstructures, sub-structures, lattice structures, mix-graded materials and porous materials.[5] Lastly, the AMF format also has access to many metadata fields and can record info like name, author, company, description, volume, tolerance, and many more depending on the needs.[5] With all these capabilities AMF files are the Swiss army knife of 3D printing formats and can be used for some of the most complex and sensitive prints.

The AMF format's ability to contain so much data comes from its XML structure which gives it a five element hierarchy labeled: object, material, texture, constellation and metadata.[5] These elements all make up the AMF file and due to its XML-base the file code is fully readable. The AMF has some amazing capabilities and beats out the STL format in every way, however, The AMF has never seen much use in the industry. This is due to the file format not being compatible with most slicing software or FDM printers and the reason behind that is the developers of the AMF having poor consultancy with manufacturers and 3D printing companies.[7]

### OBJ file format

[edit]

The OBJ file format, developed by Wavefront Technologies in the 1980s, is widely used for representing 3D models. Originally designed for visual effects and animation, OBJ was adapted for FDM printing due to its ability to contain multi-color info and its open source nature.[7]

Instead of using a triangular mesh, OBJ files recreate 3D models using tessellations made from polygons, primarily triangles, and quadrilaterals, and can even include free-form curves and surfaces.[5] Because of this OBJ formats can accurately cover geometries and support color, texture, and material info.[7] This makes the OBJ format particularly useful for projects requiring complex geometries or detailed surface appearances, such as multi-material or multi-color prints.

Unfortunately, the downside to OBJ files is that they are created in pairs of two. The OBJ file holds the geometric data and an MTL (material template library) file carries the color, material, and texture of the model.[7] The problem with these two file system is that they often get separated and break the file; repairing one of these files takes time and can be very complicated.[7] Another problem is that the OBJ file format is not usually supported for FDM printing and that plug-ins often have to be used.[5]

### STEP file format

[edit]

The STEP (Standard for the Exchange of Product Model Data) file format, also known as ISO 10303, is a standardized 3D model format in the field of engineering.[7] STEP files are used to describe the complete 3D geometry of an object in a way that is independent of any specific CAD (Computer-Aided Design) system, making them highly interoperable across all CAD software.[8]

Unlike, specialized 3D printing formats, STEP files are used more broadly in engineering and manufacturing. They can store a wide range of data, including not only the object's geometry but also its topology, material properties, assembly hierarchy, and other detailed information relevant to the design and manufacturing process.[12] This makes STEP files particularly valuable in industries like aerospace, automotive and industrial design, where precise data is critical.

In the context of FDM printing, STEP files are often used during the design phase, where detailed and accurate models are created in CAD software. These models are sometimes compatible with slicing software, but are usually converted into more specialized 3D printing formats like STL or 3MF for the printing process.[13]

## Use cases for each format

[edit]

### STL

[edit]

* Use Case: STL format is the oldest and most common format for FDM printing.[3] It is widely used due to its broad compatibility with slicing software and printers.
* Advantages: High compatibility, simple straightforward representation of geometry.
* Limitations: Lacks support for color, texture, and material properties.[3] File sizes can become large for high-resolution models and its geometry isn't always true to the CAD.[5]

### 3MF

[edit]

* Use Case: 3MF format is used for advanced 3D printing applications where detailed information such as color, textures, and material properties is required. It is ideal for complex or multi-material prints.[7]
* Advantages: Supports color, textures, and multiple materials. Smaller XML-compressed file size and metadata fields are used to save print settings.[5]
* Limitations: Less universally supported than STL, though this is improving.

### AMF

[edit]

* Use Case: AMF format is used for complex 3D printing projects that require detailed geometry, color, and material properties. It is suited for advanced manufacturing processes and supports features like lattice structures and multiple materials.[5]
* Advantages: Supports color, textures, complex geometries, and many material types. Its XML-based structure allows detailed metadata.[7]
* Limitations: Not always supported by the slicing software.

### OBJ

[edit]

* Use Case: OBJ format is used for 3D models that need to include color and texture information, and would be used in multi-color prints.
* Advantages: Supports detailed color, texture, and complex geometric mapping.[7]
* Limitations: Files can easily break and are usually not supported for printing; requires the use of plug-ins.[5]

### STEP

[edit]

* Use Case: STEP format is primarily used in engineering and CAD applications for detailed design and manufacturing.[8] STEP files are often converted into formats like STL or 3MF for actual 3D printing.[13]
* Advantages: Detailed and accurate representation of geometry, topology, material properties, and assembly information.
* Limitations: Not directly used for 3D printing; requires conversion to other formats for printing.[7]

## Future of printing file formats

[edit]

### STEP-NC integration for FDM printing

[edit]

STEP-NC (ISO 14649) is a machine tool control language created to replace G-code in CNC systems.[14] STEP-NC works with the STEP (ISO 10303) standard and with process models to guide CNC systems.[14] STEP-NC has already been integrated in milling and turning CNC tools. Its integration with FDM printing is possible and would revolutionize 3D printing.[8]

#### Benefits

[edit]

* Improved Precision: Using Step files FDM printing would maintain the integrity of the 3D model in the print.[7]
* Streamlined Workflow: With STEP-NC and STEP files working together the CAD/CAM/CNC chain would be fully integrated.[14]

#### Challenges

[edit]

* Adapting STEP-NC for FDM printing: The challenge lies in creating specialized process models tailored to FDM printing.[8]

### Future updates to 3MF and AMF formats

[edit]

* Both 3MF and AMF formats are open source formats which means they can be improved by the average users and therefore have potential for development.[7]
* The 3MF Consortium works hard to bring new updates for the 3MF format[11] bringing new advancements to FDM printing.

## References

[edit]

1. ^ a b c d e Al'Aref, Subhi J.; Mosadegh, Bobak; Dunham, Simon; Min, James K., eds. (2018). 3D printing applications in cardiovascular medicine. London, United Kingdom: Elsevier/Academic Press. ISBN 978-0-12-803917-5. OCLC 1012346301.
2. ^ Jain, Prateek K.; Jain, Prashant K. (2021-01-01). "Use of 3D printing for home applications: A new generation concept". Materials Today: Proceedings. 1st International Conference on Energy, Material Sciences and Mechanical Engineering. 43: 605–607\. doi:10.1016/j.matpr.2020.12.145. ISSN 2214-7853.
3. ^ a b c d e A. C. Brown and D. de Beer, "Development of a stereolithography (STL) slicing and G-code generation algorithm for an entry level 3-D printer," 2013 Africon, Pointe aux Piments, Mauritius, 2013, pp. 1–5, doi: 10.1109/AFRCON.2013.6757836.
4. ^ Saggiomo, Vittorio (2022). "A 3D Printer in the Lab: Not Only a Toy". Advanced Science. 9 (27): e2202610. doi:10.1002/advs.202202610. ISSN 2198-3844. PMC 9507339. PMID 35831252.
5. ^ a b c d e f g h i j k l m n o Iancu, C. (2018). ABOUT 3D PRINTING FILE FORMATS. Annals of'Constantin Brancusi'University of Targu-Jiu. Engineering Series/Analele Universităţii Constantin Brâncuşi din Târgu-Jiu. Seria Inginerie, (2).
6. ^ a b c Gokhare, V. G., Raut, D. N., & Shinde, D. K. (2017). A review paper on 3D-printing aspects and various processes used in the 3D-printing. Int. J. Eng. Res. Technol, 6(06), 953-958.
7. ^ a b c d e f g h i j k l m n o p q r s t Kumar, Ajay; Kumar, Parveen; Mittal, Ravi Kant; Singh, Hari (2023-01-01), Kumar, Ajay; Mittal, Ravi Kant; Haleem, Abid (eds.), "Chapter 6 - Printing file formats for additive manufacturing technologies", Advances in Additive Manufacturing, Additive Manufacturing Materials and Technologies, Elsevier, pp. 87–102, ISBN 978-0-323-91834-3, retrieved 2024-08-18
8. ^ a b c d e f Xiao, Jinhua; Eynard, Benoît; Anwer, Nabil; Durupt, Alexandre; Le Duigou, Julien; Danjou, Christophe (2021-01-01). "STEP/STEP-NC-compliant manufacturing information of 3D printing for FDM technology". The International Journal of Advanced Manufacturing Technology. 112 (5): 1713–1728\. doi:10.1007/s00170-020-06539-5. ISSN 1433-3015.
9. ^ Guan, Yang; Sun, Xun; Jin, Lei; Guo, Xin-li; Zhang, Zhi-min; Shui, Guo-yan; Ma, Lan-bo (2021-11-01). "Development of 3D printing entity slicing software". China Foundry. 18 (6): 587–592\. doi:10.1007/s41230-021-1090-y. ISSN 2365-9459. PMC 8710818.
10. ^ "Who's Who". 3MF Consortium. Retrieved 2024-08-18.
11. ^ a b "3MF | Additive Manufacturing File Format". 3MF Consortium. Retrieved 2024-08-18.
12. ^ "Performance Advisor Help Center". support.ptc.com. Retrieved 2024-08-18.
13. ^ a b "STEP Format". Bambu Lab Wiki. Retrieved 2024-08-18.
14. ^ a b c Rodriguez, Efrain; Alvares, Alberto (2019-01-01). "A STEP-NC implementation approach for additive manufacturing". Procedia Manufacturing. 29th International Conference on Flexible Automation and Intelligent Manufacturing ( FAIM 2019), June 24–28, 2019, Limerick, Ireland, Beyond Industry 4.0: Industrial Advances, Engineering Education and Intelligent Manufacturing. 38: 9–16\. doi:10.1016/j.promfg.2020.01.002. ISSN 2351-9789.