2021-03-08 06:58:18 +11:00
|
|
|
/*
|
|
|
|
* LES JOUETS DE TONTON TH
|
|
|
|
* le wagon-ridelles
|
|
|
|
*/
|
|
|
|
//-----------------------------------------------------------------
|
|
|
|
|
|
|
|
#declare Ridelle_Cote = object
|
|
|
|
{
|
|
|
|
union {
|
2021-03-14 04:56:21 +11:00
|
|
|
cylinder { <0, 4.5, -11>, <0, 4.5, 11>, 0.25 }
|
|
|
|
box { <-.25, 4, -11>, <.25, 4.5, 11> }
|
2021-03-08 06:58:18 +11:00
|
|
|
#declare foo=0;
|
|
|
|
#while (foo<6)
|
2021-03-14 04:56:21 +11:00
|
|
|
box { <-.4, 0, foo*4-10-.2>, <.4, 4, foo*4-10+.2> }
|
|
|
|
#declare foo=foo+0.5;
|
2021-03-08 06:58:18 +11:00
|
|
|
#end
|
|
|
|
}
|
|
|
|
texture {
|
|
|
|
pigment { color MediumWood }
|
|
|
|
finish { roughness .83 }
|
|
|
|
}
|
|
|
|
translate y*5.75
|
|
|
|
}
|
|
|
|
|
2021-03-14 04:56:21 +11:00
|
|
|
/* avant et arriere */
|
|
|
|
|
2021-03-08 06:58:18 +11:00
|
|
|
#declare Ridelle_Bout = object
|
|
|
|
{
|
2021-03-14 04:56:21 +11:00
|
|
|
box { <-4, 6.2, -0.1>, <4, 9.7, 0.1> }
|
2021-03-08 06:58:18 +11:00
|
|
|
texture {
|
|
|
|
pigment { color MediumWood }
|
|
|
|
finish { roughness .73 }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------
|
|
|
|
|
|
|
|
#declare Wagon_Ridelles = object
|
|
|
|
{
|
|
|
|
union
|
|
|
|
{
|
|
|
|
object { Base_Courte }
|
|
|
|
object { Ridelle_Cote translate x*3.5 }
|
|
|
|
object { Ridelle_Cote translate x*-3.5 }
|
|
|
|
object { Ridelle_Bout translate z*11.3 }
|
|
|
|
object { Ridelle_Bout translate z*-11.3 }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------
|