It looks like the main Kangaroo solver component isn’t loading.

This is usually due to a blocked dll.

I presume you’re on Rhino 5?

Go into the directory where you installed Kangaroo, and for both the dll and gha, right click, select properties and unblock. Then restart Rhino and it should work.

# Circle packing with fixed radius and fixed number of circle for each radius

**DanielPiker**(Daniel Piker) #22

**tashheyes**(Tashheyes) #23

Thank you very much thats working now! i got the current version of kangaroo as suggested.

**amirmirza**(Amirmirza) #24

@DanielPiker this might be a redundant question but how exactly do I change the assembly reference?

Rhino 5 for Mac with latest GH

Thanks!

**tashheyes**(Tashheyes) #25

Hello again, do you have an image of this script? struggling to make connections for missing plugins even though i have downloaded them

**albert.miller1410**(Albert Miller1410) #26

Hi!

Is there an option to put this circles of fixed radius at defined surface? I want to make something like this:

I’d be very grateful for any help or tips

**DanielPiker**(Daniel Piker) #28

It looks like in that image they’ve used a *compact* circle packing (each gap between the circles has 3 sides)

In general this will mean the circles are all of slightly different sizes.

You can pack circles of predefined sizes on a surface with the definitions I posted above, just adding an OnMesh goal with your target surface, but it won’t be as neat - many of the spaces between the circles will have 4 or more sides.

Here’s an example for a compact circle packing on a surface:

CompactCirclePackingOnSurface.gh (40.9 KB)

For more about compact circle packings, see this paper

http://www.geometrie.tugraz.at/wallner/packing.pdf

or Mathias Höbinger’s thesis

**goal20094**(Goal20094) #29

Hi Daniel,

Big fan of your work! I am trying to get this result you have in your image here, using the script you provided (CompactCirclePackingOnSurface.gh), however whenever I try to use brep to mesh of the same brep geometry, it never works well… I am not sure what to put as the input for the mesh. I was wondering if you have a quick answer for that question.

Best,

Frank

**wdppan**(Wdppan) #30

Hi, Daniel

Thanks for your script, but I get a error message:

- Solution exception:Unable to cast object of type ‘Collider2’ to type ‘KangarooSolver.IGoal’.

How could I fix it?

Rhino Version 6SR13