CAD CONVERSION AND STL FILE IN ADDITIVE MANUFACTURING.

The AM process begins with a 3D model of the object, usually created by Computer Aided Design (CAD) software or a scan of the existing artifact. Specialized software approximate this model with the help of raw, unstructured triangles (similar to the principle of meshing) and this approximation will generate a new file format which is termed by the name as .STL (STereoLithography or Standard Tessellation Language) file format.

Completely new file format i.e. .STL file will be sent to the AM machine to begin the building process of the prototype. Thus AM machine will creates defined object by adding layer upon layer ("Layer by Layer" principle) of material on top of each other. This process will continue till a final 3D-component has been fabricated. For understanding the process workflow of Additive Manufacturing/3D-Printing do refer the image below which can let us understand the entire process chain which has to be follow for part fabrication.



Figure 1: Additive Manufacturing Process Chain.

Export .STL files in different CAD software’s.

Nowadays, there are several solid modelling packages are available in the market each having different layout for STL file generation from CAD data. Depending upon each software layout for STL file generation kindly refer to the below images.






Figure 2: STL file generation in different software packages.

Tessellation can be defined as a tiling of a plane using one or more geometric shapes but here these shapes are in the form of differently sized triangles. These triangles are used to approximate a 3D CAD model which can be further used for slicing purpose. Before slicing of an STL part will begin it should be make sure that the STL file is properly fixed and corrected



Figure 3: CAD model to STL Conversion.

Fixing of an STL file can be done using softwares like Materialise Magics, ANSYS SpaceClaim, Autodesk Meshmixer, etc. 

Even nowadays STL fixing can be done simply by using Internet, there are many online sources are available which can let us fix STL files. These online sources are: Materialise Cloud, MakePrintable, Sculpteo, Trinckle, 3D Tools, etc.




Figure 4: Representation of CAD versus Tessellated model.

Standard Tessellation Language (.STL) file.


The STL file was created in 1987 by 3D Systems Inc. when they first developed the STereoLithography (founding father Chuck Hull)The STL file, as the de-facto standard, has been used in many, if not all, additive manufacturing systems. 

An STL file consists of lists of triangular facetsEach triangular facet is uniquely identified by a unit normal vector and three vertices or cornersThe unit normal vector is a line that is perpendicular to the triangle and has a length equal to 1.0. This unit  length could be in mm or inches and is stored using 3 numbersSince each vertex also  has 3 numbers, there are a total of 12 numbers to describe each triangle.

The STL file itself holds no dimensions so the AM machine operator must know whether the dimensions are mm, inches, or some other unit. The STL file is normally labelled with a “.STL” extension that is case insensitive. These files only show approximations of the surface or solid entities and so any information concerning the colour, material, build layers, or history is ignored during the conversion process.

STL files can be output as either Binary or ASCII (text) format.The ASCII 
format is less common but easier to understand and is generally 
used for illustration and teaching. 


Figure 5: An original CAD model converted into an STL file using different offset height (cusp) values, showing how the model accuracy will change according to the triangle offset.

Understanding the .STL file resolution.


The STL file format uses a series of linked triangles to recreate the surface geometry of a solid model. When you increase the resolution, more triangles will be usedapproximating the surfaces of the 3D model better, but also increasing the size of the STL file.

Number of triangles associated with the STL file will strongly effects parts resolution (as shown in figure 6). If we continuously increase number of triangles no doubt resolution will be much better but it will increase size of the file which will cause more time in slicing and also leads to hanging problem.



Figure 6: Resolution vs number of triangles for a ball.

Adaptive slicing can be used to for slicing a 3D model instead of Normal slicing which results in choosing higher layer thickness for simple or plane areas and lower layer thickness for curvy areas. This can be better understood from the following figure.

Figure 7: Adaptive Slicing.


Optimization of STL file.


There is typically some control over the size of the triangles to be used in the modelSince STL uses planar surfaces to approximate curved surfaces, then obviously the larger the triangles, the looser that approximation becomes

Most CAD systems do not directly limit the size of the triangles since it is also obvious that the smaller the triangle, the larger the resulting file for a given objectAn effective approach would be to minimize the offset between the triangle and the surface that it is supposed to represent. 

However, in practice the number of triangles cannot be increased 

indefinitelyThe resolution of STL files can be controlled during their 
generation in a 3D CAD system through tessellation parametersFor example, 
the STL generation process can be controlled by specifying the chord height or the angle control as shown in figure below.



 Figure 8: STL files generated by applying Chord Heights of 0.5 mm (left) and 0.05 mm (right).

Chord Height.


The chord height is the maximum distance that your software will allow 
between the surface of the original 3D model and the surface of the STL file. Using smaller chord height will help represent more accurate the 
curvature of a surface.

The recommended value for the chord height is 1/20th of the 3D printing 
layer thickness and never below 0.001 mm (1 micron). This will always 
result in an STL file with ideal accuracy for most 3D printing applications.

Angle Control.

