Hey, does anyone know how to do this using nodes? I’m new in Grasshopper.
10cm circle with 16 random points along the edge, always two of them to be spaced 3 to 12 mm apart.
Thank you!
Diameter or radius?
P.S. Sounds like “stinking thinking” to me. Assuming 10cm diameter (50 mm radius) divided by 16 points = 19.635 mm, which is more than “spaced 3 to 12 mm apart”.
the main problem is the fixed spacing, assuming that you mean a diameter of 10…
10x3.14=31.4 assuming the edge case that each point is spaced 1.2cm apart you could fit about 25 points on the circumference… whit your limit of 16 points the first and last point generated won’t follow your distancing rules.
this is a way to do this, but i’m not sure how to automatically make sure that points won’t overlap if max distance*number of points>circumference (other than controlling the variables of the problem)
(the extra points disappear)
or more importantly, how to make sure that, assuming that the numbers of the problem are chosen in a different way (max distance=circumference/number of points), that the sum of all generated points is equal to the circumference, so that your points are all distributed to your rules in the circumference (note that in this case you would need an n+1 number of points, since the last one will always end at the start of the circle)
an approach you could take is to have a list of prefixed distances that sum up to the diameter (or at least to find a way to automate this), and then add the numbers in this list randomly.
circle_div_2025Feb1b.gh (9.5 KB)
P.S. The “spec” didn’t say integer values only “spaced 3 to 12 mm apart” but it’s easy to do.
circle_div_2025Feb1c.gh (11.9 KB)
How would it be possible to modify the diameter to 7cm (radius of 3.5) and have specific amount of points such as 16? Keeping the distancing of 3 to 12 mm between 2 points. Thank you very much for any potential solutions.
Sounds like you didn’t understand yesterday’s post.
I have overlooked the mm’s. Makes sense now. Thank you!