Export Mesh
Get your edited body off the graph and onto disk
- mesh_data
- file_path
Export Mesh is the output node at the end of this pack, and it does exactly one job: take the mesh_data that comes out of the SMPL-X Editor and write it to an actual mesh file in ComfyUI's output folder. If you've been through the estimator → editor flow and you want the result outside the graph - into Blender, a game engine, a 3D printer, a rigging tool - this is the node.
It's the definition of a boring utility node, which is a compliment. There's nothing clever to tune and nothing to go subtly wrong in a workflow; you add it, pick a format, and queue.
What you set
- mesh_data - the
MESH_DATAoutput from the SMPL-X Editor. That's the only wiring; this node doesn't consumesmplxdirectly. - format -
obj,ply, orglb. The practical choice:- obj - the universal default. Any DCC tool reads it, and it's written with zero dependencies.
- ply - your choice if you want simple per-vertex data (vertex/face geometry, ASCII) and a format Blender is also perfectly happy with.
- glb - the one that bites. GLB export needs the
trimeshlibrary, which is not installed by the pack's default requirements (it's commented out in requirements.txt). If you pick glb without trimesh, you get a clear error telling you topip install trimesh. It's a one-liner, but it's the only format with a hidden dependency.
- filename_prefix - default
smplx_mesh. Files land in your output folder with a counter appended (smplx_mesh_00001.obj), same naming convention as Save Image.
Output is a single file_path string pointing at what was written - handy if you want to feed the path into another node (a viewer, an uploader, an FFmpeg step) rather than hunting through folders.
Installing
Standard pack install - ComfyUI Manager, search SMPLx Estimator, install, restart - or:
cd ComfyUI/custom_nodes
git clone https://github.com/ameliacode/ComfyUI-SMPLx-Estimator.git
cd ComfyUI-SMPLx-Estimator
pip install -r requirements.txt
python install.py
If you want glb output, add the optional dependency:
pip install trimesh
Common issues
- GLB fails with an ImportError. Missing trimesh, as above. Either install it or switch to obj/ply. The error message tells you exactly this.
- Nothing appears in the output folder. Check
filename_prefixand remember the counter - the file issmplx_mesh_00005.obj, notsmplx_mesh.obj, so sort by date if you're looking at a list. - You're exporting before the editor ran.
mesh_dataonly exists after the SMPL-X Editor has produced it. If the node errors on a missing input, that's a wiring issue upstream, not this node.
That's the whole article, and that's the whole node. Obj is the safe pick, ply is equally fine, glb is trimesh-dependent, and one queue later your edited SMPL-X body is a file you can take anywhere.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| mesh_data | MESH_DATA | — | |
| filename_prefix | STRING | smplx_mesh | — |
| format | COMBO | 3 options: obj, ply, glb |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| file_path | STRING | — |