Grasshopper

algorithmic modeling for Rhino

Hi All,

I'm having trouble generating a surface from a grid of points that I extracted from a regular plane surface.

I drew a curve, made a surface from it, then divided it into points. I then created a pulling point based on the centroid of the original surface and placed it below the surface. After that, I created vectors between the surface points and the pulling point, then used some power and multipliers to 'pull' the points from the surface. However, when I plug in these points to the "Surface From Grid of Points", then plug in the same Ucount that I used from earlier, I get the error "UCount value is not valid for this amount of points" and I can't generate the surface I want.

I've included my definition and model files. What am I doing wrong? Is there an easier way to do this?

Thanks

Views: 3173

Attachments:

Replies to This Discussion

There's a couple of things you've got to be aware of. If you divide a surface in x number of segments. The resulting number of points is x+1. So you must add 1 to the ucount value.

Another problem is that if you divide a trimmed surface, the resulting list of points won't be a grid. Some rows of points might contain more points than others. To solve this, first use the untrim component on the surface. Divide the resulting untrimmed surface and use these points (after moving them) on the "surface from points" component. The last step would be to use the "copy trim" component to add a trim to the resulting surface using the original trimmed surface as the source of the trim.
I did what you said and it's working now. I didn't realize trimmed surfaces had an effect on how the points are generated; now I have a better understanding of surface dynamics in Rhino/GH. Thanks a bunch.

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