Generating surface(Mesh or Nurbs) from a number of irregular points

A simple question, how to make a surface from an irregular number of points


2.gh (4.8 KB)

Hey, this is how I tried to solve it:
I converted it to curves using the proximity 2D component. Then I found no other idea but to bake it and use the MeshFromLines command in Rhino.


2.gh (21.2 KB)

1 Like

These are not irregular (in the sense that are portion of a ortho Grid).

Anyway, given the opportunity, the general case of that is addressed via a classic Concave Hull (nothing to do with a Convex one) algo. There’s various ways to do that the most efficient (and speedy) is using the so called Alpha Circles (in some remote way the “equivalent” of search Radius in a Ball Pivot algo). Like:

Then if some “orthogonize” (LOL) post action is required … some lines of code more are required. But I can think various tricky pt collections that need a certain attention:

None of the above is solvable without code (mid to advanced level).

And this is a Concave Hull on a random pt collection (spot the holes):

BTW: Found a couple of minutes for a simple solution (IF you have a Grid on hand):

Mesh_FromOrthoPtGrid_V1.gh (123.2 KB)

1 Like

Hi @PeterFotiadis
Thank you for the answer , that was very helpfull :pray:

Hi @hosseinkamyab96
Thank you a lot for your help :pray:

Your more than welcome, good luck

Get the trad update (added 2 result options + an auto x,y values search). Note: No planarity check is included nor some pro-level sophisticated search/test for an actual 2d pts Grid.

Mesh_FromOrthoPtGrid_V1A.gh (138.1 KB)


1 Like

@PeterFotiadis Thank you so much

And this is the update (of the update): does more things (that nobody asked), is slower (life sucks) and has more bugs (no pain no gain) > therefore is … er … what we call progress (so to speak).

Mesh_FromOrthoPtGrid_V1B.gh (137.8 KB)