Module2 KP 02jun
Module2 KP 02jun
Karali Patra
Professor, Dept of Mechanical
Engineering, IIT Patna
& PIC, FIST-TBI, IIT Patna
Demo classes by: Rahul and Raj Narayan (Engineers, FIST)
Ritesh (MTech student) and Akshay (PhD student)
Module 2 (10 lectures)
STL interface Specification, STL data generation, STL data
Manipulation, Advantages and limitations of STL file format, Open files,
Repair of STL files, Alternative 3D Printing interfaces
(in two lectures on 2nd June, 2022)
Part orientation and support generation, Factors affecting part
orientation, Various models for part orientation determination, The
function of part supports, Support structure design, Automatic support
structure generation. Model Slicing and Contour Data organization,
Direct and adaptive slicing: Identification of peak features, Adaptive
layer thickness determination, Tool path generation
(in four lectures on 3rd and 4th June, 2022)
2
About Additive Manufacturing
Additive Manufacturing (AM) refers to a process by which digital 3D
design data is used to build up a component in layers by depositing
material.
3
Types of 3D Printers
Type Technologies Materials
Thermoplastics e.g., polylactic
acid (PLA), Acrylonitrile
Extrusion Fused deposition modeling (FDM) butadiene styrene (ABS),
Polycarbonate (PC), eutectic
metals, edible materials
Direct metal laser sintering (DMLS) Almost any metal alloy
filament or metal wire is unwound from a coil and supplies material to an extrusion
The nozzle is heated to melt the material and can be moved in both horizontal and
5
3D Printer (with FDM)
• Model:-Aeqon 400 V3
• Build Size:-400 mm x 300 mm x 300
mm
• NOZZLE Diameter:-0.4, 0.6, 0.8 mm
• Extruder:-Single
• Accuracy:-80-250 Micron
• Build Material:-ABS, PLA, Metal
fill, Carbon fibre, Polycarbonate,
Polyurethane, ABS - PC.
6
3D Printer (with FDM)
7
STL file generation
STL file format has become a RP industry’s defacto standard data transmission format.
STL Files are typically created by a computer-aided design (CAD) program as an end product
of the 3D modeling process. We can identify STL files by the “.stl” file extension.
CAD Model
This file format is supported by many other software packages; it is widely used for
rapid prototyping, 3D printing and computer-aided manufacturing.
STL file stores information about 3D models. This format describes only the
surface geometry of a three-dimensional object without any representation of
color, texture or other common model attributes.
9
STL interface Specification
The true meaning of the file extension .STL has been lost to the mists of time. It is
Tessellation Language”
The main purpose of the STL file format is to encode the surface geometry of a
or “tiling”
10
Lecture 1-STL interface Specification, STL data generation
edge-to-edge tiling:
Rhombitrihexagonal
tiling:
tiled floor in the
Archeological Museum
of Seville, Spain
Source: wikipedia
11
STL interface Specification
Let's look at a few examples to understand how this works. For example, if you
have a simple 3D cube, this can be covered by 12 triangles, as shown in the image
below. As you can see, there are two triangles per face. Since the cube has six
faces, it adds up to 12 triangles.
If you have a 3D model of a sphere, then it can be covered by many small triangles,
also shown in the same image
12
STL interface Specification
The STL file format is an openly documented format for describing the surface of
an object as a triangular mesh, that is, as a representation of a 3-dimensional
surface in triangular facets. STL is sometimes referred to as "Standard Tessellation
Language" or "Standard Triangle Language.
13
Advantages and limitations of STL file format
3. It can provide small and accurate files for data transfer for
certain shapes.
14
Advantages and limitations of STL file format
Disadvantages of the STL File Type
1. The STL file is many times larger than the original CAD data file due
to fidelity.
As the fidelity of printing processes embraces micron-scale resolution, the
number of triangles required to describe smooth curved surfaces can result in
massive file sizes.
4. The subsequent slicing of large STL files can take many hours
15
STL data Manipulation
Purpose of data manipulation
1. Part orientation and support generation
16
Repair of STL files
Why Repair an STL File?
1. For 3D printing, surfaces are converted to a mesh format that describes geometry as a
cloud of connected triangular faces and vertices, ie. STL Format.
2. Mesh conversion is like smashing a perfectly smooth mirror, then gluing back together
all the bits and pieces to make it look like the original.
3. Done badly, the result is a model with all kinds of edges, holes, and floating parts, as
well as areas with many intersecting triangles that do not belong there. Done well,
the 3D print is a manifold mesh without holes, indistinguishable from the original
design.
17
Repair of STL files
18
Repair of STL files
Repair your STL file using a dedicated 3D printing software
Many software solutions exist dedicated to the preparation of STL files for 3D printing
and they can repair most STL errors. Popular (and free) examples include Netfabb (using
the Repair command) and Meshmixer (using the Inspector command). For quick repairs,
3D Builder is an easy-to-use software for visualizing and repairing STL files and a free
online STL repair tool can be found here.
Repair the error in the native CAD software before exporting to STL
In most cases, best results will be achieved when the STL file is correctly designed and
exported in the first place and is always the recommended option.
19
Repair of STL files
Repair your STL file using a dedicated 3D printing software
A typical STL file repair workflow contains the following steps:
1. Auto-repair. The STL repair software’s wizard will attempt to fix all major errors,
including holes, separate shells, and intersections.
2. Separating shells. A mesh consists of collections of connected triangles. It can
contain multiple continuous surfaces that ideally are joined together while obsolete
ones need removal.
3. Closing holes, bridging gaps. Some comprehensive STL repair programs allow
different ways of hole filling, such as planar, tangent, ruled, or freeform.
4. Resolving overlaps and intersections. This typically requires recalculating entire
portions of the mesh.
5. Filtering out double faces, double vertices, inverted normals, and sharp, narrow
triangles.
6. Stitching open edges and remaining holes.
7. Manual repair by deleting and creating triangles.
8. Remeshing to optimize triangle count.
9. Exporting to the chosen mesh format.
20
Example of Auto Repair in dedicated 3D Printing Software “Netfabb Basic
1. Auto-repair. The STL repair software’s wizard will attempt to fix all major errors,
including holes, separate shells, and intersections.
There is some
issue with this STL
File
21
Example of Auto Repair in dedicated 3D Printing Software “Netfabb Basic
1. Auto-repair. The STL repair software’s wizard will attempt to fix all major errors,
including holes, separate shells, and intersections.
Incorrect Mesh
22
Example of Auto Repair in dedicated 3D Printing Software “Netfabb Basic
1. Auto-repair. The STL repair software’s wizard will attempt to fix all major errors,
including holes, separate shells, and intersections.
Auto Repair
23
Example of Auto Repair in dedicated 3D Printing Software “Netfabb Basic
1. Auto-repair. The STL repair software’s wizard will attempt to fix all major errors,
including holes, separate shells, and intersections.
24
Example of Auto Repair in dedicated 3D Printing Software “Netfabb Basic
1. Auto-repair. The STL repair software’s wizard will attempt to fix all major errors,
including holes, separate shells, and intersections.
25
3D Printing interfaces
A so-called slicer takes a 3D drawing (most often in .STL format) and
translates this model into individual layers. It then generates the machine
code that the printer will use for printing.
26
3D Printing interfaces
Slicer Software
Current low-end 3D printers extrude plastic like ABS or PLA from filament. The
filament is pulled into the extruder and heated in its nozzle (hot end) and finally
deposited. The extruder (also called print-head) will move while extruding, or move (or
jump) without extruding.
A slicer program allows to calibrate printer settings for various types of "areas to print"
like:
1. extrusion speed (rotations / minute)
2. head speed
3. temperature
4. Fan on/off
Furthermore, the program allows to define:
1. wall thickness
2. fill patterns
3. extrusion speed, head speed and temperature per type of area
4. Deposited filament for a layer or a section of a layer depends on extrusion speed,
head movement speed, and temperature.
5. In addition, factors like movement patterns, plastic brand, fan on/off etc. also have
an influence on the design. 27
3D Printing interfaces
Built Bed
Parameters for
printing
31
3D Printing interfaces Open the STL
File
32
3D Printing interfaces
33
3D Printing interfaces
34
3D Printing interfaces Slice the STL File after
setting of parameters
and orientation of
sample on build area
During Slicing
35
3D Printing interfaces
36
3D Printing interfaces
Upload
the
previously
saved G
Code File
After Slicing Save the file in G Code
Format
37
3D Printing interfaces
38
Thank you