Inventor to Substance Painter

0 votes
Version: 
1.8
Date Updated: 
12/12/2016
Author Name: 
BitBarrel

Introduction:

InvToSP (Inventor to Substance Painter) is a script which prepares an Inventor CAD model for texturing in Substance Painter. It works around various bugs in 3ds Max, maintaining the explicit normals at all times.

The manual is in the InvToSP chapter in "Inventor for Game Design.pdf", which is located in the same rar file as the script.

Features:

-Significant workflow speedup.
-Automatically import high poly and low poly from supplied directory.
-Fix flipped faces using automated re-import.
-Dynamically adjust mesh resolution.
-Fuse objects (collapse, attach) without destroying the explicit normals.
-Supports Unwrella for automatic unwrapping.
-Convert materials to FBX compatible materials.
-Name modifying for Substance Painter "match by name" baking.
-Add nearby objects to high res model for AO baking.
-Assemble standalone parts into final model.

Not required but highly recommended:
Unwrella for automatic UV unwrapping.

v1.8 changelog:
-Added "AO mesh only" option when exporting a high res fbx file. When enabled, the high res model without the AO geometry is not exported.
-Added an option to use the selected object only when applying materials for an ID map.
-Added a function to delete all children of a selected object's parent.
-Added a function to delete all children (except the selected object) of a selected object's parent.
-Fixed a bug which caused an error when replacing a selected part with re-import.
-Fixed a bug which caused adding AO objects to fail.
-Fixed a bug which caused transforms to be reset when assembling.
-Fixed a bug which caused duplicate materials to be renamed when assembling.
-Fixed a bug which caused some objects not to be selected when using the match by name feature.
-Fixed a bug which caused some parts to be deleted when parts where replaced with a re-import.
-Fixed a bug which caused invisible parts to be imported when a part was replaced with a re-import.
-Fixed a bug which caused a part to be placed outside of the root when replaced with a re-import.
-Regression: fixed a bug which caused an object be incorrectly placed when replacing a selected part with re-import.

v1.7 changelog:
-Random color generation has now better spacing.
-Unused align parts are now always removed during assembly.
-Fixed a bug which caused not all occurrences of a part to be replaced when assembling.
-Fixed a bug which caused separate ipt files not being replaced during assembling.
-Fixed a bug which caused parts to be assembled incorrectly.
-Fixed a bug which caused an error during assembling.
-Fixed a bug which caused unwrella not being able to unwrap a second time.
-Fixed a bug which caused an object be incorrectly placed when replacing a selected part with re-import when the object has multiple solids or surfaces.

v1.6 changelog:
-Added a setting which allows you to set the vertical axis used on import.
-Added option to replace low poly objects after being UV mapped, allowing you to use the same texture on objects in case the UV layout is lightly different.
-The high res object import now uses the vertical axis setting instead of the setting last used.
-Objects can now also be replaced after the transform is set to zero. It uses the temp objects to place to set the correct location. Don't forget to zero the transform again after replacing the object.
-Find name mismatch is now much faster to execute.
-When pressing "Import Align scene", the align scene is now automatically loaded if there is only one align scene found.
-When fixing corrupted materials, the appearances.ipt file is only loaded when a corrupt material is found.
-Fixed a bug which crashed 3ds Max when "Material for TextureSet" was pressed. It now uses a different color generating algorithm.
-Fixed a bug which caused "Cycle through AO models" to stop working.
-Fixed a bug which caused the AO object not being exported with when the Export high res button is pressed.
-Fixed a bug which caused the name mismatch feature sometimes fail to select objects which should have been selected.
-Fixed a bug which caused duplicate AO objects to be added.
-Fixed a bug which caused the proximate AO objects to be misaligned.
-Removed all undo functionality as this is buggy and prone to crash 3ds Max.
-Removed Substance Painter tutorial from the manual to make it more focused on the InvToSP workflow alone.

Installation:

You need to create a custom UI button and add the InvToSP script to it.
Category: BitBarrel

Installation tutorial (starts at 1:55)
https://www.youtube.com/watch?v=FZ-SR0C0-tc

Updating:

1. Right click your InvToSP button -> Edit macro script.
2. Replace all code with the new code (copy, overwrite).
3. Press Save.
4. Press CTRL+E (to run, but you can't see anything yet).
5. Press the InvToSP shortcut button.

Version Requirement: 
3ds Max 2017
Other Software Required: 
Unwrella
Video URL: