#declare water_bottle = union { torus { 1.25 0.2 translate 0.2*y } cylinder { <0,0.2,0> <0,5,0> 1.45 texture { whitepaint } //texture { //pigment { image_map { gif "irtc-logo-wide.gif" // map_type 2 transmit 0,1 once } // rotate 180*y scale <1,2,1> translate <0,1.75,0> } //finish { diffuse 0.8 specular 0.2 } //} } torus { 0.75 0.7 translate 5*y } difference { cylinder { <0,5.6,0> <0,6.5,0> 1.2 } torus { 1.35 0.55 translate 6.08*y } } cylinder { <0,6.5,0> <0,6.85,0> 0.95 } cylinder { <0,6.5,0> <0,6.55,0> 1 } cylinder { <0,6.80,0> <0,6.85,0> 1 } //detailing torus { 1.45 0.02 translate 5*y } torus { 1.45 0.02 translate 4.75*y } torus { 1.45 0.02 translate 4.65*y } torus { 1.45 0.02 translate 4.4*y } //cover union { cylinder { <0,6.57,0> <0,6.78,0> 1.03 } cylinder { <0,6.87,0> <0,7.3,0> 1.03 } torus { 0.94 0.07 translate 7.3*y } cone { <0,7.37,0> 0.94 <0,7.47,0> 0.5 } torus { 0.5 0.07 translate 7.47*y } cone { <0,7.54,0> 0.5 <0,7.58,0> 0.31 } difference { cylinder { <0,7.56,0> <0,7.64,0> 0.38 } torus { 0.38 0.07 translate 7.64*y } } difference { cylinder { <0,7.5,0> <0,7.9,0> 0.31 } cylinder { <0,7.5,0> <0,8,0> 0.29 } } union { //lid thumbtab cylinder { <-0.25,0,-0.25> <-0.25,0,0.25> 0.03 } cylinder { <-0.25,0,-0.3> <0.1,0,-0.31> 0.03 } cylinder { <-0.25,0,0.3> <0.1,0,0.31> 0.03 } torus { 0.05 0.03 translate <-0.2,0,-0.25> } torus { 0.05 0.03 translate <-0.2,0,0.25> } box { <-0.25,-0.03,-0.3> <0.1,0.03,0.3> } cylinder { <-0.12,0,0> <0,0.12,0> 0.03 } cylinder { <-0.2,0,-0.2> <0,0.2,-0.2> 0.03 } cylinder { <-0.2,0,0.2> <0,0.2,0.2> 0.03 } cylinder { <-0.13,0,-0.2> <0,0.13,-0.2> 0.03 } cylinder { <-0.13,0,0.2> <0,0.13,0.2> 0.03 } rotate -10*z translate <-1,6.9,0> } union { //lid connector difference { cylinder { <1.25,6.735,-0.15> <1.25,6.735,0.15> 0.165 } cylinder { <1.25,6.735,-0.2> <1.25,6.735,0.2> 0.15 } box { <0,6,-1> <1.25,7,1> } } box { <1,6.57,0.15> <1.25,6.6,-0.15> } box { <1,6.87,0.15> <1.25,6.9,-0.15> } } texture { redpaint } } //valve union { cylinder { <0,7.8,0> <0,8.15,0> 0.27 } torus { 0.34 0.07 translate 8.15*y } difference { sphere { <0,7.07,0> 1.2 } box { <-5,0,-5> <5,8.22,5> } cylinder { <0,7,0> <0,9,0> 0.13 } } texture { blackrubber } } texture { whitepaint } }