Driving Model through Muscle shortening

Hi,

another question:)
I would like to drive a model with a kind of pulley system, the pulley’s “string” attached to the model on both ends, shortening during movement.
I don’t want to drive the joint with a driver and was wondering if there is any way I could use a Muscle Model that uses a AnyKinSPLine to actually drive my whole Model - by driving the shortening of the Muscle? The Force actually doesn’t matter to much to start with…
I couldn’t find anything in the Tutorial or Forum…
Do you have any ideas, how I could set that up?
Best regards,
Kat

Hi Kat,

it should be possible to just define strings (AnyKinPLines) and drive and add drivers for them. Then you can take out other drivers.
I modified the SimpleArm example as a demo, hope that somehow covers your problem.

Best regards
Daniel

Thanks for the quick reply!
As I want to simulate a pulley though, it wraps around a cylinder, which I would have to simulate with a AnyKinSPLine Measure…

Hi,

that might be a problem because up to now there are no Acceleration information for an AnyKinSPLine and thus, unfortunately this measure cannot be driven.
But maybe you can approximate the cylinder with a number of via points.

Best regards
Daniel