<?xml version="1.0"?>

<!--
  Version: 2014-03-01
-->

<PropertyList>

  <path>towropes.ac</path>
  
  <offsets>
    <x-m>0.0</x-m>
    <y-m>0.0</y-m>
    <z-m>0.0</z-m>
    <pitch-deg>0</pitch-deg>
  </offsets>
  

<!-- winch rope -->  

  <animation>
    <type>select</type>
    <object-name>winchrope</object-name>
    <condition>
      <property>sim/hitches/winch/rope/exist</property>
    </condition>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>parachute_open</object-name>
    <object-name>parachute_closed</object-name>
    <property>sim/hitches/winch/rope/exist</property>
    <factor>-5.</factor>
    <axis>
      <x>1</x>
      <y>0</y>
      <z>0</z>
    </axis>
  </animation>
  
  <animation>
    <type>select</type>
    <object-name>parachute_closed</object-name>
    <condition>
      <not>
        <property>sim/hitches/winch/open</property>
      </not>
    </condition>
  </animation>
  
  <animation>
    <type>select</type>
    <object-name>parachute_open</object-name>
    <condition>
      <and>
        <property>sim/hitches/winch/rope/exist</property>
        <property>sim/hitches/winch/open</property>
      </and>
    </condition>
  </animation>
  
  <animation>
    <type>scale</type>
    <object-name>winchrope</object-name>
    <condition>
      <property>sim/hitches/winch/rope/exist</property>
     </condition>
    <property>sim/hitches/winch/tow/dist</property>
    <x-min>0.0</x-min>
    <y-min>1.0</y-min>   <!-- unscaled model: 4cm diameter -->
    <z-min>1.0</z-min>
    <x-factor>1</x-factor>
    <y-factor>0</y-factor>
    <z-factor>0</z-factor>
  </animation>

  <animation>
    <type>scale</type>
    <object-name>winchrope</object-name>
    <property>sim/hitches/winch/rope/rope-diameter-mm</property>
    <x-min>1.0</x-min>
    <y-min>0.0</y-min>   <!-- unscaled model: 4cm diameter -->
    <z-min>0.0</z-min>
    <x-factor>0.0</x-factor>
    <y-factor>0.025</y-factor>
    <z-factor>0.025</z-factor>
  </animation>

  <animation>
    <object-name>winchrope</object-name>
    <object-name>parachute_open</object-name>
    <object-name>parachute_closed</object-name>    
    <enable-hot type="bool">false</enable-hot>
  </animation>


<!-- towrope -->

  <animation>
    <type>select</type>
    <object-name>towrope</object-name>
    <condition>
      <property>sim/hitches/aerotow/rope/exist</property>
    </condition>
  </animation>

  <animation>
    <type>scale</type>
    <object-name>towrope</object-name>
    <condition>
      <property>sim/hitches/aerotow/rope/exist</property>
     </condition>
    <property>sim/hitches/aerotow/tow/dist</property>
    <x-min>0.0</x-min>
    <y-min>1.0</y-min>   <!-- unscaled model: 4cm diameter -->
    <z-min>1.0</z-min>
    <x-factor>1</x-factor>
    <y-factor>0</y-factor>
    <z-factor>0</z-factor>
  </animation>

  <animation>
    <type>scale</type>
    <object-name>towrope</object-name>
    <property>sim/hitches/aerotow/rope/rope-diameter-mm</property>
    <x-min>1.0</x-min>
    <y-min>0.0</y-min>   <!-- unscaled model: 4cm diameter -->
    <z-min>0.0</z-min>
    <x-factor>0.0</x-factor>
    <y-factor>0.025</y-factor>   
    <z-factor>0.025</z-factor>
  </animation>  

  <animation>
    <object-name>towrope</object-name>
    <enable-hot type="bool">false</enable-hot>
  </animation>

   
</PropertyList>