Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography


Featured Threads
  inspiration alert!!!
(36 replies)
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(37 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  spam alert!!!
(4886 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  three cheers to maxforums...
(240 replies)
  101 Things you didnt know in Max...
(198 replies)
  A Face tutorial from MDB101 :D
(95 replies)
  Maxforums.org Members Gallery
(516 replies)
  SON OF POST YOURSELF
(637 replies)
  Dub's Maxscript Tutorial Index
(119 replies)

Maxunderground news unavailable

Scaling objects
show user profile  Farks
Hello all, it's been a while.

I've got a quick question...

I'm trying to scale cylinders to differing lengths from their mid-points.

For example:
I start with a 2000mm tube which I want to shrink to 1500mm. I would like the mid-point to remain in the same place and the end points to move "in" 250mm.

Farks
read 399 times
9/30/2012 7:06:45 PM (last edit: 9/30/2012 7:06:45 PM)
show user profile  ccampbell
Center the pivot on your cylinder before scaling and be sure your in the right scale mode.











Unable to display content. Adobe Flash is required.




$Entrepreneur = if((Designer + Engineer)*Programmer){Problem Solver};



read 394 times
9/30/2012 7:11:45 PM (last edit: 9/30/2012 7:11:45 PM)
show user profile  Farks
Understood, Is there a way to do it through the unaffected (eg. not an editable polly) cylinder parameters. So I would be able to input a specific number?
read 388 times
9/30/2012 7:17:44 PM (last edit: 9/30/2012 7:17:44 PM)
show user profile  ccampbell
I dont think you can adjust height from the center mass as a primative. The attribute is not parametric for polygonal objects. But what you could do is set the height to some given amount say 10 unites high and then adjust the scale attributes numerically instead of draging the gizmo this will give you the exact height you are looking for with a little math. Say you wanted a 17mm tall cylinder but your default value is 10mm and you need to figure out the scale multiplier. we do 10*17 = 170(our multiplier is 70% larger)

In the video I made a cylinder with a height of 10mm. Then I centered the pivot which put it half way between top and bottem of cylinder(which is why the video shows the z height position of the object @ 5mm. Then right clicking on the scale button and adjusting the z axis scale factor to 200(100 is default value equal to no scaling at all) we double the height of our object giving us a new cylinder that is 20mm tall. then i move the object up by 5mm showing that the scaling exactly doubled by cylinder height.











Unable to display content. Adobe Flash is required.





$Entrepreneur = if((Designer + Engineer)*Programmer){Problem Solver};



read 370 times
10/1/2012 8:20:13 AM (last edit: 10/1/2012 8:40:09 AM)
#Maxforums IRC
Open chat window


Support Maxforums.org