algorithmic modeling for Rhino
Hi everyone,
Im doing a solar oriented geometry, that tries to maximize exposition. For explainability and simplicity i've only included 12 vector in this definition, but it is supposed to work with large sets of data (~3months, with 1 vector per hour). I have the solar vectors and i would like to add them on a given point, but only if:
the lines connecting the sun position to the center of the model do not intersect any given geometry. That is, i need to select from the group of lines, only the ones that do not intersect (BBX+CLX components) the brep. How can i do that?
Given this rule i also dont see how can i add several vectors, since i've only seen 2 vectors adding via the mathematical addition tool. Do i need to set them to one point?
[edit] i've solved this issue using mass addition tool for the 3 components (x,y,z) and feeding it with the flattened vector list.
Thanks in advance for any suggestion
Tags:
:) looking forward to seeing your results. hope this helps! -ethan
thank you very much, such a clever definition : ) Ill keep updating the results
Mesh|Ray intersect will do this for you.
The output H indicates hit or miss. You can then cull the list of sun vectors that intersect a building. Inverting the P input of the cull pattern component will give you the vectors that don't intersect.
(you can convert all of your building geometry to meshes, then join all the meshes). Even though the buildings are "separate objects", by joining them, GH will see them as one mesh, and calculate intersections accordingly.
In the example below, I only grabbed 2 of the building objects for simplicity purposes.
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