Source

bluebrick.bitbucket.org / parts / Train / 7816.set.xml

<?xml version="1.0" encoding="UTF-8"?>
<part>
	<Author>Jerome Boulanger</Author>
	<Description>
		<en>Shell Tanker</en>
		<fr>Wagon citerne Shell</fr>
	</Description>
	<ImageURL>http://media.peeron.com/pics/inv/setpics/7816-1.1174980727.thumb2.jpg</ImageURL>
	<!-- The margin of this part in stud for snaping on the grid, relative to the bitmap -->
	<SnapMargin>
		<left>0</left>
		<right>0</right>
		<top>0</top>
		<bottom>0</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>
		<connexion>
			<type>magnet</type>
			<position>
				<x>-9.875</x>
				<y>0</y>
			</position>
			<angle>180</angle>
			<angleToPrev>180.0</angleToPrev> <!-- how much angle between this connection and the prev one in this circular list -->
			<angleToNext>180.0</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 -->
		</connexion>
		<connexion>
			<type>magnet</type>
			<position>
				<x>9.875</x>
				<y>0</y>
			</position>
			<angle>0</angle>
			<angleToPrev>180.0</angleToPrev> <!-- how much angle between this connection and the prev one in this circular list -->
			<angleToNext>180.0</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 -->
		</connexion>
	</ConnexionList>
</part>