If I run a kinematic analysis on a model, I get a collection of forces with XYZ components. However, these XYZ components are in reference to Anybody’s coordinate system. If I wanted to use these forces on a model outside of Anybody, how would I go about transforming them to fit that model’s coordinate system? Is there a way I can export the forces acting on the shank so that they output in relation to the shank and not the global coordinate system?
Hi
Please have a look at these lines
AnyMechOutputFileForceExport FE_out =
{
FileName = "files_in/clavload.xml";
UseRefFrameOnOff = On;
AnyRefFrame &ref1 = Main.HumanModel.BodyModel.Right.ShoulderArm.Seg.Clavicula.localrefframe;
AllSegmentsInStudyOnOff = Off;
XMLformatOnOff = On;
//AllSegmentsInStudyOnOff = Off;
AnySeg &clav = Main.HumanModel.BodyModel.Right.ShoulderArm.Seg.Clavicula;
};
and this tutorial
Best regards
Søren