Grasshopper

algorithmic modeling for Rhino

I try circle packing on a hemisphere.

When is this model; ...

Circle is paid outward

I want to make such a model

anyone could help me?

Momiji.

Views: 1979

Attachments:

Replies to This Discussion

Hi Momiji,
Here is an example showing how this can be done. It requires the latest version of Kangaroo.

Attachments:

thanks you!!

but an error happened

This appears to be exactly what I am looking for. BUT it fails with an error in the Solver component 1. Solution exception:Unable to cast object of type 'SphereCurveCollide' to type 'KangarooSolver.IGoal'.

Do you know why it is?

and

Such a discussion「http://www.grasshopper3d.com/forum/topics/circle-packing-definition...

I think about a model moving circle with a mouse

Attachments:

To move circles with the mouse, include a 'Grab' component.

Then when it is running you can hold down the Alt key on your keyboard to drag points in the Rhino window with the left mouse button.

Attachments:

One possible cause could be that the version of Kangaroo is not the latest one (2.3.3), or possibly that the assembly reference location is set to a different, older copy of the .dll.

The file referenced by the C# component must be the same one loaded by Grasshopper. You can make sure of this by copy-pasting the folder location from File>Special Folders>Components Folder into the window that appears when you right click the C# component and choose Manage Assemblies>Add.

If that doesn't fix it, you could also try turning off the COFF loading option:

Kangaroo ver 233

and

The error continues even if I exclude a check

Which Rhino service release are you on?

It might also be worth trying deleting any extra copies of the KangarooSolver.dll file (from downloads folder etc), since for reasons I don't understand Windows still sometimes seems to load the wrong one (and even if they are loading different copies of exactly the same file, it won't work unless Grasshopper and the C# script are loading the same copy of the same file).

rhino5

I tried it, but the result did not change

Because C# does not seem to move with my PC, are there other methods?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service