MakerSpace Amiens

Additive manufacturing

Part 3: the workflow, from 3D model to part

Adrien Bracq

On the agenda

  1. From file to part
  2. Getting a 3D model
  3. Exporting
  4. Slicing: the slicer
  5. The basic settings
  6. Designing for printing
  7. G-code
2UniLaSalle Amiens

From file to part

graph LR
    A[3D model<br/>CAD, scan, library] --> B[Export<br/>STL, 3MF]
    B --> C[Slicer<br/>layers and settings]
    C --> D[G-code<br/>instructions]
    D --> E[Printer]
    style C fill:#ef2e31,stroke:#ef2e31,color:#ffffff

3D model, G-code, print

The slicer is the pivot: it translates a shape into paths the machine knows how to follow.

From file to part

3UniLaSalle Amiens

Getting a 3D model

Download, scan, model, design

Six ways of getting a model

Route Tool For Limit
Download Printables, Thingiverse An object already designed Rarely to your dimensions
Scan 3D scanner Copying an existing object Clean-up needed
Model Blender Organic shapes Imprecise
CAD Onshape, Fusion Technical parts Learning curve
Code OpenSCAD Parametric parts Programming
Generate (AI) Rodin Quick concept Model to rework

For a project part, CAD is almost always the right route.

Getting a 3D model CAD workshop

5UniLaSalle Amiens

Online libraries

Printables home page

Check the licence before reusing or modifying a model, and credit its author.

6UniLaSalle Amiens

Scanning an object

3D scanner with a turntable

  • Captures the shape of a real object
  • Useful for reverse engineering
  • Fails on transparent, shiny or dark surfaces
  • The resulting mesh always needs clean-up

Scanning an object

7UniLaSalle Amiens

The limits of scanning

Hand-held 3D scanner

  • Limited accuracy on consumer devices
  • Transparent, shiny or dark surfaces
  • Holes and defects to repair
  • Expensive professional scanners

Scanning an object

8UniLaSalle Amiens

Modelling or designing?

Organic modelling in Blender

Modelling (Blender): you sculpt free shapes, without dimensions

Mechanical part in Fusion

Parametric CAD (Fusion, Onshape): each shape is defined by editable dimensions and constraints

Modelling or designing Installing Onshape

9UniLaSalle Amiens

Modelling: Blender

Blender interface

  • Organic shapes: characters, sculptures
  • STL or OBJ export
  • Free and open source
  • Demanding interface, imprecise for mechanics

Modelling or designing

10UniLaSalle Amiens

Designing: parametric CAD

Dimensioned mechanical part in CAD software

  • Editable dimensions and constraints
  • Change one dimension, the part follows
  • The industry standard
  • Takes time to master, sometimes costly

Modelling or designing

11UniLaSalle Amiens

CAD software

Mechanical assembly in CAD software

Assembly in Onshape

Machine designed in CAD software

Onshape and Fusion (free for students), FreeCAD (open source), SolidWorks, Catia, Creo, Inventor, Siemens NX…

CAD workshop Modelling or designing

12UniLaSalle Amiens

Modelling with code: OpenSCAD

width = 30;
difference() {
  cube([width, 20, 10]);
  translate([width/2, 10, -1])
    cylinder(d = 8, h = 12);
}

Gears modelled in OpenSCAD

Changing a variable regenerates the part: ideal for repetitive or parametric parts, poorly suited to organic shapes.

Modelling with code

13UniLaSalle Amiens

OpenSCAD: code on the left, part on the right

OpenSCAD interface with a gear

Free, lightweight software: each shape is a line of code, each dimension a variable.

14UniLaSalle Amiens

Generating with AI: Rodin

Presentation of the Rodin tool

A model from a text or an image: quick for a concept, but imperfect details and a model to rework.

Generating with AI

15UniLaSalle Amiens

Exporting

The file that goes from the design software to the slicer

Export formats

Format Contains Use
STL Geometry only, as triangles The most universal
OBJ Geometry, colours, textures Multicolour models
3MF Geometry, colours, materials, settings Complete project

Prefer 3MF: a single compact file, which keeps the print settings and moves from one program to another without loss.

Export formats 3MF

17UniLaSalle Amiens

Slicing: the slicer

From the 3D model to machine instructions

The role of the slicer

Part sliced in the slicer

  1. It loads the model (STL, 3MF)
  2. It cuts it into horizontal layers
  3. It generates the paths and the settings: the G-code

What the slicer does

19UniLaSalle Amiens

Which slicer?

Slicer Publisher For
OrcaSlicer Community (fork of Bambu Studio) Multi-brand, open source
Bambu Studio Bambu Lab Bambu Lab printers
PrusaSlicer Prusa Research Multi-brand, open source
Cura UltiMaker Multi-brand, many plugins
ChiTuBox, Lychee   Resin printers

At the MakerSpace, the tutorials use OrcaSlicer.

3D printing with OrcaSlicer Which slicer?

20UniLaSalle Amiens

OrcaSlicer

OrcaSlicer interface

Part sliced in OrcaSlicer

Open-source fork of Bambu Studio: multi-brand, active community, frequent new features.

Which slicer? 3D printing with OrcaSlicer

21UniLaSalle Amiens

Bambu Studio

Bambu Studio interface

Part sliced in Bambu Studio

Designed for Bambu Lab printers: advanced handling of colours and materials.

Which slicer?

22UniLaSalle Amiens

PrusaSlicer

PrusaSlicer interface

Part sliced in PrusaSlicer

Open source, derived from Slic3r, optimised for Prusa but compatible with other brands.

Which slicer?

23UniLaSalle Amiens

Cura

Cura interface

Part sliced in Cura

Free and open source, many plugins; can be resource-hungry.

