How to fix the scale of an AI-generated model
AI 3D generators such as Meshy, Tripo and Rodin build every model inside a normalized volume, so a chair and a house come out at about the same size. To fix it, measure one dimension you know, scale the whole model to its real size in meters, apply the scale so the transform reads 1, 1, 1, and export a GLB. Godot, Unity and three.js count meters, Unreal Engine counts centimeters and Roblox Studio counts studs.

Why generated models arrive at the wrong size
Image-to-3D and text-to-3D models have no idea how big the object is. They fit the shape into a box of fixed size and write the file in meters.
Your engine trusts those units, so the model imports at whatever size the generator picked. A crate can come in taller than your character.
Set the real size by hand
- Pick one dimension you know: a door is about 2 m tall, a crate about 1 m and an adult about 1.75 m.
- Read that dimension from your 3D editor's dimensions panel.
- Divide the real size by the measured size and scale the model by that factor on all three axes.
- Apply the scale so the transform reads 1, 1, 1 and the mesh keeps its new size.
- Export a GLB and import it with the engine's import scale left at its default.
- Place a 1 m cube next to it in Godot or Unity, or a 100 cm cube in Unreal Engine, to check the size.
meshfx sets units and the origin in the same compile that lightens the model. Your agent passes the real size in the spec and gets back a GLB that imports at that size.
Use with your agent
Paste the prompt into Claude Code, Cursor or Codex. Your agent connects to Spatial Compiler and comes back with a GLB at the right size and a report of its measured size.
New accounts start with $5 of usage, and you see the price of each job before it runs.
Connect the Spatial Compiler MCP server at https://spatialcompiler.dev/mcp if it isn't connected yet. Use meshfx to set my generated model to its real size in meters, put its origin at the base. Run a Draft first. Your first 50 mesh Drafts are free with the $5 signup credit. Ask before running a final compile.
Or add the server yourself in Claude Code:
claude mcp add --transport http spatial-compiler https://spatialcompiler.dev/mcp
Generated model scale questions
Why is my AI-generated model the wrong size in my engine?
AI 3D generators build the shape inside a box of fixed size and do not know how big the object is. The file still says meters, so the engine imports it at whatever size the generator picked.
How do I find the right scale for a generated model?
Measure one dimension you know, such as a 2 m door or a 1 m crate. Divide the real size by the measured size and scale the whole model by that factor, then apply the scale.
Should I fix scale in the engine import settings or in the file?
Fix it in the file. An applied scale of 1, 1, 1 keeps physics, lighting and child objects correct in every engine. Use the import scale only when the file units differ from the engine units.


