generative modeling for Rhino
I have an irregular grid of cells (city blocks) that have individual curves between the sides of the cells (street center lines). See attachments for clarification. I am trying to create a python script that can input all the blocks and all the center lines and will output the neighbors for each block. For instance in the attached image the green block would output a list of the red blocks (neighbors). I can get different types of information like branch items, the center lines for each block or shared edges that seems useful but I having trouble getting the right output that I need. If anyone has any suggestions it would be very helpful. Thanks
Tags: Cell, Python, Topology, neighbors
Permalink Reply by marshall prado on April 22, 2012 at 1:51pm It shouldn't matter but this file is closer the the image.
Permalink Reply by marshall prado on April 22, 2012 at 4:59pm Ok so I got it to work, but if anybody has ideas bout speeding it up, let me know. I slows down quite a bit on larger data sets.
© 2013 Created by Scott Davidson.
Powered by