Function Reference: renameObj

csg-toolkit: renameObj (source, target)
csg-toolkit: target = renameObj (source, target)

Rename an OBJ file containing a pure triangular mesh in Wavefront 3D model file format and its associated material library and texture map files.

Only single model in OBJ and single material in MTL files are supported.

See also: readObj, writeObj

Source Code: renameObj