Grasshopper

algorithmic modeling for Rhino

Hello!

I've created a some kind of voronoi like sculpture with "Facet Dome" from "random" points on the surface of a sphere.

Some points are to close to each other, how can i set a minimum distance for the points?

for example:

I have a sphere and I want 8 points on the surface of the sphere, with a minimum distance x between the points.

Views: 1011

Attachments:

Replies to This Discussion

That is difficult to achieve. If you use [Populate Geometry] instead of placing random points on a sphere you'll get a more balanced distribution, but even then there's no guarantee of not breaking the constraint.

I can see some options:

  1. Use [Cull Duplicates] to remove those points from a cloud which are closer together than N units. This means you'll get fewer points if some of them are close together.
  2. Use [Proximity3D] to find point pairs, then remove the ones that are too close. Basically the same as #1 except more work.
  3. Use Kangaroo to push nearby points apart while constraining them to a sphere. This solution means you can still control the number of points exactly, but it is iterative rather than instant.

--

David Rutten

david@mcneel.com

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service