Grasshopper

algorithmic modeling for Rhino

Hi everybody,

i have a problem. i am trying to make a cell from a point cloud. so the set is a have a set of point cloud and each point to connect with 7 other points to make a deformed box shape. i used a mesh proxy to determine the group points. but from here i dont know how to make a surface from this point group, or even make one surface from 4 point.

thank you

Views: 904

Replies to This Discussion

if you are going to make a closed box, then it will be very important to put the points for each box in the correct order, which means you will need to find a consistent way to sort the set of points corresponding to each box.

some possible ideas
You could sort them withe the x, y, and z values of vectors from their shared center point to each of them.
You could sort them by their xyz values.

It will probably take some trial and error to determine the hierarchy of sorting between x, y, and z values, but you could definitely determine which ones are above, to the right, to the left, below, and so on.

good luck
also, the convex hull component might be of value in sorting the points, and for figuring out the best way to orient any given box.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service