Community
I would like a way to script the Align of UVW map to center of an object like in the UVW map dialog
TIA
kenc
Solved! Go to Solution.
Solved by denisT.MaxDoctor. Go to Solution.
tm = $.modifiers[uvwmap].Gizmo.transform
tm.pos = $.center * (getModContextTM $ $.modifiers[uvwmap]) * (inverse $.objecttransform)
$.modifiers[uvwmap].Gizmo.transform = tm
I hope I didn't forget or mix up anything.
Can't find what you're looking for? Ask the community or share your knowledge.