Grasshopper

algorithmic modeling for Rhino

 

Hi guys!

 

I was wondering if there is any way you can think of,   to visualize the density of a point cloud and then use that information to create a height field diagram...

 

any thoughts??

 

thanx a lot guys!!

Views: 4032

Replies to This Discussion

like that ?

Hi   Mateusz!

thanx alot for your reply!!!

Yes what you posted seems to do the job. I gues if i need a height field i should conect the square root to a parameter that affects a height...

 

the only problem i have now  is this : would you know why?

 

thanx alot man!!

Actually i found it, i had to set the u  boolean true in the BBOX component!

Thanx again!!!

hey one more thing,

 

The definition you posted works when the points are on the same plane. Is it possible to make this work if the point cloud is randomly placed in xyz, and not on the same plane?

and if yes would you know how i could translate that into a 3d mesh that will represent a height field linked to the density of the points?

 

thanx again!!!!!

how do you see translating Z values of point cloud - is point cloud fully projected onto one plane, or plane is kind of cross-section ?

well i gues i could project them on a plane, the only problem with that is if you have points that have the same x,y but different z there wont be possible to count them in. 

 Could you please sugest a way that i could recrete  a mesh  over the projected plane where the z coordinates of it would  be heigher  where the points are denser?

 

thanx again, you are very helpfull!!

1. point with same x&y values will be counted, cause there would be 2 same point and closest points component will work with it and count them twice.

2. projecting is really simple - decompose points and create new without z value (point xyz component)

3. mesh heightfield is also simple to make now - take V output (vertices) from mComp component, move them by Z vector which lenght = values from gradient, multiply vectors by some value and plug it to last component (mesh)

Did it and works perfectly!

Thanx so much!!!!

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