Selektronik – razvoj in izdelava tiskanih vezij
All guides
Guide

How to prepare an STL or STEP file for 3D printing

A guide to exporting STL and STEP files for 3D printing: units in mm, mesh resolution, watertight models, wall thickness, text, holes and checking in the browser.

4. junij 2026 8 min readAuthor: the Selektronik team

Most 3D printing problems do not arise on the printer but already when the model is exported from the CAD program. A model with the wrong units, holes in the mesh or walls thinner than the technology can handle will at best require extra coordination and at worst produce an unusable part. The good news is that preparing a file for 3D printing is a routine task once you know a few rules.

In this guide we describe how to export an STL or STEP file from Fusion 360, SolidWorks, FreeCAD, Onshape or a similar tool, which conditions the file must meet and how to check it in the browser before you send an inquiry.

STL, STEP or something else

Our configurator accepts several formats, but they differ in important ways:

FormatWhat it containsWhen to use it
STLA triangle mesh without units or coloursThe most widespread; suitable for all technologies once the model is final
STEP (.step, .stp)Exact geometry (surfaces, curves) with unitsRecommended for precise parts, metal and anything you will still change
OBJA mesh, optionally with colours and texturesScanned and artistic models
3MFA mesh with units, colours and metadataA modern replacement for STL, with no ambiguity about units
IGESAn older surface geometry formatOnly if you have nothing else; STEP is always the better choice

A short rule: if the model comes from a parametric CAD program, export STEP, because it keeps the exact geometry and units. If you work in a mesh tool (Blender, ZBrush) or have a scanned object, export STL or 3MF. For metal printing and parts with tight tolerances STEP is strongly recommended, because round holes and threads are never described perfectly in a mesh.

Units: millimetres, always

An STL file contains no units. The number 10 can mean 10 mm, 10 inches or 10 metres, and the program that opens it has to guess. Since almost the entire 3D printing industry assumes millimetres by default, set your model to mm before exporting.

The most common pitfalls:

  • In Fusion 360 documents can be set to inches; change the unit in the document settings, not just in the export dialog.
  • In SolidWorks check the STL export options (Options → Units).
  • A model exported in metres will appear 1000 times too small in the preview. A model in inches will be 25.4 times too large.

After uploading, always check the outer dimensions of the model (bounding box) shown in our preview. If they do not match your expectations, the units are almost always to blame.

Mesh resolution when exporting STL

STL approximates all curved surfaces with flat triangles. Two parameters determine how dense the mesh will be:

  • Chord tolerance (deviation): the maximum allowed distance between the true curve and the triangle. The recommended value is 0.01 to 0.02 mm.
  • Angle tolerance: the maximum angle between neighbouring triangles. We recommend 5 to 10 degrees.

A mesh that is too coarse is visible: cylinders get facets, holes become polygons and a screw will not fit. A mesh that is too fine inflates the file to several hundred MB, which slows down the upload and brings no benefit, as printer resolutions are around 0.05 to 0.1 mm. A reasonable STL size for an enclosure is a few MB, not hundreds.

Always export a binary STL, not the ASCII variant, which is up to five times larger for the same model.

The model must be watertight

A watertight (manifold) model is one whose mesh forms a closed shell with no holes, no overlapping surfaces and no edges shared by more than two triangles. The print preparation software must know unambiguously what is inside and what is outside.

Typical causes of a non-watertight model:

  • Surfaces without thickness. A plane or a shell without volume cannot be printed. Every wall must have a thickness.
  • Overlapping bodies. If you exported an assembly as several intersecting bodies, merge them before exporting (Boolean union / Combine).
  • Flipped normals. Triangles "facing" inwards. Software often detects them as holes.
  • Duplicate surfaces from copying or mirroring.

Parametric CAD programs almost always export correct meshes; problems are more common with mesh tools and scans. If in doubt, open the model in a free program such as Meshmixer (Analysis → Inspector), PrusaSlicer or Microsoft 3D Builder, which detect the errors and repair most of them automatically.

Wall thickness by technology

The most common reason a model is rejected or a printed part breaks is walls that are too thin. Every technology has its limit:

TechnologyMinimum wall thicknessRecommended thickness
SLA (resin)0.8 mm (supported), 1.0 mm (free-standing)1.5 mm
MJF (PA12 nylon)0.8 mm1.5 mm
SLS (nylon)0.8 mm1.5 mm
FDM (PLA, ABS)1.2 mm2.0 mm
SLM (metal)0.8 mm1.0 mm and more

It is not just the obvious walls that count. Pay attention to thin ribs, the edges around connector cut-outs, the bottoms of pockets and the transitions between the shell and the bosses. If a wall is thinner than 1 mm in just one place, that is where the part will break.

Embossed text, holes and fine details

Text, a logo or a marking on an enclosure is a nice detail, but it must be large enough for the technology to reproduce:

  • Engraved text (into the material): at least 0.4 mm deep, with a line width of at least 0.4 mm for SLA/MJF and 0.8 mm for FDM.
  • Embossed text (raised): 0.4 to 0.6 mm high, with a line width of at least 0.5 mm. The smallest legible letter size is about 4 mm for SLA and 6 mm for FDM.
  • Holes: a diameter of at least 1 mm for SLA/MJF and 2 mm for FDM. Holes always shrink slightly during printing, so model a hole for an M3 screw with a diameter of 3.2 to 3.4 mm.
  • Resin drain holes: give hollow SLA models at least two holes with a diameter of 2 to 3 mm, otherwise resin remains trapped inside.
  • Pins and posts: a diameter of at least 1 mm for SLA/MJF and 2 mm for FDM; long thin pins are fragile regardless of the technology.

If text is not functionally necessary, leave it out of the first prototype and check the fit; add the text in the next revision.

Assemblies and several models at once

If the enclosure consists of a lid and a base, export them as two separate files. In the configurator you can upload several models at once and choose the technology, colour and quantity for each one separately. Never export an assembly as a single STL in which the parts touch, because they will be printed as one fused piece.

The exception is movable assemblies in MJF and SLS (for example chains or hinges), where the powder bed makes it possible to print assembled parts with a gap of at least 0.5 mm.

Checking in the browser preview

After you upload the file to the 3D printing configurator, the model appears in a 3D preview. Before sending an inquiry, check:

  1. Dimensions. Do the dimensions shown match your model? If not, check the units again.
  2. Completeness. Are all surfaces displayed, with no missing pieces and no see-through holes?
  3. Orientation and details. Rotate the model and inspect thin features, text and holes.
  4. Volume. An unusually small volume for a large enclosure often means the model is not closed.

If the preview reports that the model is not watertight, or the dimensions shown are wrong, fix the file in your CAD program and upload it again. The price estimate is calculated live, so you can try several variants and technologies with no obligation.

Checklist before sending

  • Units are millimetres, and the dimensions in the preview match.
  • STEP for precise parts and metal, binary STL or 3MF for everything else.
  • Chord tolerance 0.01 to 0.02 mm, angle 5 to 10 degrees.
  • The model is watertight, with no overlapping bodies or flipped normals.
  • Walls are thicker than the minimum for the chosen technology.
  • Text, holes and pins are large enough.
  • Every part of an assembly is its own file.
  • Hollow SLA models have resin drain holes.

Need help?

If you have a model but are not sure whether it is ready for printing, upload it to the 3D printing configurator and check the preview, the dimensions and the price estimate; send the inquiry once everything is correct. If you do not have a model yet, or need an enclosure designed around your printed circuit board, we create it as part of our 3D enclosure design service and prepare files that are ready for printing.