Grasshopper

algorithmic modeling for Rhino

Using an 'if' comment to create a series of surfaces from a grid of points

Hi,

I'm trying to create a series of surfaces from this grid of points.
joining points (0,1,7,6) (1,2,8,7) etc ... 
I have managed to do this using evaluation and creating points by doing x+1, x+7, x+6 and then creating a surface from 4 points. But the problem is when I reach the end of the line I don't know how to create a 'if' comment to say don't join points (5,6,12,11) does anyone know how to do this?
Also how can I make the script parametric so that regardless of how many points in the x and y directions the surfaces drawn are still correct?
Thanks very much.
Joe

Views: 288

Attachments:

Replies to This Discussion

Hi Joe, here's an other approach,
you could just create a surface from these points and then use Isotrim(SubSrf) component to get the individual panels.

Attachments:

Hi Pieter,

Thank you so much, that works perfectly.

Joe

Hi joe

   You can try these four methods

Attachments:

Hi,

Thanks very much, that's really helpful, I appreciate it. 

Joe

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service