generative modeling for Rhino
Permalink Reply by Vicente Soler on April 5, 2012 at 5:29pm square root it.
Permalink Reply by Mateusz Zwierzycki on April 6, 2012 at 3:00pm 
The 3D scaling factor you want can be computed using the formula
S = (A1 / A0)^0.5
Where S equals the scaling factor, A1 equals the desired area and A0 equals the current area. The "^0.5" bit means "raise to the power of 0.5" which is the same as computing the square-root of the ratio.
Note that the Expression component I'm using isn't available yet in the public build, you'll need to use the F(x) component that has 2 inputs, or of course replace the expression with pure Grasshopper components (Division and SquareRoot in that order).
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Permalink Reply by Mateusz Zwierzycki on April 6, 2012 at 3:28pm Awesome change (fx) but can it roll the formula string like panel does ?

At the moment it resizes itself based on the length of the expression.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Permalink Reply by Vicente Soler on April 6, 2012 at 3:32pm What I said, square root it.

Permalink Reply by Erick Vásquez on April 6, 2012 at 4:00pm really thanks I think was distracted.
Permalink Reply by Erick Vásquez on April 6, 2012 at 4:02pm thanks David awesome what comes!
Permalink Reply by Alpha222 on April 6, 2012 at 11:50pm This new Function component is cute ! Like it !
Permalink Reply by Marios Tsiliakos on April 7, 2012 at 3:41am Major spoiler alert in this discussion. don't read it people.. :)
Added by David Stasiuk 8 Comments 24 Likes
Added by stefano 5 Comments 8 Likes
© 2013 Created by Scott Davidson.
Powered by