Page 1 of 1

scale not from the middle of the object

Posted: Wed May 16, 2012 2:51 pm
by naninuneno
Hi everyone,..
So, i have a question :)
Assume I have a Cylinder and now i want to scale it. What i know is, i can scale (make it bigger / smaller) this cylinder from the middle of this cylinder. Can i scale this cylinder from one side?

Image

So I mean, if you see the image above, i want to make this cylinder longer but the top of cylinder is still in their position. I hope my explaination isn't confusing you :oops:
thanks before

Posted: Wed May 16, 2012 3:33 pm
by CoDEmanX
well in your case, go to edit mode, face selection mode

select the cylinder's bottom face(s), then grab (G key), limit to z axis (Z key) and either type a value and hit return or move mouse and click.

you could also snap the 3d cursor to one of the top vertices, then change pivot point to 3d cursor and scale the object (you may limit it to z axis again).

Posted: Wed May 16, 2012 4:03 pm
by naninuneno
aah i see. I got your way with pivot center. Do you know maybe how to change the pivot mode with python? and to set 3D cursor in a current position?
huge thanks :)

Posted: Wed May 16, 2012 10:37 pm
by CoDEmanX
well, it's weird

doing a scale transformation in UI uses the pivot point

but if using bpy.ops.transform.resize, it doesn't take it into account

and it seems to lack a pivot_point property...

you should file a bug report!

Posted: Tue May 22, 2012 11:24 am
by naninuneno
i have another problem..it works with 3D cursor pivot point to make the cube longer in one side. But,..

http://blenderartists.org/forum/attachm ... 1337677045

if you see the pic above, actually i want to make an arm longer in one axis. but, it looks not proportional with 3D cursor. should i select the hand also? i tried to select the hand too, but hand will be expand to, which i don't expect.. maybe someone has Idea? heeelp
thanks before!