Grasshopper

algorithmic modeling for Rhino

Hello all, 

I have done a 3d triangulation with a set of points in grasshopper and I was wondering if there was a way to take each point of the set and have a list of all the points that are connected to it by the lines of the triangulation. 

What would be the way to do it with an assembly of existing components and what would be the way to do it with with a code? 

Thanks 

Views: 833

Replies to This Discussion

By triangulation you mean that you've done a mesh either a Dalauney one or a Ball-Pivot one and you want ways to examine the mesh connectivity? (vertices, edges, faces, cats, dogs whatever).

If yes and with regard the code part of the question get this (using SandBox in parallel as well).

Load R file first (no internalized data since GH can't memorize a thing or two).

best, Peter

Attachments:

Thanks for the answer. 

Its not actually a mesh, its a set of lines, would it still work?

No, it's created to inquire meshes.

Use Sandbox or Topologizer if you have "line graphs" in mind.

BTW: by what means you triangulated your points? Using some custom code of yours?

Yes, its a triangulation based on the voronoi 3D. 

This would be one way with GH components(supposing all you have to start with is a list of lines):

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service