A 3D printer builds an object by stacking thin layers of material, one on top of the last, until the shape stands complete. The machine reads a digital model and turns it into a solid thing through heat, motion, and precise timing.
Each layer measures a fraction of a millimeter. A part a few centimeters tall can need hundreds of layers, and each layer must land in the right place at the right temperature, or the layers will not bond.
That layering is what the slicer controls: how thick each layer runs and how hot the plastic stays when it lands. Get those two right and the shape holds; get one wrong and the print shows it.
From a File to an Object in Four Stages
Every print follows the same chain, from a model on a screen to a finished part in your hand. The model defines the shape. Software translates the shape into commands. The printer executes those commands. A short finishing pass turns the raw print into a usable part.
ISO/ASTM 52900:2021, the standard that defines additive manufacturing terms, calls this process the joining of material to make parts from 3D model data, usually layer upon layer. That definition fits desktop machines and the industrial machines that use the same idea at a larger scale.
- Model. A designer draws the part in CAD software, or downloads a ready model file in STL or 3MF format. The file holds the surface geometry of the part, nothing about how to print it.
- Slice. Slicer software cuts the model into horizontal layers and writes the path the printer must follow for each layer, with temperatures, speeds, and extrusion amounts.
- Print. The printer heats its material, moves its head along the planned path, and lays down layer after layer until the part reaches its full height.
- Finish. The part cools, leaves the build plate, and loses its support material. A light sanding pass smooths rough edges where supports touched the surface.
A phone stand carried through every stage shows how the chain works in practice. The model is a simple L-shaped prism, 50 x 30 x 50 mm, drawn as a test shape for the slice run. It has a flat base and a vertical back for a phone to lean on.
That stand stays the same object at every stage below: its layer count in the slicer section and its temperatures in the mechanism section.
A paper printer puts ink on a page and stops. A 3D printer stacks material into a shape that holds its own weight. The comparison with how a regular printer works ends at the file: both machines take a digital file and make something physical, and the 3D machine keeps adding material where the paper printer stops at one flat pass.

Inside the Print: How FDM Lays Down Plastic
FDM, short for fused deposition modeling, is the most common desktop method. A spool feeds a strand of thermoplastic filament into the print head. A heater inside the head melts the filament. A nozzle pushes the melted plastic out in a thin line, and the head moves that line into the shape of one layer.
The filament for the phone stand measures 1.75 mm across. The nozzle opening measures 0.4 mm. That narrowing matters: the wide strand enters the heater as a solid, and the narrow opening shapes the melted plastic into a line fine enough to trace small features.
Heat makes the bond. PLA, the plastic used for the phone stand, prints with a nozzle near 200 C and a bed near 60 C. The hot nozzle melts each new line just enough to fuse with the line below it. The heated bed keeps the first layers warm so they grip the plate while the print grows.
Three motors move the head and the bed. Stepper motors drive the X axis left and right and the Y axis forward and back. The Z axis rises by one layer height after each layer finishes. A control board reads the G-code file and drives those motors in the order the file gives, and the same board sits at the center of the complete computer hardware guide view of a machine: a processor, memory, and outputs working from stored instructions.
Cooling sets the shape. A small fan blows air over each fresh line so it firms up before the nozzle returns. A line that stays soft too long sags, and a line that cools too fast fails to bond with its neighbour.
Layer lines stay visible on the surface of an FDM print. The part is a stack of rounded lines, and the eye can read the stack. Sanding smooths the lines on a display piece.

