Grasshopper

algorithmic modeling for Rhino

Hello all, I am hoping someone would be able to help with this.

I got the definition to work the way I'd like it to but I am sure there are much better ways to achieve the same thing.

I am aiming for a surface grid subdivision where the proportions of the cells are roughly maintained. Hence as a surface becomes wider the spacing between the cells increases accordingly, in both directions.

The method I have been using is as follows

-Surface lofted between two lines, of different length and not parallel

- the shorter line is divided in a number of subdivisions of choice

-the length of a segment of the base line is evaluated and reproduced on the adjacent edge of the surface, and then on the other edge proportionally to the length ratio between the adjacent edges. A line between the two points gives the next grid subdivision (this way the cells are quasi square)

-and so on and so forth.

Attached definition shows how I have achieved this by copying over and over the same definition. How can I achieve this more efficiently? Hoopsnake perhaps? I have no idea how that works, please help!

Best

Gio

Views: 336

Attachments:

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2026   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service