3D Printing 101: CAD, OpenSCAD, Slicers and File Formats Explained

All 3D printing tools and guides

New to 3D printing, you quickly run into a lot of names: OpenSCAD, Fusion, Blender, slicers, STL, 3MF, G-code, parametric, infill. This guide explains what each one is and where it fits. Every printed part goes through the same four steps, and each kind of software and file belongs to one of them.

The four steps from idea to printed part

  1. 1. Design
    Model the part in CAD, code or a sculpting app, or download one.
    .scad, .f3d, .step, .blend
  2. 2. Export a mesh
    Turn the design into triangles a slicer can read.
    .stl, .3mf, .obj
  3. 3. Slice
    Cut the mesh into layers and plan every move of the nozzle.
    .gcode, .gcode.3mf
  4. 4. Print
    The printer follows those instructions, layer by layer.
    FDM or resin printer

If you download a ready-made model from a site like Printables or Thingiverse, you start at step 2 with an STL or 3MF. If you want to change its size or features, you need the step 1 source, or you edit the mesh directly.

Types of 3D design software

The biggest difference between design programs is whether they remember how a shape was made. That's what parametric means.

Parametric software stores a model as a recipe: a 40 mm plate, with four 5 mm holes 10 mm from each edge. Change one number and the whole part rebuilds correctly. It suits functional parts such as brackets, enclosures, mounts and anything that has to fit something else.

Non-parametric (direct or mesh) software stores only the final shape. You push, pull and sculpt it. It's faster for organic shapes like figurines, but resizing one feature usually means redoing the work.

TypeHow you workParametric?ExamplesGood for
Feature-based CADSketch 2D shapes with dimensions, then extrude, cut and fillet. The feature history can be edited later.YesFusion, Onshape, FreeCAD, SolidWorks, Shapr3DFunctional parts, assemblies, engineering
Code CADWrite a short program that describes the shape. Variables are the dimensions.YesOpenSCAD, JSCAD, CadQuery, build123dCustomizable parts, repeated patterns, version control, AI-generated models
Block CADDrag and combine primitive shapes (cubes, cylinders) and holes.PartlyTinkercadKids, beginners, quick simple parts
Mesh modeling and sculptingMove vertices or sculpt the surface like clay.NoBlender, ZBrush, Nomad SculptCharacters, figurines, art, organic shapes
Mesh editingFix, cut, scale or combine existing STL/3MF files.NoMeshmixer, slicer tools, our mesh toolsTweaking downloaded models

What is OpenSCAD?

OpenSCAD is free, open-source code CAD. Instead of drawing, you write what the part is made of:

plate = [60, 40, 4];
hole_d = 5;

difference() {
  cube(plate);
  translate([10, 10, -1]) cylinder(h = 6, d = hole_d, $fn = 48);
}

This is a 60 × 40 × 4 mm plate minus a cylinder, which leaves a 5 mm hole. Shapes are combined with union(), difference() and intersection(). This approach is called constructive solid geometry, or CSG. Because every size is a variable, OpenSCAD models are parametric by design. Its Customizer turns those variables into sliders, so anyone can resize a part without reading the code.

People pick OpenSCAD for parts that come in many sizes, for models stored in Git, and more and more because AI models are good at writing it. You can try it without installing anything in the OpenSCAD Playground, learn it in the interactive tutorial, or turn a .scad file into an STL with SCAD to STL. To see how online OpenSCAD editors differ, read our comparison of online OpenSCAD editors.

What is a slicer?

A printer can't read a 3D model. A slicer cuts the model into thin horizontal layers and, for each layer, works out the path the nozzle follows: the walls, the infill inside and any supports under overhangs. The result is G-code, a long list of moves and temperatures for one specific printer.

