Grasshopper

algorithmic modeling for Rhino

Firstly apologies if some of my terminology is off - I suspect this may be the reason I've failed to find the answer to the following question within this forum.  If my query is not clear enough please let me know and I will attempt to clarify.  Thanks in advance!

My aim is to be able to use this definition with a large number of points captured via a Kinect, at present I'm trying to work with a group of points totalling in excess of 700000.

I only require a certain degree of accuracy and see this method as potentially being faster than the point inclusion method using meshes or BREPs as a method to effectively down sample the point group / cloud.

I do not want to simply divide each value by a specified number, round and then multiply as this method whilst pretty good produces "flatspots" on the resulting group of points.

The attached file shows my successful work to date, I suspect my issue lies with data matching but would grateful of any feedback or suggestions the forum could provide.

Thanks

Rob

 

Views: 1065

Attachments:

Replies to This Discussion

So I've made some progress but the definition is still restrictively slow...  Its taking 18 seconds to process 10K points and I wish to be able to process 700K.  Any thoughts or suggestions as to how this definition could be improved would be great.

Attachments:

Two solutions, the quickest one just uses some custom C# to compute the averages.

Of course the Populate3D component still takes 18 seconds, but since you have some other source of points that should not be an issue.

Attachments:

David firstly thank you for taking the time to look at this.  

The C# solution is brilliant and fast!  

The other is really interesting; I can see this methodology being really useful for many applications.

Thanks again.

Rob

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service