Thank you very much Soren. I tried it, but maybe I didn´t understand it well.
I have program like this:
Main = {
AnyFolder HandModel = {
AnyFixedRefFrame GlobalRef = {
Origin={0,0,0};
----->here few nodes inside
};
////BONES*******
AnyVar Sign=-1;
#include âHandModelFile\Bones\Segs.anyâ
//***********************************************
//JOINTS*************
#include âHandModelFile\Joints\Jnts.anyâ
//**************************************************
//////DRIVERS***********
// #include âHandModelFile\Drivers\Drivers.anyâ
//// //**************************************************
//MUSCLES***********
// #include âHandModelFile\Muscles\Muscles.anyâ
//**************************************************
//LIGAMENTS***********
// #include âHandModelFile\Ligaments\Ligaments.anyâ
//**************************************************
}; // HandModel
Segments are connected together like this:
AnyFolder Segs = {
AnyVec3 rw = {-0.08, 0.06,-0.04};
AnyMat33 S = RotMat(0pi/180,x)RotMat(0pi/180,y)RotMat(0pi/180,z);
AnyMat33 Axes0Wrist = RotMat(-90pi/180,x)RotMat(180pi/180,y)RotMat(90pi/180,z);
AnySeg WristLunateB = {
AnyVec3 rLunate={0.02,0.005,-0.005};
r0 = .rw + (.Axes0Wrist*rLunateâ)â;
Axes0= .Axes0Wrist ;
Mass = 0.00892;
Jii = {0.000000616,0.000000622,0.000000297};
-----> here are lots of nodes and obstacles etc.
AnyDrawSTL DrwSTL = {
FileName = "lunatum_new.stl";
};
AnySeg WristScaphoidB = {
AnyVec3 rScaphoid={0.0124,-0.0116,-0.001};
r0 = .rw + (.Axes0Wrist*.S* rScaphoid')'; // Axes hlavni nahore
Axes0=
.Axes0Wrist*RotMat(0*pi/180,x)*RotMat(0*pi/180,y)*RotMat(0*pi/180,z);
âŚ
So if I change rw, whole my hand will translate.
I tried lots of ways, but the result was only translation, not mirroring. Please help me, I really don´t know.