Most of the print settings live in the slicer, not in the model:

  • Layer height: thinner layers (0.12 mm) look smoother; thicker ones (0.28 mm) print faster.
  • Walls and infill: the part's outer shell and the pattern inside it. 15–20% infill is a common default.
  • Supports: temporary scaffolding under overhangs steeper than about 45°.
  • Material and temperature: PLA, PETG, ABS, TPU and others each need different settings.

Popular slicers: Bambu Studio, OrcaSlicer, PrusaSlicer, UltiMaker Cura and Lychee or Chitubox for resin printers. Most printer brands recommend one. From our OpenSCAD playground, Export › Open in slicer sends the current model to OrcaSlicer, Bambu Studio or Cura.

3D file formats explained

FormatWhat's insideUnits / colorEditable?Use it for
STLA list of triangles describing the surface. Nothing else.No units (assumed mm), no colorOnly as a meshSharing and printing single parts. Supported everywhere.
3MFA ZIP with meshes plus units, colors, multiple objects, their positions and often slicer settingsYes / yesOnly as a meshModern replacement for STL: multi-color and multi-part prints, slicer projects
OBJMesh with optional materials and texturesNo units / via materialsOnly as a mesh3D art, games, moving models between Blender and other tools
GLB / glTFCompact mesh with colors and materials, made for the webMeters / yesOnly as a meshWeb viewers, AR, previews
STEPExact solid geometry (true curves, not triangles)Yes / optionalYes, in CADExchanging parts between CAD programs, manufacturing
.scadOpenSCAD source codemm by convention / via color()Yes, fully parametricCustomizable models, version control
.f3d, .FCStd, .sldprtNative project files of Fusion, FreeCAD, SolidWorksYes / yesYes, with historyWorking files for that program only
G-codeMachine instructions from the slicerPrinter-specificNoSending to one printer. Bambu printers use a .gcode.3mf.
SVG / DXF2D vector outlinesDXF has unitsYes, in 2D toolsLaser cutting, or a 2D profile to extrude into 3D

Mesh vs. solid: why your circles have flat sides

STL, 3MF and OBJ store meshes: surfaces built from flat triangles. A cylinder becomes a prism with many sides, which is why exported curves can look faceted. Raise the resolution before exporting (in OpenSCAD, $fn; see how to make cylinders smoother). STEP and native CAD files store exact solids with true arcs, which is why engineers exchange STEP files, while printers only need a fine enough mesh.

Glossary

  • Manifold (watertight): a mesh with no holes or gaps, so it has a clear inside and outside. Slicers need this. Repair STL fixes common problems.
  • Normals: the direction each triangle faces. Flipped normals confuse slicers.
  • Overhang: part of a model that sticks out over empty space; past about 45° it usually needs supports.
  • Tolerance / clearance: extra gap (often 0.2–0.4 mm) so printed parts that fit together aren't too tight.
  • FDM vs. resin: FDM printers melt plastic filament through a nozzle; resin (SLA/MSLA) printers cure liquid resin with light for finer detail.
  • Build plate: the surface the print sits on. Its size limits your part, and you can lay out several parts with the print bed arranger.

Free browser tools for each step

FAQ

What's the difference between CAD and a slicer? CAD software is where you design the shape. A slicer takes the finished shape and turns it into printer instructions (G-code). You usually need both.

Should I use STL or 3MF? Use 3MF when you can. It stores units, colors and several parts in one file. Use STL when a tool or website only accepts STL. Every slicer reads both.

Is OpenSCAD good for beginners? Yes, if you're comfortable typing a few lines of code. It's especially good for simple functional parts. If you prefer to drag shapes, start with Tinkercad.

Can I edit an STL file? You can scale, cut, combine and repair it, but you can't change a hole's diameter the way you would in the original CAD file, because an STL only stores triangles. For real changes, find the source file (.scad, .step, .f3d) or rebuild the part.

Which 3D software is free? OpenSCAD, FreeCAD, Blender, Tinkercad and every popular slicer are free. Fusion and Onshape have free plans for personal use.