> For the complete documentation index, see [llms.txt](https://docs.meshmorpher.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meshmorpher.com/graph/exporters/write-obj.md).

# Write OBJ

Exports input mesh to OBJ file

<div align="left"><figure><img src="/files/q0pdLOQhXLCGw5SaIjQ5" alt=""><figcaption></figcaption></figure></div>

```
/**
 * Node that exports a mesh to OBJ file format.
 * 
 * Saves mesh data to an external OBJ file with optional
 * quad conversion and material export.
 * 
 * Usage:
 * 1. Connect mesh to export
 * 2. Configure export settings
 * 3. Click Apply to write file
 */
```

| Parameter                                              | Description                                                                              |
| ------------------------------------------------------ | ---------------------------------------------------------------------------------------- |
| <p>Scale</p><p><code>float</code></p>                  | Standalone Morph Target to retrieve the Delta from.                                      |
| <p>Colored Materials</p><p><code>boolean</code></p>    | Whether to export each mesh section with a different colored material                    |
| <p>Quad Export</p><p><code>boolean</code></p>          | Attempts to convert mesh to quads                                                        |
| <p>Respect UV Seams</p><p><code>boolean</code></p>     | If true, polygroup borders will not cross existing UV seams                              |
| <p>Respect Hard Normals</p><p><code>boolean</code></p> | If true, polygroup borders will not cross existing hard normal seams                     |
| <p>Quad Metric Clamp</p><p><code>float</code></p>      | Set to values below 1 to ignore less-likely triangle pairings                            |
| <p>Quad Adjacency Weight</p><p><code>float</code></p>  | Bias for Quads that are adjacent to already-discovered Quads. Set to 0 to disable.       |
| <p>Quad Search Rounds</p><p><code>float</code></p>     | Iteratively repeat quad-searching in uncertain areas, to try to slightly improve results |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.meshmorpher.com/graph/exporters/write-obj.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
