algorithmic modeling for Rhino
I may have missed an update somewhere (tried searching without success), but I'm wondering if anyone else has noticed odd behavior when attempting to move anchor points? In the past, the point would simply move and anything vertex connected to it would update - as in, for example, post-formed gridshells (anchors moved inward - mesh and/or line segments react accordingly).
In the newest release, I'm seeing a 'ghosting' of points, almost as if it's leaving a trail, and this is causing the point to detach from anything connected to it. It's simple to test this, but I've included a file below for your reference. Note - I've tried this on multiple machines and in comparison to older files from 2.3.3 and 2.41, as you'll see in the sample.
I changed the way the anchor component works to make it easier to move anchor points during simulation.
The new anchor component takes a point P and a target T.
P is used to determine which of the particles in the simulation is anchored, and any other goals which have a point coincident with this will share that particle. Note this is based on the initial positions of the points in all goals.
T is the location that particle then gets pulled towards during simulation.
Moving P during simulation creates new particles, causing the trails you are seeing.
If instead we move T, that becomes the new location the original particle is pulling towards.
The advantage over the old system is that you can move the target point, reset the simulation, and the topology doesn't get broken, whereas before, since there was only one input point, you would have to move it back to its original location each time you reset otherwise it would lose its attachment to the original geometry.
Hope that clears things up!
Ah yes, I see. Thanks, Daniel.
So, if an anchor is set from a Rhino point and internalized, it can no longer be dragged around via the gumball, correct?
If a point is internalized in gh, you can still drag it with the gh gumball (provided you have that option on in the display menu).
If it is referenced from Rhino, you can drag it with the Rhino gumball.
Only with the gh gumball do you get live updates during dragging though - with the Rhino one it will only update when you release the mouse.
Gotcha - thanks.