SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.


SM Forums / Lounges / Maya Basics & Newbie Lounge / Scaling problem

Maya Basics & Newbie Lounge Please post in this section ONLY if your question doesn't fit in anywhere else on the forum, or if you're not sure which section it's relevant to. We also have Free streaming trial available.

Join the conversation. Reply to post
 
Thread Tools
08-07-2012, 03:12 PM   #1
digitalone
Registered User
 
Join Date: May 2012
Posts: 31
Scaling problem
Hi peeps, im working on this file and anytime i scale an object i get the following message:

scale -ws -r 1 0.893969 1 ;
// Warning: Non object-space scale baked onto components. //

What does this mean, really need help on this one
  Reply with quote
08-07-2012, 06:17 PM   #2
PixalZA
Lifetime Member
 
PixalZA's Avatar
 
Join Date: May 2011
Location: Riyadh, Saudi Arabia
Posts: 525
A google search produced a couple of hits which all point to posts that indicate you are not scaling your object along the object axis. Double click on the scaling icon on the left of the screen to bring up the scale tool setting and hit the "Reset Tool" button or manually select "Object".
__________________
Earth: The crazy asylum of the universe.
  Reply with quote
08-07-2012, 10:26 PM   #3
stwert
EduSciVis-er
 
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
I've seen that a few times and safely ignored it. Actually I'm just assuming it's fine. If there are potential downstream problems, I've yet to see them, but maybe someone with more experience can chime in.
  Reply with quote
16-07-2012, 07:56 AM   #4
digitalone
Registered User
 
Join Date: May 2012
Posts: 31
Thanks guys
  Reply with quote
16-07-2012, 08:01 AM   #5
ctbram
Moderator
 
ctbram's Avatar
 
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,997
changing the scale tools mode to object, as pixal suggests, will stop this warning message.

So what does the warning mean?

This has happened to me in the past and I was curious to I did some fiddling and here is what I found. First we need to understand there are OBJECTS and COMPONENTS. If you move. rotate, or scale an object - like a cube - it's translation, rotation and scale values will be altered. But if you move the components of the cube - like the verts - it's translation, rotation, and scale values are not changed.

To see this create a cube and grab some vertices and move them around and look in the channel box and you will see the translation, rotation, and scale numbers do not change.

Now, with the scale tool in object mode (the default), scale the object in all three axis (drag the middle yellow box of the manipulator) and you see the x, y, and z scale values all change.

Next, just scale the cube in one axis by lets say pulling on the red x-axis handle you see the scale x value change.

Up to this point everything should be intuitive.

But now lets change the scale tool mode to world.

First scale in all axis again and note the the x,y,z scale values change. Okay that is no change from when it was in object mode.

Finally, scale along the x-axis and take note that the scale x value does not change in the channel box and you get the warning message that the scale has been baked into the components!

So when scaling along an axis in world mode it's like you grabbed all the vert (components) of the cube and scaled them this changes the position of the components (the verts) but not the scale values of the object.

So that is what is happening, although I am still not clear on why you get this behavior only when scaling along a single axis though.



The gotcha in all this is if you scale along an axis while NOT in object mode it has no effect on the scale so if you started with all the scale values at 1,1,1 and you scaled to 2,2,2 and then scaled (while not in world mode) 1 unit say along the x-axis then even though the object scale is now really 3,2,2 it will still say 2,2,2 and so if you set the x,y,z scale all to 1 instead of a perfect (1 1 1) cube you will have a (2 1 1) box!
__________________
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram; 16-07-2012 at 08:36 AM.
  Reply with quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scaling Problem johnsonmax Maya Basics & Newbie Lounge 2 17-09-2014 03:02 PM
Problem when switching to soft selection mode Skalman Maya Technical Issues 2 23-04-2012 08:50 PM
Scaling vertex problem MayDayBC Maya Modeling 3 17-11-2011 05:48 PM
object import: scaling and/or translation problem... nomad_95 Maya Basics & Newbie Lounge 1 10-09-2008 07:20 AM
Problem scaling!!!! mustafallica Maya Technical Issues 2 26-11-2006 01:22 AM