Added rename to Body

This commit is contained in:
Absolutely disgusting
2026-01-12 06:39:36 +04:00
parent 4cf988747b
commit 34e5993970
335 changed files with 3395 additions and 3395 deletions

View File

@@ -133,7 +133,7 @@ namespace SlaveMatrix
set
{
_ = value;
.IndexY = (_ ? 1 : 0);
Body.IndexY = (_ ? 1 : 0);
}
}
@@ -402,10 +402,10 @@ namespace SlaveMatrix
{
ThisType = GetType();
Dif dif = new Dif(Sta.["前翅"][3]);
= new Difs();
.Tag = dif.Tag;
.Add(dif);
Pars pars = [0][0]["前翅"].ToPars();
Body = new Difs();
Body.Tag = dif.Tag;
Body.Add(dif);
Pars pars = Body[0][0]["前翅"].ToPars();
X0Y0_前翅_前翅1 = pars["前翅1"].ToPar();
X0Y0_前翅_翅脈線1 = pars["翅脈線1"].ToPar();
X0Y0_前翅_翅脈線2 = pars["翅脈線2"].ToPar();
@@ -418,7 +418,7 @@ namespace SlaveMatrix
X0Y0_前翅_前翅2 = pars["前翅2"].ToPar();
X0Y0_前翅_紋1 = pars["紋1"].ToPar();
X0Y0_前翅_紋2 = pars["紋2"].ToPar();
pars = [0][1]["前翅"].ToPars();
pars = Body[0][1]["前翅"].ToPars();
X0Y1_前翅_前翅1 = pars["前翅1"].ToPar();
X0Y1_前翅_翅脈線1 = pars["翅脈線1"].ToPar();
X0Y1_前翅_翅脈線2 = pars["翅脈線2"].ToPar();
@@ -432,8 +432,8 @@ namespace SlaveMatrix
X0Y1_前翅_紋1 = pars["紋1"].ToPar();
X0Y1_前翅_紋2 = pars["紋2"].ToPar();
Xasix = false;
.SetJoints();
= new JointD();
Body.SetJoints();
= new JointD(Body);
= e.;
X = e.X;
Y = e.Y;
@@ -510,12 +510,12 @@ namespace SlaveMatrix
double num = ( ? (-1.0) : 1.0);
X0Y0_前翅_前翅1.AngleBase = num * 10.0;
X0Y1_前翅_前翅1.AngleBase = num * 10.0;
.JoinPAall();
Body.JoinPAall();
}
public override void ()
{
if (.IndexY == 0)
if (Body.IndexY == 0)
{
X0Y0_前翅_前翅1CP.Update();
X0Y0_前翅_翅脈線1CP.Update();