Grasshopper

algorithmic modeling for Rhino

Dear Grasshopper enthusiasts,

I am trying to get my head round using hoopsnake at a multiple level of iteration.

To try and figure it out, I am using a simple exercise which consists in converting a curve into a polyline with a deviation tolerance.

I have managed to get hoopsnake to find the first line of my polyline by drawing a straight line at between curve evaluation points t0 and t1, and measuring the maximum distance between the curve and the straight line (see attached image). So hoopsnake stops when the deviation tolerance is met. Now I want to repeat this process so that it does it for the whole curve.

I have attached the rhino model (one single curve) and the hoopsnake script I developed.

Any ideas?

Many thanks!

Daniel

Views: 678

Attachments:

Replies to This Discussion

I am not sure if I need to use the same hoopsnake component or a new one....

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service