File: OBJExporter.md | Updated: 11/15/2025
An exporter for OBJ.
OBJExporter is not able to export material data into MTL files so only geometry data are supported.
const exporter = new OBJExporter();
const data = exporter.parse( scene );
OBJExporter is an addon, and must be imported explicitly, see Installation#Addons.
import { OBJExporter } from 'three/addons/exporters/OBJExporter.js';
Parses the given 3D object and generates the OBJ output.
If the 3D object is composed of multiple children and geometry, they are merged into a single mesh in the file.
object | The 3D object to export.
---|---
Returns: The exported OBJ.