algorithmic modeling for Rhino
As the pic shows, I have a grid and a surface intersected
So I was trying to get the index of the intersected grid.
I was trying to script in Python:
indice = []
for i in range(0, len(x), 1):
arrCSX = rs.CurveSurfaceIntersection(x[i], y)
for j in range(0, len(arrCSX), 1):
if arrCSX[j][0] == 2 or arrCSX[j][0]== 1:
indice.append(i)
indice= a
But it couldn't work. Does anyone know how to sort it out?
Thx
Tags:
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by