Moving points along a surface (but they can't touch)

Hi All,

I’m having a problem with a script. I am trying to construct three independent points (controlled by sliders) along a flat surface. The trick is, I need these points to never get within a certain distance of each other.

I tried creating a circle around the first point and using that circle to trim the surface, the next point would then be placed on the new trimmed surface and repeat the process for the third point. However, I cannot figure out how to remap the new trimmed surface to remove the UV values that fall within the trimmed whole…

Am I going about this the right way? How could I do this?

Thanks!

Three Points on a surface.gh (16.6 KB)

You’re likely not going about this the right way. Trimming a surface doesn’t actually remove the parameters associated with the trim.
The best way to deal with things like this is circle packing, but your sliders wouldn’t be particularly meaningful in that case. I’ve attached something that I thinks serves the purpose you’ve outlined but if the exact location of the slider points is paramount this likely isn’t it either. CircleSurfaceHelp.gh (11.1 KB)