PDA

View Full Version : Unwrap Mod - How to scale with uv coordinate 0,0 as base???


rsf
03-02-2005, 01:20 AM
Hello.
I'm trying to find a way to scale selected faces in the unwrap modifier with 0,0 as the base.
The only options I find for the base is the selection center or an axis in the window space.
Is there a way to have the base in the uv coordinate 0,0 ??
Thanks

Bobo
03-02-2005, 04:27 AM
Hello.
I'm trying to find a way to scale selected faces in the unwrap modifier with 0,0 as the base.
The only options I find for the base is the selection center or an axis in the window space.
Is there a way to have the base in the uv coordinate 0,0 ??
Thanks

macroScript UVWCenterToOrigin category:"Forum Help"
(
theMod = modPanel.getCurrentObject()
if classof theMod == Unwrap_UVW do theMod.setPivotOffset -(theMod.getSelCenter())
)

This will place the gizmo's center at [0,0].
Press and hold the Alt key and scale relatively to it...

rsf
03-02-2005, 11:00 AM
Thanks a lot Bobo. :-)
My background with autocad always make me miss this gizmo things http://www.cgtalk.com/images/icons/icon10.gif
Nevertheless I need to control this inside a script I'm making and didn't find any method to scale based on pivot, just selection center and some axis in window space.
I guess I need to find a vector to move selection after I scaled it right?

CGTalk Moderation
03-02-2006, 12:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.