custom wissels - afbeelding & xml code


Nieuw programma om mooie layouts uit te tekenen//New program to make layouts
Plaats reactie
ludo
elite
elite
Berichten: 835
Lid geworden op: 26-02-2010 11:23
Contacteer:

custom wissels - afbeelding & xml code

Bericht door ludo » 15-07-2014 21:57

Hierbij de bestanden voor beide custom wissels.

plaats alle bestanden (afbeeldingen & xml code) in de map 'Track'



Afbeelding

sla onderstaande code op als: 9V Custom Crossover Left.8.xml (géén .txt) in de map 'Track'

<?xml version="1.0" encoding="UTF-8"?>
<part>
<Author>Ludo Soete</Author>
<!-- Based on the 7996.8XML file -->
<Description>
<en>Custom 9V Crossover Left</en>
<fr>Aiguillage 9V Croisé Gauche</fr>
</Description>
<!-- ImageURL></ImageURL -->
<!-- The margin of this part in stud for snaping on the grid, relative to the bitmap -->
<SnapMargin>
<left>0.5</left>
<right>0.5</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>
<!-- type of connexion (0=none, 1=rail, 2=road, 3=monorail standard, 4=monorail short curve) -->
<!-- the center of this part in stud is x = 392 pix / 8 pixperstud / 2 = 24.5 and y = 192 / 8 / 2 = 12 -->
<!-- subtrackt 0.5 for the track connector fingers (x direction): 24.5 - 0.5 = 24 -->
<connexion>
<!-- Left upper corner -->
<type>1</type> <!-- type of connexion (see <BB install folder>/config/ConnectionTypeList.xml) -->
<position>
<x>-8.0</x>
<y>-8.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>2</nextConnexionPreference> <!-- index (0-based) in that list for connecting the next part -->
<electricPlug>1</electricPlug>
</connexion>
<connexion>
<!-- Right upper corner -->
<type>1</type> <!-- type of connexion (see <BB install folder>/config/ConnectionTypeList.xml) -->
<position>
<x>24</x>
<y>-8.0</y>
</position>
<angle>0.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 -->
<electricPlug>-1</electricPlug>
</connexion>
<connexion>
<!-- Right bottom corner -->
<type>1</type> <!-- type of connexion (see <BB install folder>/config/ConnectionTypeList.xml) -->
<position>
<x>8.0</x>
<y>8.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 -->
<electricPlug>-1</electricPlug>
</connexion>
<connexion>
<!-- Left bottom corner -->
<type>1</type> <!-- type of connexion (see <BB install folder>/config/ConnectionTypeList.xml) -->
<position>
<x>-24</x>
<y>8.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>0</nextConnexionPreference> <!-- index (0-based) in that list for connecting the next part -->
<electricPlug>-1</electricPlug>
</connexion>
</ConnexionList>
</part>







Afbeelding

sla onderstaande code op als: 9V Custom Crossover Right.8.xml (géén .txt) in de map 'Track'

<?xml version="1.0" encoding="UTF-8"?>
<part>
<Author>Ludo Soete</Author>
<!-- Based on the 7996.8XML file -->
<Description>
<en>Custom 9V Crossover Right</en>
<fr>Aiguillage 9V Croisé Droit</fr>
</Description>
<!-- ImageURL></ImageURL -->
<!-- The margin of this part in stud for snaping on the grid, relative to the bitmap -->
<SnapMargin>
<left>0.5</left>
<right>0.5</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>
<!-- type of connexion (0=none, 1=rail, 2=road, 3=monorail standard, 4=monorail short curve) -->
<!-- the center of this part in stud is x = 392 pix / 8 pixperstud / 2 = 24.5 and y = 192 / 8 / 2 = 12 -->
<!-- subtrackt 0.5 for the track connector fingers (x direction): 24.5 - 0.5 = 24 -->
<connexion>
<!-- Left upper corner -->
<type>1</type> <!-- type of connexion (see <BB install folder>/config/ConnectionTypeList.xml) -->
<position>
<x>-24.0</x>
<y>-8.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>2</nextConnexionPreference> <!-- index (0-based) in that list for connecting the next part -->
<electricPlug>1</electricPlug>
</connexion>
<connexion>
<!-- Right upper corner -->
<type>1</type> <!-- type of connexion (see <BB install folder>/config/ConnectionTypeList.xml) -->
<position>
<x>8</x>
<y>-8.0</y>
</position>
<angle>0.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 -->
<electricPlug>-1</electricPlug>
</connexion>
<connexion>
<!-- Right bottom corner -->
<type>1</type> <!-- type of connexion (see <BB install folder>/config/ConnectionTypeList.xml) -->
<position>
<x>24.0</x>
<y>8.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 -->
<electricPlug>-1</electricPlug>
</connexion>
<connexion>
<!-- Left bottom corner -->
<type>1</type> <!-- type of connexion (see <BB install folder>/config/ConnectionTypeList.xml) -->
<position>
<x>-8</x>
<y>8.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>0</nextConnexionPreference> <!-- index (0-based) in that list for connecting the next part -->
<electricPlug>-1</electricPlug>
</connexion>
</ConnexionList>
</part>

succes.
Ludo

Plaats reactie

Terug naar “Blue Bricks”

Wie is er online

Gebruikers op dit forum: Geen geregistreerde gebruikers en 1 gast