Turn a generated model into a mesh you can load

Send meshfx a generated GLB, OBJ, STL or surface PLY. It repairs faults, writes levels of detail and collision, and returns a GLB plus a report of what it fixed.

A generated wagon before and after meshfx repair. Flipped faces on the source are marked in red.

Questions

Which 3D file formats can meshfx read for generated models?

meshfx reads glTF, GLB, OBJ, STL and PLY files with PNG and JPEG textures.

How do I check if a reduced model meets quality targets?

Read the JSON report. It records measured distance and geometry faults for every output level.

What else can I compile for generated scenes?

You can also compile geofx terrain maps and hosted pyrofx fire, smoke and dust effects.

All use cases

Let your agent clean up a generated model

Paste this prompt into Claude Code, Cursor or Codex. Your agent connects to Spatial Compiler and comes back with a repaired GLB with levels of detail, collision and a report of the faults it fixed.

New accounts start with $5 of usage, and you see the price of each job before it runs.

Give this to your agent

Connect the Spatial Compiler MCP server at https://spatialcompiler.dev/mcp if it isn't connected yet. Use meshfx to repair my generated model, write levels of detail and collision, and give me a GLB I can drop into Godot, Unity or Unreal. Show me the price before it runs.

Or add the server yourself in Claude Code:

claude mcp add --transport http spatial-compiler https://spatialcompiler.dev/mcp

Set it up in Cursor, Codex or another agent