Inventor to Substance Painter

0 votes
Version: 
1.91
Date Updated: 
03/02/2017
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.91 changelog:
-Some more error checking.
-Added option to delete all objects which are not marked as green.
-When creating an align model, it is not automatically saved anymore, preventing the file from being overwritten.
-Fixed a bug which caused objects with multiple sub objects (split in Inventor) to be assembled multiple times at the same location.
-Fixed a bug which caused some objects to be placed at an incorrect location during assembling.

v1.9 changelog:
-Added buttons to the script which create a new scene.
-Added an option to flip all faces of a body object.
-Added a function to easily create seams and unwrap using those seams.
-When welding vertices, the stack is collapsed right away, preventing ProOptimizer to fail when there are a lot of objects.
-Can now change the AO distance threshold on the UI.
-Re-arranged the UI a bit.
-Objects are not de-selected anymore after welding vertices and unwrapping.
-The align model is now automatically saved after importing.
-High res FBX is exported even if no AO meshes are present when "AO mesh only" is ticked.
-UV unwrap preview is now shown if only one object is unwrapped.
-Changed the workflow to export the low res scene right after modification.
-Added collapse selected feature to collapse the stack of all selected objects.
-Toggle show flipped faces now works in every scene.
-When using "Copy replace objects", the material name is now set to the first object selected.
-Fixed a bug which caused a replaced part to be placed outside of the original root.
-Fixed a bug which caused a dummy object to be placed outside of the main root.
-Fixed a bug which caused parts which have multiple surfaces to be placed incorrectly when replaced.
-Fixed a bug which caused an error when re-importing a part.
-Fixed a bug which caused an object to lose its parent when using the function "Delete parent children".
-Fixed a few errors when a button was pressed with no object selected.
-Fixed a bug which caused the mesh resolution on re-import to behave unpredictably.

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.

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: