Design for 3D printing: the rules that make parts print well

Wall thickness, overhangs, tolerances, holes, joints and file export, with working numbers for FDM, resin and SLS. Use it as a checklist before you slice, sell or upload a model.

By Printlooper Team · Published · 24 min read

Key takeaways

  • Model FDM walls close to a whole number of extrusion lines. On a 0.4 mm nozzle, walls of about 1.2 to 2 mm print solid and predictable.
  • Keep unsupported overhangs at or under 45 degrees from vertical, and use chamfers instead of fillets on edges that face the print bed.
  • Give mating parts a deliberate gap: about 0.2 to 0.3 mm per side for a sliding fit on FDM as a starting point, and print a tolerance test before a full product.
  • FDM parts are weakest between layers, so orient clips, hooks and pegs so the load runs along the layers, not across them.
  • Use heat-set inserts, nut traps or magnets for anything assembled more than a few times. Printed threads suit only larger, coarse sizes, around M6 and up.
  • Export in millimeters, check the mesh is watertight and manifold, and keep the source CAD so a tolerance fix takes minutes, not a remodel.

A model that looks right on screen can still fail on the printer. Walls too thin to print, overhangs that sag, a lid that will not close, a clip that snaps along a layer line. Most of these failures trace back to a handful of design decisions, and every one is cheaper to fix in CAD than after a failed print or a refund.

This guide works through those decisions with working numbers, from walls and overhangs to tolerances, fasteners, joints and file export. FDM (filament) numbers lead because most products are printed that way. Resin and SLS differences sit beside them in the tables.

If you are still choosing a process, read FDM vs resin vs SLS first. If your model is ready and you want to print it, How to 3D print picks up where this guide ends.

How printing layer by layer changes design

Every common 3D printing process builds a part as a stack of thin slices. That one fact explains most of the rules in this guide. Each layer needs something underneath it (in a powder bed, the loose powder does that job), on FDM each layer bonds to the one below less well than it holds together on its own, and the machine can only draw features as fine as its nozzle, light pixel or laser spot.

  • Strength depends on direction. An FDM part is strongest along its layer lines and weakest where layers meet. A hook that holds a bag when printed lying down can snap at the first layer line when printed standing up.
  • Overhangs and bridges have limits. A layer can extend a little past the one below it, but not far. Past that point you need supports, which cost time, material and surface quality.
  • Resolution differs by axis. Detail across the bed (X and Y) is set by the nozzle width, the resin printer's pixel size or the laser spot. Detail in height (Z) is set by layer height.
  • Curves and holes are approximations. Holes come out slightly small, pegs slightly large, and shallow slopes show visible steps.
  • Time follows geometry. FDM time grows with volume and toolpath length. On MSLA and DLP resin printers, time grows mainly with height. Powder-bed time and cost grow with the space a part takes up in the build.
The three main processes at a glance. Typical values, check your machine.
ProcessHow it buildsTypical layer heightWhat limits the design
FDM (filament)Extrudes melted plastic through a nozzle, usually 0.4 mm wide0.1 to 0.3 mm, often 0.2 mmOverhangs, bridges, weaker layer bonds, visible layer lines
Resin (SLA, MSLA, DLP)Cures liquid resin with UV or near-UV light, one layer at a time, usually with the part hanging from the build plate0.025 to 0.1 mm, often 0.05 mmSupports and their marks, peel forces on large flat areas, resin trapped in hollow parts
Powder bed nylon (SLS, MJF)Fuses nylon powder with a laser or heat. Loose powder holds the part up0.05 to 0.2 mm, often about 0.1 mmPowder trapped in closed cavities, slightly grainy surface, cost tied to bounding volume

Design for the process you expect to use, and when a product might be made on more than one, design for the strictest rule in each row. A part designed to FDM rules usually moves to resin or nylon powder with small changes, such as hollowing and escape holes. The reverse is often not true.

Wall thickness and minimum feature sizes

An FDM wall is made of perimeters: side-by-side lines of plastic slightly wider than the nozzle. With a 0.4 mm nozzle, lines are typically about 0.45 mm wide. A wall prints most predictably when its thickness is close to a whole number of lines: roughly 0.8 to 0.9 mm for two, 1.2 to 1.35 mm for three and 1.6 to 1.8 mm for four, depending on the slicer. A wall in between leaves a sliver the slicer has to fill with a thin, weak strand or skip.

For products people handle, treat 1.2 mm as the practical minimum and use 2 mm or more for enclosures, brackets and anything that gets dropped. Thicker is not always better: very thick walls add print time and material and warp more as they cool, so add ribs before you add bulk.

Minimum feature sizes by process. Conservative starting points drawn from maker and service guides. Your printer, material and shop can do better or worse.
FeatureFDM, 0.4 mm nozzleResinSLS or MJF nylon
Supported wall0.8 mm minimum, 1.2 to 2 mm for products0.5 mm0.7 mm
Free-standing wall or fin0.8 mm, keep it short or brace it1 mm1 mm
Smallest reliable hole2 mm diameter0.5 to 0.8 mm1 to 1.5 mm
Smallest pin or post3 mm diameter, 5 mm or more if it carries load0.5 mm, fragile0.8 mm
Raised or engraved detail0.6 mm wide, 0.5 to 1 mm high or deep0.1 to 0.4 mm0.4 mm wide, 0.3 mm high or deep, text 4.5 mm tall or more
Gap between moving parts0.3 to 0.5 mm0.2 to 0.5 mm0.3 to 0.7 mm
Drain or escape holes for hollow partsNot neededAt least two, 3.5 mm or largerAt least two, 3.5 to 5 mm or larger

Thin features that tend to fail

  • Knife edges. A blade or wing that tapers to zero thickness prints as a ragged edge. End tapers at 0.8 mm on FDM.
  • Tall thin pins and spires. They wobble as the nozzle passes and print with blobs or snap off. Thicken the base, add a fillet where they meet the body, or print them separately.
  • Tiny text. Letters below about 5 mm tall on FDM fill in. Go larger, or engrave instead of emboss.
  • Long unsupported fins. They vibrate, curl and warp. Tie them back to the body with a rib.

Overhangs, bridges and supports

The 45 degree rule is the most useful single rule in FDM design. At 45 degrees from vertical, each new layer steps out by about one layer height, so each new line still rests partly on the line below it. Lean further and the plastic starts to droop. Depending on the printer, nozzle and cooling, overhangs of 45 to 60 degrees often print cleanly, and some printers with strong part cooling manage more, but design to 45 when you do not control the printer.

Overhangs measured from vertical. Design to 45 degrees when you do not control the printer; steeper angles often print on a tuned machine but may need support.

A bridge is a horizontal span printed in mid-air between two supports. Short bridges print cleanly because the plastic is stretched taut between both ends and cooled by the fan. Keep bridges that show short, roughly 5 to 10 mm. Longer spans often print, especially in well-cooled PLA, but the underside sags and roughens, so hide them inside the part or support them.

Supports solve overhangs but cost print time, material and surface quality, and somebody has to remove them. On products, the goal is to design them out wherever you can.

Common overhang problems and the design fix
ProblemDesign fix
Horizontal hole droops at the topUse a teardrop shape with a 45 degree point at the top, or flatten the top of the hole into a short bridge
Rounded fillet on an edge that touches the bed sagsUse a 45 degree chamfer on bed-facing edges and keep fillets for the top and sides
Screw head pocket starts in mid-air (counterbore facing down)Add a one-layer sacrificial bridge you drill through later, or design stepped bridges that square off the circle
Logo or text sticking out of a vertical wallEngrave it instead, or give the raised letters a 45 degree underside
Mushroom shape: a wide cap on a narrow stemSplit it into two parts that join with a peg, or flip it so the cap prints first on the bed
Round arch or window openingUse a pointed (gothic) arch, which stays under 45 degrees all the way up
Horizontal holes in FDM. A round hole sags at the top; a teardrop with a 45 degree point or a short flat bridge prints clean.

Resin and powder are different

Resin parts usually print on supports, often tilted on the build plate, with 45 degrees a common starting angle. Design so supports can land on faces nobody sees, avoid large flat areas parallel to the build plate (they raise peel forces and can warp), avoid hollow cups that open toward the vat (they trap air and act like suction cups), and keep fine details away from the side that will carry support marks.

