Grasshopper

algorithmic modeling for Rhino

Hey guys. I am new to the forum. First of all, thank you very much for sharing. I've learnt a lot.

Now get to the point. I have been using GH to develop a point-tagging system to map and lable a point cloud. The 3dm file is attached.

The lables above are done manually and show what I want to achieve: to count from bottom to top of each column, and then move to the next column and count from 1 again. I tried to use "sort pts" but it seems to sort points according to their x coordinates, which doesn't work for me.(because the point cloud is rotated) Any suggestions? Thank you very much.

Views: 451

Attachments:

Replies to This Discussion

Hey,

 

there is still a bug in the def. As a basic def I have used a def by David Rutten to sort meshes.

 

And I can not find the problem.

 

But maybe this helps already?

 

Best Regards

 

DeDackel

 

Attachments:

Thanks!

Now I start to look into the files. : )

Hey, it works. Thank you very much.

Now I will start to tune it to fit my system.

Also thank David Rutten.

 

Cheers

em. I found a problem. This def is still base on some sort of x and y coordinate. So sometimes errors would happen because these pts are not exactly aligned to a grid.

and also I tried to apply this def to another pt cloud and something else which is interesting happens too.

attached is the second pt cloud.

Now I am trying to figure out what is happening and fix it. The def from you is a great inspiration. I will update as soon as I find a solution.

 

cheers

Attachments:
here is an other one
Attachments:

Thanks! I changed "from + (along * 1000)" to "from + (along * 100)" and it works pretty well! (1000 is too heavy and cannot divide 2 columns which are too closed to each other)

 

Cheers!

ok, i tought 100 was not enough and still producing mistakes?

Happy it works!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service