Hi guys,
So im trying to make a sort of population density model thing at the moment and have ran into 2 issues.
First off is I cant seem to find the correct centre cell of the grid. I have been trying to do it by: list each cell, List Length, Divide list length by 2, and then retrieve that item from the list.
But it seems to pick the one above the item I am after (see below)
Although as I’m typing this, i have just realised that computers start their list at 0 instead of 1 so maybe that is what’s causing my issue here? if I’m right, would adding 1 to the number item im after correct this issue?
So My second issue is that i would like to extrude each cell that is within the defined boundary (the circle). So i constructed a mesh with the points but am unable to extrude the mesh. so where am i going wrong here?
I would like something that looks similar to this for my end result just with some other variables i would like control over. Obviously I’m not that far down the line of this script yet. So if I’m going about this all wrong, then please feel free to push me in the right direction.
Here is the script currently
Diagram Script V1.gh (16.4 KB)
Thanks in advance for any help guys!