Kangaroo Pulley (Swing) goal

Is there a way to simulate the opposite of PointOnCurve goal.
Like to force the curve to keep a given distance (mainly 0) from a point which itself may be displaced by another goal. So in this sense, it’s not a unilateral goal like PullToMesh.

What I’m trying to achieve a to simulate this, where the rope (Length goal) can run through the Pulley.

image

@DanielPiker please help.

I think the goal posted here might be what you want:
https://www.grasshopper3d.com/m/group/discussion?id=2985220%3ATopic%3A1634650

1 Like

Hi Daniel! Thank you so much for this definition.

I was looking to make a pulley simulation for my architectural project, so I can move up and down a series of planes. I did a 2D simulation with Kangaroo, but it is not a pulley at all. I found this discussion topic and I was interested in giving the Pulley definition a try, but I encounter a problem after setting the assembly location of my KangarooSolver.dll into the C# component.

It says that the Solver cannot convert a “Pulley” object into a “KangarooSolver.IGoal”. (But in Spanish)

Thank you very much for your help and for creating this definition!

You need to make sure the referenced Kangaroo assembly is the same one being loaded by Rhino.
As I see you are using Rhino 6, this should be in:
C:\Program Files\Rhino 6\Plug-ins\Grasshopper\Components

1 Like

Thank you so much! It works now! It was referenced in the Grasshopper Libraries folder.