algorithmic modeling for Rhino
square root it.
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
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
What I said, square root it.
really thanks I think was distracted.
thanks David awesome what comes!
This new Function component is cute ! Like it !
Major spoiler alert in this discussion. don't read it people.. :)
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by