mercoledì 6 giugno 2012

N.B. PER VEDERE QUESTO POST BISOGNA SCARICARE CORTONA
                                   http://www.cortona3d.com/try-buy/downloads.aspx

la disposizione dei banchi in classe






Scrittura da copiare in Wrml
 # Menis : costruzione del banco
# Macor : costruzione della cattedra
# Gallizia : disposizione dei banchi e della cattedra
  #per vedere da + punti di vista   per fare + di 1 si fa + viewpoint
Viewpoint {
 description "fondoaula"
 position 10 16.5 10
}

DEF coppiabanchi
Transform {
 translation 0 0 0
 children [
  DEF Banco
Transform{
translation 0 0 0
children[
#piano lavoro
Transform{
translation  0 7.1 0
children [
Shape {
 geometry Box {
  size 6.9 0.2 6.9
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.98 0.98 0.98
  }
  }
 }
 ]
}
#gamba1
Transform {
 translation -3 3.5 3
 children [
Shape{
 geometry Cylinder {
    radius 0.35
    height 7
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.75 0.2 0
  }
  }
 }
 ]
}
#gamba2
 Transform {
 translation -3 3.5 -3
 children [
Shape{
 geometry Cylinder {
    radius 0.35
    height 7
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.75 0.2 0
  }
  }
 }
 ]
}
#gamba3
Transform {
 translation 3 3.5 -3
 children [
Shape{
 geometry Cylinder {
    radius 0.35
    height 7
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.75 0.2 0
  }
  }
 }
 ]
}
#gamba4
 Transform {
 translation 3 3.5 3
 children [
Shape{
 geometry Cylinder {
    radius 0.35
    height 7
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.75 0.2 0
  }
  }
 }
 ]
}
#supporto davanti
Transform{
translation  0 6.8 3
children [
Shape {
 geometry Box {
  size 5.6 0.4 0.2
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.75 0.2 0
  }
  }
 }
 ]
}
#supporto dietro
Transform{
translation  0 6.8 -3
children [
Shape {
 geometry Box {
  size 5.6 0.4 0.2
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.75 0.2 0
  }
  }
 }
 ]
}
#supporto sinistro
Transform{
translation  3 6.8 0
rotation 0 1 0 1.57
children [
Shape {
 geometry Box {
  size 5.6 0.4 0.2
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.75 0.2 0
  }
  }
 }
 ]
}
#supporto destro
Transform{
translation  -3 6.8 0
rotation 0 1 0 1.57
children [
Shape {
 geometry Box {
  size 5.6 0.4 0.2
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.75 0.2 0
  }
  }
  }
]
}
]
}
Transform {
 translation 7 0 0
 children [
  USE Banco
 ]
}
]
}

DEF filatrebanchi
Transform {
 translation -15.6 0 0
 children [

Transform {
 translation -31.5 0 0
 children [
  USE coppiabanchi ]
 }
Transform {
 translation -17.45 0 0
 children [
  USE Banco
 ]
}
]
}
Transform {
 translation 0 0 -23.15
 children [
  USE filatrebanchi
 ]
}
Transform {
 translation 0 0 -46.3
 children [
  USE filatrebanchi
 ]
}
 Transform {
 translation 0 0 -69.45
 children [
  USE filatrebanchi
 ]
}


Transform {
 translation 45.75 0 -23.15
 children [
  USE filatrebanchi
 ]
}

Transform {
 translation 45.75 0 -46.3
 children [
  USE filatrebanchi
 ]
}

Transform {
 translation 5 0 -69.45
 children [
  USE coppiabanchi
 ]
}

Transform {
 translation -15 0 -69.45
 children [
  USE coppiabanchi
 ]
}

  Transform {
 translation -15 0 -46.3
 children [
  USE Banco
 ]
}

 #cattedra
