Grasshopper

algorithmic modeling for Rhino

Hello,

I just started using Anemone and today i encountered a problem.

Definition is simple - it iterates through random point cloud and each time it picks closest neighbor for a point to draw a polyline.

When i used 'standard' loop components everything worked fine - each point was recorded on a list and polyline was created.

When i used fast loop components something strange happened. When clicking on "FastLoopEnd" all the points are highlighted, so each point should be on a list. Instead D1 output shows a list of the same points (identical to starting one).

I attached the file.Has anyone encountered similar problem or knows what the reason might be?

Thank you for your time and help.

Views: 1761

Attachments:

Replies to This Discussion

I wrote a nearly identical loop recently (January 20th):

http://www.grasshopper3d.com/forum/topics/kuka-plug-in-pavillion?co...

The difference is that I passed the index value to be culled instead of using the 'Item Index' component you did.  I haven't bothered to examine why 'Index' works in your normal loop but not the 'FastLoop', but the method I used works for you too:

Attachments:

Thanks a lot Joseph, I will check it out today :)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service