JJ OBJ Toolkit Documentation

Download

Latest version - v1.0

Compatibility - Maya 2017, 2018

This toolkit is a set of simple scripts tailored to provide clean, easier and more effective workflow for handling OBJ files in Maya. Thanks to the Import as blend shape options it keeps all your scene hierarchy, geometry UVs, shader assignments etc.

Installation

Copy jj_objToolkit.py from the zip file to your scripts folder. Usually at these locations ():

  • Windows - \<user’s directory>\My Documents/Maya\<version>\scripts

  • MacOs - /Users/<user's directory>/Library/Preferences/Autodesk/maya/<version>/scripts

  • Linux - $MAYA_APP_DIR/Maya/<version>/scripts

Run following script or make a shelf button with following script (How to make a shelf button)

import jj_objToolkit
jj_objToolkit.showUI()

Import

Choose one or multiple OBJ files. All OBJS will be imported and grouped in OBJ_import_grp (unless Import as single geo is enabled). The script will name every geometry based on the file name free from all the clutter Maya usually imports with OBJs (shaders, shading groups, faceted normals, selection sets, etc.)

Import Single as blendS

Select one geometry and choose an OBJ file which will be applied as a blend shape. A controller will be automatically created with a blend value attribute. If OBJ is not a valid geometry for a blend shape, it will be grouped to OBJ_import_grp.

Import Batch as blendS

Choose the OBJ files which will be applied as blend shapes to corresponding geometries in the scene based on matching OBJ and geometry name. A controller will be automatically created with a blend value attribute. If OBJ is not a valid geometry for a blend shape, it will be grouped to OBJ_import_grp.

Import Options

Import as single geo - When enabled multiple OBJ files will be combined to a single geometry

Delete history - When enabled, a blend shape controller will not be created and construction history will be deleted on blend shaped geometries

Export

Select one or multiple geometries or parent of the hierarchy. All selected geometries or geometries found in the hierarchy will be exported as individual OBJs (unless Export as single OBJ is enabled) and they will be corresponding to their geometry names.

Export Options

Export as single OBJ - When enabled, selected geometries or the hierarchy will be exported as a single OBJ file.

Force Overwrite - skips Maya's dialog when overwriting existing OBJ file.