Page d'Accueil
- POV-Ray Tutorial
- Modélisme ferroviaire
avec POV-Ray
Table des matières
- Rail Track System,
un système des rails
pour POV-Ray
Basic Track Elements
- Voies droites et courbes
- Aiguillages
- Y et 3Directions
- Croisements
- Usage simplifié par
RT_System_00.inc
> Éléments de voies
avec RT_System_00.inc
- Voies adaptées aux
échelles de modélisme
- Échelle H0 voies
- Échelle N voies
- Échelle Z voies
- Plans voies avec
voies à l'échelle
- Placement des voies
- Voies en 'haut et bas
- Plans voies exemples
- Simple cyclique
- 'huit simple
- Téléchargement
Rail Track System
|
Pour activer les objets suivant,
nous devons ajouter :
Note : Nous devons inclure ce fichier seulement une fois !
|
#include "RT_System/RT_System_00.inc" |
|
RT_Track_Straight_0
|
object{ RT_Track_Straight_0( 0, // Simulation_Type,
22.5,// Track_Length, meter
1.5, // Ties_Per_Meter
) //-------------------------
scale<1,1,1> rotate<0,0,0>
translate<0.00,0.00,0.00>
} //--------------------------------------------------// |
|
RT_Track_Curve_0
|
object{ RT_Track_Curve_0( 0, // Simulation_Type,
85.00 // Curve_Radius, meter
15, // Curve_Angle, degrees
1.5, // Ties_Per_Meter
) //-------------------------
scale<1,1,1> rotate<0,0,0>
translate<0.00,0.00,0.00>
} //--------------------------------------------------// |
Pour une courbe à gauche on utilise 'scale<1,1,-1>' .
|
RT_Track_Switch_Y_0
|
object{RT_Track_Switch_Y_0(
0, // Simulation_Type,
0, // Direction: 0=right, 1=curve
85.00, // Switch_Radius, meter
15, // Switch_Angle, degrees
1.5, // Ties_Per_Meter
) //-------------------------
scale<1,1,1> rotate<0,0,0>
translate<0.00,0.00,0.00>
} //--------------------------------------------------// |
|
Aiguillages et croisements
de type A:
|
Pour les positions dans un plan voies est très utile :
#declare Switch_Length = 22.50 ;
#declare Switch_Angle = 15 ;
#declare Switch_Radius =
Switch_Length/(sin(radians(Switch_Angle)));
#declare Rail_Distance =
2*Switch_Radius*(1-cos(radians(Switch_Angle))); |
|
RT_Track_Switch_A_0
|
object{ RT_Track_Switch_A_0(
0, // Simulation_Type,
0, // Direction: 0 = straight, 1 = right
22.50, // Switch_Length, meter
15, // Switch_Angle, degrees
1.5, // Ties_Per_Meter
) //-------------------------
scale<1,1,1> rotate<0,0,0>
translate<0.00,0.00,0.00>
} //--------------------------------------------------// |
Pour une aiguillage à gauche on utilise ' scale<1,1,-1>' .
|
>RT_Track_Switch_3Ways_A_0
|
object{ RT_Track_Switch_3Ways_A_0(
0, // Simulation_Type,
0, // Direction: 0=straight, 1=right, 2=left
22.50, // Switch_Length, meter
15, // Switch_Angle, degrees
1.5, // Ties_Per_Meter
) //-------------------------
scale<1,1,1> rotate<0,0,0>
translate<0.00,0.00,0.00>
} //--------------------------------------------------// |
|
RT_Track_Level_Junction_0
for switch type A
|
#declare Crossing_Angle = 15;
#declare Main_Length = 22.50 ;
#declare End_Distance =
Main_Length*tan(radians(Crossing_Angle));
#declare Cross_Length =
sqrt(pow(Main_Length,2)+pow(End_Distance,2));
//----------------------------------
object{ RT_Track_Level_Junction_0(
0, // Simulation_Type,
0, // Direction: 0 = straight, 1 = right
Crossing_Angle, // degrees
Main_Length, // meter
Cross_Length, // meter
1.5, // Ties_Per_Meter
) //-------------------------
scale<1,1,1> rotate<0,0,0>
translate<0.00,0.00,0.00>
} //--------------------------------------------------// |
Pour une croissment à l'autre côté on utilise '-Crossing_Angle' .
|
Aiguillages et croisements
de type B:
|
For the positions in a track layout useful:
#declare Switch_Length = 22.50 ;
#declare Switch_Angle = 15 ;
#declare Switch_Radius =
Switch_Length/( 2*tand(Switch_Angle/2));
#declare Rail_Distance =
2*Switch_Radius*(1-cosd(Switch_Angle));
#declare L1 = Switch_Length;
#declare Bow_Len = Switch_Radius * sind( Switch_Angle);
#declare Len_Diff = L1-Bow_Len;
#declare L2= L1 - 2* Len_Diff;
|
|
RT_Track_Switch_B_0
|
object{ RT_Track_Switch_B_0(
0, // Simulation_Type,
0, // Direction: 0=straight, 1=right, 2=left
22.50, // Switch_Length, meter
15, // Switch_Angle, degrees
1.5, // Ties_Per_Meter
) //-------------------------
scale<1,1,1> rotate<0,0,0>
translate<0.00,0.00,0.00>
} //--------------------------------------------------// |
Pour une aiguillage à gauche on utilise ' scale<1,1,-1>' .
|
RT_Track_Switch_3Ways_B_0
|
object{ RT_Track_Switch_3Ways_B_0(
0, // Simulation_Type,
0, // Direction: 0=straight, 1=right, 2=left
22.50, // Switch_Length, meter
15, // Switch_Angle, degrees
1.5, // Ties_Per_Meter
) //-------------------------
scale<1,1,1> rotate<0,0,0>
translate<0.00,0.00,0.00>
} //--------------------------------------------------// |
|
RT_Track_Level_Junction_0
|
object{ RT_Track_Switch_B_0(
0, // Simulation_Type,
15, // Crossing_Angle, degrees
85.00, // Main_Length, meter
85.00, // Cross_Length, meter
1.5, // Ties_Per_Meter
) //-------------------------
scale<1,1,1> rotate<0,0,0>
translate<0.00,0.00,0.00>
} //--------------------------------------------------// |
|
|