SLS and MJF need no supports at all, because loose powder holds the part up. That is why powder-bed nylon suits print-in-place mechanisms and complex enclosures. The catch: powder has to get out. Any closed cavity needs at least two escape holes, 3.5 to 5 mm across or larger depending on the shop's guide, or it will ship full of powder.

Orientation and strength

Layer bonds are the weak point of an FDM part. When a part fails under load it usually splits cleanly along a layer line. So the most important strength decision is not the material or the infill, it is which way the part sits on the bed. Design with an orientation in mind from the first sketch, and put that orientation in your design notes.

The same wall hook printed two ways. Upright, the load pulls layers apart at the neck. Lying down, the arm's length runs along the layers.
Choosing an orientation for the job
GoalOrientation advice
Strong clip, hook or lever armPrint it lying down so the arm's length runs along the layers
Best looking top surfacePut that face up and flat, where the top layers print smooth
Round, accurate holesKeep hole axes vertical. Horizontal holes print slightly oval and droop at the top
Fewest supportsPut the largest flat face on the bed
Fastest printKeep the part as low as possible, especially in resin where time follows height
Watertight container or vasePrint upright with extra walls, then fill a sample with water before you call it watertight

Design moves that add strength

  • Fillet inside corners. A sharp inside corner concentrates stress and cracks first. A radius of 1 mm or more spreads the load.
  • Use ribs and gussets, not solid blocks. A rib or gusset stiffens a wall with far less material than thickening the whole wall, and prints faster.
  • Put material in the walls. In FDM, strength comes mostly from the perimeters, not the infill. If a part needs to be strong, model walls thick enough for more perimeters rather than relying on the slicer's infill setting.
  • Keep wall thickness even. Sudden changes from thin to thick cause uneven cooling, warping and visible sink marks.
  • Avoid notches near load paths. Engraved text or a groove across a bending arm creates a crack starter.

Tolerances and fits for parts that go together

Printed dimensions drift. Formlabs gives typical FDM accuracy as plus or minus 0.5% (no tighter than 0.5 mm), while Prusa says its printers hold 0.2 mm or better. Holes tend to print undersized and pegs slightly oversized, often by a few tenths of a millimeter: curves are exported as flat segments that cut inside the true circle, and molten plastic spreads a little past its intended path. Resin prints closer to the model, around plus or minus 0.15% on small parts, and powder-bed nylon sits near plus or minus 0.5% or 0.3 mm, whichever is larger.

The fix is a deliberate gap between mating parts, called clearance. The values below are per side: the gap between the outside of a peg and the inside of its hole, on one side. A 10 mm peg with 0.2 mm clearance per side goes into a 10.4 mm hole.

Clearance is measured per side. A 10 mm peg with 0.2 mm per side needs a 10.4 mm hole. Gap drawn larger than scale.
Starting clearances per side, from maker guides and common practice. Test on the printer and material you will use.
FitFDMResinSLS or MJFUse it for
Press fit, no movement0 to 0.1 mm0 to 0.05 mm0.05 to 0.1 mmPegs, inserts and parts that should stay put
Snug fit, slides with friction0.1 to 0.2 mm0.05 to 0.1 mm0.1 to 0.2 mmCaps, plugs, keyed joints
Sliding fit0.2 to 0.3 mm0.1 to 0.2 mm0.2 to 0.3 mmDrawers, sliding lids, telescoping parts
Free running, rotates0.3 to 0.4 mm0.2 to 0.3 mm0.3 to 0.4 mmHinge pins, wheels, knobs
Print-in-place moving parts0.3 to 0.5 mm0.4 to 0.5 mm0.3 to 0.7 mm, the top of the range on thick wallsChains, captive hinges, articulated models
  1. Model a test coupon A small plate with a row of pegs and matching holes, stepping clearance from 0 to 0.5 mm in 0.05 mm steps. Label each pair with engraved numbers.
  2. Print it the way the product will be printed Same material, same layer height, same orientation. A coupon printed flat tells you nothing about holes printed on their side.
  3. Test every pair Find the smallest clearance that gives the fit you want for each fit type.
  4. Record the result Write the values into your design notes and your CAD parameters, so the next product starts from known numbers.
  5. Retest when anything changes A new material, nozzle, printer or print shop can shift fits by 0.1 mm or more.

Holes, threads and fasteners

Vertical holes print slightly small. Add a little, often 0.1 to 0.3 mm, to the diameter of any hole that needs a precise fit and test it, or print it slightly small and drill it to size. Horizontal holes print oval, so keep critical holes vertical or use the teardrop shape from the overhang section.

Threads

Printed threads work for larger, coarse sizes. Formlabs recommends modeled threads of M6 (or 1/4 inch) and up, with fillets to spread stress, and on FDM bigger is safer: coarse threads of M8 and up, container threads and custom trapezoidal threads usually print well with extra clearance, often 0.2 to 0.3 mm, and the axis vertical. Fine machine threads like M3 and M4 rarely print well on FDM and wear out quickly. Standard resin is brittle and can crack if a thread is overtightened.

Options for screws and assembly

Fastening options compared
MethodStrength and reuseDesign notesBest for
Printed threadWeak, wears out with repeated useCoarse threads only (M6 and up), extra clearance, vertical axisStorage box lids, knobs, large caps
Self-tapping screw into plasticGood the first few times, then stripsPilot hole a little smaller than the screw's thread, sized from the screw maker's chart, in a solid boss. Avoid brittle resins, which crackParts assembled once
Heat-set insertStrong, survives repeated assemblyMelted into filament or nylon parts with a hot soldering iron. Hole sized to the insert maker's spec and deep enough that the insert does not bottom out. In resin, glue the insert in insteadEnclosures, lids, mounts
Captive nut (nut trap)Strong, reusableHexagon pocket 0.2 to 0.3 mm larger than the nut across its flats, for example about 5.7 mm for a standard M3 nut (5.5 mm across flats), placed where the nut can be insertedClamps, brackets, assemblies
MagnetsEasy to open, holding force depends on the magnetPocket 0.1 to 0.2 mm larger than the magnet for a glued fit, mark the polarityLids, modular systems, display pieces
Snap fitGood in PETG and nylon, fatigues in PLASee the joints section belowBattery covers, clips, cases
GluePermanentFlat mating faces with an alignment keySplit parts that never come apart
Three ways to fasten printed parts. Size insert holes to the insert maker's specification and test nut and magnet pockets on your printer.

Magnets can also be embedded mid-print: model a pocket as deep as the magnet plus one layer, pause the print at that layer, drop the magnets in and resume. It works on your own printer. If someone else prints the file, a glued pocket on an outside face is far more reliable than a pause that is easy to miss.

Small, strong magnets are dangerous if swallowed, above all by children. In the US, the CPSC regulates magnets in toys and in products sold for entertainment, jewelry or stress relief, and children's products generally need third-party testing and a Children's Product Certificate. If a design holds magnets or is likely to end up with children, check the CPSC's rules and read selling 3D prints legally first.

Joints, snap fits and print-in-place parts

Snap fits

A cantilever snap fit is a flexible arm with a hook on the end. It works when the arm can bend far enough to clear the catch without cracking. Practical starting points for FDM: arm thickness 1.2 to 2 mm, width 5 mm or more, length several times the thickness (a longer arm flexes more easily), a hook around 0.5 to 1 mm deep, and a fillet where the arm meets the body with a radius of at least half the arm's thickness. Print the arm lying down so it bends along its layers, never as a vertical post.

A cantilever snap fit. Starting points for FDM; print the arm lying down and test in the material you will sell.

Material matters more than geometry here. PLA is stiff and brittle, so PLA snap fits tend to crack after repeated use. PETG, ABS and nylon flex and recover better. If a product snaps open and closed daily, design it for a tougher material and say which one in the listing.

Hinges

A living hinge is a thin flexible strip that bends instead of rotating. It works in polypropylene and, designed to the shop's guide, in nylon powder parts, where hinges are usually about 0.5 to 0.8 mm thick. In PLA and PETG, living hinges tend to crack after a few bends, so use a pin hinge instead: a 3 mm or larger pin with 0.3 mm or more clearance per side, or a print-in-place hinge with cone-shaped pivots that print without supports.

