meshfx // STL SCALE
How to fix the scale of an STL file
You fix an STL's scale by treating its numbers as millimeters, the 3D printing convention, since STL itself has no unit. A model that arrives 1000 times too big in your 3D editor needs a 0.001 scale on import. Apply the scale, then export to GLB or FBX for your game engine.
pyrofx effects work today, and new accounts start with $5 of usage.
meshfx measures faults, checks repairs and makes LODs for a triangle budget. meshfx runs on the hosted API: try it in the Playground.
- STL: no unit, millimeters by convention
- In a meter scene it lands 1000 times too big
- Game engines take GLB or FBX instead
01 // WHY
Why an STL comes in 1000 times off
STL holds triangles and nothing else: no unit field, no transforms, no materials. Printing software reads the numbers as millimeters, so a 50 mm figurine stores coordinates up to 50. A 3D editor working in meters reads those same numbers as 50 m.
02 // HOW TO
Bring an STL into your engine at the right size
- Import the STL into your 3D editor with the importer's scale set to 0.001, or import it and scale it by 0.001.
- Check the dimensions against the real object.
- Apply the scale.
- Weld the vertices, since STL repeats every vertex per triangle (why).
- Export GLB or FBX, whichever your engine imports, since most game engines have no STL importer.
meshfx has units and origin settings, can face a named axis and rename nodes. Set the scale using the known dimensions of your source, then inspect the output in Godot 4. Hosted meshfx runs are available in the Playground.
03 // TO A PRINTER
Send a game model to a 3D printer
Reverse the factor. A game model in meters exported as STL with a scale of 1 prints at a thousandth of its size, so export with a scale of 1000, or set the slicer's import unit to meters if it has one. Close any holes first, because a slicer needs a watertight shell.
How do I export a model at the right size for 3D printing?
Build it at real dimensions, apply the scale and export the STL with a scale that turns your scene unit into millimeters, 1000 for a meter scene.
How do I fix an STL scale before using it in a game engine?
Import it at 0.001 so millimeters become meters, apply the scale and export GLB or FBX. The engine then sees meters.
Can Roblox Studio import an STL?
Not directly. Roblox Studio 3D Importer takes FBX, OBJ and glTF files, so convert the STL in a 3D editor and scale it from millimeters.
Does Godot import STL files?
Not with Godot standard importers, which take glTF, GLB, FBX, OBJ, Blend and Collada files. Convert the STL to GLB and scale it from millimeters to meters.
Explore meshfx outputs
Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.