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. Design
Model the part in CAD, code or a sculpting app, or download one.
.scad, .f3d, .step, .blend - 2. Export a mesh
Turn the design into triangles a slicer can read.
.stl, .3mf, .obj - 3. Slice
Cut the mesh into layers and plan every move of the nozzle.
.gcode, .gcode.3mf - 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.
| Type | How you work | Parametric? | Examples | Good for |
|---|---|---|---|---|
| Feature-based CAD | Sketch 2D shapes with dimensions, then extrude, cut and fillet. The feature history can be edited later. | Yes | Fusion, Onshape, FreeCAD, SolidWorks, Shapr3D | Functional parts, assemblies, engineering |
| Code CAD | Write a short program that describes the shape. Variables are the dimensions. | Yes | OpenSCAD, JSCAD, CadQuery, build123d | Customizable parts, repeated patterns, version control, AI-generated models |
| Block CAD | Drag and combine primitive shapes (cubes, cylinders) and holes. | Partly | Tinkercad | Kids, beginners, quick simple parts |
| Mesh modeling and sculpting | Move vertices or sculpt the surface like clay. | No | Blender, ZBrush, Nomad Sculpt | Characters, figurines, art, organic shapes |
| Mesh editing | Fix, cut, scale or combine existing STL/3MF files. | No | Meshmixer, slicer tools, our mesh tools | Tweaking 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
| Format | What's inside | Units / color | Editable? | Use it for |
|---|---|---|---|---|
| STL | A list of triangles describing the surface. Nothing else. | No units (assumed mm), no color | Only as a mesh | Sharing and printing single parts. Supported everywhere. |
| 3MF | A ZIP with meshes plus units, colors, multiple objects, their positions and often slicer settings | Yes / yes | Only as a mesh | Modern replacement for STL: multi-color and multi-part prints, slicer projects |
| OBJ | Mesh with optional materials and textures | No units / via materials | Only as a mesh | 3D art, games, moving models between Blender and other tools |
| GLB / glTF | Compact mesh with colors and materials, made for the web | Meters / yes | Only as a mesh | Web viewers, AR, previews |
| STEP | Exact solid geometry (true curves, not triangles) | Yes / optional | Yes, in CAD | Exchanging parts between CAD programs, manufacturing |
| .scad | OpenSCAD source code | mm by convention / via color() | Yes, fully parametric | Customizable models, version control |
| .f3d, .FCStd, .sldprt | Native project files of Fusion, FreeCAD, SolidWorks | Yes / yes | Yes, with history | Working files for that program only |
| G-code | Machine instructions from the slicer | Printer-specific | No | Sending to one printer. Bambu printers use a .gcode.3mf. |
| SVG / DXF | 2D vector outlines | DXF has units | Yes, in 2D tools | Laser 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
- Design: OpenSCAD Playground, Image to OpenSCAD (AI, from a photo), Lithophane maker, Text and logo to STL
- Check and fix the mesh: STL viewer, Repair STL, Resize STL, Split STL, Merge STL
- Convert: SCAD to STL, STL to 3MF, 3MF to STL
- Prepare the plate: Print bed arranger
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.