<?xml version="1.0" encoding="UTF-8" ?>
<root>
    <Project>
        <rattleCADVersion>3.4.00</rattleCADVersion>
        <Name>Template MTB</Name>
        <modified>2013.03.01/12:00</modified>
    </Project>

    <Personal>
        <!-- personal geometry based on cyclist body profile -->
        <InnerLeg_Length>850.00</InnerLeg_Length>
        <HandleBar_Distance>474.00</HandleBar_Distance>
        <HandleBar_Height>642.00</HandleBar_Height>
        <Saddle_Distance>245.10</Saddle_Distance>
        <Saddle_Height>713.30</Saddle_Height>
    </Personal>

    <Custom>
        <!-- custom details of bicycle frame -->
        <HeadTube>
            <PositonTT>8.50</PositonTT>
            <PositonDT>8.50</PositonDT>
            <Angle>71.00</Angle>
        </HeadTube>
        <TopTube>
            <PivotPosition>80.00</PivotPosition>
            <OffsetHT>8.50</OffsetHT>
            <Angle>10.0</Angle>
        </TopTube>
        <SeatTube>
            <Extension>20.00</Extension>
            <OffsetBB>0.00</OffsetBB>
        </SeatTube>
        <DownTube>
            <OffsetHT>8.50</OffsetHT>
            <OffsetBB>0.00</OffsetBB>
        </DownTube>
        <SeatStay>
            <OffsetTT>-30</OffsetTT>
        </SeatStay>
        <WheelPosition>
            <Rear>420.00</Rear>
        </WheelPosition>
        <BottomBracket>
            <Depth>10.0</Depth>
        </BottomBracket>
    </Custom>

    <FrameTubes>
        <!-- frame tubes -->
        <TopTube>
            <DiameterHT>28.60</DiameterHT>
            <DiameterST>28.60</DiameterST>
            <TaperLength>300.00</TaperLength>
        </TopTube>
        <HeadTube>
            <Diameter>36.00</Diameter>
            <Length>105.0</Length>
        </HeadTube>
        <SeatTube>
            <DiameterTT>28.60</DiameterTT>
            <DiameterBB>31.80</DiameterBB>
            <TaperLength>300.00</TaperLength>
        </SeatTube>
        <DownTube>
            <DiameterBB>34.90</DiameterBB>
            <DiameterHT>31.80</DiameterHT>
            <TaperLength>300.00</TaperLength>
        </DownTube>
        <SeatStay>
            <DiameterST>16.00</DiameterST>
            <DiameterCS>11.00</DiameterCS>
            <TaperLength>300.00</TaperLength>
        </SeatStay>
        <ChainStay>
            <HeightBB>29.00</HeightBB>
            <Height>29.00</Height>
            <DiameterSS>13.00</DiameterSS>
            <TaperLength>280.00</TaperLength>
            <Width>18.00</Width>
            <WidthBB>18.00</WidthBB>
            <CenterLine>
              <length_01>150.00</length_01>
              <length_02>140.00</length_02>
              <length_03>78.00</length_03>
              <length_04>10.00</length_04>
              <angle_01>9.00</angle_01>
              <angle_02>-9.00</angle_02>
              <angle_03>0.00</angle_03>
              <radius_01>320.00</radius_01>
              <radius_02>320.00</radius_02>
              <radius_03>320.00</radius_03>
            </CenterLine>
            <Profile>              
                <width_00>12.50</width_00>
                <length_01>150.00</length_01>
                <width_01>18.00</width_01>
                <length_02>150.00</length_02>
                <width_02>18.00</width_02>
                <length_03>75.00</length_03>
                <width_03>24.00</width_03> 
            </Profile>
        </ChainStay>
    </FrameTubes>
    
    <Lugs>
        <!-- lug definitions for frame layout -->
        <HeadTube>
            <TopTube>
                <Angle>
                    <value>80.00</value>
                    <plus_minus>1.00</plus_minus>
                </Angle>
            </TopTube>
            <DownTube>
                <Angle>
                    <value>60.00</value>
                    <plus_minus>1.00</plus_minus>
                </Angle>
            </DownTube>
        </HeadTube>
        <SeatTube>
            <TopTube>
                <Angle>
                    <value>81.00</value>
                    <plus_minus>1.00</plus_minus>
                </Angle>
            </TopTube>
            <SeatStay>
                <Angle>
                    <value>55.00</value>
                    <plus_minus>1.00</plus_minus>
                </Angle>
                <MiterDiameter>28.60</MiterDiameter>
            </SeatStay>
        </SeatTube>
        <BottomBracket>
            <DownTube>
                <Angle>
                    <value>69.00</value>
                    <plus_minus>1.00</plus_minus>
                </Angle>
            </DownTube>
            <ChainStay>
                <Angle>
                    <value>70.00</value>
                    <plus_minus>1.00</plus_minus>
                </Angle>
                <Offset_TopView>5.00</Offset_TopView>
            </ChainStay>
            <Diameter>
                <outside>40.00</outside>
                <inside>36.00</inside>
            </Diameter>
            <Width>68.00</Width>
        </BottomBracket>
        <RearDropOut>
            <Angle>
                <value>55.00</value>
                <plus_minus>1.00</plus_minus>
            </Angle>
            <File>etc:dropout/dropout_02.svg</File>
            <Direction>Chainstay</Direction>
            <RotationOffset>0.00</RotationOffset>
            <ChainStay>
                <Offset>33.00</Offset>
                <OffsetPerp>1</OffsetPerp>
                <Offset_TopView>5.00</Offset_TopView>
            </ChainStay>
            <SeatStay>
                <Offset>35.00</Offset>
                <OffsetPerp>-7.10</OffsetPerp>
            </SeatStay>
            <Derailleur>
                <x>6.00</x>
                <y>25.00</y>
            </Derailleur>
        </RearDropOut>
    </Lugs>

    <Component>
        <!-- bicycle components for visulization -->
        <Logo>
            <File>etc:logo/rattleCAD.svg</File>
        </Logo>
        <HeadSet>
            <Height>
                <Bottom>13.50</Bottom>
                <Top>15.50</Top>
            </Height>
            <Diameter>45.00</Diameter>
        </HeadSet>
        <Fork>
            <Height>465.0</Height>
            <Rake>40.0</Rake>
            <!--BladeWidth>29.00</BladeWidth-->
            <!--CrownDiameter>43.00</CrownDiameter-->
            <Crown>
                <File>etc:fork/crown/longshen_17.svg</File>
                <Brake>
                    <Offset>0.00</Offset>
                    <Angle>0.00</Angle>
                </Brake>
                <Blade>
                    <Offset>35.00</Offset>
                    <OffsetPerp>0.00</OffsetPerp>
                </Blade>
            </Crown>
            <Blade>
                <Width>28.60</Width>
                <DiameterDO>13.00</DiameterDO>
                <TaperLength>250.00</TaperLength>
                <BendRadius>350.00</BendRadius>
                <EndLength>10.00</EndLength>
            </Blade>
            <DropOut>
                <File>etc:fork/dropout/LE_17.svg</File>
                <Offset>20.00</Offset>
                <OffsetPerp>0.00</OffsetPerp>
            </DropOut>
        </Fork>
        <Stem>
            <Angle>-6.00</Angle>
            <Length>110.00</Length>
        </Stem>
        <Brake>
            <Front>
                <File>etc:brake/front/v_frontbrake.svg</File>
                <LeverLength>45.00</LeverLength>
                <Offset>20.00</Offset>
            </Front>
            <Rear>
                <File>etc:brake/rear/v_rearbrake.svg</File>
                <LeverLength>45.00</LeverLength>
                <Offset>20.00</Offset>
            </Rear>
        </Brake>
        <Wheel>
            <Front>
                <RimDiameter>559</RimDiameter>
                <RimHeight>25.00</RimHeight>
                <TyreHeight>47</TyreHeight>
            </Front>
            <Rear>
                <RimDiameter>559</RimDiameter>
                <RimHeight>25.00</RimHeight>
                <TyreHeight>47</TyreHeight>
                <HubWidth>135.00</HubWidth>
                <FirstSprocket>15</FirstSprocket>
            </Rear>
        </Wheel>
        <HandleBar>
            <File>etc:handlebar/flatbar_sti.svg</File>
        </HandleBar>
        <Saddle>
            <File>etc:saddle/saddle_c.svg</File>
            <Height>40.00</Height>
            <Length>280.00</Length>
            <LengthNose>153.00</LengthNose>
        </Saddle>
        <SeatPost>
            <Setback>25.00</Setback>
            <Diameter>27.20</Diameter>
        </SeatPost>
        <CrankSet>
            <File>etc:crankset/shimano_FC-M770.svg</File>
            <Length>175</Length>
            <PedalEye>17.50</PedalEye>
            <Q-Factor>175.00</Q-Factor>
            <ArmWidth>13.75</ArmWidth>
            <ChainLine>43.50</ChainLine>
            <ChainRings>22-32-44</ChainRings>
        </CrankSet>
        <Derailleur>
            <Front>
                <File>etc:derailleur/front/campagnolo_qs.svg</File>
                <Distance>128.00</Distance>
                <Offset>9.20</Offset>
            </Front>
            <Rear>
                <File>etc:derailleur/rear/shimano_RD-M773.svg</File>
            </Rear>
        </Derailleur>
        <BottleCage>
            <SeatTube>
                <File>etc:bottle_cage/left/bottleCage.svg</File>
                <OffsetBB>130.00</OffsetBB>
            </SeatTube>
            <DownTube>
                <File>etc:bottle_cage/right/bottleCage.svg</File>
                <OffsetBB>210.00</OffsetBB>
            </DownTube>
            <DownTube_Lower>
                <File>etc:bottle_cage/left/bottleCage.svg</File>
                <OffsetBB>140.00</OffsetBB>
            </DownTube_Lower>
        </BottleCage>
    </Component>

    <Rendering>
        <!-- rendering information -->
        <Fork>Suspension_26</Fork>
        <ForkBlade>bent</ForkBlade>
        <Brake>
            <Front>Rim</Front>
            <Rear>Rim</Rear>
        </Brake>        
        <BottleCage>
            <SeatTube>Cage</SeatTube>
            <DownTube>Cage</DownTube>
            <DownTube_Lower>off</DownTube_Lower>
        </BottleCage>
        <RearDropOut>behind</RearDropOut>
        <ForkDropOut>front</ForkDropOut>
        <ChainStay>bent</ChainStay>    
        <RearMockup>
            <DiscOffset>15.30</DiscOffset>
            <DiscWidth>2.00</DiscWidth>
            <DiscDiameter>160.00</DiscDiameter>
            <DiscClearance>5.00</DiscClearance>
            <TyreClearance>5.00</TyreClearance>
            <CrankClearance>5.00</CrankClearance>
            <ChainWheelClearance>5.00</ChainWheelClearance>
            <CassetteClearance>3.00</CassetteClearance>
        </RearMockup>
    </Rendering>

</root>