algorithmic modeling for Rhino
Hello, I am new to python/gh programing.I'm testing with a very small program, but it doesn't work as I expected. It processes each point three times, as you can see.
I suppose it must be some stupid mistake, but I have been searching for it and I've not been able to find a solution.
Could someone make me any suggestions?
Tags:
Is nudos a list input? I think the loop is iterating over the coordinates in each point, rather than over the list of points as a whole. That explains why everything is times 3 (once for x, y and z).
No, is a Item input.
That is what David was saying: you need to set the "nudos" to "List Access".
And change the:
xpunto = nudos.X
to:
xpunto = n.X
I'm afraid that this change does not work
Hi Enrique,Check the attached files
yes, thank you very much, this solves the problem
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