generative modeling for Rhino
I have a question that I was wondering if you knew the answer to.
In your grasshopper file the circles still have a small overlap.
Is there a way to remove this?
In are project we want to pack a surface with cones, the model will in the end be build so know overlap can occur.
Thank you very much.
You could reduce this overlap by making the springs extremely stiff.
To avoid making it explode you will also have to reduce the timestep.
You could find the approximate solution with the default timestep / spring stiffness, then lower the timestep and crank the stiffness way up to get the accurate version for fabrication.
Provided a solution does actually exist, you should be able to make the overlap well below any tolerance needed for fabrication.
It looks like you have more circles than it is possible to fit on your surface with that radius, so increasing the stiffness is not going to help much. I'd suggest reducing either the number or size of the circles. For now this adjustment would have to be done iteratively outside of Kangaroo, either manually or using something like HoopSnake.
For the next version I'll look into adding something that could do this adjustment inside Kangaroo. Also with the new Kangaroo API it should be possible for people to make their own scripts for this kind of thing, making use of the physics engine, but with their own custom iteration rules.
I'm trying to do a similar thing with the constrain mesh component so I can create a distorted mesh over one created from the 'deformedDrape' example. However, whatever geometry I put in causes the kangaroo component to error. I tried using a smaller/less complex mesh but I don't think that's the problem...