Grasshopper

algorithmic modeling for Rhino

Lines between closest points of two point clouds

Hi All,

I am a 3D modeler working with very large point clouds from 3D laser scanners.

I have a specific task to connect the closest matching points of two almost identical point clouds that form the inner an outer surface of a shell object.

The result would be a number of very short lines going from the points on the outside, to the closest points on the inside.

I am not familiar with Grasshopper at all and would greatly appreciate any advice on how to do this.

Regards,

Mike.

Views: 2995

Replies to This Discussion

To just find the [closest point] is fairly easy. In case you want to match them though, so none of the points is used twice it will get more tricky by the use of an iterating process. 

Attachments:

Hi Phillip, as I mentioned, I am not familiar with Grasshopper at all.

How do I use this ?

Cheers,

Mike.

Reference your two point clouds.

You will only need the two highlighted components of the definition and replace their inputs by either point collection.

To get a little into it, I can highly recommend the Primer.

Best,

Phillip

Example of an iteration process:

(34000 points in 2 lists, can probably be optimized)

The C# component is doing a simple iteration, the components after clean the lines which are too long.

You perhaps need something similar to http://www.grasshopper3d.com/forum/topics/selection-of-a-point-a-li... though

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service