I am working with a patient-specific model performing a squat and using AnyForceSurfaceContact to calculate knee contact forces. For my evaluation, I need to retrieve the penetrating vertices at each degree of knee flexion.
Additionally, I am using AnyDrawForceSurface, which also relies on the vertices in contact. Is there a way to access this vertex data directly within AnyBody?
Unfortunately, it's not an output, so it's not possible to retrieve the vertices. It should be possible post process the outputs: you have the surfaces and their kinematics from the simulation. Then, an external function may help you in extracting this info.
May I ask you why you need these vertices? Maybe I can suggest you some alternatives.
Thank you for your response—I really appreciate it.
I need this information to determine the ML and AP dimensions at each degree of knee flexion.
I've also been thinking about your suggestion, and I’ll give it a try.