Problem with circles of different radii and fixed distance between them

Hi there, I am new to GH and I am trying to create circles of different radii that have in common that their centers are part of the same line and that the distance formed between the intersection of the line and the circles is constant regardless of their radii. The aim of all of this, is to create a polar array of these geometries so that if i want to change the raidii of a circle it changes everything accordingly.


This is a drawing of the concep, so you can visualize it. Now i will upload what i have done on gh
gafas.gh (24.0 KB)
Im kinda stuck, since i dont know how to create that fix distance that is dependant on the circles.

arc_Feb27bb

3 Likes

assuming you have a line along which you want to distribute your circles, if you have n circles you would up with n+1 gaps (because in this image you start and end with a gap)

this might be a stupidly long and straight way to do it:

stupidly_long_and_straight_way_to_do_it.gh (13.3 KB)

[edit] looks like I have missed the POLAR thing :smiley: ]

1 Like

What if the curve is arbitrary, not linear and not an arc?

Anemone loop looks like the easiest and most flexible way?

Arrange in Grid V0.gh (9.3 KB)

hehehe that looks like a pretty complicated task… I would go by angles if it was an arc

for an arbitrary curve I guess I would just ignore the amount of curve that is inside each circle, and try to spread evenly the gaps

but the main problem is that -depending on where a circle is centered- the amount of curve to be spread for gaps also changes… it’s an interesting problem that I wouldn’t really know where to start from :slight_smile:

missing

Hi, do you know how to change the point of origin in the arrange on grid component?

No such option. But if you tell the problem, perhaps we can find a solution.

i want the geometry to be inside a defined line, that it’s not on the origin, but i still want to be able to change the spacing.

Orient the curves to the target plane.

Arrange in Grid V1 Orient them.gh (21.0 KB)

1 Like

This one (below) is, uh, no.

1 Like

I changed the topic title so it is composed of words with correct spelling

2 Likes

That’s fine, thank you.

1 Like

This code is rough (“warts and all”) but simple. The Anemone loop is at the bottom. The cyan group defines parameters, including Value List choice of ‘PATH’; (blue group).

crv_circles_2023Nov4a
(Full Size image)
crv_circles_2023Nov4a.gh (44.1 KB)

P.S. There is an error in this code. No time to fix it now, sorry. Du[plicate points and circles, sequence error at the beginning of the loop.

1 Like

Random thought on this. @Joseph_Oster Could do better.
Anyways it uses Kangaroo instead of Anamone. Its just a concept.


Curves.gh (15.7 KB)

Small, subtle error - fixed.


crv_circles_2023Nov5a.gh (34.3 KB)


crv_circles_2023Nov5aa.gh (23.4 KB)

2 Likes

You can use Dash Pattern

circles_gap.gh (7.9 KB)

4 Likes