API & MCP

Everything a person can do on Voxel Greedy Mesher (OBJ, STL, GLB), a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Voxel Greedy Mesher (OBJ, STL, GLB)

Merge the exposed faces of a Renderloom voxel model into the fewest same-colour rectangles (greedy meshing), remove T-junction cracks, check the result with the shared mesh analyser and download it as OBJ + MTL, binary STL or GLB.

Inputs of Voxel Greedy Mesher (OBJ, STL, GLB)
FieldTypeDefaultDescription
projecttextarea"{\"format\":\"renderloom-voxel\",\"version\":1,\"name\":\"Little house\",\"widtRenderloom voxel project JSON
formatselect (glb, stl, obj)"glb"File format
modeselect (watertight, minimal)"watertight"Meshing
unitMmnumber10Voxel size (mm)

Example request

The little house as GLB

curl -X POST https://renderloomvoxelmesher.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "renderloom-voxel-mesher": { "type": "http", "url": "https://renderloomvoxelmesher.usefulweb.app/mcp" }
  }
}