Use SketchUp Pro to export your model in OBJ format.
Wavefront Technologies developed OBJ for its Advanced Visualizer software. Other 3D software developers have since adopted this open format. OBJ files are text-based and support free-form and polygonal geometry. When you export from SketchUp, an additional .mtl file describes the materials defined in the .obj file.
.mtl
.obj
The following sections explain what OBJ supports and how to export an OBJ file from SketchUp Pro.
What OBJ supports
Before you export your SketchUp model, check these OBJ format limits and behaviours:
- No spaces are allowed in file names. SketchUp replaces each space with an underscore (_) when you export.
- Each SketchUp face exports as one polygon (unless you tell SketchUp otherwise). If your target application needs triangulated faces, select Triangulate All Faces when you export. This helps avoid triangulation errors, such as missing or reversed polygons.
- OBJ supports a flat set membership hierarchy, not a tree hierarchy. OBJ identifies which objects belong to a set, but cannot show whether one set belongs to another. SketchUp’s Outliner uses a tree hierarchy. It can show a cushion as a subcomponent of a sofa, or a leg component nested inside a chair component.
- SketchUp outputs polygon faces only. SketchUp cannot export NURBS or advanced OBJ entities.
Export an OBJ file
Follow these steps to export an OBJ file from SketchUp Pro:
- Select File > Export > 3D Model. The Export Model dialog box opens.
- Choose where to save your OBJ file.
- In the Export TypeSave as type drop-down list, select OBJ File (*.obj).
- (Optional) Rename your file in the File Name text box.
- (Optional) Click Options to open the OBJ Export Options dialog box. Choose your options from those explained below, then click OK to return to the Export Model dialog box.
- Click Export to save your OBJ file in the location you chose.
- Select File > Export > 3D Model. An export dialog box opens.
- Choose where to save your OBJ file.
- In the Format drop-down list, select OBJ File (*.obj).
- (Optional) Rename your file in the Save As text box.
- (Optional) Click Options to open the Export Options dialog box. Choose your options from those explained below, then click OK to return to the export dialog box.
- Click Export to save your OBJ file in the location you chose.
SketchUp Pro offers these OBJ export options:
- Export Only Current Selection: Select geometry in your model before you start the export, then select this checkbox to export only that geometry. Leave it deselected to export the whole model.
- Triangulate All Faces: Select this option to export triangles instead of multisided faces.
- Export Two-Sided Faces: Select this option to export each face twice, once for the front and once for the back. This doubles the number of polygons but makes the model look more like it does in SketchUp. Both faces render, and the export keeps materials applied to the front and back faces.
- Export Edges: Select this checkbox to export SketchUp line entities as OBJ line entities. Leave it deselected to exclude edges. You can usually leave it deselected because most applications ignore edges when importing OBJ files.
- Export Texture Maps: Select this checkbox to include textures applied to faces in your OBJ export.
- Swap YZ Coordinates (Y Is Up): Select this checkbox to swap the Y (green) and Z (blue) axes so the Y axis points up. Some applications use this orientation by default. Leave it deselected to keep the default orientation with Z pointing up.
- Units: Choose an option from the drop-down list to set the unit size in the OBJ file. Leave Model Units selected, the default, to use the same units as your SketchUp model.