#370 Scale to fit

open
nobody
None
5
2013-10-15
2013-10-09
Ed Kolis
No

This would work as follows: there are 3 check boxes for X, Y, and Z, and three corresponding numeric fields. The selected object is then scaled so that it is no larger than any of the specified bounds.

Discussion

  • Ed Kolis

    Ed Kolis - 2013-10-09

    Oh, and there would also be a checkbox (enabled by default) that specifies proportional scaling, so that objects are not stretched when it is enabled.

     
  • Ed Kolis

    Ed Kolis - 2013-10-09

    Oh, and there would also be a checkbox (enabled by default) that specifies proportional scaling, so that objects are not stretched when it is enabled.

     
  • Ed Kolis

    Ed Kolis - 2013-10-09

    Sorry for the double post; sourceforge seems to have gone down for a moment, so I thought it didn't take.

     
  • Peter Eastman

    Peter Eastman - 2013-10-12

    How is this different from setting the size under Object Layout?

     
  • Ed Kolis

    Ed Kolis - 2013-10-12

    Setting the size under Object Layout does not enforce the constraint that the scaling be proportional in all axes to the object's current size - using Object Layout, I can inadvertently stretch an object, and I have to do math in my head or on a calculator to compute the proper bounds to scale something equally in all directions. I could also use Transform Object, but then I'd have to do math to divide the desired size by the object's current size.

     
  • Luke S

    Luke S - 2013-10-15

    So, as a very simplistic example, if you started with a 1x1x1 cube, and scaled it to a bounding box 3x4x5, you would end up with a 3x3x3 cube?

     
  • Ed Kolis

    Ed Kolis - 2013-10-15

    Yep! And if I had a 1x2x3 cube, and scaled it up to a 9x9x9 bounding box, I'd get a 3x6x9 cube.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks