BuiltWithNOF
Tipp4

Retarded retracting of the geardoors

Through the setting of the right parameters in the tmd-file one can reach, that the geardoors will close only after the retracting of the gear and will open before driving out the landing gear.

Append tmdjoint00 JointFuselageFrontdoor1L
Append tmdjoint00 JointFuselageFrontdoor1R
Append tmdjoint00 JointFuselageFrontdoor2L
Append tmdjoint00 JointFuselageFrontdoor2R

Append tmdbody Frontdoor1L
Append tmdbody Frontdoor1R
Append tmdbody Frontdoor2L
Append tmdbody Frontdoor2R

Append tmdservo01 ServoGearDoor

cd JointFuselageFrontdoor1L/
X    = tmvector4r(   1.0000,   0.0000,   0.0000, 0 )
Y    = tmvector4r(   0.0000,   1.0000,   0.0000, 0 )
Z    = tmvector4r(   0.0000,   0.0000,   1.0000, 0 )
R    = tmvector4r(   0.5209,   0.0309, -0.1038, 1 )
Mass = 0
RangeMassMax = 0
RangeMassMin = 0
Inertia = {  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,   0.0000,   0.0000 }
Kn = 1000
Dn = 20
Dv = 5
Body0 = ../Fuselage/
Body1 = ../Frontdoor1L/
Kf = 2000
Df = 10
Ktx = 400
Dtx = 0.2
Kty = 400
Dty = 0.2
Ktz = 400
Dtz = 0.2
MaxForce = 1000
MaxTorque = 10
Rigid = 0
Essential = 0
Link = ~Aircraft/ServoGearDoor/MechLink
Angle = 1.5
AngleZ = 0
Axis = tmvector4r(   0.5000,   0.0000,   0.5000, 0 )
Displacement = tmvector4r(   0.0000,   0.0000,   0.0000, 0 )
cd ../

cd JointFuselageFrontdoor1R/
X    = tmvector4r(   1.0000,   0.0000,   0.0000, 0 )
Y    = tmvector4r(   0.0000,   1.0000,   0.0000, 0 )
Z    = tmvector4r(   0.0000,   0.0000,   1.0000, 0 )
R    = tmvector4r(   0.5209, -0.0309, -0.1038, 1 )
Mass = 0
RangeMassMax = 0
RangeMassMin = 0
Inertia = {  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,   0.0000,   0.0000 }
Kn = 1000
Dn = 20
Dv = 5
Body0 = ../Fuselage/
Body1 = ../Frontdoor1R/
Kf = 2000
Df = 10
Ktx = 400
Dtx = 0.2
Kty = 400
Dty = 0.2
Ktz = 400
Dtz = 0.2
MaxForce = 1000
MaxTorque = 10
Rigid = 0
Essential = 0
Link = ~Aircraft/ServoGearDoor/MechLink
Angle = -1.5
AngleZ = 0
Axis = tmvector4r(   0.5000,   0.0000,   0.5000, 0 )
Displacement = tmvector4r(   0.0000,   0.0000,   0.0000, 0 )
cd ../

cd JointFuselageFrontdoor2L/
X    = tmvector4r(   1.0000,   0.0000,   0.0000, 0 )
Y    = tmvector4r(   0.0000,   1.0000,   0.0000, 0 )
Z    = tmvector4r(   0.0000,   0.0000,   1.0000, 0 )
R    = tmvector4r(   0.4883,   0.0309, -0.1073, 1 )
Mass = 0
RangeMassMax = 0
RangeMassMin = 0
Inertia = {  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,   0.0000,   0.0000 }
Kn = 1000
Dn = 20
Dv = 5
Body0 = ../Fuselage/
Body1 = ../Frontdoor2L/
Kf = 2000
Df = 10
Ktx = 400
Dtx = 0.2
Kty = 400
Dty = 0.2
Ktz = 400
Dtz = 0.2
MaxForce = 1000
MaxTorque = 10
Rigid = 0
Essential = 0
Link = ~Aircraft/ServoGearDoor/MechLink
Angle = 1.5
AngleZ = 0
Axis = tmvector4r(   1.0000,   0.0000,   0.0000, 0 )
Displacement = tmvector4r(   0.0000,   0.0000,   0.0000, 0 )
cd ../

cd JointFuselageFrontdoor2R/
X    = tmvector4r(   1.0000,   0.0000,   0.0000, 0 )
Y    = tmvector4r(   0.0000,   1.0000,   0.0000, 0 )
Z    = tmvector4r(   0.0000,   0.0000,   1.0000, 0 )
R    = tmvector4r(   0.4883, -0.0309, -0.1073, 1 )
Mass = 0
RangeMassMax = 0
RangeMassMin = 0
Inertia = {  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,   0.0000,   0.0000 }
Kn = 1000
Dn = 20
Dv = 5
Body0 = ../Fuselage/
Body1 = ../Frontdoor2R/
Kf = 2000
Df = 10
Ktx = 400
Dtx = 0.2
Kty = 400
Dty = 0.2
Ktz = 400
Dtz = 0.2
MaxForce = 1000
MaxTorque = 10
Rigid = 0
Essential = 0
Link = ~Aircraft/ServoGearDoor/MechLink
Angle = -1.5
AngleZ = 0
Axis = tmvector4r(   1.0000,   0.0000,   0.0000, 0 )
Displacement = tmvector4r(   0.0000,   0.0000,   0.0000, 0 )
cd ../

