Grasshopper

algorithmic modeling for Rhino

Hello,

I need to do some simple thing : i have 4 points in the same plan which are disordered (for some reason...). How can i build a surface by those 4 points ?

When I use the PLine component, the resulting surface is wrong :

Thank you in advance,

JLH

Views: 344

Attachments:

Replies to This Discussion

The problem is that your 'Pt' param inputs are out of sequence and the PolyLine component goes from one to the next in the sequence you attach them.  By reconnecting them in the correct sequence, the PLine doesn't cross itself.  Also, you need to toggle the "C" (Closed polyline) input to connect the end to the beginning.  And then use the 'Boundary' component to create the surface from the result.  The 'Planar' component is for testing curves, not creating a planar surface.

Or you could use the '4Point Surface' component, but again, you have to connect the points in the right sequence.  Code attached.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service