algorithmic modeling for Rhino
Hello everyone,
I have here a gh for a brick wall with two kinds of bricks (in the ends) and I would like to know if there is a way to verify if the bricks aren't intersecting.
I was trying to fuse all the lists with «insert list» and then apply a «dispatch» or something similar but I failed at the very begining of my though.
I you guys could help me I'll be most thankfull to you.
Thanks,
Manuel Oliveira
Tags:
Hello,
what I thought about is using one more Dispatch component with the default pattern, thus dividing your bricks into two lists (with no bricks next to each other belonging to the same list). After that, try the Solid Intersection component. Its output shall show you whether you have an intersection between your bricks or not.
Gesthimani
Hi Gesthimani,
sorry but I only realized today that the gh definition I've uploaded was incomplete (it missed the second type of bricks).
The gh definition that I'm now uploading is complete and, already has (I think :P) what you were advising me to do. It works well in general but, if I change the number of bricks in a row, the definition isn't "smart" enough to keep up with the modified parameters. Do you have any sugestion for that?
Thanks
Manuel
Hello again Manuel,
I don't know if you have solved your problem, but I thought of something that might work. What you are saying is true, my previous suggestion only works for the definition that you had initially uploaded.
So, as you can see from my definition, I used the dispatch component as I had advised you to, only to check intersections between the 1st type of bricks.
Then I tried to check intersections between the 1st type of bricks and the 2nd ones, on the one side. They are grafted, so I guess it's checking for intersections between all of them.
I also proceeded like that with the 1st type of bricks and the 2nd ones, on the other side.
I am not sure this is the best way to sort things out, but I still hope that was helpful.
Gesthimani
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