Diagrid noding at floor level

Hi, I am just wondering if anybody here has a solution form my problem. I am using lunchbox component to create diagrid on a surface; however, some of the nodes of diagrid do not align with the floor. I would like to align all node at floor levels. Is there anyway I could achieve this? Please see photo below. For an example I would like to have that node at floor level 2 from top and. How can I revise my script to achieve this? I use rhino 5 and Gh0.9.


Question-Diagrid.gh (10.5 KB)

You may want to use the multiple of the floor division number for U division.
The v division will have to be even number.


Question-Diagrid_re.gh (12.7 KB)

1 Like