Grasshopper

algorithmic modeling for Rhino

i am trying to extract a subcurve of specific length from a closed polyline, from anywhere on the polyline...like sliding a straw on a string

Views: 1201

Replies to This Discussion

How's this?

Attachments:

I found a problem with my solution aside from the fact that you wanted a polyline. The above  'solution' fails when the length parameter is greater than the curve's length so the 'straw' gets cut off as it approaches the curve's end point. Here is a solution which takes care of that and allows the 'straw' to travel completely around the curve by resetting the seam to be the start point.

Attachments:

thanks Ethan! thats exactly what i was looking for

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