← Complete reference library

Digital Thread · Technical Explainer

Slicing: how geometry becomes machine behavior

Inside the translation from a three-dimensional model to layers, paths, process parameters, and executable machine instructions.

Level
Intermediate
Reading time
14 minutes
Evidence
primary documentation
Reviewed
2026-07-29
A custom CoreXY-style fabrication machine viewed beside its digital path-planning interface
Original PrintMason editorial visualization—not a process photograph.
Jump through this guide

The short version

A slicer does more than cut a model into horizontal contours. It repairs or interprets geometry, applies orientation and support decisions, assigns regions and materials, generates paths, schedules motion and process states, estimates time and material, and emits instructions for a particular machine. Open firmware documentation shows that movement commands are then queued, planned, accelerated, segmented, and converted into timed motor signals 1. The preview between slicing and execution is therefore a critical inspection stage.

After reading, you can

  • Trace the transformation from model geometry to executable instructions
  • Explain why layer height, path width, speed, and flow are coupled
  • Audit a sliced preview before risking material or equipment

01

Geometry must become regions

A slicer first needs a valid representation of the object and build coordinate system. It intersects the model with layer planes or otherwise evaluates the volume to determine what belongs in each manufacturing layer. For mesh-based workflows, holes, self-intersections, flipped triangles, overlapping shells, or ambiguous zero-thickness features can cause missing regions or unwanted repairs. The safest fix is usually to correct the authoritative model, not repeatedly patch exported meshes.

Model orientation changes the cross-sections the slicer sees. It determines the footprint, height, overhangs, support access, stair-stepping direction, and—on many processes—the direction of interfaces between layers. Units and transforms also matter. The 3MF core specification explicitly defines units, coordinate systems, meshes, components, and transforms so that a package can carry more manufacturing context than a bare triangulated surface 2.

  • Confirm scale and units.
  • Inspect whether every intended wall has printable thickness.
  • Resolve intersecting or disconnected bodies intentionally.
  • Orient for function, support access, surface priority, and process stability.

02

Regions become paths and process states

For material extrusion, the slicer commonly creates outer perimeters, inner walls, top and bottom surfaces, sparse or solid infill, support structures, skirts or brims, and travel moves. It assigns extrusion widths, layer heights, temperatures, cooling, acceleration, retraction, and speeds. A resin build processor creates images or scan vectors, exposure schedules, lift and peel motions, supports, and transition layers. Industrial systems may also schedule recoating, hatching, contour passes, energy settings, gas-flow considerations, and multi-material operations.

These settings are not independent knobs. Increasing layer height changes bead geometry and the number of interfaces. Speed, acceleration, available melt or cure energy, material delivery, cooling, and path curvature constrain one another. A nominal volumetric flow that exceeds the hot end’s capability can under-extrude even when the commanded line width looks reasonable. Conversely, slowing every move can increase heat accumulation or change cooling behavior. A process profile is a coupled recipe.

03

Motion planning changes commanded motion

Generated instructions describe desired actions, but firmware must turn them into physically achievable motion. Marlin documents a chain from G-code to segmented moves, a planner queue, and timed stepper interrupts. The planner considers acceleration and direction changes because a machine cannot instantaneously reach commanded speed or reverse momentum 1. Kinematics, bed-level compensation, and curve approximation can split one high-level command into many smaller moves.

This distinction explains why two machines executing similar-looking paths can behave differently. Frame stiffness, moving mass, belt or screw mechanics, drive current, control-loop timing, resonance compensation, pressure advance, and firmware limits influence the actual bead placement. The slicer and machine controller share responsibility: the slicer proposes a trajectory and process state; the controller schedules that request within configured physical limits.

  • Travel speed is not the same as achieved speed on a short move.
  • Acceleration and cornering rules affect ringing, time, and pressure changes.
  • Very small segments can burden planning and create uneven motion.
  • Firmware limits may override or constrain slicer commands.

04

Preview is a manufacturing review

Never treat successful slicing as proof of a good job. Inspect the preview layer by layer. Look for missing walls, isolated islands, unsupported starts, unstable support towers, abrupt changes in cross-section, trapped powder or resin, long bridges, excessive tiny segments, seams on critical faces, unintended material assignments, and collisions or out-of-bounds moves. Prusa’s troubleshooting guidance specifically recommends reviewing generated G-code and model warnings when diagnosing failed prints 3.

Estimates also deserve skepticism. Time prediction depends on whether the slicer models acceleration, heating, tool changes, recoating, curing, cooling, and machine-specific pauses. Material estimates may omit purge, support, failed setup, or downstream waste. Use them for planning and comparison, then calibrate estimates against actual recorded builds.

  • First layer and adhesion footprint
  • Each new island and overhang
  • Support contact and removal route
  • Top surfaces and closure over sparse infill
  • Tool changes, purges, pauses, and temperature transitions
  • Final machine envelope and clearance

05

Release the job, not just the file

Before execution, bind the instructions to the intended machine, material, setup, and model revision. A G-code file may include temperatures and movements tailored to one printer; executing it elsewhere can be unsafe. Preserve the prepared project so another person can inspect the orientation, modifiers, supports, and profile choices that produced the output. Record slicer version because algorithms and defaults change.

For production, the release package should define who approved the build, the required setup verification, allowable substitutions, inspection plan, and response to interruption or deviation. NIST’s systems-integration work emphasizes the need for common representations and linked stages across product realization 4. Good slicing is therefore both geometry processing and configuration management.

Working vocabulary

Glossary

Slicer
Software that converts model and process choices into layers, paths, exposure data, and machine instructions.
Toolpath
The planned trajectory of a deposition tool, energy source, cutter, or other process element.
G-code
A family of machine-control commands commonly used to express motion and process actions.
Volumetric flow
The volume of material delivered per unit time, often used to reason about extrusion capacity.
Planner queue
A buffered set of movement requests that firmware evaluates and schedules within motion constraints.
Modifier
A region or object used to apply different process settings to part of a build.

Source ledger

References and further study

Numbered citations point to the sources below. We favor standards, government laboratories, peer-reviewed research, and primary technical documentation. A link is evidence for the claim it supports—not an endorsement of every claim on that website. Read the full editorial and correction method.

  1. What is Marlin? Motion planning and G-code executionMarlin Firmware · open-source firmware documentationOpens in a new tab
  2. 3MF Core Specification v1.3.03MF Consortium · open technical specificationOpens in a new tab
  3. Spaghetti monster: causes and troubleshootingPrusa Research · manufacturer technical documentationOpens in a new tab
  4. Systems Integration for Additive ManufacturingNational Institute of Standards and Technology · government research programOpens in a new tab
Return to the guideReport a correction