Grasshopper

algorithmic modeling for Rhino

Hello everybody!

I thought this would be easy, but I'm stuck here, and I guess I could use some help please.

I need to extract triangles from a polygon, simple like that: every two subsequent vertices + the polygon's center point should create a triangle that can be extruded at different heights.

Attached follows my definition, should be more or less clear. Please ignore the first steps, they're used to create the sequence of points where the polygons are placed. Look for the red group.

I could use lots of list items to extract every pair of points but I wanted to keep it organized into data trees and I wanted to be able to change the number of sides.

I'm still a beginner, so please have patience. I tend to overcomplicate things with GH :)

Thank you very much!

LUCAS

Views: 477

Attachments:

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