Which slicer?

24UniLaSalle Amiens

The odd one out: FullControl

FullControl interface

Structure generated with FullControl

No 3D model: you describe the nozzle paths directly, by programming. For lattices, mathematical objects, research.

fullcontrol.xyz

25UniLaSalle Amiens

The basic settings

Quality, strength, time: it all happens here

Why adjust the settings?

Settings panel of a slicer

  • Quality: precision, strength, finish
  • Efficiency: time and material
  • Adhesion: the part holds onto the bed

The basic settings

27UniLaSalle Amiens

Temperatures

Print temperature depending on speed and filament

Temperature tower

Start from the manufacturer’s range, then refine with a temperature tower.

Temperatures

28UniLaSalle Amiens

Layer height

Same part printed at 0.2, 0.1 and 0.05 mm

Layers twice as thin: about twice as much time. 0.2 mm suits most parts.

Layer height

29UniLaSalle Amiens

Walls and solid layers

$$ \text{wall thickness} = \text{number of perimeters} \times \text{bead width} $$
  • With a 0.4 mm nozzle, a bead is about 0.45 mm wide
  • 3 to 5 solid layers top and bottom; more layers, more strength

Three perimeters: what wall thickness?

About 3 × 0.45 = 1.35 mm. Draw your walls in multiples of the bead width.

Walls and solid layers

30UniLaSalle Amiens

Walls and solid layers in the slicer

Wall of three perimeters

Wall of a single perimeter

Solid bottom layers

Solid top layers

31UniLaSalle Amiens

Infill

Infill patterns at 20, 40, 60 and 80%

10 to 20% is usually enough. For a stronger part, adding walls often helps more than increasing the infill.

Infill

32UniLaSalle Amiens

Supports

Part with an overhang without support

Same part with its supports

Temporary structures under overhangs, to be removed after printing: they cost time and material, and leave marks.

Supports

33UniLaSalle Amiens

Bed adhesion

Part with a brim

Brim: small or thin parts

Part on a raft

Raft: against warping

Part with ears at the corners

Ears: at the corners

Bed adhesion The part does not stick

34UniLaSalle Amiens

Bridges and cooling

Complete test part

Test part with bridges and overhangs

Sliced preview of the test part

A bridge is drawn through the air between two supports: the fan must freeze it at once.

Bridges and cooling

35UniLaSalle Amiens

Designing for printing

A well-drawn part prints without complicated settings

Avoiding supports

Overhang that needs supports

Overhang replaced by a chamfer

The printer deposits nothing in mid-air. A 45° chamfer replaces a right-angle overhang and removes the support.

Avoiding supports Overhangs

37UniLaSalle Amiens

Choosing the face that sits on the bed

Face printed against the bed

Against the bed: smooth and even

Face printed on supports

On supports: uneven

Put on the bed the face that has to look good or be flat.

Choosing the face that sits on the bed

38UniLaSalle Amiens

Orienting the layers to suit the load

Bracket standing on its edge

Bracket lying flat

A part breaks between two layers: the load must not try to pull them apart.

Orienting the layers to suit the load

39UniLaSalle Amiens

Splitting the model

Sphere printed in one piece

In one piece: supports and a damaged surface

Sphere printed in two halves

In two halves laid flat, then assembled

Splitting the model

40UniLaSalle Amiens

Allowing clearance in assemblies

Layer seam inside a hole

Notch that hides the seam

About 0.15 mm of clearance for a 10 mm rod, to be confirmed by a test on your machine.

Allowing clearance in assemblies Clearance Manufacturing tolerances

41UniLaSalle Amiens

Orienting holes

Hole in a vertical wall

Vertical wall: the top sags

Hole in a horizontal plate

Horizontal face: nice and round

RepRap logo shaped like a teardrop

Otherwise: the teardrop

Orienting holes Horizontal holes

42UniLaSalle Amiens

Details finer than the nozzle

Raised letters seen in the slicer

Same letters, traced differently by the slicer

The slicer fills each stroke with beads about 0.45 mm wide (0.4 mm nozzle): draw strokes at least that wide, ideally a multiple of that width.

Details finer than the nozzle Detail size

43UniLaSalle Amiens

G-code

The language of the machine

Reading G-code

M140 S60          ; bed at 60 °C
M104 S215         ; nozzle at 215 °C
G28               ; home all axes
G1 Z0.2 F1500     ; move down to 0.2 mm
G1 X10 Y20 E0.8   ; move to X10 Y20 while extruding
  • One command per line: G for movements, M for the machine (temperatures, fan)
  • Born in the 1950s for numerically controlled machines

G-code

45UniLaSalle Amiens

G-code next to the preview

G-code displayed next to the preview of the part

List of G-code commands

Each line of the file corresponds to a path visible in the slicer preview.

46UniLaSalle Amiens

Why understand it?

  • Troubleshoot: find the cause of a defect in the file
  • Optimise: adjust a command to gain quality or speed
  • Customise: write a start-up routine (purge, calibration)
  • Go further: generate your own paths, as with FullControl

Why understand G-code?

47UniLaSalle Amiens

A G-code file, layer by layer

Preview of a layer and the corresponding G-code

G1 lines: paths while extruding (E). The comments (;) mark the layer change: here the 27th of 54, at Z = 5.4 mm.

48UniLaSalle Amiens

Key takeaways

  • 3D model, 3MF export, slicer, G-code, printer
  • For a project part: CAD
  • Temperatures, layers, walls, infill, supports, adhesion: six basic settings
  • A well-designed part (orientation, chamfers, clearance) prints without support

3D printing with OrcaSlicer Design rules Solving print problems

49UniLaSalle Amiens
UniLaSalle Amiens, Demain commence ici