# [name]

An exporter for the [link:https://en.wikipedia.org/wiki/Wavefront_.obj_file OBJ] file format.
[name] is not able to export material data into MTL files so only geometry data are supported.

## Import

[name] is an add-on, and must be imported explicitly. See [link:#manual/introduction/Installation Installation / Addons].

`import { OBJExporter } from 'three/addons/exporters/OBJExporter.js';`

## Code Example

`// Instantiate an exporter const exporter = new OBJExporter(); // Parse the input and generate the OBJ output const data = exporter.parse( scene ); downloadFile( data );`

## Constructor

### [name]()

Creates a new [name].

## Methods

### [method:String parse]( [param:Object3D object] )

[page:Object object] — Object3D to be exported.

Generates a string holding the OBJ data.

## Source

[link:https://github.com/mrdoob/three.js/blob/master/examples/jsm/exporters/OBJExporter.js examples/jsm/exporters/OBJExporter.js]