#debug "\nCreation des Briques ........\n"
#declare H_Joint=
   box{<0, 0, 0.1>,<Lon_Ciment,Hau_Ciment + Hau_Brique,Lar_Brique - 0.1> texture{Tex_Ciment}}

#declare H12_Joint=
   box{<0, 0, 0.1>,<Lon_Ciment / 2,Hau_Ciment + Hau_Brique,Lar_Brique - 0.1> texture{Tex_Ciment}}

#declare V_Joint=
   box{<0.1,0,0>,< Lar_Brique - 0.1,Hau_Ciment + Hau_Brique, Lon_Ciment> texture{Tex_Ciment}}

#declare V12_Joint=
   box{<0.1,0,0>,< Lar_Brique - 0.1,Hau_Ciment + Hau_Brique, Lon_Ciment / 2> texture{Tex_Ciment}}


#declare H_Brique=
union{
   box{<0, 0, 0.1>,<Lon_Brique, Hau_Ciment,Lar_Brique - 0.1> texture{Tex_Ciment}}
   box{<0, Hau_Ciment, 0>,<Lon_Brique,Hau_Ciment + Hau_Brique,Lar_Brique>}
     }

#declare V_Brique=
union{
   box{<0.1,0,0>,< Lar_Brique - 0.1, Hau_Ciment,Lon_Brique> texture{Tex_Ciment}}
   box{<0.0,Hau_Ciment,0>,<Lar_Brique,Hau_Ciment + Hau_Brique,Lon_Brique>}
     }

#declare H12_Brique=
union{
   box{<0, 0, 0.1>,<Lar_Brique, Hau_Ciment,Lar_Brique - 0.1> texture{Tex_Ciment}}
   box{<0, Hau_Ciment, 0>,<Lar_Brique,Hau_Ciment + Hau_Brique,Lar_Brique>}
     }

#declare V12_Brique=
union{
   box{<0.1,0,0>,< Lar_Brique - 0.1, Hau_Ciment,Lar_Brique> texture{Tex_Ciment}}
   box{<0.0,Hau_Ciment,0>,<Lar_Brique,Hau_Ciment + Hau_Brique,Lar_Brique>}
     }

#declare H34_Brique=
union{
   box{<0,0, 0.1>,<Lon_3_4, Hau_Ciment,Lar_Brique - 0.1> texture{Tex_Ciment}}
   box{<0,Hau_Ciment, 0>,<Lon_Brique * 0.75 - 0.5,Hau_Ciment + Hau_Brique,Lar_Brique>}
     }

#declare V34_Brique=
union{
   box{<0.1,0,0>,< Lar_Brique - 0.1, Hau_Ciment,Lon_3_4> texture{Tex_Ciment}}
   box{<0.0,Hau_Ciment,0>,<Lar_Brique,Hau_Ciment + Hau_Brique,Lon_3_4>}
     }

#declare E_Dalle_Impaire=
union{
   box{<0,0,-0.1>,< Lon_Ciment,Hau_Ciment + Hau_Brique,0> texture{Tex_Ciment}}
   box{<-0.1,0,0>,< 0,Hau_Ciment + Hau_Brique,Lon_Ciment> texture{Tex_Ciment}}
   box{<Lon_Brique + Lon_Ciment,0,-0.1>,<Lon_Brique + Lon_Ciment  * 2,Hau_Ciment + Hau_Brique,0> texture{Tex_Ciment}}
   box{<Lon_Brique + Lon_Ciment * 2,0,0.0>,<Lon_Brique + Lon_Ciment * 2 + 0.1,Hau_Ciment + Hau_Brique,Lon_Ciment> texture{Tex_Ciment}}
   box{<0,0,0>,<Lon_Brique + Lon_Ciment * 2,Hau_Ciment + Hau_Brique,Lar_Brique + Lon_Ciment> texture{Tex_Ciment}}
     }

#declare E_Dalle=
   box{<0,0,0>,<Lon_Brique + Lon_Ciment * 2,Hau_Ciment + Hau_Brique,Lar_Brique + Lon_Ciment> texture{Tex_Ciment}}

#declare E_Dalle_Paire=
union{
   box{<-0.1,0,0>,< 0,Hau_Ciment + Hau_Brique,Lon_Ciment> texture{Tex_Ciment}}
   box{<Lon_Brique + Lon_Ciment,0,-0.1>,<Lon_Brique + Lon_Ciment  * 2,Hau_Ciment + Hau_Brique,0> texture{Tex_Ciment}}
   box{<Lar_Brique + Lon_Ciment,0,-0.1>,<14,Hau_Ciment + Hau_Brique,0> texture{Tex_Ciment}}
   box{<Lon_Brique + Lon_Ciment * 2,0,0.0>,<Lon_Brique + Lon_Ciment * 2 + 0.1,Hau_Ciment + Hau_Brique,Lon_Ciment> texture{Tex_Ciment}}
   box{<0,0,0>,<Lon_Brique + Lon_Ciment  * 2,Hau_Ciment + Hau_Brique,Lar_Brique + Lon_Ciment> texture{Tex_Ciment}}
     }
#declare E_Dalle_Fin=
   box{<-0.1,0,0>,<Lon_Brique + Lon_Ciment * 2 + 0.1,Hau_Ciment + Hau_Brique, Lon_Ciment> texture{Tex_Ciment}}

#declare E_Dalle_Haut_1=
union{
   box{<0,0,0>,<Lon_Brique + Lar_Brique + Lon_Ciment,Hau_Ciment + Hau_Brique,Lon_Ciment> texture{Tex_Ciment}}
   box{<Lar_Brique,0,Lon_Ciment>,<Lar_Brique + Lon_Ciment,Hau_Ciment + Hau_Brique,Lon_Ciment + 0.1> texture{Tex_Ciment}}
   box{<Lon_Brique,0,-0.1>,<Lon_Brique + Lon_Ciment,Hau_Ciment + Hau_Brique,0> texture{Tex_Ciment}}
    }

#declare E_Dalle_Haut_2=
union{
   box{<0,0,0>,<Lon_Brique + Lar_Brique + Lon_Ciment,Hau_Ciment + Hau_Brique,Lon_Ciment> texture{Tex_Ciment}}
   box{<Lar_Brique,0,-0.1>,<Lar_Brique + Lon_Ciment,Hau_Ciment + Hau_Brique,0> texture{Tex_Ciment}}
   box{<Lon_Brique,0,Lon_Ciment>,<Lon_Brique + Lon_Ciment,Hau_Ciment + Hau_Brique,Lon_Ciment + 0.1> texture{Tex_Ciment}}
    }

#declare E_Dalle_Haut_3=
   box{<0,0,0>,<Lon_Ciment,Hau_Ciment + Hau_Brique,Lon_Brique> texture{Tex_Ciment}}

#declare E_Dalle_Haut_4=
union{
   box{<0,0,0>,<Lon_Ciment,Hau_Ciment + Hau_Brique,Lar_Brique + Lon_Ciment> texture{Tex_Ciment}}
   box{<Lon_Ciment,0,Lar_Brique>,<Lon_Ciment + 0.1,Hau_Ciment + Hau_Brique,Lar_Brique + Lon_Ciment> texture{Tex_Ciment}}
    }

#declare A12_Brique=
union{
   box{<0, 0, 0.1>,<Lar_Brique, Hau_Ciment,Lar_Brique - 0.1> texture{Tex_Ciment}}
   box{<0, Hau_Ciment, 0>,<Lar_Brique,Hau_Allee,Lar_Brique>}
     }

#declare A_Brique=
union{
   box{<0, 0, 0.1>,<Lon_Brique, Hau_Ciment,Lar_Brique - 0.1> texture{Tex_Ciment}}
   box{<0, Hau_Ciment, 0>,<Lon_Brique,Hau_Allee,Lar_Brique>}
     }

#declare H_Joint_Allee=
   box{<0,0,0>,<Lon_Ciment,Hau_Allee,Lar_Brique> texture{Tex_Ciment}}

#declare V12_Joint_Allee=
   box{<0,0,0>,<Lar_Brique,Hau_Allee,Lon_Ciment> texture{Tex_Ciment}}

#declare V12_Joint_Allee_Fin=
   box{<0,0,0>,<Lon_Brique + Lon_Ciment,Hau_Allee,Lon_Ciment> texture{Tex_Ciment}}

#declare V_Joint_Allee_Fin=
   box{<0,0,0>,<Lon_Brique + Lon_Ciment * 2,Hau_Allee,Lon_Ciment> texture{Tex_Ciment}}

#declare V_Joint_Allee=
   box{<0,0,0>,<Lon_Brique,Hau_Allee,Lon_Ciment> texture{Tex_Ciment}}


#declare H_Brique_Tour =
   difference{
      union{
         cylinder{<239,0,311>,<239,2,311> 118 texture{Tex_Ciment}}
         cylinder{<239,2,311>,<239,12,311> 118}
           }
      union{
         box{<100,-0.01,311>,<500,2,500> texture{Tex_Ciment}}
         box{<100,1.99,311>,<500,12.01,500>}
         box{<100,-0.01,301>,<500,2,100> texture{Tex_Ciment}}
         box{<100,1.99,301>,<500,12.01,100>}
         box{<143,-0.01,100>,<500,2,500> texture{Tex_Ciment}}
         box{<143,1.99,100>,<500,12.01,500>}
           }
             }

 #declare V_Brique_Tour =
     difference{
      union{
         cylinder{<239,0,311>,<239,2,311> 118 texture{Tex_Ciment}}
         cylinder{<239,2,311>,<239,12,311> 118}
           }
      union{
         box{<100,-0.01,100>,<229,2,500> texture{Tex_Ciment}}
         box{<100,1.99,100>,<229,12.01,500>}
         box{<239,-0.01,100>,<500,2,500> texture{Tex_Ciment}}
         box{<239,1.99,100>,<500,12.01,500>}
         box{<220,-0.01,215>,<240,2,500> texture{Tex_Ciment}}
         box{<220,1.99,215>,<240,12.01,500>}
           }
             }


