Grasshopper

algorithmic modeling for Rhino

Hello all,

This might be an easy problem and I'm just overlooking something.

I have a surface with many peaks and valleys.  I want to create a grid on it where each grid line on the surface is always the same distance away from the next on the surface.  In essence I want the curve length in-between grid lines to always stay the same.  So in plan you will have a sort of wavy grid going on.  Somewhat similar to these

I want the grid to spread away from the peaks and valleys while maintaining the curve length between grid lines.  Right now what I have is half of it.  I can only manage to get the grid to wave in one direction.

I hope that was clear enough to understand... 

Views: 13806

Attachments:

Replies to This Discussion

I attached a VBScript component which creates a balanced grid on a surface. It tries to keep all cells within every individual columns and row roughly the same size. This is not possible of course on a doubly curved surface, but you can approximate it along the edges at least.

It doesn't look like the first pictures you posted, but then the pictures you posted also don't keep the "...in-between grid lines [...] the same."

--

David Rutten

david@mcneel.com

Tirol, Austria

Attachments:

David you are an awesome man!! I don't know how you have all the time to help everyone like you do, but I just want to let you know how truly grateful I am for all the times that you have helped me.

This is exactly what I was looking for.  After I posted this I realized that achieving precisely what I was after wasn't going to be able to be done with doubly curved surfaces... But this is so close to what I was after I don't think it is going to make a very big difference!

Thanks again!!  I can't wait to look at the script and see if what I was starting to write looks similar or has a similar approach to yours.

The logic is simple, but it does involve quite a few steps. The basic idea is to create a bunch of isocurves in one direction (I create spanCount*3, up the number to get a higher accuracy), then divide those curves at a fixed percentage along their length and connect all the points with an interpolated curve.

It's probably a useful enough feature to make it into the regular component set at some point.

--

David Rutten

david@mcneel.com

Tirol, Austria

I have to ask you, how have you achieved the drawing of the first picture. I am looking to make something just like that and I can't figure out how.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service