Poly Split per assigned shader 1.0.1 (maya script)

split perFace shader assigned polyGeo


License Type:


File ID:


File Size:

6.5 KB

Created / Updated:

Feb 02, 2007 / Jan 19, 2008


Tylney   More free downloads from this user See users marketplace items See this users portfolio Send a Private Message


linux, mac, windows




7.x, 8.x


Split Poly geometry using per face shader assignment.

scriptName: tt_splitGeoFromMultiShaderAssignments

function: creates separate poly objects from a mesh or multiple meshes and creates separate objects according to multiple per face shader assignments.

I originally wrote this to create a workaround for  the renderLayer limitation that breaks every shader assignment when multiple shaders are assigned to different faces in renderLayers.  Turned out to be very handy as even smoothed and proxied geometry still retained their original shape (if you have the right smoothing settings on!).  Also used in the industrial design field where massive contiguous meshes have multiple shaders assigned to them for surface distinction, this script splits em up in no time.

usage: either select polyGeo with multiple shaders assigned that you want split or run the included script tt_selectObjectsWithMultiShaderAssignments, which selects all polyObjects that have multipe per face shader assignments.  Then run tt_splitGeoFromMultiShaderAssignments

note: you may have had to open the hypershade panel once before using this script, as it needs scripts sourced from that window.

any feedback, improvements, complaints etc. welcome either by e-mail tylney@bold-vfx.com or in the support forum.  would also like to get feedback on how and where yu may have used the script, thanks

Have fun,

Tylney Taylor

Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum to ask any questions.
Please rate my product in the Review section.