mcjShareTheMtl



Introduction

This script for Daz Studio 3 and 4  ( soon 1 and 2 )

lets you make copies of a sequence of .obj files

The difference is that the new obj will refer to the same one .mtl file



this is done by replacing the line in framexx.obj that reads

mtllib framexx.mtl

with

mtllib frame.mtl


the new version of framexx.obj will be named out_framexx.obj


the file framexx.mtl will be duplicated and saved under the name frame.mtl





History


June 12th 2015 5 am release



Installation



The zip package is found at the bottom of this page

unzip it in your daz content folder, typically 


C:\Program Files\DAZ\Studio\content\ 
or

C:\Program Files (x86)\DAZ\Studio\content\


once installed, it will appear in your content library, under Studio / Scripts / mcasual 


or


C:\Users\Public\Documents\My DAZ 3D Library\


once installed, it will appear in your content library, under My DAZ 3D Library / Scripts / mcasual
 




Use


Click on the "Browse to the Obj Files to Mtl-Unify" button

Browse up to your sequence of obj files, and select one

The script will build a list of the obj files with that same prefix

for more safety, you should have a distinct folder for this sequence of obj files



There's also a Button to delete the "old" obj and mtl files

in our example, if the new frame.mtl file is present, the script will not delete it !





License

// by mCasual/Jacques 
//
// You can use this script freely for personal or commercial use.
//
// You may not sell, resell, sub-license or rent this script in any way./
//
// you may credit this script  to mCasual/Jacques
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
// PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

ċ
mcjShareTheMtl.zip
(10k)
mCasual Jacques,
Jun 12, 2015, 2:32 AM
Comments