cd Frontdoor1L/
X    = tmvector4r( -0.8278,   0.0040, -0.5610, 0 )
Y    = tmvector4r( -0.5610,   0.0003,   0.8278, 0 )
Z    = tmvector4r(   0.0034,   1.0000,   0.0020, 0 )
R    = tmvector4r(   0.5523,   0.0294, -0.1023, 1 )
Geometry( "~Geometry/Frontdoor1L/" )
Mass = 0.2
RangeMassMax = 0.2
RangeMassMin = 0.05
Inertia = {  0.0010,  -0.0000,  0.0000,  0.0000,  -0.0000,  0.0010,  -0.0000,   0.0000,   0.0000, -0.0000,   0.0010,   0.0000,   0.0000,   0.0000,   0.0000, 494.5399 }
Kn = 1000
Dn = 20
Dv = 0.02
cd ../

cd Frontdoor1R/
X    = tmvector4r( -0.8278, -0.0040, -0.5610, 0 )
Y    = tmvector4r(   0.5610,   0.0003, -0.8278, 0 )
Z    = tmvector4r(   0.0034, -1.0000,   0.0020, 0 )
R    = tmvector4r(   0.5523, -0.0294, -0.1023, 1 )
Geometry( "~Geometry/Frontdoor1R/" )
Mass = 0.2
RangeMassMax = 0.2
RangeMassMin = 0.05
Inertia = {  0.0010,  0.0000,  -0.0000,  0.0000,  0.0000,  0.0010,  0.0000,  0.0000,  -0.0000,  0.0000,  0.0010,  0.0000,  0.0000,  0.0000,   0.0000, 494.5399 }
Kn = 1000
Dn = 20
Dv = 0.02
cd ../

cd Frontdoor2L/
X    = tmvector4r(   0.9994, -0.0009,   0.0353, 0 )
Y    = tmvector4r(   0.0009,   1.0000, -0.0000, 0 )
Z    = tmvector4r( -0.0353,   0.0000,   0.9994, 0 )
R    = tmvector4r(   0.4216,   0.0294, -0.1250, 1 )
Geometry( "~Geometry/Frontdoor2L/" )
Mass = 0.2
RangeMassMax = 0.2
RangeMassMin = 0.05
Inertia = {  0.0010,  0.0000,  -0.0000,  0.0000,  0.0000,  0.0010,  0.0000,  0.0000,  -0.0000,  0.0000,  0.0010,  0.0000,  0.0000,  0.0000,   0.0000, 143.8128 }
Kn = 1000
Dn = 20
Dv = 0.02
cd ../

cd Frontdoor2R/
X    = tmvector4r(   0.9994,   0.0009,   0.0353, 0 )
Y    = tmvector4r( -0.0009,   1.0000,   0.0000, 0 )
Z    = tmvector4r( -0.0353, -0.0000,   0.9994, 0 )
R    = tmvector4r(   0.4216, -0.0294, -0.1250, 1 )
Geometry( "~Geometry/Frontdoor2R/" )
Mass = 0.2
RangeMassMax = 0.2
RangeMassMin = 0.05
Inertia = {  0.0010,  -0.0000,  -0.0000,  0.0000,  -0.0000,  0.0010,  -0.0000,   0.0000, -0.0000, -0.0000,   0.0010,   0.0000,   0.0000,   0.0000,   0.0000, 143.8128 }
Kn = 1000
Dn = 20
Dv = 0.02
cd ../

cd ServoGearDoor/
SignalIn = ~Aircraft/Receiver/Out(24)
VelocityIn = 0.8
VelocityOut = 5
ValueNumber = 3
ValueIn(0) = -1
ValueOut(0) = 0
ValueIn(1) = 0.9
ValueOut(1) = 0
ValueIn(2) = 1
ValueOut(2) = 1
PositionFirst = -1
X    = tmvector4r(   1.0000,   0.0000,   0.0000, 0 )
Y    = tmvector4r(   0.0000,   1.0000,   0.0000, 0 )
Z    = tmvector4r(   0.0000,   0.0000,   1.0000, 0 )
R    = tmvector4r(   0.0000,   0.0000,   0.0000, 1 )
Mass = 0
RangeMassMax = 0
RangeMassMin = 0
Inertia = {  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,  0.0000,   0.0000,   0.0000 }
Kn = 1000
Dn = 20
Dv = 5
cd ..
/