STEM Builder
Log InSign Up
๐Ÿ’พ
Unit 3 of 6 ยท about 18 min

The Files That Make Things

What an STL really is, what an SVG really is, and which machine wants which
โœ‹ 0/1 picture tasks
๐Ÿ“– Read๐Ÿ”ค Words to know๐Ÿ›  Mini activityโœ… Check

A model has to leave the program somehow

Your model lives inside a design program. A 3D printer in the corner of the room cannot open that program; neither can a laser cutter, or a factory across the ocean. So the model has to be exported โ€” translated into a file format that machines agree on. Two formats do most of the work in a school shop, and once you know what is inside them, a lot of mysterious problems stop being mysterious.

Solid modelSTLtrianglesSlicerlayers3D printerDrawingSVGpathsLaser cutterPNG / JPGraster โ€” fine for a worksheet, useless for cutting
Which file goes where. A solid model is exported as an STL for the slicer and the 3D printer. A drawing is exported as an SVG for the laser cutter. Photos and screenshots are raster files โ€” fine on a worksheet, no use for cutting. Know which file you are holding.

STL: a bag of triangles

An STL file is the file 3D printers eat. Open one up and you will not find "a cylinder, 1 inch wide." You will find a long list of triangles โ€” thousands of tiny flat facets, each described by its three corners. Together they form a mesh, a skin stretched over the shape. Flat faces need only two triangles. Curved surfaces need lots of them, and that is why a printed circle, looked at closely, is really a polygon with many short straight sides. The number of triangles is the file's resolution: more triangles, smoother curves, bigger file.

โœ‹ DO THIS ONE
โ˜ Task: Raise the side count to 32 or more and watch the polygon become round.
6 straight sidesinside the STLtriangles: 20worst gap to the true circle:9.38 px of 70dashed = the perfect circlesolid = what the printer gets
Sides6
A circle made of straight lines. You can see every corner โ€” this is a low-resolution mesh.
A circle made of straight lines. An STL stores curves as flat triangles, so every circle in it is really a polygon. Few sides: a visible, low-resolution mesh. Many sides: smooth to the eye, but a bigger file. The printer never sees a true circle โ€” only these short straight edges.

Two more things about STL files matter every single day. First, the mesh must be watertight: a closed skin with no holes or gaps, or the slicer cannot tell inside from outside and the print comes out with missing walls. Second โ€” and this one has ruined more prints than any other โ€” an STL has no units. It stores numbers, not inches or millimeters. The program that reads it has to guess, and most guess millimeters. Export a 2-inch block as "2" and the printer makes a 2-millimeter speck. Export it as 50.8 and it comes out right. When a print is 25 times too small, this is almost always why.

SVG: lines you can scale forever

A laser cutter does not want triangles. It wants to know where to drive its beam, so it eats SVG files: vector drawings made of paths โ€” lines, arcs and curves defined by math, not by dots. Because a vector is math, you can scale it up to the size of a wall and the edge stays perfectly crisp. The laser follows each path as a cut line, or fills a region with back-and-forth passes to engrave it.

๐Ÿ‘† TRY ITraster: a grid of pixelsvector: a path defined by math
Zoom1ร—
At normal size both letters look fine. Zoom in.
Raster versus vector. A raster image is a grid of pixels; zoom in and it turns to blocks because there is nothing between the pixels to show. A vector drawing is paths defined by math, so it scales to any size with a crisp edge โ€” the edge a laser cutter follows.

Compare that with a photo. A photo is a raster image: a grid of colored pixels. Zoom in and it turns to blocks, because there is nothing between the pixels to look at. A raster image can be engraved like a stamp, but it cannot be *cut* along an edge โ€” there is no edge, only a fuzzy change from dark to light. That is why a logo drawn in a vector program cuts cleanly and the same logo saved as a JPG does not.

Which file for which machine

A 3D printer wants a solid: export an STL (or its newer cousin, 3MF, which does carry units). A laser cutter or vinyl cutter wants outlines: export an SVG. A machine shop or another engineer wants the full model with its real geometry: send a STEP file, the format CAD programs exchange. Photos and screenshots โ€” PNG, JPG โ€” are raster, fine for a worksheet, useless for cutting.

An STL is a shape described by triangles with no units. An SVG is a drawing described by math with no pixels. Know which one you are holding and half of fabrication's surprises disappear.

๐Ÿ”ค Words to know

File format
An agreed way of writing information into a file so other programs and machines can read it.
Export
Saving a copy of a model or drawing in a format another program or machine can open.
STL
The file 3D printers read: a shape described as a list of triangles, with no units stored inside.
Mesh
A surface made of many small flat triangles joined edge to edge, like a skin over the shape.
Resolution
How many triangles (or pixels) a file uses to describe a shape; more means smoother curves and a bigger file.
Watertight
A mesh with no holes or gaps, so a program can tell inside from outside and print it as a solid.
SVG
A vector drawing file of lines, arcs and curves defined by math โ€” the file laser and vinyl cutters follow.
Vector
A picture stored as shapes and paths defined by math, so it scales to any size without blurring.
Raster
A picture stored as a grid of colored pixels, like a photo; it blurs or blocks when enlarged.
Pixel
One square of color in a raster image โ€” the smallest piece a photo is made of.
STEP file
A format CAD programs use to exchange the full real geometry of a model, units included.

๐Ÿ›  Mini activity: Diagnose the shop

Three things went wrong in the school makerspace this week. Use what you know about files to sort out which file was which, and what happened.

  1. 1
    Sort each fact: is it true of an STL file or of an SVG file?
    ๐Ÿ’ก STL = triangles for printers. SVG = paths for cutters.
    For each card, tap the bin it belongs in.
    Stores no units โ€” just numbers
    What a 3D printer's slicer opens
    Scales to any size with crisp edges
    A list of thousands of tiny triangles
    Lines and curves defined by math
    What a laser cutter follows as cut lines
    STL
    SVG
  2. 2
    A 2-inch block came out of the printer 2 millimeters wide. What went wrong?
  3. 3
    Put the path from a finished model to a running 3D printer in order.
  4. 4
    Sort these files: raster (pixels) or vector (math)?

โœ… Check: The Files That Make Things

๐Ÿ”’
Finish the lesson first
  • Picture tasks in the lesson: 1 left โ€” look for the โœ‹ DO THIS ONE badge.
  • Mini activity: every step needs its โœ“.
The five-question check unlocks here as soon as the last one lands.
โ†‘ Back to the lesson
โ† Unit 2: Measure It RightUnit 4: How 3D Printers Work โ†’