Grasshopper

algorithmic modeling for Rhino

Hello all.

For our project we are looking for panelling of a closed surface based on geodesic curves. Has anyone experience with this? The problem we have at the moment, that start end end point in one direction are on the same location, so that no curve is created. So how can I say the line to go the other way around the surface?

Thank you for your help.

Views: 1510

Replies to This Discussion

Hi Axel,

geodesic operates fundamentally in UV space, measuring pertubations in XYZ space. If you want to simulate a piece of elastic string then it probably makes more sense to work purely in XYZ space.

I attached a very coarse algorithm for doing geodesics in XYZ space. Basically it's smoothing a polyline, then projecting all points back onto the shape. Repeat until the deviation between two states is less than some tolerance value.

It's an approximating algorithm and will never reach the correct value. It'll only ever get closer and closer, but taking longer and longer to do so. Let me know if this sort of solution is more helpful to you.

The inputs are a Brep over which the geodesic should be solved, a curve which is the geodesic starting point and a tolerance value.

--

David Rutten

david@mcneel.com

Tirol, Austria

Attachments:

Hi David,

thank you very much for your help. But for some reason it doesn't work. The VB component doesn't return a curve.

Hi David,

me again. Now it works, wrong connection. Sorry. But it still returns just the curve in the "short" direction between start and end Point.

Attachments:

Can you post the geometry so I can try it here?

--

David Rutten

david@mcneel.com

Tirol, Austria

Hi David,

thank you for your help.

At the moment it is just a lofted surface of three closed curves. Nothing specific at the moment.

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