Grasshopper

algorithmic modeling for Rhino

I do not think the native components of grasshopper can solve this problem. I'm not sure !


From curve and a point I want to create a polyline with crossings on curves with a given distance.

Maybe with a python component it may be possible.

Views: 674

Replies to This Discussion

Hi Remy,

I'm not sure if this can help,

Given the starting point you can make a sphere of radius 5. Intersect this sphere with the next polyline and find the next points. Select one or all of them and make new sphere(s) with the same radius. Intersect with the next polyline. Apply the algorithm recursively until you intersect all polylines. Select all the intersection points and create the polyline.

I agree with tzin tzon but with this method you will find two intersection points, so you will need to discard one...

 I think it will be possible with Hoopsnake component. Create circle round point, find intersection with line (one of two points), create line with 2 points and so on with iterations....

Yes, you will need some special kind of looping as the outcome of one iteration is needed for the next. So either HoopSnake or a VB/C#/Python script. Or, if you have a fixed number of curves, repeat your logic once for every curve.

 

--

David Rutten

david@mcneel.com

Tirol, Austria

Thanks for all.

David I'm study hoopsnake solution ...

But it's my first test !

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