JurassicParkTrespasser/jp2_pc/Tools/MAXScript/UVManager.ms

20 lines
477 B
Plaintext
Raw Permalink Normal View History

2018-01-01 22:07:24 +00:00
Utility UVManager "UV Manager"
(
pickbutton gatherInfo "Gather UV Information"
checkbox SelFaces "Selected Faces"
on gatherInfo picked obj do
(
CObj = obj
nf = CObj.numfaces
format "%\n" CObj.name
for i = 1 to nf do
(
format "Face Index: %\n" i
Cface = (getface CObj i)
format "\tVert: % %\n" CFace.x (gettvert CObj CFace.x)
format "\tVert: % %\n" CFace.y (gettvert CObj CFace.y)
format "\tVert: % %\n" CFace.z (gettvert CObj CFace.z)
)
)
)