Grasshopper

algorithmic modeling for Rhino

I am having some trouble making hoopsnake do what I want.

I want to create an algorithm which when run continuously checks if an input rhino point is within a given radius of the origin. If it is then it does nothing, if not then it moves the point in the x direction in 10 unit jumps until the point is outside a given radius of the origin and then terminates. I would like to be able to set the simulation such that as soon as the user moves the point outside the inner radius the algorithm automatically takes over.

I have tried to write this but at the moment it seems to ignore the input and immediately execute the movement loop.

Any help would be appreciated.

Views: 211

Attachments:

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service