I found a forumpost that you can set these values in the unwrapuvw.ini by adding/editing the following:
[Relax]
RelaxType=0
RelaxIterations=100
RelaxAmount=1.000000
RelaxStretch=0.000000
RelaxBoundary=0
RelaxCorner=0
RelaxBySpringStretch=0.000000
RelaxBySpringIteration=10
But this somehow doesn’t work for my max. (Maybe wrong version).
After some digging I finally found the maxscript coding
(
unwrap = $.unwrap_uvw
unwrap.mappingMode 5
unwrap.relax2dialog()
unwrap.relaxByFaceAngle 100 0 1 false
unwrap.setRelaxAmount 1
unwrap.relax2()
)
However two issues:
-
relaxbyfaceangle doesn’t seem to work, i cant get it to select the ‘relax by face angle’ setting.
-
The process naturally only works like a quick button click (relaxes 1 milisecond and then stops), I need it to relax for at least 4 to 5 seconds before it finishes.
Any ideas?