The angular tolerance limits the angle between the normals of adjacent  triangles. The default setting is often 15 degrees. Some software also specify this tolerance as a value between 0 and 1. Unless a higher setting is necessary to achieve smoother surfaces, the default value of 15 degrees (or 0) is recommended.



For understanding the optimization process let us take an example of a sphere (modeled in 

PTC CREO-2.0) to be converted into .STL file.
Sphere (red lines indicating tessellation).



Effect of chord height and angle control for step size 4 units.


Effect of chord height and angle control for step size 2 units.

Observations from the tables.

1. As the chord height and control angle increase number of triangles 

decreases there by decrease in file size too in both binary and ASCII file 

formats.
2. From the table we can see that for the same chord height and angle control 
file size of ASCII format is more than binary format.
3. As the step size decreases from 4 units to 2 units we can see that steep 
change in number of triangles.

How to create a good STL file.


Every triangle edge in the STL has exactly two neighbors (as shown in figure).


There are no geometric overlaps or intersections in the model (as shown in 

figure). An STL may be properly manifold but may still have overlaps and/or 

intersections due to triangles intersecting or overlapping  with each other 

geometrically. 

The triangles should be defined clockwise, with the normal indicating the 

"out" direction (as shown in figure).
The triangles should share common corner node positions (the "vertex to 

vertex" rule). There should be no gaps or free edges in the mesh of 

triangles (as shown in figure).



There should be no intersections between the triangles' surfaces (as shown in 

figure).
 
There should be no triangle overlaps (as shown in figure).

If your STL model has triangles with very high aspect ratio, the mesh will be 

distorted, and the analysis results will be less accurate (as shown in figure).
For a mesh triangle, the aspect ratio is the ratio of the length of the longest 

side (a) to the height perpendicular to that side (b). As a general rule, this 

ratio should be less than 6:1.

The program can accept some triangles with very high aspect ratios (hundreds 

or even thousands). However, try to keep the average aspect ratio below 6.


Advantages of STL file.


1. It provides a simple method of representing 3D-CAD data.

2. Second, it is already a de-facto standard and has been used by most 

CAD systems and additive manufacturing systems.

3. It can provide small and accurate files for data transfer for certain 

shapes.

4. It is robust facet model.

Disadvantages of the STL file.


1. The STL file can be larger in size than the original CAD data file for

given accuracy parameter.

2. The STL file carries much redundancy information such as 

duplicate vertices and edges the geometry flaws exist in the STL file 

because many commercial tessellation algorithms used by CAD vendor 

today are not robust. This gives rise to the need for a “repair 

software” which slows the production cycle time.

3. Finally, the subsequent slicing of large STL files can take many 
hours

However,  some AM processes can slice while they are building the 

previous layer and this will alleviate this disadvantage.

Alternatives to STL file.



1.  Cubital company has developed an alternative format called the 

Cubital Facet List (CFL)

It uses facets to describe the model, yet the  files  are  several times smaller 

than equivalent STL files. The CFL format stores the facet descriptions 

without storing redundant information.

2. An STL file unnecessarily repeats information, such as sets of coordinates  
     
and strings of text. 

STEP, the Standard for The Exchange of Product model data is a 

proposed International Standards Organization (ISO) standard for 

electronic data exchange.

3. IGES, Initial Graphics Exchange Specification is an international 

standard used by most CAD vendors. The format is supported to allow file 

interchange between different vendors, the size of an IGES file is typically 

very large and difficult to handle.

4. SLI (SLIce), Slice format is the format used by the stereolithogrphy 

machines to control the laser beamIt is a series of vector commands 

generated by the slicing software. The format is proprietary, as are many 

machine specific formats.

5. SLC (StereoLithography Counter) is 3D system's proprietary control 

data, layered based format. It is in fact a 2 1/2 dimensional contour 

representation of a CAD data model. It can be generated from Solid or 

surface modelling software.  

6. 3D Manufacturing Format (3MF) is a file format developed and 

published by the 3MF Consortium

3MF is an XML-based data format designed for 

using additive  manufacturing  including information about materials, 

colors, and other information  that cannot be represented in the 

STL format.


7. Additive Manufacturing File Format (AMF) is an open standard for 

describing objects for additive manufacturing processes such as 3D printing.
   
   
The official ISO/ASTM 52915:2013 standard is an XML-based format 

designed to allow any computer-aided design software to describe the shape 

and composition of any 3D object to be fabricated on any 3D printer. Unlike 

its predecessor STL format, AMF has native support for color, materials, 

lattices, and constellations.


Siemens Additive Manufacturing Forecast Trend for next five 
years.



HISTORY OF ADDITIVE MANUFACTURING (AM)/ 3D-PRINTING.

Printing is much older technique than CNC machining. Starting in the 1980s, various technologies evolved to add the Z-axis, which allowed machines to build three-dimensional objects from a CAD model or a 3D scan. The original general term for this process was Additive Manufacturing (AM), and the canonical use case was Rapid Prototyping (RP)Nowadays, 3D-Printing (3DP) is a popular term for Additive Manufacturing (AM)

Additive Manufacturing (AM) has roots in Topography and Photosculpture which date back almost 150 years. The first successful AM process was effectively a powder deposition method with an energy beam proposed by Ciraud in 1972

  • Topography
As early as 1890, Blanther suggested a layered method for making a mold for topographical relief maps. The method consisted of impressing topographical contour lines on a series of wax plates and cutting these wax plates on these lines. After stacking and smoothing these wax sections, one obtains both a positive and negative three-dimensional surface that corresponds to the terrain indicated by the contour lines. After suitable backing of these surfaces, a paper map is then pressed between the positive and negative forms to create a raised relief map.  


Layered method suggested by Blanther for fabrication of 3D relief maps. 

  • Photosculpture
This technology was designed by Frenchman François Willème in 1860. As shown in Figure, a subject or object was placed in a circular room and simultaneously photographed by 24 cameras placed equally about the circumference of the room. An artisan then carved a 1/24th cylindrical portion of the figure using a silhouette of each photograph.

  

Photosculpture in Willème studio.



Reproduced photosculpture from  Willème method.


To make less severe the labor-intensive carving step of Willème's photosculpture, Baese in 1902 described a technique which uses graduated light to expose photosensitive gelatin that expands in proportion to exposure when treated with water. Annular rings of this treated gelatin could then be fixed on a support to make a replica of an object.


Baese filed patent in 1902 for his photosculpture technique.

HISTORY OF MODERN AM TECHNIQUES.


In 1951, Munz proposed a system that has features of present day StereoLithography (SLA) techniques. He disclosed a system for selectively exposing a transparent photo emulsion in a layer-wise fashion where each layer comes from a cross section of a object to be printed. 

Lowering a piston in a cylinder and adding appropriate amounts of photo emulsion and fixing agent create these layers. After exposing and fixing, the resulting solid transparent cylinder contains an image of the object. Subsequently, this object can be manually carved or photochemically etched out to create a 3D object.


Technique suggested by Munz in 1951 for photosculpture.

In 1968, Swainson proposed a process to directly fabricate a plastic pattern by selective three-dimensional polymerization of a photosensitive polymer at the intersection of two laser beamsThe object is formed by either photochemically crosslinking or degrading a polymer by simultaneous exposure to intersecting laser beams.


Photochemical SFF system of Swainson.


In 1971 the Frenchman Pierre Ciraud filed a patent application describing
method for manufacturing articles of any geometry by applying powdered
material, e.g. metal powder, onto a substrate and solidifying it by means of a
beam of energy, e.g. a laser beam

To produce an object, small particles are
applied to a matrix by gravity, magnetostatics, electrostatics, 
or positioned by a nozzle located near the matrix. A Laser, Electron Beam or Plasma Beam then heats the particles locally. As a consequence of this heating, the particles adhere to each other to form a continuous layer.



Powder SFF process of Ciraud.

In 1977 another independent, private inventor called Ross Housholder filed a patent application which included a description of a system and method which bore an uncanny resemblance to future commercial laser-sintering systems. 

He discussed sequentially depositing planar layers and solidifying a portion of each layer selectively. The solidification can be achieved by using heat and a selected mask or by using a controlled heat scanning process.  


Powder process of Housholder.


Part produced by Householder.

Hideo Kodama of Nagoya Municipal Industrial Research Institute (NMIRI) was the first to publish an account of a functional photopolymer rapid prototyping system. In his method, a solid model is fabricated by building up a part in layers where exposed areas correspond to a cross-section in the model. 


Stereolithography systems of Kodama.  


Part produced by Householder.


Herbert describes a system that directs a UV laser beam to a photopolymer layer by means of a mirror system on an x-y plotter. In Herbert’s experimental technique, a computer was used to command a laser beam across a layer, the photopolymer vessel was then lowered (1 mm), and additional liquid photopolymer was then added to create a new layer.  




Stereolithography system of Herbert.



Part produced by Householder.


• The first proper commercial system for laser-sintering was the 
Sinterstation 2000 from DTM Corp. of Austin, Texas, first shipped in 
December 1992.

• The second commercial system for laser-sintering was launched by 
EOS GmbH of Munich, Germany, first shipped in April 1994.

• The first commercial system for DMLS was the result of a combination of 
EOS plastic laser-sintering technology and powder metallurgy development 
from Electrolux Rapid Development (ERD) of Rusko, Finland.

• In 1989, Nyrhilä had invented a novel powder concept for 
pressureless sintering with very low shrinkage. The first test systems were 
developed by EOS and installed already in 1994, with the first commercial 
EOSINT M 250 systems being installed in the summer of 1995. 


DTM Sinterstation 2000.


EOSINT M250 Xtended.


Nyrhilä novel powder concept.

     EARLY+LATEST CHRONOLOGICAL WORKFLOW PERIOD OF AM.


Workflow period of AM and patents filed in the past can be better understood from the below-mentioned flowchart.

THE EVOLUTION OF 3D-PRINTING.