---
title: "meshfx docs"
description: "meshfx reads an input model, repairs surface faults and outputs reduced GLB levels of detail for your engine."
canonical: https://appliedmanifold.com/docs/mesh/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

[Home](https://appliedmanifold.com/) / [Docs](https://appliedmanifold.com/docs/) / meshfx

DOCS // meshfx

# meshfx docs Available

meshfx reads an input model, repairs surface faults and compiles reduced GLB levels of detail for Godot, three.js or any glTF loader.

meshfx runs on the hosted API: try it in the [Playground](https://appliedmanifold.com/playground/).

## Measure, repair and reduce a model

meshfx reads glTF and GLB, including meshopt compression, OBJ, STL and PLY with PNG and JPEG textures. Its report measures holes, flipped faces and non-manifold edges.

Each of nine repair steps is checked against the source and undone with a warning if it moves the surface too far. Triangle budgets and LOD settings control reduction. Each level reports measured distance, outline and faults, with a switch distance.

The hosted bake keeps the source UVs and existing vertex colours. On a sand3d assembly, it keeps a separate LOD chain per rigid part and writes a [Godot joint controller](https://appliedmanifold.com/docs/mesh/joints/#controller).

[![Namaqualand rock scan compiled into three levels of detail](https://appliedmanifold.com/showcase/hosted/namaqualand-rocks/lod_lineup_shaded_1600.webp)

Four textured stones reduced from 85,716 triangles to 24,998, 12,498 and 6,250 triangles.](https://appliedmanifold.com/docs/mesh/examples/#namaqualand-rocks)

## Reference and examples

-   [Examples](https://appliedmanifold.com/docs/mesh/examples/) Compile the Namaqualand rock scan, articulated washing machine or rubble palette prop into reduced GLB levels of detail with layout.json.
-   [Articulation](https://appliedmanifold.com/docs/mesh/joints/) meshfx delivers lighter assets from a spec, and the parts still move the way they were built.
-   [Operations](https://appliedmanifold.com/docs/mesh/operations/) meshfx spec keys, defaults and ranges come from the release schema. Use tree hierarchy for articulated assemblies.
-   [Inputs and outputs](https://appliedmanifold.com/docs/mesh/inputs-and-outputs/) meshfx reads glTF, GLB, OBJ, STL and PLY, with PNG and JPEG textures. It writes GLB files for Godot 4 and preview images.
-   [Errors](https://appliedmanifold.com/docs/mesh/errors/) meshfx names unsupported inputs and records warnings in its report. Exit code 5 means files were written but a budget limit was missed.

## Build stages

1.  Read, measure, and write
2.  Repair
3.  Simplify and LODs

## Questions

### What model and texture formats does meshfx accept?

meshfx reads glTF, GLB including meshopt compression, OBJ, STL and PLY models with PNG and JPEG textures.

### How does meshfx check repairs during a compile?

meshfx checks each of its nine repair steps against the source surface and undoes any step that moves the surface too far.

### What does meshfx output for an articulated assembly?

meshfx keeps a separate level of detail chain for each rigid part and writes GLB files, layout data and a Godot joint controller.
