<?xml version="1.0"?>
<part>
	<Author>Viallefont Xavier</Author>
	<Description>
		<en>Rail 9V Large Curve</en>
		<fr>Rail 9V Large courbe</fr>
	</Description>

	<!-- The margin of this part in stud for snaping on the grid, relative to the bitmap -->
	<SnapMargin>
		<left>0.5</left>
		<right>0.375</right>
		<top>0</top>
		<bottom>0.875</bottom>
	</SnapMargin>

	<!-- list of connexion point (assuming that this part can connect to another one), the position of the connexion is in stud coord and relative to the origine defined above) -->
	<ConnexionList>
		<!-- the center of this part in stud is x = 187 pix / 8 pixperstud / 2 = 11.6875    and    y = 95 / 8 / 2 = 5.9375 -->		
		<connexion>
			<!-- type of connexion (0=none, 1=rail, 2=road, 3=monorail standard, 4=monorail short curve) -->
			<type>1</type>
			<position>
				<x>-11.1875</x>
				<y>-1.9375</y>
			</position>
			<angle>180</angle>
			<angleToPrev>202.5</angleToPrev> <!-- how much angle between this connection and the prev one in this circular list -->
			<angleToNext>157.5</angleToNext> <!-- how much angle between this connection and the next one in this circular list -->
			<nextConnexionPreference>1</nextConnexionPreference> <!-- index (0-based) in that list for connecting the next part -->
			<electricPlug>1</electricPlug>
		</connexion>
		<connexion>
			<!-- type of connexion (0=none, 1=rail, 2=road, 3=monorail standard, 4=monorail short curve) -->
			<type>1</type>
			<position>
				<x>10.2428</x>	<!-- x = pos1x + 56 * sin(22.5) because 56 is the radius in stud of the middle line of a 9V large curve turn (for a quarter of circle) -->
				<y>2.3252</y>	<!-- y = pos1y + 56 * (1 - cos(22.5)) because 56 is the radius in stud of the middle line of a 9V large curveturn (for a quarter of circle) -->
			</position>
			<angle>22.5</angle>
			<angleToPrev>157.5</angleToPrev> <!-- how much angle between this connection and the prev one in this circular list -->
			<angleToNext>202.5</angleToNext> <!-- how much angle between this connection and the next one in this circular list -->
			<nextConnexionPreference>0</nextConnexionPreference> <!-- index (0-based) in that list for connecting the next part -->
			<electricPlug>-1</electricPlug>
		</connexion>
	</ConnexionList>


	<!-- Track Designer remaping data -->
	<TrackDesigner>
		<ID>102867</ID> <!-- ID of this part in Track Designer -->
		<Flag>0</Flag> <!-- 0=no flag, 1=piece is an attachment, 2=piece is used to support elevation, 3=piece is an attachment and is used to support elevation -->
		<HasSeveralGeometries>true</HasSeveralGeometries>
		<TDBitmapList>
			<TDBitmap>
				<BBConnexionPointIndex>0</BBConnexionPointIndex>
				<Type>2</Type> <!-- The type list is too long, please refer to the help file -->
				<AngleBetweenTDandBB>0</AngleBetweenTDandBB>
			</TDBitmap>
			<TDBitmap>
				<BBConnexionPointIndex>1</BBConnexionPointIndex>
				<Type>1</Type> <!-- The type list is too long, please refer to the help file -->
				<AngleBetweenTDandBB>157.5</AngleBetweenTDandBB>
			</TDBitmap>
		</TDBitmapList>
	</TrackDesigner>
	
	<!-- LDraw remaping data -->
	<LDraw>
		<Angle>11.25</Angle>
		<Translation>
			<x>-7.65</x>
			<y>12.15</y>
		</Translation>
		<PreferredHeight>-8</PreferredHeight>
	</LDraw>
</part>