The Slicer Turns the Model Into Instructions
The slicer is the translator between the model and the machine. It takes the STL file, cuts it into layers at the chosen layer height, and writes a G-code file: a list of moves, temperatures, and extrusion amounts the printer executes in order.
What does the slicer output? G-code lines the printer executes, one command at a time. Each line tells the printer where to move, how fast to move, and how much plastic to push out. The printer has no picture of the part in its memory. It has a list of commands, and it follows them.
This slice ran on PrusaSlicer 2.7.2 with a 0.2 mm layer height and a 0.4 mm nozzle, on a phone-stand model built for the article. The slicer cut the 50 mm tall stand into 250 layers and wrote 25,876 G-code lines. Its time estimate for the print was 1 hour 5 minutes 3 seconds, with the first layer alone taking 2 minutes 32 seconds.
Filament use came to 4,499.23 mm of filament, or 10.82 cm3 of plastic. That volume converts to about 13.4 g of PLA at the standard PLA density of 1.24 g/cm3, a computed figure. At $20 per kg, that is about $0.27, also computed. The slicer profile used 20% infill, so most of the inside of the stand is a sparse grid, with solid plastic only at the walls and the top and bottom surfaces.
My read of that output is that the time estimate guides planning. The slicer counts moves and speeds; it cannot know if a print will pause, if a layer will need a retry, or if the room temperature will slow cooling. I would plan a print around the estimate and leave margin for the print to run long.
Three lines from the real G-code file show how plain the language is. The first sets the nozzle temperature. The second moves the nozzle to the first layer height. The third draws a line of the skirt while pushing out plastic.
M104 S200 ; set temperature G1 Z.2 F7800 G1 X125 Y78.643 E1.64558
Read the third line from left to right: move to X 125 and Y 78.643, and push out plastic until the extruder position reaches 1.64558. The E value is a running total, so each line adds a little more plastic to the count. The skirt is the outline printed around the part before the part itself starts; it primes the nozzle and shows at a glance whether the first layer is sticking.
Layer height is the main trade-off dial in the slicer. The same stand sliced at a 0.3 mm layer height, on the default profile, needed 167 layers and an estimated 48 minutes 31 seconds, with 11.03 cm3 of filament. Thicker layers cut the time by about a quarter, and the surface shows coarser lines in return. Thinner layers cost time and buy a smoother surface.
One model, one slicer, one profile, one run: that is the limit of the numbers above. The stand is a simple chosen test shape. The time is the slicer estimate for that shape, and no printer hardware sat on the bench for the slice run, so no physical print was timed. The direction holds across machines, in hundreds of layers and grams of filament. The exact figures move with the model, the profile, and the printer. The Prusa Knowledge Base documents the same slicer settings, layer height, infill, supports, and speeds, for readers who want the full setting list.
The Same Idea, Different Machines: FDM, SLA, and SLS
The layer idea stays the same across technologies. The material and the way each layer forms change. FDM melts plastic filament. SLA cures liquid resin with light. SLS fuses powder with a laser. Each method suits a different kind of part.
| Technology | How it builds | Layer height | Materials | Cost band | Best use |
|---|---|---|---|---|---|
| FDM | Melts filament through a heated nozzle | 0.1 to 0.3 mm | PLA, ABS, PETG | Low | Functional parts, prototypes, brackets |
| SLA | Cures liquid resin with UV light | 0.025 to 0.1 mm | Photopolymer resin | Medium | Detailed models, dental and jewellery work |
| SLS | Fuses nylon powder with a laser | 0.08 to 0.15 mm | Nylon powder | High | Strong parts with complex shapes, small batches |
SLA wins on detail. Its layers run far thinner than FDM layers, so curves look smooth and tiny features survive. The trade is handling: liquid resin needs gloves, washing, and a final UV cure after the print.
SLS wins on shape freedom. The unsintered powder around the part holds it up during the print, so the machine needs no support structures. A part with internal channels or an overhang prints in one piece, and the loose powder brushes away after the build cools.
Can a 3D printer print metal? A home FDM machine cannot. Metal needs a powder-bed machine that fuses metal powder with a laser or an electron beam, at industrial cost and with industrial safety handling. Desktop machines work in plastic and resin.
Pick the method by the part. A bracket that must hold weight belongs on FDM or SLS. A miniature with fine facial detail belongs on SLA. A part with deep internal passages belongs on SLS, where powder supports the shape for free.
Materials: What the Plastic (and the Resin) Decides
Material choice decides temperature, strength, and where the part can live. PLA prints at the lowest temperatures of the three common filaments. ABS needs more heat and holds up better in a warm car. PETG sits between them, tougher than PLA and easier to print than ABS.
| Material | Nozzle temperature | Bed temperature | What it is for |
|---|---|---|---|
| PLA | 200 C | 60 C | Models, stands, display parts |
| ABS | 240 C | 100 C | Parts that face heat and knocks |
| PETG | 230 C | 80 C | Outdoor parts, containers, brackets |
Those temperatures are typical ranges for each material, and a spool label gives the exact range for the filament in hand. A nozzle set too cold leaves weak bonds between layers. A bed set too cold lets the first layer lift at the corners. Both settings sit in the slicer profile, beside layer height and infill.
Strength runs along the layers. Pull a printed part along the direction the lines were laid, and the plastic resists. Pull it across the layer boundaries, and the bonds between layers give way first. Design a load-bearing part so the force runs along the layers, and print the part in the orientation that puts the layers in that direction.
Resin brings a handling rule of its own. Uncured photopolymer resin irritates skin, so gloves stay on from the moment the build plate leaves the printer until the part has been washed and cured under UV light. The cured part is safe to handle, and the liquid resin stays in its bottle, away from skin and sunlight.
ABS brings a fume rule. The plastic gives off fumes at printing temperature, so an ABS print belongs in a ventilated room or an enclosed printer with a filter. PLA and PETG print with far less odour.
Why Prints Fail, and the Checks Before You Start One
Most failed prints fail early. The first layer decides the print: if it grips the bed evenly, the layers above it have a solid base. If it lifts, curls, or leaves gaps, every layer after it inherits the error, and the print often ends as a tangled mass on the bed.
Why does a print warp? The plastic shrinks as it cools and pulls the corners up. A long flat part cools fastest at its edges, and the shrinking edges lift away from the bed. A heated bed slows that cooling, and a brim, a wide flat outline printed around the first layer, gives the shrinking part more surface to grip.
Stringing leaves thin threads of plastic between separate parts of a print. The nozzle oozes a little plastic while it travels from one section to the next. Retraction, a short pull-back of the filament before each travel move, stops most of it, and a cooler nozzle helps where retraction alone falls short.
Layer shift moves a whole section of the print sideways by a layer or two. A loose belt, a bump to the printer, or a motor that skips a step under load can cause it. The print keeps going from the shifted position, so the finished part shows a clean step where the shift happened.
I rate the first layer as the highest-risk stage of a print, and the slice output backs that view: the first layer of the phone stand took 2 minutes 32 seconds, longer per layer than any layer after it, because the printer lays it down slowly to get the grip right. Watch that layer before you walk away. A good first layer looks like flat, even lines with no gaps and no curling corners.
Run these checks before you start a print, and you will catch most failures before they cost filament and time. Level the bed and check the nozzle gap with a sheet of paper. Clean the bed surface so the first layer can grip. Confirm the filament feeds freely and the spool turns without snagging. Read the first layer in the slicer preview, count the layers, and check the estimated time against the time you have. Start the print, watch the first layer go down, and only then leave the machine to work.
Frequently asked questions
How much electricity does a 3D printer use during a print?
A desktop FDM printer draws about 100 to 250 watts while printing, with the highest draw at the start while the nozzle and bed heat up. A one-hour print uses roughly 0.1 to 0.25 kilowatt-hours, which costs a few cents on most home tariffs. Larger machines and heated enclosures draw more, and resin printers draw less than FDM machines of the same size because they heat no nozzle or bed.
Can a failed print be recycled or reused?
PLA waste can go to industrial composting in some areas, but most home recycling programs do not take it, and a curbside bin is the wrong place for it. Some filament makers run take-back schemes that regrind clean PLA waste into new filament. Failed ABS and PETG prints are harder to place, so the practical step is to keep waste sorted by material and check local maker spaces, which often collect it in bulk.
How long does a printer nozzle last before it needs replacing?
A brass nozzle printing plain PLA lasts for several months of regular use, often hundreds of printing hours, before wear shows as rough walls or uneven extrusion. Filaments with added fibers, such as carbon fiber or glow-in-the-dark PLA, wear a brass nozzle far faster, sometimes within a single spool. Hardened steel nozzles last much longer with those materials, and a nozzle swap takes a few minutes with the hotend at printing temperature.
Can a home 3D printer print in more than one color?
Yes, in three ways. The simplest is a filament change at a set layer, which gives one color below the change and another above it. A printer with two extruders can print two filaments in the same layer. Multi-material units feed several filaments into one nozzle and switch between them during the print, which gives full-color patterns at the cost of extra waste in a purge block.
Can you 3D print food?
Yes, with food-safe printers built for the purpose. Chocolate, dough, and pureed ingredients are the usual materials, pushed through a nozzle like plastic filament but at low temperatures. Home FDM printers are not food printers: their nozzles, tubes, and build plates are not food-safe, and the plastics they use are not edible. Food printing stays a specialist machine. A desktop FDM printer cannot take its place.

Kaleem
Kaleem is a Computer Science graduate (Virtual University of Pakistan) and the founder and editor of Valley AI, where he publishes in-depth, tested guides on computer hardware, artificial intelligence, and how the internet works. Every guide is researched from primary sources, tested hands-on where possible, and updated when the facts change.