algorithmic modeling for Rhino
Hi
I created a façade build out of diagrid panels. So far this is working. :-)
The building which I am creating is rotating towards the sun.
To get the sun path and vector I used gEco with Ecotect.
What I am trying to accomplish is that the façade with the diamond panels is rotating towards the sun, the rotation of the whole building is working also.
What I want to achieve with the panels is the following:
I want that the panels are perpendicular to the sunvector.
So that the panels are always "facing" the sun. So the biggest yield of the sun can be achieved. The panels are rotating around their top corner.
You can simplify the rotation to 2d because the façade is always facing the sun so the panels have only to rotate in one direction.
I hope someone is able to help me?
If you can simplify this it is also very helpful for me!
Thanks in advance,
Maria
Tags:
I think if anybody has downloaded your files and opened them, they are not responding because you are using Ecotect. I don't have it installed, so I can't give you a tested solution. However, I did give something a try:
1. By adding the +1, +2, and +3, it gives you access to the other points of the diamond. +1 is the top point you were using before.
2. Given that point on the diamond, I get the normal direction of the surface.
3. The input to this vector decompose would be your sun rays. (I was constructing a face set of vectors from some points, just to test.)
4. These decompose and compose vector components are essentially projecting the vectors onto the xy-plane, because all you say you care about is the x and y components.
5. The diamonds were pointing away from the sun, so I had to reverse the direction of the sun. There is probably a more rigorous way of doing this to account for multiple situations.
6. Measure the angle between the diamonds' normal direction and the sun ray.
7. Create an axis of rotation from the top points and bottom points of the diamonds.
8. Rotate about the axis by the amount calculated in by #6.
That's a way. I don't know if it works for you since I can use the Ecotect data. Hope it helps.
Thanks for your reply!
I really appreciate it!
I created a simplified sunarc with sunvector. I tried your way, but the panels are still not rotating towards the sun. In fact they are not rotating at all?
Maybe you can take a look at the definition. Maybe I did something wrong.
I attached the grasshopper file with the simplified "sun"
Thanks for your reply!
I really appreciate it!
I created a simplified sunarc with sunvector. I tried your way, but the panels are still not rotating towards the sun. In fact they are not rotating at all?
Maybe you can take a look at the definition. Maybe I did something wrong.
I attached the grasshopper file with the simplified "sun"
If you rotate the building, the surface you are subdividing will already be pointing in the direction of the sun vector! Therefore, each diamond is also pointing in the direction of the sun vector, no rotation necessary. What you did works exactly as I intended.
Do you want the panels to lift up? I was setting it up so that they rotated about a vertical axis. You could choose a horizontal axis. I guess I'm unclear what your final goal is.
Thanks for your quick reply!
But, what I am actually trying to do is that the panels lift up towards the sun.
So that the panels are perpendicular to the sunvector or the line between the sun and panel.
I attached a picture with a sketch of how I want it to work!
Thanks again!
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