Grasshopper

algorithmic modeling for Rhino

Hi guys, 

Just create some random points on a sphere surface and place some polygons on those pts.

I want to make those random pts separate for a distance for eg. A and B distance should not less than 5. Just want to make sure the pts are not too close so that the polygon would not overlap which it does atm. 

I am struggling on this.. any advice??

Views: 1286

Replies to This Discussion

'Remove duplicate points' - component within the karamba plugin does the job, and it does it really fast. you can set a threshold value t as, e.g. the diameter of the bounding-circle of your polygons and there you go. it also gives you the indizes of the removed points, but what you cannot do so easily is to exactly specify a desired number of output points.

best

robert

thanks for the reply!

is there anyway to do without the plugin??

is it really slow and complicate to do that?

In GH version 0.8.0066 There is a component called Freeform Cloud which doesn't have an icon. you can locate it on the Vector Tab > Grids Panel.

This component will populate a surface with random points but will space them more evenly than pure random.

Or in GH version 0.9+ the same component has been replaced by the Populate Geometry component found in the same place.

Also in version 0.9+ there is a CullPt component which will allow you to cull duplicate points based on a tolerance and also gives you some options for the what gets left behind.

  • Leave One
  • Cull All
  • Avergae

huhaaaa,

I love the options

Best Regards

DeDackel

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service