Transform {
 translation -30 7.75 15
 children [
       #appoggio
Shape {
 geometry Box {
  size 12.9 0.2 6.9
 }
 appearance Appearance {
  material Material {
   diffuseColor 1 1 1
  }
 }
}

    #1°gamba
Transform {
 translation 5.65 -3.85 2.8
 children [
Shape {
 geometry Cylinder {
  radius 0.3
  height 7.5
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.75 0.2 0
  }
 }
}
]
}

    #2°gamba
Transform {
 translation -5.65 -3.85 -2.8
 children [
Shape {
 geometry Cylinder {
  radius 0.3
  height 7.5
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.75 0.2 0
  }
 }
}
]
}

   #3°gamba
Transform {
 translation -5.65 -3.85 2.8
 children [
Shape {
 geometry Cylinder {
  radius 0.3
  height 7.5
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.75 0.2 0
  }
 }
}
]
}

    #4°gamba
Transform {
 translation 5.65 -3.85 -2.8
 children [
Shape {
 geometry Cylinder {
  radius 0.3
  height 7.5
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.75 0.2 0
  }
 }
}
]
}


     #1°cassetto   27,625
Transform {
 translation 2.05 -4.7375 0
 children [
Shape {
 geometry Box {
  size 6.3 1.525 5.4
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.7 0.5 0
  }
 }
}
]
}
  #2°cassetto
 Transform {
 translation 2.05 -3.2125 0
 children [
Shape {
 geometry Box {
  size 6.3 1.525 5.4
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.7 0.5 0
  }
 }
}
]
}
Transform {
 translation 2.05 -5.60 0
 children [
  Shape {
   geometry Box {
    size 6.7 0.2 5.4
   }
   appearance Appearance {
    material Material {
     diffuseColor 0.7 0.5 0
    }
   }
  }
 ]
}
  Transform {
 translation 2.05 -2.35 0
 children [
  Shape {
   geometry Box {
    size 6.7 0.2 5.4
   }
   appearance Appearance {
    material Material {
     diffuseColor 0.7 0.5 0
    }
   }
  }
 ]
}
    Transform {
 translation 5.3 -3.975 0
 children [
  Shape {
   geometry Box {
    size 0.2 3.05 5.4
   }
   appearance Appearance {
    material Material {
     diffuseColor 0.7 0.5 0
    }
   }
  }
 ]
}

   Transform {
 translation -1.2 -3.975 0
 children [
  Shape {
   geometry Box {
    size 0.2 3.05 5.4
   }
   appearance Appearance {
    material Material {
     diffuseColor 0.7 0.5 0
    }
   }
  }
 ]
}
 DEF maniglia
Transform {
 translation 0 0 0
 children [
Transform {
 translation 2.05 -3.2125 2.975
 children [
  Shape {
   geometry Box {
    size 0.65 0.1 0.1
   }
   appearance Appearance  {
    material Material {
     diffuseColor 0.5 0.5 0.5
    }
   }
  }
 ]
}

Transform {
 translation 2.375 -3.2125 2.9
 children [
  Shape {
   geometry Box {
    size 0.1 0.1 0.25
   }
   appearance Appearance {
    material Material {
     diffuseColor  0.5 0.5 0.5
    }
   }
  }
 ]
}

  Transform {
 translation 1.725 -3.2125 2.9
 children [
  Shape {
   geometry Box {
    size 0.1 0.1 0.25
   }
   appearance Appearance {
    material Material {
     diffuseColor  0.5 0.5 0.5
    }
   }
  }
 ]
}
]
}

Transform {
 translation 0 -1.525 0
 children [
  USE maniglia
 ]
}
Transform {
 translation -5.5 -3.05 0
 children [
  Shape {
   geometry Box {
    size 0.2 3.0 5.5
   }
   appearance Appearance {
    material Material {
     diffuseColor  0.7 0.5 0
    }
   }
  }
 ]
}

Transform {
 translation 0 -3.05 -2.75
 children [
  Shape {
   geometry Box {
    size 11.1 4.0 0.2
   }
   appearance Appearance {
    material Material {
     diffuseColor  0.7 0.5 0
    }
   }
  }
 ]
}
]
}



Nessun commento:

Posta un commento