Alignment keys and pins

  • Add pegs and sockets or a tongue and groove wherever two parts glue together, so they line up without clamps.
  • A short length of 1.75 mm filament makes a cheap alignment dowel. Model the holes at 1.9 to 2.0 mm.
  • Dovetails slide together and resist pulling apart, which makes them good for modular systems. Give them sliding-fit clearance.

Print-in-place mechanisms

Chains, hinged boxes and articulated models that come off the bed already assembled are popular because they need no assembly. They also fail in a specific way: the first layer squishes slightly wider than designed (called elephant's foot) and fuses moving parts together at the bed. Leave 0.3 to 0.5 mm gaps, add a 0.3 mm chamfer to the bottom edges of every moving part, and avoid bridges inside the gaps.

Large parts, splitting and build volume

Desktop FDM build volumes run from about 180 mm per side on compact machines to roughly 250 x 210 x 220 mm and 256 x 256 x 256 mm on popular full-size ones, with larger machines at 300 to 350 mm and beyond. If you want most full-size printers to make your part, design to fit inside about 200 x 200 x 200 mm and split anything bigger.

  • Split along hidden seams: edges, flat faces, the line where two colors meet, or the underside.
  • Key every joint with pegs, a tongue and groove or a dovetail so the parts align and glue faces line up.
  • Choose each piece's orientation before you choose the split line, so every piece prints without supports on visible faces.
  • Leave room for glue. A small gap on glued keys, around 0.1 to 0.2 mm per side, stops the glue from pushing the joint apart.

Large flat FDM parts warp as they cool, especially in ABS and ASA. Round the corners of large footprints, avoid big solid slabs, break flat areas up with ribs, and design for a brim. In resin, hollow large solid parts to save material and reduce peel forces, then add at least two drain holes, one at the lowest point after printing so resin drains out, so resin can drain and air can get in.

Surface detail, text and finish

Layer lines are part of the look of an FDM print. Good design decides where they show. Shallow slopes, such as a gently domed top, show the most stepping because each layer steps out a visible amount. Steep walls and flat tops look cleanest. If a product needs a smooth dome, consider resin, or design it as a steeper shape.

  • Text: bold sans-serif fonts about 5 mm tall or more on FDM, with strokes at least 0.6 mm wide and 0.5 to 1 mm deep. Text on a top face prints crisper than text on a wall. Resin keeps much smaller text legible.
  • Textures hide layer lines. Knurls, ribs, facets and patterned surfaces disguise layers and fingerprints better than a smooth curve.
  • Seams are where each layer starts and stops. Slicers usually tuck them into corners, so give round parts a small edge or flat where a seam can sit out of sight.
  • Color: for multi-color FDM, model each color as a separate body and export a 3MF, or plan color changes at specific layer heights for single-nozzle color swaps.

Think about the finished look from the start. A part that will be primed and painted needs a little extra clearance on mating faces, because paint adds thickness, and no deep, narrow crevices that are hard to sand. The finishing guide covers sanding and painting safely. A part sold in silk or matte filament should be designed so its best faces print as walls or tops, where those finishes shine.

Exporting a clean, printable file

A design is only as good as the file that leaves your CAD software. Many print failures blamed on the printer start as a bad export: wrong units, a hole in the mesh, or two bodies overlapping in a way the slicer cannot interpret.

  • Units: export in millimeters. A part that arrives 25.4 times too small or too large was exported in inches.
  • Format: STL is universal. 3MF carries units, colors and multiple parts. See STL vs 3MF for when to use which.
  • Resolution: use your CAD tool's fine or high-quality export setting so curves look smooth in the slicer preview, without pushing the triangle count so high that files get unwieldy. Very high triangle counts slow slicers without improving the print.
  • Watertight and manifold: every edge shared by exactly two faces, no holes, no internal faces, normals pointing outward.
  • One body per printed part: merge overlapping shapes into a single solid with a boolean union before export.

To check a mesh, open it in your slicer, which flags errors on import, or in a repair tool such as the 3D Print Toolbox add-on for Blender or the analysis tools in Meshmixer. Fix the problem in the source model where you can, because automatic repairs sometimes close a hole in the wrong place.

Keep the source file (Fusion, Onshape, FreeCAD, Blender) and drive key sizes from parameters: wall thickness, clearance, magnet diameter. When a tolerance test or a buyer's comment tells you a fit is 0.1 mm too tight, you change one number and export again, instead of remodeling.

Pre-print design checklist

Run through this before you slice, sell or upload a model. It catches the common problems behind failed prints and returns.

Before you export

  • Walls are at least 1.2 mm on FDM products, and close to whole multiples of the line width.
  • No feature is thinner than the minimums for the process you expect.
  • Overhangs are 45 degrees or less from vertical, or supports land only on hidden faces.
  • Bed-facing edges use chamfers, not fillets.
  • Horizontal holes use a teardrop or flat top, and precise holes are vertical.
  • Mating parts have clearance from your own tolerance test, plus a little margin if others will print it.
  • Threads are coarse, or replaced with inserts, nut traps or self-tapping screws.
  • Magnets are glued or fully enclosed, and anything with magnets or meant for children has been checked against the CPSC's rules.
  • Clips, hooks and arms are oriented so the load runs along the layers.
  • Inside corners have fillets, and walls change thickness gradually.
  • The part fits inside 200 x 200 x 200 mm, or is split with keyed joints.
  • Hollow resin and powder parts have at least two drain or escape holes.
  • Text is large and bold enough for the process.
  • The file is in millimeters, watertight, manifold and one body per part.
  • Design notes state the material, orientation, fit and any hardware.

Frequently asked questions

What is the minimum wall thickness for 3D printing?

For FDM with a 0.4 mm nozzle, 0.8 mm is the technical minimum and 1.2 mm is a practical minimum for products people handle, with 2 mm or more for parts under load. Resin can print supported walls around 0.5 mm, and SLS or MJF nylon around 0.7 mm. Thicker walls are stronger but print slower and warp more, so add ribs before adding bulk.

What is the 45 degree rule in 3D printing?

In FDM printing, each layer can extend a little past the one below it without support. For most printers that limit is roughly 45 degrees from vertical, and well-cooled printers often manage 60 degrees or more. Steeper overhangs droop or need support material. Designing overhangs at 45 degrees or less, and using chamfers instead of fillets on bed-facing edges, lets most parts print without supports.

How much clearance do 3D printed parts need to fit together?

On a tuned FDM printer, start with about 0.1 to 0.2 mm per side for a snug fit, 0.2 to 0.3 mm for a sliding fit and 0.3 to 0.4 mm for parts that rotate. Resin parts assembled after printing need less, but parts printed already assembled need about 0.4 to 0.5 mm. Printers and materials vary, so print a test coupon on the setup you will use.

Should I print threads or use heat-set inserts?

Print threads only for larger, coarse sizes, M6 and up and bigger still on FDM, with extra clearance and the axis vertical. For small machine screws and anything assembled more than a few times, use brass heat-set inserts in filament or nylon parts, or captive nuts. They survive repeated assembly far better. In resin, glue inserts in rather than melting them.

How do I make a 3D printed part stronger without changing material?

Orient it so the load runs along the layers, not across them. Model thicker walls, since FDM strength comes mostly from perimeters rather than infill. Add fillets to inside corners and ribs instead of solid blocks. Then test printed samples, because strength depends on the printer and settings as much as the design.

Why do my 3D printed holes come out too small?

Curves are exported as flat segments that cut inside the true circle, and molten plastic spreads slightly, so holes print undersized, often by a few tenths of a millimeter. Add about 0.1 to 0.3 mm to holes that need a precise fit and test, keep critical holes vertical, or print them slightly small and drill them to size.

How do I design a part that prints without supports?

Pick an orientation with a large flat face on the bed, keep overhangs at 45 degrees or less, keep bridges short, use chamfers on downward-facing edges, use teardrop shapes for horizontal holes and pointed arches for openings. If one face still needs support, split the part into pieces that each print flat.

What file format should I export for 3D printing?

STL works with every slicer and is fine for single-color, single-part models. 3MF stores units, multiple parts and colors in one file, which helps with assemblies and multi-color prints. Whichever you choose, export in millimeters and make sure the mesh is watertight and manifold.

Further reading

Sources

Print a test part before you sell it

Upload an STL or 3MF, pick a material, color and finish, and compare all-in prices from approved print shops. No account needed.

Order a test print