---
title: "Repair a mesh so you can print it"
description: "Send meshfx a mesh that must print. It repairs faults and returns a watertight GLB. Open that GLB in Blender and export STL for your slicer."
canonical: https://appliedmanifold.com/use-cases/3d-printing/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Use cases](https://appliedmanifold.com/use-cases/)
3.  3D printing

# Repair a mesh so you can print it

Send meshfx a mesh that must print. It repairs faults and returns a watertight GLB. Open that GLB in Blender and export it as STL for your slicer. meshfx writes GLB, not STL.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [Give this to your agent](https://appliedmanifold.com/use-cases/3d-printing/#get-started)

[![A repaired mesh, rendered as a printed part on a bed, ready to export from Blender as STL.](/use-cases/heroes/3d-printing.webp)](https://appliedmanifold.com/use-cases/heroes/3d-printing.webp)

-   [![A repaired wagon GLB, open in Blender, ready to export as STL.](/shots/meshfx/meshfx-wagon/blender-still_800.webp)](https://appliedmanifold.com/shots/meshfx/meshfx-wagon/blender-still.webp)

    ## [Repair a mesh and export STL from Blender](https://appliedmanifold.com/mesh/repair-stl/)

    meshfx returns a repaired GLB. Open it in Blender and export STL. meshfx does not write STL itself.

    -   GLB
    -   Blender
    -   STL

-   [![A wagon before and after meshfx repair of non-manifold edges.](/shots/meshfx/meshfx-wagon-repair-nonmanifold/three-still_800.webp)](https://appliedmanifold.com/shots/meshfx/meshfx-wagon-repair-nonmanifold/three-still.webp)

    ## [Check an STL for holes and non-manifold edges](https://appliedmanifold.com/tools/stl-repair/)

    The STL repair check runs in your browser. Your file never leaves your device.

    -   STL
    -   holes
    -   non-manifold

-   [![A test head before and after meshfx repair. The hole in the scalp is closed.](/diagrams/repair-stl/before-after-1200.webp)](https://appliedmanifold.com/diagrams/repair-stl/before-after-2400.webp)

    ## [Fill holes in a mesh](https://appliedmanifold.com/mesh/fill-mesh-holes/)

    Close holes so the surface is watertight before you export STL for the slicer.

    -   holes
    -   watertight
    -   repair

## Questions

### Does meshfx write STL files I can send to a slicer?

No. meshfx writes GLB. Open the repaired GLB in Blender and export it as STL for your slicer.

### How do I check an STL for holes before I print?

Use the STL repair check in your browser. It looks for holes, non-manifold edges, zero-area faces and flipped normals, and your file never leaves your device.

[All use cases](https://appliedmanifold.com/use-cases/)

## Let your agent repair a mesh for print

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

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [Try it in the Playground →](https://appliedmanifold.com/playground/?module=meshfx&cookbook=namaqualand_rocks&spec=f859915a7f50a91eae432dfc1ac89e53babb309217d7682863c22430312d12ad)

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 mesh so it is watertight, then tell me how to export STL from the GLB in Blender. 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](https://appliedmanifold.com/docs/mcp/)
