Open FlatCad 3D

OBJ to STL converter

Convert an OBJ to STL for your slicer. Most OBJ files were made for rendering, so they arrive lying on their back, in metres, and with gaps a renderer never shows. This page stands the model up, reads or guesses the units and counts the holes before the slicer has to guess around them.

Open a 3D model

Loading the viewer…

Size
–
Mesh
–
Watertight
–
Volume
–
Surface
–
Filament
–
More formats

Converting OBJ to STL

  1. Drop the .obj. The .mtl and textures can stay where they are.

  2. Check it stands right. Y is up is ticked for OBJ files; if the model now lies on its side, untick it.

  3. Set the size. Pick File units if the Size line is 10 or 1000 times off, then type a Scale for the print size you want.

  4. Read the Watertight line and fix what it reports (below).

  5. Download STL, or 3MF, which keeps the millimetres for Bambu Studio, PrusaSlicer, Orca and Cura.

Why OBJ models come in lying down

Blender, Maya and nearly every model marketplace write OBJ with Y as the up axis, the convention of film and games. Printers and CAD use Z as up. Ticking Y is up turns every corner from (x, y, z) to (x, −z, y): the model's up becomes Z and its front, which faced the camera in the 3D program, ends up facing you in the slicer's front view. The rotation happens before the model is set on the bed, so it lands on its feet, not on the point that used to be lowest.

Units, with a worked example

OBJ has no unit field. A few exporters write a comment such as # units: cm or File units = centimeters, and the converter picks that up. Otherwise it guesses: if the largest side is under 1 it reads metres, else millimetres. Blender writes metres, so a 0.15 m ornament comes in correctly as 150 mm.

The guess fails for anything over a metre. A 1.8 m game character exported from Blender has numbers up to 1.8, which reads as a 1.8 mm figure, and the status line warns that the size looks wrong. Pick Metres and it is 1800 mm tall. Type Scale 5 % and the Size line shows 90 mm, a 1:20 figure. Downloads are written at that final size, in millimetres.

Render meshes and the Watertight count

A renderer only needs surfaces the camera sees. A printer needs a closed solid. These are the usual reasons an OBJ fails the Watertight check, and what to do:

Detail that will not print

A model that renders well at 2 m can lose detail at 90 mm. With a 0.4 mm nozzle, anything thinner than about 0.8 mm (two extrusion lines) prints poorly or not at all: fingers, sword blades, antennae, whiskers. After scaling, turn the model around with Show triangles on and look at the thin parts; thicken them in the source, or print at a larger scale. The Volume line is a quick sanity check too: a figure under 1 cm³ is mostly detail and support.

How STL stores triangles and why it has no units: STL viewer. Need an OBJ from a printable model instead? STL to OBJ.

Open FlatCad 3D, free, no signup

Questions

Why does my model lie on its back or face the floor?

OBJ files from Blender, Maya and most 3D sites are Y-up, printers are Z-up, so Y is up is ticked for every OBJ. If your OBJ was already Z-up (some CAD and photogrammetry tools save it that way), ticking it tips the model over: untick it.

The model looked fine in Blender but has holes here. Why?

Renderers hide what printers can't: faces with no back, a plane used as a leaf, eyes that are separate spheres. Two more come from the file itself: a face listed both ways round (a two-sided sheet) is removed by Close small holes, and an n-gon that is not convex gets split into triangles that fall outside it. Triangulate in Blender before exporting.

Can I keep the colours for a multi-colour print?

Not with this page: STL has no colour and the 3MF it writes is one colour too. Split the model into one part per colour in Blender, export each, and load them together in the slicer as parts of one object.

Do I need the .mtl file?

No. The .mtl and textures only describe colours, which an STL can't hold, so the OBJ alone is enough.

What does "no triangles found in this OBJ file" mean?

The file has corners but no faces: a point cloud, an OBJ of lines only (l records), or faces that point at corners that don't exist. Export again with faces, or mesh the point cloud first.