Problem:
The script does not perform smoothly on my machine.
Situation:
The definition I use snaps a number of points (OnMesh) on a mesh and let me move these points (Grab) with a sphere handle in the Rhino viewport. I use a Kangaroo2 (Show) component as well. I use a standard solver.
I do not understand it totally:
In the viewport I grab a sphere geometry from GH that is connected to the points that snap to the mesh and input KG2goals.
I connected the sphere component to the O output of the KG2solver
Does KG2 calculate just the points in my input list (MeshCP to goals) or does it calculate each sphere as a lot of points?
Threshold: Consider it as a tug-of-war scenario. When the two opposing forces are of comparable magnitudes, the movement of the center of the rope is minimal. At this point, the solver will halt the calculation.
多谢 Li Quan! You’re english is good and I can understand everything!
The explanation of Threshold and Tolerance cleared a lot…thanks!..but I still have to understand more about KG2.
Why Spheres?
The spheres are a kind of user interface to move the points on the mesh.
The spheres should act like a handle for the points. Rhino/GH displays the points as a small X. It’s kind of hard to see and hard to grab.
I want a big handle: a sphere.
I grab the sphere and it feels like I grab the point. → I move the sphere on the mesh and it feels like I move the point on the mesh.
I connect 3.Symbol Display input P to output V from the Solver.
I connect 3.Symbol Display input D to output D from either 1. Symbol (advanced) or 2. Symbol simple Component.
Symbol (advanced) and 2. Symbol (simple) both have an input X. If I right klick on that I can choose from a list of symbols.
If I connect a sphere to the X input it wont work. It just skips through the list of predefined symbols and displays one.