algorithmic modeling for Rhino
Hi all,
I am new at this so here it goes. I am working with a sample file (04Box2pointcontrolladybugradiation) from Dr Yun Kyu Yi in order to understand how galapagos works. I found the file in this link ;
http://www.grasshopper3d.com/group/ladybug/forum/topics/knowledge-s...
My question if it is possible to change the shape of the box maintaining the same volume during the optimisation with galapagos? I also check this discussion http://www.grasshopper3d.com/forum/topics/change-shape-but-maintain..., but in this case does not work...
Any advice is welcome!
Thanks
Tags:
If you wish to retain a volume you have to relinquish at least some control over the shape itself. In the case of a box you have two options:
Which of these do you want?
Thank you for your answer! I want to choose all dimensions freely and then scale the entire box.
More of a math lesson than a Galapagos one, and (T/V)^(1/3) wasn't obvious to me for anything but a uniform cube, since the cube root only spits out one number for the whole non-uniform box, a value not corresponding to any edge of it, but I'm a benchtop chemist by training.
Volume increases with the third power of the linear size, regardless of the shape. So to increase a certain volume by a factor of 8, you have to double the size, because 2^3=8. Conversely, to make a volume a factor of x bigger, the scaling factor needs to be x^(1/3) which is the same as the cube-root of x.
In this case we don't just want to make the volume x bigger, we need to get a specific volume, so the first step is to compute x, which is the Target volume divided by the Current volume.
In order to get a specific area, just replace all cubes and cube-roots with squares and square-roots.
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by