Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // PoVRay 3.7 Scene File " ... .pov"
- // author: ...
- // date: ...
- //------------------------------------------------------------------------
- #version 3.7;
- global_settings{ assumed_gamma 1.0 }
- #default{ finish{ ambient 0.1 diffuse 0.9 }}
- //------------------------------------------------------------------------
- #include "colors.inc"
- #include "textures.inc"
- #include "glass.inc"
- #include "metals.inc"
- #include "golds.inc"
- #include "stones.inc"
- #include "woods.inc"
- #include "shapes.inc"
- #include "shapes2.inc"
- #include "functions.inc"
- #include "math.inc"
- #include "transforms.inc"
- //------------------------------------------------------------------------
- // camera ------------------------------------------------------------------
- #declare Camera_0 = camera {perspective angle 30 // front view
- location <-0,-0,-200>
- right x*image_width/image_height
- look_at <0.0 , 1.0 , 0.0>}
- #declare Camera_1 = camera {/*ultra_wide_angle*/ angle 90 // diagonal view
- location <2.0 , 2.5 ,-3.0>
- right x*image_width/image_height
- look_at <0.0 , 1.0 , 0.0>}
- #declare Camera_2 = camera {/*ultra_wide_angle*/ angle 90 //right side view
- location <3.0 , 1.0 , 0.0>
- right x*image_width/image_height
- look_at <0.0 , 1.0 , 0.0>}
- #declare Camera_3 = camera {/*ultra_wide_angle*/ angle 90 // top view
- location <0.0 , 3.0 ,-0.001>
- right x*image_width/image_height
- look_at <0.0 , 1.0 , 0.0>}
- camera{Camera_0}
- //------------------------------------------------------------------------
- // sun -------------------------------------------------------------------
- light_source{<-1000,2500,-2500> color White*0.9} // sunlight
- light_source{ <20.0 , 20.0 ,-20.0>color White*0.1 shadowless} // flash
- // sky -------------------------------------------------------------------
- sky_sphere{ pigment{ gradient <0,1,0>
- color_map{ [0 color rgb<1,1,1> ]//White
- [0.4 color rgb<0.14,0.14,0.56>]//~Navy
- [0.6 color rgb<0.14,0.14,0.56>]//~Navy
- [1.0 color rgb<1,1,1> ]//White
- }
- scale 2 }
- } // end of sky_sphere
- /////////////////--------------------------------------- PODSTAWA
- #declare fazowanie1 =
- prism { 0 ,2.00 , 4
- < 0, 0.00>, // first point
- < 0.00, 1.00>,
- < 1.00, 0.00>,
- < 0.00, 0.00> // last point = first point!!!
- texture { pigment{ color White }
- finish { phong 1.0 }
- } // end of texture
- scale <7.00, 150.00, 7.00>
- }
- // end of prism
- #declare otwor4mm1 =
- cylinder{<-0,-1,0>,<0,50,0>2}
- //deklaracja cylindrów
- #declare obiekt1 =
- union{
- difference{
- box { <0,0,0>< 90.00, 20.00, 80.00> translate <-45,0,-40>
- pigment{ color Gray}
- }
- // end of box
- object{fazowanie1 rotate<0,-90,90>
- translate<50.000, 20.0001, -40.0001> }
- object{fazowanie1 rotate<0,180,90>
- translate<50.0001, 20.0001, 40.0001>}
- object{fazowanie1 rotate<0,-90,90>
- translate<50.000, 20.0001, -45.0001> rotate y*90 }
- object{fazowanie1 rotate<0,-90,90>
- translate<50.000, 20.0001, -45.0001> rotate y*-90 }
- //4 pryzmaty "ścinające" krawędzie
- object{otwor4mm1 translate<-33,0,(40-(80-51-13))>}
- object{otwor4mm1 translate<0,0,-(40-13)>}
- object{otwor4mm1 translate<33,0,(40-(80-51-13))>}
- //3 otwory w woden_base
- }
- }
- object{obiekt1 rotate<0,0,0>}
- /////////////////--------------------------------------- PODSTAWA
- // camera ------------------------------------------------------------------
- //------------------------------Obiect 3.1 --------------------------------
- //------------------------------------------------------------------------
- #declare obiekt3=
- union{
- cone { <0,0,0>,0.,<0,15,0> 4
- texture { pigment{ White}
- finish { phong 1 reflection{ 0,000 metallic 0.0} }
- } // end of texture
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- } // end of cone -------------------------------------
- difference{
- sphere { <0,0,0>, 5
- texture { pigment{ color White } // rgb< 1, 0.0, 0.0>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- } // end of texture
- scale<1,1,1> rotate<0,0,0> translate<0,15,0>
- } // end of sphere -----------------------------------
- box {<-10,10,-10><10,15,10> pigment{color White}}
- box {<-1,0,0>< 1,3,10> pigment{color White} translate <0,18,-5>}
- } translate <-66,30,48> scale <0.5,0.5,0.5 >
- }
- object{obiekt3}
- // end of sky_sphere
- // camera ------------------------------------------------------------------
- //------------------------------Obiect 3.2 --------------------------------
- //------------------------------------------------------------------------
- #declare obiekt3=
- union{
- cone { <0,0,0>,0.,<0,15,0> 4
- texture { pigment{ White}
- finish { phong 1 reflection{ 0,000 metallic 0.0} }
- } // end of texture
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- } // end of cone -------------------------------------
- difference{
- sphere { <0,0,0>, 5
- texture { pigment{ color White } // rgb< 1, 0.0, 0.0>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- } // end of texture
- scale<1,1,1> rotate<0,0,0> translate<0,15,0>
- } // end of sphere -----------------------------------
- box {<-10,10,-10><10,15,10> pigment{color White}}
- box {<-1,0,0>< 1,3,10> pigment{color White} translate <0,18,-5>}
- } translate <66,30,48> scale<0.5,0.5,0.5 >
- }
- object{obiekt3}
- //------------------------------Obiect 3.3 --------------------------------
- //------------------------------------------------------------------------
- #declare obiekt3=
- union{
- cone { <0,0,0>,0.,<0,15,0> 4
- texture { pigment{ White}
- finish { phong 1 reflection{ 0,000 metallic 0.0} }
- } // end of texture
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- } // end of cone -------------------------------------
- difference{
- sphere { <0,0,0>, 5
- texture { pigment{ color White } // rgb< 1, 0.0, 0.0>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- } // end of texture
- scale<1,1,1> rotate<0,0,0> translate<0,15,0>
- } // end of sphere -----------------------------------
- box {<-10,10,-10><10,15,10> pigment{color White}}
- box {<-1,0,0>< 1,3,10> pigment{color White} translate <0,18,-5>}
- } translate <0,30,-54> scale<0.5,0.5,0.5>
- }
- object{obiekt3}
- //---------------------------------------------------------------------------
- //---------------------------- object2 ----------------------------
- //---------------------------------------------------------------------------
- #declare otwor4mm =
- cylinder{<-0,-1,0>,<0,50,0>2} //zadeklarowany walec o promieniu 2
- #declare otwor3mm =
- cylinder{<-0,-1,0>,<0,50,0>1}
- #declare krzywizna=
- box{<0,0,0><1,1,76> rotate <0,0,45> pigment{color White}}
- #declare base_plate =
- union{
- difference{
- box{
- <0,0,0><76,3,64> translate <-38,0,-32> //prostopadłościan o wymiarach 90x80x20 przesunięty tak aby leżał na "podłodze" na środku układu współrzędnych
- pigment{color Gray}
- }
- object{otwor4mm translate<-33,0,(40-(80-51-13))>}
- object{otwor4mm translate<0,0,-(40-13)>}
- object{otwor4mm translate<33,0,(40-(80-51-13))>} // 3 otwory rozmieszczone zgodnie z rysunkiem
- object{otwor3mm translate<14,0,(-7)>}
- object{otwor3mm translate<-14,0,(-7)>}
- object{otwor3mm translate<-31.5,0,(-25.5)>}
- object{otwor3mm translate<-31.5,0,(-5.5)>}
- object{otwor3mm translate<31.5,0,(-25.5)>}
- object{otwor3mm translate<31.5,0,(-5.5)>}
- object{otwor3mm translate<15.5,0,25.5>}
- object{otwor3mm translate<-15.5,0,25.5>}
- object{krzywizna translate<38,2.25,-38>}
- object{krzywizna rotate <0,-90,0> translate <38,2.25,-32>}
- object{krzywizna rotate <0,90,0> translate <-38,2.25,32>}
- object{krzywizna translate<-38,2.25,-38>}
- }
- translate<0,20,0>
- }
- object{base_plate}
- //---------------------------------------------------------------------------
- //---------------------------- object4 ----------------------------
- //---------------------------------------------------------------------------
- declare element4=
- union{
- box { <0.00, 0.00, 0.00>,< 0.15, 3.35, 3.8>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- } // end of texture
- scale <1,1,1> rotate<0,0,0> translate<-1.15,0.15,0>
- } // end of box --------------------------------------
- box { <0.00, 0.00, 0.00>,< 0.15, 3.35, 3.8>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- } // end of texture
- scale <1,1,1> rotate<0,0,0> translate<1.0,0.15,0>
- } // end of box --------------------------------------
- box { <0.00, 0.00, 0.00>,< 2.0, 0.15, 3.8>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- } // end of texture
- scale <1,1,1> rotate<0,0,0> translate<-1.0,3.5,0>
- } // end of box --------------------------------------
- }
- declare rog=
- difference{
- cylinder { <0,0,0>,<0,0,3.8>,0.15
- texture { pigment { color rgb<1,1,1>}
- //normal { bumps 0.5 scale 0.005}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- } // end of texture
- scale <1,1,1> rotate<0,0,0> translate<0,0.15,0>
- } // end of cylinder ------------------------------------
- box { <0.00, 0.00, -10.00>,< 0.5, 0.5, 10>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- } // end of texture
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- } // end of box --------------------------------------
- box { <0.00, 0.00, -10.00>,< 0.5, 0.5, 10>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- } // end of texture
- scale <1,1,1> rotate<0,0,0> translate<-0.2,-0.35,0>
- } // end of box --------------------------------------
- }
- declare walecz=
- cylinder { <0,0,0>,<0,5.00,0>, 0.2
- texture { pigment { color rgb<1,1,1> }
- //normal { bumps 0.5 scale <0.005,0.25,0.005>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- } // end of texture
- scale <1,1,1> rotate<0,0,0> translate<0,0,1.9>
- } // end of cylinder -------------------------------------
- declare walecx=
- cylinder { <-4,0,0>,<4,0,0>, 0.6
- texture { pigment { color rgb<1,1,1>}
- //normal { bumps 0.5 scale <0.25, 0.005,0.005>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- } // end of texture
- scale <1,1,1> rotate<0,0,0> translate<0,1.725,1.9>
- } // end of cylinder ------------------------------------
- declare dol=
- union{
- box { <0.00, 0.00, 0.00>,< 1.00, 0.15, 3.8>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- } // end of texture
- scale <1,1,1> rotate<0,0,0> translate<-2,0,0>
- } // end of box --------------------------------------
- box { <0.00, 0.00, 0.00>,< 1.00, 0.15, 3.8>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- } // end of texture
- scale <1,1,1> rotate<0,0,0> translate<1.15,0,0>
- } // end of box --------------------------------------
- }
- declare walec2=
- cylinder { <0,0,0>,<0,5.00,0>, 0.2
- texture { pigment { color rgb<1,1,1> }
- //normal { bumps 0.5 scale <0.005,0.25,0.005>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- } // end of texture
- scale <1,1,1> rotate<0,0,0> translate<0,0,1.9>
- } // end of cylinder -------------------------------------
- declare otwor3mm=
- cylinder { <0,0,0>,<0,1,0>, 0.15
- texture { pigment { color rgb<1,1,1> }
- //normal { bumps 0.5 scale <0.005,0.25,0.005>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- } // end of texture
- scale <1,1,1> rotate<0,0,0> translate<0,0,>
- } // end of cylinder
- union{
- difference{
- difference{
- object{element4}
- object{walecx}
- }
- object{walecz}
- }
- difference{
- object{dol}
- object{otwor3mm translate<-1.65,0,0.5>}
- object{otwor3mm translate<1.65,0,0.5>}
- object{otwor3mm translate<-1.65,0,3.3>}
- object{otwor3mm translate<1.65,0,3.3>}
- }
- object{rog translate<-1.0,3.35,0>}
- object{rog translate<-3.5,0.85,0> rotate<0,0,270>}
- object{rog translate<0.15,-1.30,0> rotate<0,0,90>}
- object{rog translate<1.15,-0.3,0.0> rotate<0,0,180>} scale< 10,10,10>
- translate<-9,23,-20 > rotate<0,90,0>
- }
- ////////////////////////////////////////////////////////////////////////////////////
- /////////////////////////////Obiect 5/////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////////////
- union{
- union{
- difference{
- union{
- difference{
- cylinder { <-1.15,0,0>,<1.15,0,0>, 0.6
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,2,0>
- }
- cylinder { <-2.20,0,0>,<2.20,0,0>, 0.5
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,2,0>
- }
- }
- }
- cylinder { <0,0,0>,<0,2.00,0>, 0.2
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,1.5,0>
- }
- }
- }
- #declare zaslepka=
- difference{
- union{
- difference{
- object {
- Round_Cylinder(<0,2,0>, <0.7,2,0>, 0.75 , 0.1, 0)
- texture{ pigment{ color rgb<1,0.2,0.35> }
- finish { phong 1 }
- }
- scale<1,1,1> rotate<0, 0,0> translate<0,0.00,0>
- }
- box { <0.30, 1.00, -1.00>,< 1.00, 3.00, 1.00>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- }
- cylinder { <0.30,0,0>,<0.7,0,0>, 0.5
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,2,0>
- }
- }
- cylinder { <-4.30,0,0>,<4.7,0,0>, 0.3
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,2,0>
- }
- }
- object{zaslepka rotate<0,0,0> translate<-1.3,0,0>}
- object{zaslepka rotate<0,180,0> translate<1.3,0,0>}
- #declare sruba=
- union{
- difference{
- union{
- cylinder { <0,0.6,0>,<0,0.8,0>, 0.30
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- cylinder { <0,-0.4,0>,<0,0.6,0>, 0.20
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- }
- cylinder { <0,-10,0>,<0,2.6,0>, 0.1
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- }
- }
- object{sruba rotate<0,0,0> translate<0,2.8,0> }
- scale <11,11,11>translate<-9,23,-1> rotate<0,90,0>}
- //---------------------------------------------------------------------------
- //---------------------------- objects 6.1 ----------------------------
- //---------------------------------------------------------------------------
- #declare zaokragleniedown6 =
- difference {
- cylinder { <0,23.05,0>,<0,0,0>1.5 texture { pigment{ color White}}}
- box { <0,-0.01,0>,<12,24.01,6> translate <-6,0,0> texture { pigment{ color Gray}}}
- box { <0,-0.01,0>,<6,24.01,12> translate <0,0,-6>texture { pigment{ color Gray}}}
- rotate <90,0,0>
- }
- #declare zaokraglenieup6 =
- difference {
- cylinder { <0,12,0>,<0,0,0>1.5 texture { pigment{ color White}}}
- box { <0,-0.01,0>,<12,12.01,6> translate <-6,0,0> texture { pigment{ color Red}}}
- box { <0,-0.01,0>,<6,12.01,12> translate <0,0,-6>texture { pigment{ color Red}}}
- rotate <90,0,0>
- }
- #declare podstawa6 =
- difference {
- prism { 0.00 ,1.5 , 5
- < 0.00, 12.00>,
- < 9.90, 9.00>,
- < 9.90, -9.00>,
- < 0.00, -12.00>
- < 0.00, 12.00>
- texture { pigment{ color White}}
- }
- difference {
- box { <0,0,0>
- < 5, 2, 5>
- }
- cylinder { <0, -1, 0>
- <0, 3, 0>
- 4
- }
- translate <6, -0.1, 6.5> pigment{color Gray}
- }
- difference {
- box { <0,0,0>
- <5,2,5>
- }
- cylinder { <0,-1,0>
- <0,3,0>
- 4
- }
- translate <6.5, -0.1, 6> pigment{color Gray}
- rotate <0,90,0>
- }
- cylinder { <0, -1, 0>
- <0, 3, 0>
- 3/2
- translate <6,-0.1,7> pigment{color Gray}
- }
- cylinder { <0, -1, 0>
- <0, 3, 0>
- 3/2
- translate <6,-0.1,-7> pigment{color Gray}
- }
- }
- #declare dach6 =
- difference {
- prism { 0.00 ,1.5 , 5
- < 0.00, 6.00>,
- < 5.90, 6.00>,
- < 5.90, -6.00>,
- < 0.00, -6.00>
- < 0.00, 6.00>
- texture { pigment{ color White }}
- }
- difference {
- box { <0,0,0>
- < 5, 2, 5>
- }
- cylinder { <0, -1, 0>
- <0, 3, 0>
- 4
- }
- translate <2, -0.1, 2> pigment{color Gray}
- }
- difference {
- box { <0,0,0>
- <5,2,5>
- }
- cylinder { <0,-1,0>
- <0,3,0>
- 4
- }
- translate <2, -0.1, 2> pigment{color Gray}
- rotate <0,90,0>
- }
- cylinder { <0, -1, 0>
- <0, 3, 0>
- 3/2
- translate <3,-0.1,0> pigment{color Gray}
- }
- rotate <0,180,0>
- }
- #declare sciana6 =
- difference {
- prism { 0.00 ,1.5 , 5
- < 0.00, 12.00>,
- < 63.30, 6.00>,
- < 63.30, -6.00>,
- < 0.00, -12.00>
- < 0.00, 12.00>
- texture { pigment{ color White }}
- rotate <0,180,0>
- }
- difference {
- prism { 0.00 ,2 , 5
- < 0.00, 8.00>,
- < 50.00, 3.00>,
- < 50.00, -3.00>,
- < 0.00, -8.00>
- < 0.00, 8.00>
- texture { pigment{ color White }}
- }
- difference {
- box { <0,0,0>
- < 5, 3, 5>
- }
- cylinder { <0, -1, 0>
- <0, 4, 0>
- 4
- }
- translate <46.5001,-0.1,-0.5> pigment{color Gray}
- }
- difference {
- box { <0,0,0>
- < 5, 3, 5>
- }
- cylinder { <0, -1, 0>
- <0, 4, 0>
- 4
- }
- rotate <0, 90, 0>
- translate <46.5001,-0.1,0.5> pigment{color Gray}
- }
- difference {
- box { <0,0,0>
- < 5, 3, 5>
- }
- cylinder { <0, -1, 0>
- <0, 4, 0>
- 4
- }
- rotate <0,180,0>
- translate <4,-0.1,-4> pigment{color Gray}
- }
- difference {
- box { <0,0,0>
- < 5, 3, 5>
- }
- cylinder { <0, -1, 0>
- <0, 4, 0>
- 4
- }
- rotate <0,270,0>
- translate <4,-0.1,4> pigment{color Gray}
- }
- rotate <0,180,0>
- translate <-7.1,-0.1,0>
- }
- }
- #declare obiekt6=
- union{
- object{podstawa6}
- object{sciana6 rotate<0,0,-75> translate <-1.2,0.2,0>}
- object{dach6 translate<-17.5,61.5,0>}
- object{zaokragleniedown6 rotate<0,0,90> scale<1.04,1.04,1.04> translate<0,1.5,-12>}
- object{zaokraglenieup6 rotate<0,0,-90> scale<1.04,1.04,1.04> translate<-17.52,61,-5>}
- translate<27,23,16>rotate<0,45,0 > scale<1,1,1>
- }
- object{obiekt6 rotate<0,135,0>}
- //---------------------------------------------------------------------------
- //---------------------------- objects 6.2 ----------------------------
- //---------------------------------------------------------------------------
- #declare zaokragleniedown6 =
- difference {
- cylinder { <0,23.05,0>,<0,0,0>1.5 texture { pigment{ color White}}}
- box { <0,-0.01,0>,<12,24.01,6> translate <-6,0,0> texture { pigment{ color Gray}}}
- box { <0,-0.01,0>,<6,24.01,12> translate <0,0,-6>texture { pigment{ color Gray}}}
- rotate <90,0,0>
- }
- #declare zaokraglenieup6 =
- difference {
- cylinder { <0,12,0>,<0,0,0>1.5 texture { pigment{ color White}}}
- box { <0,-0.01,0>,<12,12.01,6> translate <-6,0,0> texture { pigment{ color Red}}}
- box { <0,-0.01,0>,<6,12.01,12> translate <0,0,-6>texture { pigment{ color Red}}}
- rotate <90,0,0>
- }
- #declare podstawa6 =
- difference {
- prism { 0.00 ,1.5 , 5
- < 0.00, 12.00>,
- < 9.90, 9.00>,
- < 9.90, -9.00>,
- < 0.00, -12.00>
- < 0.00, 12.00>
- texture { pigment{ color White}}
- }
- difference {
- box { <0,0,0>
- < 5, 2, 5>
- }
- cylinder { <0, -1, 0>
- <0, 3, 0>
- 4
- }
- translate <6, -0.1, 6.5> pigment{color Gray}
- }
- difference {
- box { <0,0,0>
- <5,2,5>
- }
- cylinder { <0,-1,0>
- <0,3,0>
- 4
- }
- translate <6.5, -0.1, 6> pigment{color Gray}
- rotate <0,90,0>
- }
- cylinder { <0, -1, 0>
- <0, 3, 0>
- 3/2
- translate <6,-0.1,7> pigment{color Gray}
- }
- cylinder { <0, -1, 0>
- <0, 3, 0>
- 3/2
- translate <6,-0.1,-7> pigment{color Gray}
- }
- }
- #declare dach6 =
- difference {
- prism { 0.00 ,1.5 , 5
- < 0.00, 6.00>,
- < 5.90, 6.00>,
- < 5.90, -6.00>,
- < 0.00, -6.00>
- < 0.00, 6.00>
- texture { pigment{ color White }}
- }
- difference {
- box { <0,0,0>
- < 5, 2, 5>
- }
- cylinder { <0, -1, 0>
- <0, 3, 0>
- 4
- }
- translate <2, -0.1, 2> pigment{color Gray}
- }
- difference {
- box { <0,0,0>
- <5,2,5>
- }
- cylinder { <0,-1,0>
- <0,3,0>
- 4
- }
- translate <2, -0.1, 2> pigment{color Gray}
- rotate <0,90,0>
- }
- cylinder { <0, -1, 0>
- <0, 3, 0>
- 3/2
- translate <3,-0.1,0> pigment{color Gray}
- }
- rotate <0,180,0>
- }
- #declare sciana6 =
- difference {
- prism { 0.00 ,1.5 , 5
- < 0.00, 12.00>,
- < 63.30, 6.00>,
- < 63.30, -6.00>,
- < 0.00, -12.00>
- < 0.00, 12.00>
- texture { pigment{ color White }}
- rotate <0,180,0>
- }
- difference {
- prism { 0.00 ,2 , 5
- < 0.00, 8.00>,
- < 50.00, 3.00>,
- < 50.00, -3.00>,
- < 0.00, -8.00>
- < 0.00, 8.00>
- texture { pigment{ color White }}
- }
- difference {
- box { <0,0,0>
- < 5, 3, 5>
- }
- cylinder { <0, -1, 0>
- <0, 4, 0>
- 4
- }
- translate <46.5001,-0.1,-0.5> pigment{color Gray}
- }
- difference {
- box { <0,0,0>
- < 5, 3, 5>
- }
- cylinder { <0, -1, 0>
- <0, 4, 0>
- 4
- }
- rotate <0, 90, 0>
- translate <46.5001,-0.1,0.5> pigment{color Gray}
- }
- difference {
- box { <0,0,0>
- < 5, 3, 5>
- }
- cylinder { <0, -1, 0>
- <0, 4, 0>
- 4
- }
- rotate <0,180,0>
- translate <4,-0.1,-4> pigment{color Gray}
- }
- difference {
- box { <0,0,0>
- < 5, 3, 5>
- }
- cylinder { <0, -1, 0>
- <0, 4, 0>
- 4
- }
- rotate <0,270,0>
- translate <4,-0.1,4> pigment{color Gray}
- }
- rotate <0,180,0>
- translate <-7.1,-0.1,0>
- }
- }
- #declare obiekt6=
- union{
- object{podstawa6}
- object{sciana6 rotate<0,0,-75> translate <-1.2,0.2,0>}
- object{dach6 translate<-17.5,61.5,0>}
- object{zaokragleniedown6 rotate<0,0,90> scale<1.04,1.04,1.04> translate<0,1.5,-12>}
- object{zaokraglenieup6 rotate<0,0,-90> scale<1.04,1.04,1.04> translate<-17.52,61,-5>}
- translate<27,23,-16>rotate<0,225,0 > scale<1,1,1>
- }
- object{obiekt6 rotate<0,135,0>}
- ///////////////////////////////////////////////////////////////////////////////
- ////////////////////////////Obiect 7////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////////
- declare obiekt7=
- union{
- difference{
- union{
- difference{
- cylinder { <0,0,0>,<0,3.8,0>, 1.35
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- union{
- cylinder { <0,-1,0>,<0,2.7,0>, 0.6
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0.5>
- }
- cylinder { <0,-1,0>,<0,3.2,0>, 0.35
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,-0.5>
- }
- cylinder { <0,-1,0>,<0,2.00,0>, 0.15
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<1,0,0>
- }
- cylinder { <0,-1,0>,<0,2.00,0>, 0.15
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<-1,0,0>
- }
- }
- }
- difference{
- union{
- cylinder { <0,0,0>,<0,0,2.0>,0.35
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,2.5,-1.8>
- }
- cylinder { <0,0,-0.6>,<0,0,2.00>,0.30
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,2.5,-1.8>
- }
- }
- cylinder { <0,0,-0.7>,<0,0,2.1>,0.25
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,2.5,-1.8>
- }
- }
- }
- box { <-2,0,-2>,< 2, 4.00, 2.00>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>*1.1}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,3.2,0>
- }
- }
- difference{
- object {Round_Cylinder(<0,0,0>, <0,3.8,0>, 1.35 , 0.20, 0)
- texture{ pigment{ color rgb<1,0.2,0.35> }
- finish { phong 1 }
- }
- scale<1,1,1> rotate<0, 0,0> translate<0,0.00,0>
- }
- box { <-2.00, -1.00, -2.00>,< 2.00, 3.20, 2.00>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- }
- }
- object{obiekt7 rotate<0,180,0> translate<0,8.5,-1.6> scale<10,10,10>}
- ///////////////////////////////////////////////////////////////////////////////
- ////////////////////////////Obiect 8 ////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////////
- #declare White = rgb <1,1,1>;
- declare obiekt8=
- difference{
- union{
- difference{
- object {Round_Cylinder(<0,0,0>, <0,0,1.3>, 2.2 , 0.20, 0)
- texture{ pigment{ color rgb<1,0.2,0.35> }
- finish { phong 1 }
- }
- scale<1,1,1> rotate<0, 0,0> translate<0,2.1,0>
- }
- union{
- cone { <0,0,0>,1.9,<0,1.9,0>,0
- texture { pigment{ color rgb<1,0.60,0.0>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<90,0,00> translate<0,2.1,-0.1>
- }
- cone { <0,0,0>,1.9,<0,1.9,0>,0
- texture { pigment{ color rgb<1,0.60,0.0>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<-90,0,00> translate<0,2.1,1.31>
- }
- }
- }
- cylinder { <0,0,0.25>,<0,0,1.05>,1.65
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- } // end of texture
- scale <1,1,1> rotate<0,0,0> translate<0,2.1,0>
- }
- difference{
- cone { <0,1,0>,0.85,<0,1.85,0>,0
- texture { pigment{ color rgb<1,0.60,0.0>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<90,0,00> translate<0,2.1,-0.1>
- }
- cone { <0,0.75,0>,0.85,<0,-1.6,0>,0
- texture { pigment{ color rgb<1,0.60,0.0>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<90,0,00> translate<0,2.1,-0.1>
- }
- box { <2,0,0>,< -2.00, 4.00, -3.00>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>*1.1}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- }
- cylinder { <0,0,0.25>,<0,0,1.05>,1.65
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- } // end of texture
- scale <1,1,1> rotate<0,0,0> translate<0,2.1,0>
- }
- difference{
- cone { <0,1,0>,0.85,<0,1.85,0>,0
- texture { pigment{ color rgb<1,0.60,0.0>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<90,0,00> translate<0,2.1,-0.1>
- }
- cone { <0,0.75,0>,0.85,<0,-1.6,0>,0
- texture { pigment{ color rgb<1,0.60,0.0>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<90,0,00> translate<0,2.1,-0.1>
- }
- box { <2,0,0>,< -2.00, 4.00, -3.00>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>*1.1}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- }
- difference{
- cylinder { <0,0,0.25>,<0,0,2.85>,0.6
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,2.1,0>
- }
- }
- }
- union{
- cylinder { <0,0,-2>,<0,0,3>,0.3
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,1.05,0>
- }
- cylinder { <0,0,-2>,<0,0,3>,0.3
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0.75,1.35,0>
- }
- cylinder { <0,0,-2>,<0,0,3>,0.3
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,3.15,0>
- }
- cylinder { <0,0,-2>,<0,0,3>,0.3
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0.75,2.8,0>
- }
- cylinder { <0,0,-2>,<0,0,3>,0.3
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<1.05,2.1,0>
- }
- cylinder { <0,0,-2>,<0,0,3>,0.3
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<-0.75,1.35,0>
- }
- cylinder { <0,0,-2>,<0,0,3>,0.3
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<-1.05,2.1,0>
- }
- cylinder { <0,0,-2>,<0,0,3>,0.3
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<-0.75,2.8,0>
- }
- cylinder { <0,0,0.2>,<0,0,3>,0.3
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,2.1,0>
- }
- }
- }
- cylinder { <0,1.25,0>,<0,2.9,0>, 0.15
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,2>
- }
- object{obiekt8 scale< 10,10,10> translate<1,24,-50> rotate<0,180,0> }
- // end of sky_sphere
- ///////////////////////////////////////////////////////////////////////////////
- ////////////////////////////Obiect 9 ////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////////
- declare obiekt9=
- union{
- difference{
- cylinder { <0,9+52,0>,<0,9,0>, 6/2
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- //duzy cylinder
- cylinder{<0,0,0>,<0,3,0>3/2 rotate <-90,0,0> translate <0,44,0>
- texture { pigment {color rgb<1,1,1>}}
- }
- //otwor
- }
- cylinder { <0,9,0>,<0,0,0>, 5/2
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- }
- //mniejszy cylinder
- object{obiekt9 rotate <90,0,0> translate <-1,45,-15>}
- ///////////////////////////////////////////////////////////////////////////////
- ////////////////////////////Obiect 10 ////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////////
- #declare m_otwor =
- cylinder {<0,-1,0>,<0,4,0> 5/2 pigment{color Gray}}
- #declare s_otwor =
- cylinder {<0,-1,0>,<0,4,0> 2/2 pigment{color Gray}}
- #declare nit =
- union{
- difference{
- sphere {<0,0,0> 3/2 translate <0,6,0> pigment{color White}}
- box {<0,0,0>,<4,4,4> translate <-2,2,-2> pigment{color Black}}
- }
- cylinder {<0,0,0>,<0,7,0> 2/2 pigment{color White}}
- }
- #declare base_cylinder =
- union{
- difference{
- cylinder{<-0,0,0>,<0,3,0>25/2 pigment{color White}} //zadeklarowany walec o srednicy 25
- object{m_otwor}
- object{m_otwor translate <0,0,-8>}
- object{s_otwor translate <-8.6,0,4>}
- object{s_otwor translate <8.6,0,4>}
- object{s_otwor translate <0,0,9.5>}
- }
- difference{ //banane
- cylinder {<0,3,0>,<0,6,0> 25/2 pigment{color Gray}}
- box {<-5/2,2,-18>,<5/2,7,4> pigment{color White}}
- object{s_otwor translate <-8.6,3,4>}
- object{s_otwor translate <8.6,3,4>}
- object{s_otwor translate <0,3,9.5>}
- box {<-5,2,-18>,<15,8,5> rotate<0,65,0> translate <-4.9,0,-2.61> pigment{color White}}
- box {<-15,2,-18>,<5,8,5> rotate<0,-65,0> translate <4.9,0,-2.61> pigment{color White}}
- box {<-3,0,-3>,<3,7,3> rotate<0,35,0> translate<-23/2,0,0> pigment {color Black}}
- box {<-3,0,-3>,<3,7,3> rotate<0,-35,0> translate<23/2,0,0> pigment {color Black}}
- }
- cylinder{<0,3,0>,<0,5.999,0>2.42 translate<19.1/2,0,3.4> pigment{color Gray}}
- cylinder{<0,3,0>,<0,5.999,0>2.42 translate<-19.1/2,0,3.4> pigment{color Gray}}
- object{nit translate <-8.6,0,4>}
- object{nit translate <8.6,0,4>}
- object{nit translate <0,0,9.5>}
- }
- object{base_cylinder rotate <-90,0,180> translate <-1,45,-11>}
- ///////////////////////////////////////////////////////////////////////////////
- ////////////////////////////Obiect 11 ////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////////
- declare crank_pin=
- union{
- cylinder { <0,0,0>,<0,0,9>,2.5
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,6,0>
- }
- cylinder { <0,0,0>,<0,0,4>,2.5
- texture { pigment { color gray}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,6,9>
- }
- }
- object{crank_pin translate<-1,47,-25>}
- //---------------------------------------------------------------------------
- //---------------------------- Obiect 12 ----------------------------
- //---------------------------------------------------------------------------
- declare obiekt12=
- union{
- difference{
- cylinder { <0,0,0>,<0,0,6.5> 3.5
- texture { pigment { color White}}
- rotate<0,0,0> translate<0,0,0>
- }
- cylinder { <0,0,-1>,<0,0,7>,2.5
- texture { pigment { color White}}
- rotate<0,0,0> translate<0,0,0>
- }
- }
- }
- object{obiekt12 translate <-1,53,-21> scale<1,1,1>}
- //---------------------------------------------------------------------------
- //---------------------------- object 13 ----------------------------
- //---------------------------------------------------------------------------
- declare obiekt13=
- union{
- difference{
- cylinder { <0,0,0>,<0,0,5>,5.5
- texture { pigment { color White}}
- rotate<0,0,0> translate<0,0,0>
- }
- cylinder { <0,0,-3>,<0,0,8>,2.5
- texture { pigment { color White}}
- rotate<0,0,0> translate<0,2.5,0>
- }
- }
- }
- object{obiekt13 translate <1,-47,-11> rotate<0,0,180 >}
- //////////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////obiect 14
- /////////////////////////////////////////////////////////////////////////////////////
- union{
- #declare obiekt14=
- union{
- difference{
- cylinder { <0,31,0>,<0,6,0>, 4.5
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- //duzy cylinder
- cylinder { <0,28,0>,<0,6,0>, 1.25
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- //cylinder w srodku duzego cylindra
- cylinder{<0,0,0>,<0,2.5,0>1.25 rotate <-90,90,0> translate <5,24.25,0>
- texture { pigment {color rgb<1,1,1>}}
- }
- //mniejsyz cylinder od boku (1)
- cylinder{<0,0,0>,<0,2.5,0>1.25 rotate <-90,90,0> translate <5,26.75,0>
- texture { pigment {color rgb<1,1,1>}}
- }
- //mniejsyz cylinder od boku (1)
- box {<4.5,26.75,-1.3>,<0,24.25,1.3>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- //box od boku
- }
- }
- difference{
- cylinder { <0,6,0>,<0,0,0>, 2.5
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- //mniejszy cylinder
- box { <-0.75, 6, -3>,< 0.75, 0, 3>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- //wciecie w dolnym cylindrze (mniejszy)
- }
- cylinder { <-3,0,0>,<3,0,0>, 1
- texture { pigment { color rgb<1,1,1>}
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,2.5,0>
- }
- //cylinder na dole przechodzacy w poprzek
- }
- object{obiekt14 translate<0,70,-13> scale<0.8,0.8,0.8> rotate<0,90,0> }
- //---------------------------------------------------------------------------
- //---------------------------- objects 17 ----------------------------
- //---------------------------------------------------------------------------
- #declare podstawa17 =
- union{
- prism {0.00,1.5,5
- <-4,0>,
- <-2.5,51>,
- <2.5,51>,
- <4,0>,
- <-4,0>
- texture { pigment{ color White}}
- }
- cylinder{<0,0.01,0>,<0,1.499,0> 2.499 translate <0,0,51> pigment{ color White}}
- cylinder{<0,0.01,0>,<0,1.499,0> 3.999 translate <0,0,0> pigment{ color White}}
- }
- #declare otworm17=
- cylinder{<0,-0.01,0>,<0,1.51,0> 1 translate <0,0,51> pigment{ color White}}
- #declare otword17=
- cylinder{<0,-0.01,0>,<0,1.51,0> 3 translate <0,0,0> pigment{ color White}}
- #declare pierscien17=
- difference{
- cylinder{<0,0,0>,<0,2,0> 2.99 translate <0,0,0> pigment{ color White}}
- cylinder{<0,-1,0>,<0,3,0> 2.49 translate <0,0,0> pigment{ color White}}
- }
- #declare obiekt17=
- union{
- difference{
- object{podstawa17}
- object{otworm17}
- object{otword17}
- }
- object{pierscien17 translate <0,-0.25,0>}
- }
- object{obiekt17 rotate <270,0,0> translate <-10,9,1>}
- rotate<0,0,0> translate<10,23,-10> }/// Move petite
- //----------------------------------------------------------------------------
- //---------------------------------------------------------------------------
- //---------------------------- object 15 ----------------------------
- //---------------------------------------------------------------------------
- //---------------------------------------------------------------------------
- union{
- #declare obiekt15=
- difference{
- union{
- difference{
- cylinder { <0,0,0>,<0,0,5> 7
- texture { pigment { color White}}
- rotate<0,0,0> translate<0,0,0>
- }
- cylinder { <0,0,-0.1>,<0,0,5.1> 5.5
- texture { pigment { color White}}
- rotate<0,0,0> translate<0,0,0>
- }
- }
- difference{
- box { <0,6.8,0>,< 5, 40,1.5>
- texture { pigment{ color White}}
- rotate<0,0,0> translate<-2.5,0,1.75>
- }
- }
- cylinder { <0,0,0>,<0,0,1.49> 2.5
- texture { pigment { color White}}
- rotate<0,0,0> translate<0,40,1.76>
- }
- }
- cylinder { <0,0,-5>,<0,0,5> 1
- texture { pigment { color White}}
- rotate<0,0,0> translate<0,40,0>
- }
- }
- object{obiekt15 rotate <0,0,0> translate <0,8,0>}
- ////////////////////////////////////////////////////////////////////////////////////
- //////////////////////Obiect 16//////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////////
- #declare obiekt16=
- union{
- cylinder { <0,6,0>,<0,14,0>, 6
- texture { pigment { color White}}
- rotate<0,0,0> translate<0,0,0>
- }
- difference{
- cylinder { <0,0,0>,<0,6,0>, 4
- texture { pigment { color White}}
- rotate<0,0,0> translate<0,0,0>
- }
- box { <-0.75, -0.01, -6>,< 0.75, 6, 6>
- texture { pigment{ color White}}
- rotate<0,90,0> translate<0,0,0>
- }
- }
- cylinder { <0,-4.5,0>,<0,4.5,0>, 1
- texture { pigment { color White}}
- rotate<90,0,0> translate<0,2.5,0>
- }
- }
- object{obiekt16 rotate<0,0,0> translate <0,46,2>}
- rotate<0,0,0 > translate<1,39,-11 > }
- union{
- #declare m3x5_screw=
- union{
- difference{
- cylinder { <0,0,0>,<0,0.24,0>, 0.3
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
- }
- box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
- }
- }
- cylinder { <0,0,0>,<0,0.5,0>, 0.145
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- }
- object{m3x5_screw scale<7,7,7> translate<13,22,-7>
- }
- ///////////////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////
- #declare m3x5_screw=
- union{
- difference{
- cylinder { <0,0,0>,<0,0.24,0>, 0.3
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
- }
- box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
- }
- }
- cylinder { <0,0,0>,<0,0.5,0>, 0.145
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- }
- object{m3x5_screw scale<7,7,7> translate<-15,22,-7>
- }
- ///////////////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////
- #declare m3x5_screw=
- union{
- difference{
- cylinder { <0,0,0>,<0,0.24,0>, 0.3
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
- }
- box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
- }
- }
- cylinder { <0,0,0>,<0,0.5,0>, 0.145
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- }
- object{m3x5_screw scale<7,7,7> translate<-15,22,25>
- }
- ///////////////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////
- #declare m3x5_screw=
- union{
- difference{
- cylinder { <0,0,0>,<0,0.24,0>, 0.3
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
- }
- box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
- }
- }
- cylinder { <0,0,0>,<0,0.5,0>, 0.145
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- }
- object{m3x5_screw scale<7,7,7> translate<13,22,25>
- } translate<0,0,0> }
- declare m3x5_screw=
- union{
- difference{
- cylinder { <0,0,0>,<0,0.24,0>, 0.3
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
- }
- box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
- }
- }
- cylinder { <0,0,0>,<0,0.5,0>, 0.145
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- }
- object{m3x5_screw scale<7,7,7> translate<33,21,-9>
- }
- ///////////////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////
- declare m3x5_screw=
- union{
- difference{
- cylinder { <0,0,0>,<0,0.24,0>, 0.3
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
- }
- box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
- }
- }
- cylinder { <0,0,0>,<0,0.5,0>, 0.145
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- }
- object{m3x5_screw scale<7,7,7> translate<33,21,-23>
- }
- ///////////////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////
- declare m3x5_screw=
- union{
- difference{
- cylinder { <0,0,0>,<0,0.24,0>, 0.3
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
- }
- box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
- }
- }
- cylinder { <0,0,0>,<0,0.5,0>, 0.145
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- }
- object{m3x5_screw scale<7,7,7> translate<-33,21,-23>
- }
- ///////////////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////
- declare m3x5_screw=
- union{
- difference{
- cylinder { <0,0,0>,<0,0.24,0>, 0.3
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
- }
- box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
- }
- }
- cylinder { <0,0,0>,<0,0.5,0>, 0.145
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- }
- object{m3x5_screw scale<7,7,7> translate<-33,21,-9>
- }
- ///////////////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////
- union{
- #declare m3x5_screw=
- union{
- difference{
- cylinder { <0,0,0>,<0,0.24,0>, 0.3
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
- }
- box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
- }
- }
- cylinder { <0,0,0>,<0,0.5,0>, 0.145
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- }
- object{m3x5_screw scale<7,7,7> translate<-6.25,37,36> rotate<180,0,0>
- }
- ///////////////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////
- #declare m3x5_screw=
- union{
- difference{
- cylinder { <0,0,0>,<0,0.24,0>, 0.3
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
- }
- box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>
- texture { pigment{ color rgb<1.00, 1.00, 1.00>}
- finish { phong 1 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
- }
- }
- cylinder { <0,0,0>,<0,0.5,0>, 0.145
- texture { pigment { color rgb<1,1,1> }
- finish { phong 0.5 reflection{ 0.00 metallic 0.00} }
- }
- scale <1,1,1> rotate<0,0,0> translate<0,0,0>
- }
- }
- object{m3x5_screw scale<7,7,7> translate<6.25,37,36> rotate<180,0,0>
- } translate<0,125,20> }
- ///////////////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement