Advertisement
SteveHeyoo

Untitled

Dec 18th, 2019
2,179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
POV-Ray 60.13 KB | None | 0 0
  1. // PoVRay 3.7 Scene File " ... .pov"
  2. // author:  ...
  3. // date:    ...
  4. //------------------------------------------------------------------------
  5. #version 3.7;
  6. global_settings{ assumed_gamma 1.0 }
  7. #default{ finish{ ambient 0.1 diffuse 0.9 }}
  8. //------------------------------------------------------------------------
  9. #include "colors.inc"
  10. #include "textures.inc"
  11. #include "glass.inc"
  12. #include "metals.inc"
  13. #include "golds.inc"
  14. #include "stones.inc"
  15. #include "woods.inc"
  16. #include "shapes.inc"
  17. #include "shapes2.inc"
  18. #include "functions.inc"
  19. #include "math.inc"
  20. #include "transforms.inc"
  21. //------------------------------------------------------------------------
  22. // camera ------------------------------------------------------------------
  23. #declare Camera_0 = camera {perspective angle 30              // front view
  24.                             location  <-0,-0,-200>
  25.                             right     x*image_width/image_height
  26.                             look_at   <0.0 , 1.0 , 0.0>}
  27. #declare Camera_1 = camera {/*ultra_wide_angle*/ angle 90   // diagonal view
  28.                             location  <2.0 , 2.5 ,-3.0>
  29.                             right     x*image_width/image_height
  30.                             look_at   <0.0 , 1.0 , 0.0>}
  31. #declare Camera_2 = camera {/*ultra_wide_angle*/ angle 90  //right side view
  32.                             location  <3.0 , 1.0 , 0.0>
  33.                             right     x*image_width/image_height
  34.                             look_at   <0.0 , 1.0 , 0.0>}
  35. #declare Camera_3 = camera {/*ultra_wide_angle*/ angle 90        // top view
  36.                             location  <0.0 , 3.0 ,-0.001>
  37.                             right     x*image_width/image_height
  38.                             look_at   <0.0 , 1.0 , 0.0>}
  39. camera{Camera_0}
  40. //------------------------------------------------------------------------
  41. // sun -------------------------------------------------------------------
  42. light_source{<-1000,2500,-2500> color White*0.9}  // sunlight
  43. light_source{ <20.0 , 20.0 ,-20.0>color White*0.1 shadowless} // flash
  44. // sky -------------------------------------------------------------------
  45. sky_sphere{ pigment{ gradient <0,1,0>
  46.                      color_map{ [0   color rgb<1,1,1>         ]//White
  47.                                 [0.4 color rgb<0.14,0.14,0.56>]//~Navy
  48.                                 [0.6 color rgb<0.14,0.14,0.56>]//~Navy
  49.                                 [1.0 color rgb<1,1,1>         ]//White
  50.                               }
  51.                      scale 2 }
  52.            } // end of sky_sphere    
  53.            
  54.            
  55.            
  56.            
  57.            /////////////////--------------------------------------- PODSTAWA
  58. #declare fazowanie1 =    
  59. prism { 0 ,2.00 , 4
  60.         < 0, 0.00>, // first point
  61.         < 0.00, 1.00>,
  62.         < 1.00, 0.00>,
  63.         < 0.00, 0.00>  // last point = first point!!!
  64.  
  65.       texture { pigment{ color White }
  66.                 finish { phong 1.0 }
  67.               } // end of texture
  68.  
  69.        scale <7.00, 150.00, 7.00>
  70.        }
  71.        // end of prism
  72.      
  73. #declare otwor4mm1 =
  74. cylinder{<-0,-1,0>,<0,50,0>2}  
  75.  
  76.       //deklaracja cylindrów
  77.  
  78. #declare obiekt1 =
  79. union{              
  80. difference{
  81.      
  82. box { <0,0,0>< 90.00, 20.00, 80.00> translate <-45,0,-40>  
  83.       pigment{ color Gray}
  84.     }
  85.     // end of box
  86.    
  87.     object{fazowanie1 rotate<0,-90,90>
  88.         translate<50.000, 20.0001, -40.0001> }
  89.        
  90.     object{fazowanie1 rotate<0,180,90>
  91.         translate<50.0001, 20.0001, 40.0001>}                  
  92.        
  93.     object{fazowanie1 rotate<0,-90,90>
  94.         translate<50.000, 20.0001, -45.0001> rotate y*90 }
  95.        
  96.     object{fazowanie1 rotate<0,-90,90>
  97.         translate<50.000, 20.0001, -45.0001> rotate y*-90 }  
  98.        
  99.     //4  pryzmaty "ścinające" krawędzie
  100.    
  101.     object{otwor4mm1 translate<-33,0,(40-(80-51-13))>}
  102.     object{otwor4mm1 translate<0,0,-(40-13)>}                    
  103.     object{otwor4mm1 translate<33,0,(40-(80-51-13))>}
  104.    
  105.     //3 otwory w woden_base
  106. }
  107. }
  108.  
  109. object{obiekt1 rotate<0,0,0>}
  110. /////////////////--------------------------------------- PODSTAWA  
  111.  // camera ------------------------------------------------------------------
  112. //------------------------------Obiect 3.1 --------------------------------
  113. //------------------------------------------------------------------------
  114. #declare obiekt3=
  115. union{
  116. cone { <0,0,0>,0.,<0,15,0> 4
  117.  
  118.        texture { pigment{ White}
  119.                  finish { phong 1 reflection{ 0,000 metallic 0.0} }
  120.                } // end of texture
  121.  
  122.        scale <1,1,1> rotate<0,0,0> translate<0,0,0>        
  123.      } // end of cone -------------------------------------
  124.  
  125. difference{
  126. sphere { <0,0,0>, 5
  127.  
  128.          texture { pigment{ color White } // rgb< 1, 0.0, 0.0>}
  129.                    finish { phong 1 reflection{ 0.00 metallic 0.00} }
  130.                  } // end of texture
  131.  
  132.           scale<1,1,1>  rotate<0,0,0>  translate<0,15,0>  
  133.        }  // end of sphere -----------------------------------
  134.  
  135.   box {<-10,10,-10><10,15,10> pigment{color White}}
  136.   box {<-1,0,0>< 1,3,10> pigment{color White} translate <0,18,-5>}
  137.   }   translate <-66,30,48> scale <0.5,0.5,0.5 >
  138.  }
  139.  
  140.  object{obiekt3}    
  141.            
  142.             // end of sky_sphere      
  143.  // camera ------------------------------------------------------------------
  144. //------------------------------Obiect 3.2 --------------------------------
  145. //------------------------------------------------------------------------
  146. #declare obiekt3=
  147. union{
  148. cone { <0,0,0>,0.,<0,15,0> 4
  149.  
  150.        texture { pigment{ White}
  151.                  finish { phong 1 reflection{ 0,000 metallic 0.0} }
  152.                } // end of texture
  153.  
  154.        scale <1,1,1> rotate<0,0,0> translate<0,0,0>        
  155.      } // end of cone -------------------------------------
  156.  
  157. difference{
  158. sphere { <0,0,0>, 5
  159.  
  160.          texture { pigment{ color White } // rgb< 1, 0.0, 0.0>}
  161.                    finish { phong 1 reflection{ 0.00 metallic 0.00} }
  162.                  } // end of texture
  163.  
  164.           scale<1,1,1>  rotate<0,0,0>  translate<0,15,0>  
  165.        }  // end of sphere -----------------------------------
  166.  
  167.   box {<-10,10,-10><10,15,10> pigment{color White}}
  168.   box {<-1,0,0>< 1,3,10> pigment{color White} translate <0,18,-5>}
  169.   }   translate <66,30,48> scale<0.5,0.5,0.5 >
  170.  }
  171.  
  172.  object{obiekt3}                                                                    
  173.  //------------------------------Obiect 3.3 --------------------------------
  174. //------------------------------------------------------------------------
  175. #declare obiekt3=
  176. union{
  177. cone { <0,0,0>,0.,<0,15,0> 4
  178.  
  179.        texture { pigment{ White}
  180.                  finish { phong 1 reflection{ 0,000 metallic 0.0} }
  181.                } // end of texture
  182.  
  183.        scale <1,1,1> rotate<0,0,0> translate<0,0,0>        
  184.      } // end of cone -------------------------------------
  185.  
  186. difference{
  187. sphere { <0,0,0>, 5
  188.  
  189.          texture { pigment{ color White } // rgb< 1, 0.0, 0.0>}
  190.                    finish { phong 1 reflection{ 0.00 metallic 0.00} }
  191.                  } // end of texture
  192.  
  193.           scale<1,1,1>  rotate<0,0,0>  translate<0,15,0>  
  194.        }  // end of sphere -----------------------------------
  195.  
  196.   box {<-10,10,-10><10,15,10> pigment{color White}}
  197.   box {<-1,0,0>< 1,3,10> pigment{color White} translate <0,18,-5>}
  198.   }   translate <0,30,-54>  scale<0.5,0.5,0.5>
  199.  }
  200.  
  201.  object{obiekt3}
  202.  //---------------------------------------------------------------------------
  203. //---------------------------- object2  ----------------------------
  204. //---------------------------------------------------------------------------
  205.  
  206. #declare otwor4mm =
  207. cylinder{<-0,-1,0>,<0,50,0>2} //zadeklarowany walec o promieniu 2
  208. #declare otwor3mm =
  209. cylinder{<-0,-1,0>,<0,50,0>1}
  210. #declare krzywizna=
  211. box{<0,0,0><1,1,76> rotate <0,0,45> pigment{color White}}
  212. #declare base_plate =
  213. union{
  214. difference{
  215. box{
  216. <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
  217. pigment{color Gray}
  218. }
  219. object{otwor4mm translate<-33,0,(40-(80-51-13))>}
  220. object{otwor4mm translate<0,0,-(40-13)>}
  221. object{otwor4mm translate<33,0,(40-(80-51-13))>} // 3 otwory rozmieszczone zgodnie z rysunkiem
  222. object{otwor3mm translate<14,0,(-7)>}  
  223. object{otwor3mm translate<-14,0,(-7)>}
  224. object{otwor3mm translate<-31.5,0,(-25.5)>}
  225. object{otwor3mm translate<-31.5,0,(-5.5)>}
  226. object{otwor3mm translate<31.5,0,(-25.5)>}
  227. object{otwor3mm translate<31.5,0,(-5.5)>}
  228. object{otwor3mm translate<15.5,0,25.5>}
  229. object{otwor3mm translate<-15.5,0,25.5>}
  230. object{krzywizna translate<38,2.25,-38>}
  231. object{krzywizna rotate <0,-90,0> translate <38,2.25,-32>}
  232. object{krzywizna rotate <0,90,0> translate <-38,2.25,32>}
  233. object{krzywizna translate<-38,2.25,-38>}
  234.     }    
  235.     translate<0,20,0>
  236. }
  237. object{base_plate}    
  238. //---------------------------------------------------------------------------
  239. //---------------------------- object4  ----------------------------
  240. //---------------------------------------------------------------------------            
  241.  
  242. declare element4=
  243. union{
  244. box { <0.00, 0.00, 0.00>,< 0.15, 3.35, 3.8>  
  245.  
  246.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  247.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  248.               } // end of texture
  249.  
  250.  
  251.  
  252.       scale <1,1,1> rotate<0,0,0> translate<-1.15,0.15,0>
  253.     } // end of box --------------------------------------
  254. box { <0.00, 0.00, 0.00>,< 0.15, 3.35, 3.8>  
  255.  
  256.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  257.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  258.               } // end of texture
  259.  
  260.       scale <1,1,1> rotate<0,0,0> translate<1.0,0.15,0>
  261.     } // end of box --------------------------------------
  262. box { <0.00, 0.00, 0.00>,< 2.0, 0.15, 3.8>  
  263.  
  264.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  265.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  266.               } // end of texture
  267.  
  268.       scale <1,1,1> rotate<0,0,0> translate<-1.0,3.5,0>
  269.     } // end of box --------------------------------------
  270. }                          
  271.                            
  272. declare rog=    
  273. difference{                        
  274. cylinder { <0,0,0>,<0,0,3.8>,0.15
  275.            texture { pigment { color rgb<1,1,1>}
  276.                    //normal  { bumps 0.5 scale 0.005}  
  277.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  278.                    } // end of texture
  279.            scale <1,1,1> rotate<0,0,0> translate<0,0.15,0>
  280.          } // end of cylinder  ------------------------------------
  281.  
  282. box { <0.00, 0.00, -10.00>,< 0.5, 0.5, 10>  
  283.  
  284.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  285.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  286.               } // end of texture
  287.  
  288.       scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  289.     } // end of box --------------------------------------
  290. box { <0.00, 0.00, -10.00>,< 0.5, 0.5, 10>  
  291.  
  292.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  293.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  294.               } // end of texture
  295.  
  296.       scale <1,1,1> rotate<0,0,0> translate<-0.2,-0.35,0>
  297.     } // end of box --------------------------------------    
  298. }    
  299.  
  300.  
  301.  
  302. declare walecz=
  303. cylinder { <0,0,0>,<0,5.00,0>, 0.2
  304.  
  305.            texture { pigment { color rgb<1,1,1> }
  306.                    //normal  { bumps 0.5 scale <0.005,0.25,0.005>}
  307.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  308.                    } // end of texture
  309.  
  310.            scale <1,1,1> rotate<0,0,0> translate<0,0,1.9>
  311.          } // end of cylinder -------------------------------------
  312.  
  313. declare walecx=
  314. cylinder { <-4,0,0>,<4,0,0>, 0.6
  315.            texture { pigment { color rgb<1,1,1>}
  316.                    //normal  { bumps 0.5 scale <0.25, 0.005,0.005>}  
  317.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  318.                    } // end of texture
  319.            scale <1,1,1> rotate<0,0,0> translate<0,1.725,1.9>
  320.          } // end of cylinder  ------------------------------------
  321.  
  322. declare dol=
  323. union{
  324. box { <0.00, 0.00, 0.00>,< 1.00, 0.15, 3.8>  
  325.  
  326.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  327.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  328.               } // end of texture
  329.  
  330.       scale <1,1,1> rotate<0,0,0> translate<-2,0,0>
  331.     } // end of box --------------------------------------  
  332. box { <0.00, 0.00, 0.00>,< 1.00, 0.15, 3.8>  
  333.  
  334.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  335.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  336.               } // end of texture
  337.  
  338.       scale <1,1,1> rotate<0,0,0> translate<1.15,0,0>
  339.     } // end of box --------------------------------------  
  340. }
  341.  
  342.  
  343. declare walec2=
  344. cylinder { <0,0,0>,<0,5.00,0>, 0.2
  345.  
  346.            texture { pigment { color rgb<1,1,1> }
  347.                    //normal  { bumps 0.5 scale <0.005,0.25,0.005>}
  348.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  349.                    } // end of texture
  350.  
  351.            scale <1,1,1> rotate<0,0,0> translate<0,0,1.9>
  352.          } // end of cylinder -------------------------------------
  353.  
  354.  
  355. declare otwor3mm=
  356. cylinder { <0,0,0>,<0,1,0>, 0.15
  357.  
  358.            texture { pigment { color rgb<1,1,1> }
  359.                    //normal  { bumps 0.5 scale <0.005,0.25,0.005>}
  360.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  361.                    } // end of texture
  362.  
  363.            scale <1,1,1> rotate<0,0,0> translate<0,0,>
  364.          } // end of cylinder  
  365.  
  366.  
  367. union{  
  368. difference{  
  369. difference{                
  370. object{element4}  
  371. object{walecx}
  372. }
  373. object{walecz}  
  374. }
  375. difference{
  376. object{dol}
  377. object{otwor3mm translate<-1.65,0,0.5>}
  378. object{otwor3mm translate<1.65,0,0.5>}
  379. object{otwor3mm translate<-1.65,0,3.3>}
  380. object{otwor3mm translate<1.65,0,3.3>}
  381. }
  382. object{rog translate<-1.0,3.35,0>}          
  383. object{rog translate<-3.5,0.85,0> rotate<0,0,270>}
  384. object{rog translate<0.15,-1.30,0> rotate<0,0,90>}  
  385. object{rog translate<1.15,-0.3,0.0> rotate<0,0,180>} scale< 10,10,10>
  386. translate<-9,23,-20 > rotate<0,90,0>
  387. }    
  388. ////////////////////////////////////////////////////////////////////////////////////
  389. /////////////////////////////Obiect 5/////////////////////////////////////////
  390. ///////////////////////////////////////////////////////////////////////////////////
  391. union{
  392.                
  393. union{
  394. difference{
  395. union{
  396. difference{
  397. cylinder { <-1.15,0,0>,<1.15,0,0>, 0.6
  398.            texture { pigment { color rgb<1,1,1>}                    
  399.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  400.                    }
  401.            scale <1,1,1> rotate<0,0,0> translate<0,2,0>
  402.          }
  403.  
  404.  
  405. cylinder { <-2.20,0,0>,<2.20,0,0>, 0.5
  406.            texture { pigment { color rgb<1,1,1>}                    
  407.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  408.                    }
  409.            scale <1,1,1> rotate<0,0,0> translate<0,2,0>
  410.          }
  411. }    
  412. }
  413.  
  414. cylinder { <0,0,0>,<0,2.00,0>, 0.2
  415.  
  416.            texture { pigment { color rgb<1,1,1> }
  417.  
  418.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  419.                    }
  420.            scale <1,1,1> rotate<0,0,0> translate<0,1.5,0>
  421.          }
  422. }    
  423. }    
  424.        
  425.  
  426. #declare zaslepka=      
  427. difference{      
  428. union{
  429. difference{
  430. object {
  431.          Round_Cylinder(<0,2,0>, <0.7,2,0>, 0.75 ,       0.1,   0)  
  432.          
  433.          texture{ pigment{ color rgb<1,0.2,0.35> }
  434.                   finish { phong 1 }
  435.                 }
  436.          scale<1,1,1>  rotate<0, 0,0> translate<0,0.00,0>
  437.        }
  438.        
  439. box { <0.30, 1.00, -1.00>,< 1.00, 3.00, 1.00>  
  440.  
  441.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  442.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  443.               }
  444.       scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  445.     }
  446. }
  447. cylinder { <0.30,0,0>,<0.7,0,0>, 0.5
  448.            texture { pigment { color rgb<1,1,1>}                    
  449.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  450.                    }
  451.            scale <1,1,1> rotate<0,0,0> translate<0,2,0>
  452.          }
  453. }
  454.  
  455. cylinder { <-4.30,0,0>,<4.7,0,0>, 0.3
  456.            texture { pigment { color rgb<1,1,1>}                    
  457.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  458.                    }
  459.            scale <1,1,1> rotate<0,0,0> translate<0,2,0>
  460.          }
  461. }                
  462.  
  463. object{zaslepka rotate<0,0,0> translate<-1.3,0,0>}    
  464. object{zaslepka rotate<0,180,0> translate<1.3,0,0>}    
  465.  
  466. #declare sruba=
  467. union{
  468. difference{
  469. union{
  470. cylinder { <0,0.6,0>,<0,0.8,0>, 0.30
  471.  
  472.            texture { pigment { color rgb<1,1,1> }
  473.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  474.                    }
  475.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  476.          }        
  477. cylinder { <0,-0.4,0>,<0,0.6,0>, 0.20
  478.  
  479.            texture { pigment { color rgb<1,1,1> }
  480.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  481.                    }
  482.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  483.          }    
  484. }
  485. cylinder { <0,-10,0>,<0,2.6,0>, 0.1
  486.  
  487.            texture { pigment { color rgb<1,1,1> }
  488.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  489.                    }
  490.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  491.          }            
  492. }
  493. }            
  494.  
  495.  
  496. object{sruba rotate<0,0,0> translate<0,2.8,0> }  
  497.  
  498. scale <11,11,11>translate<-9,23,-1>  rotate<0,90,0>}
  499.  //---------------------------------------------------------------------------
  500. //---------------------------- objects 6.1 ----------------------------
  501. //---------------------------------------------------------------------------
  502.      
  503.  
  504. #declare zaokragleniedown6 =
  505. difference {
  506.            
  507. cylinder { <0,23.05,0>,<0,0,0>1.5 texture { pigment{ color White}}}
  508.          
  509. box { <0,-0.01,0>,<12,24.01,6> translate <-6,0,0> texture { pigment{ color Gray}}}
  510. box { <0,-0.01,0>,<6,24.01,12> translate <0,0,-6>texture { pigment{ color Gray}}}
  511.  
  512. rotate <90,0,0>        
  513. }
  514.  
  515. #declare zaokraglenieup6 =
  516. difference {
  517.            
  518. cylinder { <0,12,0>,<0,0,0>1.5 texture { pigment{ color White}}}
  519.          
  520. box { <0,-0.01,0>,<12,12.01,6> translate <-6,0,0> texture { pigment{ color Red}}}
  521. box { <0,-0.01,0>,<6,12.01,12> translate <0,0,-6>texture { pigment{ color Red}}}
  522.  
  523. rotate <90,0,0>        
  524. }
  525.  
  526. #declare podstawa6 =
  527.    difference {          
  528.     prism { 0.00 ,1.5 , 5
  529.        < 0.00, 12.00>,
  530.        < 9.90, 9.00>,
  531.        < 9.90, -9.00>,
  532.        < 0.00, -12.00>
  533.        < 0.00, 12.00>
  534.  
  535.        texture { pigment{ color White}}
  536.      }
  537.    
  538.    
  539.    difference {  
  540.     box { <0,0,0>
  541.         < 5, 2, 5>
  542.         }
  543.        
  544.     cylinder { <0, -1, 0>
  545.                <0, 3, 0>
  546.                4
  547.              }
  548.      translate <6, -0.1, 6.5> pigment{color Gray}
  549.              }
  550.              
  551.       difference {      
  552.          box { <0,0,0>
  553.                <5,2,5>
  554.              }
  555.              
  556.      cylinder { <0,-1,0>  
  557.                 <0,3,0>
  558.                 4
  559.               }
  560.      translate <6.5, -0.1, 6> pigment{color Gray}
  561.      rotate <0,90,0>
  562.               }
  563.              
  564.      cylinder { <0, -1, 0>
  565.                 <0, 3, 0>
  566.                 3/2
  567.      translate <6,-0.1,7> pigment{color Gray}
  568.               }
  569.              
  570.      cylinder { <0, -1, 0>
  571.                 <0, 3, 0>
  572.                 3/2
  573.                
  574.      translate <6,-0.1,-7>  pigment{color Gray}
  575.               }
  576.              }
  577.              
  578.              
  579.              
  580.    #declare dach6 =
  581.    difference {          
  582.     prism { 0.00 ,1.5 , 5
  583.        < 0.00, 6.00>,
  584.        < 5.90, 6.00>,
  585.        < 5.90, -6.00>,
  586.        < 0.00, -6.00>
  587.        < 0.00, 6.00>
  588.  
  589.        texture { pigment{ color White }}
  590.      }  
  591.    
  592.    
  593.    difference {  
  594.     box { <0,0,0>
  595.         < 5, 2, 5>
  596.         }
  597.        
  598.     cylinder { <0, -1, 0>
  599.                <0, 3, 0>
  600.                4
  601.              }
  602.      translate <2, -0.1, 2> pigment{color Gray}
  603.              }
  604.              
  605.       difference {      
  606.          box { <0,0,0>
  607.                <5,2,5>
  608.              }
  609.              
  610.      cylinder { <0,-1,0>  
  611.                 <0,3,0>
  612.                 4
  613.               }
  614.      translate <2, -0.1, 2> pigment{color Gray}
  615.      rotate <0,90,0>
  616.               }
  617.              
  618.      cylinder { <0, -1, 0>
  619.                 <0, 3, 0>
  620.                 3/2
  621.      translate <3,-0.1,0> pigment{color Gray}
  622.               }
  623.              
  624.       rotate <0,180,0>
  625.              }
  626.  
  627. #declare sciana6 =
  628.              
  629. difference {            
  630.  
  631. prism { 0.00 ,1.5 , 5
  632.        < 0.00, 12.00>,
  633.        < 63.30, 6.00>,
  634.        < 63.30, -6.00>,
  635.        < 0.00, -12.00>
  636.        < 0.00, 12.00>
  637.  
  638.        texture { pigment{ color White }}
  639.        rotate <0,180,0>
  640.      }
  641.      
  642.            
  643.  
  644.  
  645. difference {    
  646. prism { 0.00 ,2 , 5
  647.        < 0.00, 8.00>,
  648.        < 50.00, 3.00>,
  649.        < 50.00, -3.00>,
  650.        < 0.00, -8.00>
  651.        < 0.00, 8.00>
  652.  
  653.        texture { pigment{ color White }}
  654.      }
  655.      
  656.      
  657.  difference {
  658.      box { <0,0,0>
  659.         < 5, 3, 5>
  660.         }
  661.        
  662.     cylinder { <0, -1, 0>
  663.                <0, 4, 0>
  664.                4
  665.              }
  666.            translate <46.5001,-0.1,-0.5> pigment{color Gray}
  667.           }
  668.          
  669.  difference {
  670.      box { <0,0,0>
  671.         < 5, 3, 5>
  672.         }
  673.        
  674.     cylinder { <0, -1, 0>
  675.                <0, 4, 0>
  676.                4
  677.              }
  678.              rotate <0, 90, 0>
  679.            translate <46.5001,-0.1,0.5> pigment{color Gray}
  680.            
  681.  
  682.           }
  683.          
  684.    difference {
  685.   box { <0,0,0>
  686.         < 5, 3, 5>
  687.         }
  688.        
  689.     cylinder { <0, -1, 0>
  690.                <0, 4, 0>
  691.                4
  692.              }  
  693.            rotate <0,180,0>
  694.            translate <4,-0.1,-4> pigment{color Gray}
  695.        }
  696.        
  697.       difference {
  698.   box { <0,0,0>
  699.         < 5, 3, 5>
  700.         }
  701.        
  702.     cylinder { <0, -1, 0>
  703.                <0, 4, 0>
  704.                4
  705.              }  
  706.            rotate <0,270,0>
  707.            translate <4,-0.1,4> pigment{color Gray}
  708.        }              
  709.      rotate <0,180,0>
  710.      
  711.      translate <-7.1,-0.1,0>
  712.  }
  713.  
  714.  }
  715.  
  716. #declare obiekt6=
  717. union{  
  718.    object{podstawa6}
  719.    object{sciana6 rotate<0,0,-75> translate <-1.2,0.2,0>}
  720.    object{dach6 translate<-17.5,61.5,0>}
  721.    object{zaokragleniedown6 rotate<0,0,90> scale<1.04,1.04,1.04> translate<0,1.5,-12>}
  722.    object{zaokraglenieup6 rotate<0,0,-90> scale<1.04,1.04,1.04> translate<-17.52,61,-5>}
  723.  
  724. translate<27,23,16>rotate<0,45,0 > scale<1,1,1>
  725. }            
  726.    
  727.  
  728. object{obiekt6 rotate<0,135,0>}    
  729.  //---------------------------------------------------------------------------
  730. //---------------------------- objects 6.2 ----------------------------
  731. //---------------------------------------------------------------------------
  732.      
  733.  
  734. #declare zaokragleniedown6 =
  735. difference {
  736.            
  737. cylinder { <0,23.05,0>,<0,0,0>1.5 texture { pigment{ color White}}}
  738.          
  739. box { <0,-0.01,0>,<12,24.01,6> translate <-6,0,0> texture { pigment{ color Gray}}}
  740. box { <0,-0.01,0>,<6,24.01,12> translate <0,0,-6>texture { pigment{ color Gray}}}
  741.  
  742. rotate <90,0,0>        
  743. }
  744.  
  745. #declare zaokraglenieup6 =
  746. difference {
  747.            
  748. cylinder { <0,12,0>,<0,0,0>1.5 texture { pigment{ color White}}}
  749.          
  750. box { <0,-0.01,0>,<12,12.01,6> translate <-6,0,0> texture { pigment{ color Red}}}
  751. box { <0,-0.01,0>,<6,12.01,12> translate <0,0,-6>texture { pigment{ color Red}}}
  752.  
  753. rotate <90,0,0>        
  754. }
  755.  
  756. #declare podstawa6 =
  757.    difference {          
  758.     prism { 0.00 ,1.5 , 5
  759.        < 0.00, 12.00>,
  760.        < 9.90, 9.00>,
  761.        < 9.90, -9.00>,
  762.        < 0.00, -12.00>
  763.        < 0.00, 12.00>
  764.  
  765.        texture { pigment{ color White}}
  766.      }
  767.    
  768.    
  769.    difference {  
  770.     box { <0,0,0>
  771.         < 5, 2, 5>
  772.         }
  773.        
  774.     cylinder { <0, -1, 0>
  775.                <0, 3, 0>
  776.                4
  777.              }
  778.      translate <6, -0.1, 6.5> pigment{color Gray}
  779.              }
  780.              
  781.       difference {      
  782.          box { <0,0,0>
  783.                <5,2,5>
  784.              }
  785.              
  786.      cylinder { <0,-1,0>  
  787.                 <0,3,0>
  788.                 4
  789.               }
  790.      translate <6.5, -0.1, 6> pigment{color Gray}
  791.      rotate <0,90,0>
  792.               }
  793.              
  794.      cylinder { <0, -1, 0>
  795.                 <0, 3, 0>
  796.                 3/2
  797.      translate <6,-0.1,7> pigment{color Gray}
  798.               }
  799.              
  800.      cylinder { <0, -1, 0>
  801.                 <0, 3, 0>
  802.                 3/2
  803.                
  804.      translate <6,-0.1,-7>  pigment{color Gray}
  805.               }
  806.              }
  807.              
  808.              
  809.              
  810.    #declare dach6 =
  811.    difference {          
  812.     prism { 0.00 ,1.5 , 5
  813.        < 0.00, 6.00>,
  814.        < 5.90, 6.00>,
  815.        < 5.90, -6.00>,
  816.        < 0.00, -6.00>
  817.        < 0.00, 6.00>
  818.  
  819.        texture { pigment{ color White }}
  820.      }  
  821.    
  822.    
  823.    difference {  
  824.     box { <0,0,0>
  825.         < 5, 2, 5>
  826.         }
  827.        
  828.     cylinder { <0, -1, 0>
  829.                <0, 3, 0>
  830.                4
  831.              }
  832.      translate <2, -0.1, 2> pigment{color Gray}
  833.              }
  834.              
  835.       difference {      
  836.          box { <0,0,0>
  837.                <5,2,5>
  838.              }
  839.              
  840.      cylinder { <0,-1,0>  
  841.                 <0,3,0>
  842.                 4
  843.               }
  844.      translate <2, -0.1, 2> pigment{color Gray}
  845.      rotate <0,90,0>
  846.               }
  847.              
  848.      cylinder { <0, -1, 0>
  849.                 <0, 3, 0>
  850.                 3/2
  851.      translate <3,-0.1,0> pigment{color Gray}
  852.               }
  853.              
  854.       rotate <0,180,0>
  855.              }
  856.  
  857. #declare sciana6 =
  858.              
  859. difference {            
  860.  
  861. prism { 0.00 ,1.5 , 5
  862.        < 0.00, 12.00>,
  863.        < 63.30, 6.00>,
  864.        < 63.30, -6.00>,
  865.        < 0.00, -12.00>
  866.        < 0.00, 12.00>
  867.  
  868.        texture { pigment{ color White }}
  869.        rotate <0,180,0>
  870.      }
  871.      
  872.            
  873.  
  874.  
  875. difference {    
  876. prism { 0.00 ,2 , 5
  877.        < 0.00, 8.00>,
  878.        < 50.00, 3.00>,
  879.        < 50.00, -3.00>,
  880.        < 0.00, -8.00>
  881.        < 0.00, 8.00>
  882.  
  883.        texture { pigment{ color White }}
  884.      }
  885.      
  886.      
  887.  difference {
  888.      box { <0,0,0>
  889.         < 5, 3, 5>
  890.         }
  891.        
  892.     cylinder { <0, -1, 0>
  893.                <0, 4, 0>
  894.                4
  895.              }
  896.            translate <46.5001,-0.1,-0.5> pigment{color Gray}
  897.           }
  898.          
  899.  difference {
  900.      box { <0,0,0>
  901.         < 5, 3, 5>
  902.         }
  903.        
  904.     cylinder { <0, -1, 0>
  905.                <0, 4, 0>
  906.                4
  907.              }
  908.              rotate <0, 90, 0>
  909.            translate <46.5001,-0.1,0.5> pigment{color Gray}
  910.            
  911.  
  912.           }
  913.          
  914.    difference {
  915.   box { <0,0,0>
  916.         < 5, 3, 5>
  917.         }
  918.        
  919.     cylinder { <0, -1, 0>
  920.                <0, 4, 0>
  921.                4
  922.              }  
  923.            rotate <0,180,0>
  924.            translate <4,-0.1,-4> pigment{color Gray}
  925.        }
  926.        
  927.       difference {
  928.   box { <0,0,0>
  929.         < 5, 3, 5>
  930.         }
  931.        
  932.     cylinder { <0, -1, 0>
  933.                <0, 4, 0>
  934.                4
  935.              }  
  936.            rotate <0,270,0>
  937.            translate <4,-0.1,4> pigment{color Gray}
  938.        }              
  939.      rotate <0,180,0>
  940.      
  941.      translate <-7.1,-0.1,0>
  942.  }
  943.  
  944.  }
  945.  
  946. #declare obiekt6=
  947. union{  
  948.    object{podstawa6}
  949.    object{sciana6 rotate<0,0,-75> translate <-1.2,0.2,0>}
  950.    object{dach6 translate<-17.5,61.5,0>}
  951.    object{zaokragleniedown6 rotate<0,0,90> scale<1.04,1.04,1.04> translate<0,1.5,-12>}
  952.    object{zaokraglenieup6 rotate<0,0,-90> scale<1.04,1.04,1.04> translate<-17.52,61,-5>}
  953.  
  954. translate<27,23,-16>rotate<0,225,0 > scale<1,1,1>
  955. }            
  956.    
  957.  
  958. object{obiekt6 rotate<0,135,0>}  
  959.  
  960.  
  961. ///////////////////////////////////////////////////////////////////////////////
  962. ////////////////////////////Obiect 7////////////////////////////////////////
  963. ///////////////////////////////////////////////////////////////////////////////
  964. declare obiekt7=
  965.  
  966. union{
  967. difference{  
  968. union{
  969. difference{
  970. cylinder { <0,0,0>,<0,3.8,0>, 1.35
  971.  
  972.            texture { pigment { color rgb<1,1,1> }
  973.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  974.                    }
  975.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  976.          }
  977.  
  978.  
  979. union{
  980. cylinder { <0,-1,0>,<0,2.7,0>, 0.6
  981.  
  982.            texture { pigment { color rgb<1,1,1> }
  983.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  984.                    }
  985.            scale <1,1,1> rotate<0,0,0> translate<0,0,0.5>
  986.          }
  987.  
  988.  
  989. cylinder { <0,-1,0>,<0,3.2,0>, 0.35
  990.  
  991.            texture { pigment { color rgb<1,1,1> }
  992.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  993.                    }
  994.            scale <1,1,1> rotate<0,0,0> translate<0,0,-0.5>
  995.          }    
  996.          
  997. cylinder { <0,-1,0>,<0,2.00,0>, 0.15
  998.            texture { pigment { color rgb<1,1,1> }
  999.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1000.                    }
  1001.            scale <1,1,1> rotate<0,0,0> translate<1,0,0>
  1002.          }
  1003. cylinder { <0,-1,0>,<0,2.00,0>, 0.15
  1004.            texture { pigment { color rgb<1,1,1> }
  1005.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1006.                    }
  1007.            scale <1,1,1> rotate<0,0,0> translate<-1,0,0>
  1008.          }
  1009.          
  1010. }
  1011. }
  1012. difference{
  1013. union{
  1014. cylinder { <0,0,0>,<0,0,2.0>,0.35
  1015.            texture { pigment { color rgb<1,1,1>}
  1016.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1017.                    }
  1018.            scale <1,1,1> rotate<0,0,0> translate<0,2.5,-1.8>
  1019.          }
  1020.  
  1021.  
  1022. cylinder { <0,0,-0.6>,<0,0,2.00>,0.30
  1023.            texture { pigment { color rgb<1,1,1>}
  1024.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1025.                    }
  1026.            scale <1,1,1> rotate<0,0,0> translate<0,2.5,-1.8>
  1027.          }
  1028. }
  1029.  
  1030. cylinder { <0,0,-0.7>,<0,0,2.1>,0.25
  1031.            texture { pigment { color rgb<1,1,1>}
  1032.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1033.                    }
  1034.            scale <1,1,1> rotate<0,0,0> translate<0,2.5,-1.8>
  1035.          }          
  1036. }
  1037. }
  1038.  
  1039. box { <-2,0,-2>,< 2, 4.00, 2.00>  
  1040.       texture { pigment{ color rgb<1.00, 1.00, 1.00>*1.1}  
  1041.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1042.               }
  1043.       scale <1,1,1> rotate<0,0,0> translate<0,3.2,0>
  1044.     }
  1045. }
  1046.  
  1047.  
  1048. difference{
  1049.  
  1050. object {Round_Cylinder(<0,0,0>, <0,3.8,0>, 1.35 ,       0.20,   0)  
  1051.          
  1052.          texture{ pigment{ color rgb<1,0.2,0.35> }
  1053.                   finish { phong 1 }
  1054.                 }
  1055.          scale<1,1,1>  rotate<0, 0,0> translate<0,0.00,0>
  1056.        }
  1057.  
  1058.  
  1059. box { <-2.00, -1.00, -2.00>,< 2.00, 3.20, 2.00>  
  1060.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  1061.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1062.               }
  1063.       scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1064.     }
  1065. }
  1066. }
  1067.  
  1068.  
  1069. object{obiekt7 rotate<0,180,0> translate<0,8.5,-1.6> scale<10,10,10>}
  1070.  
  1071. ///////////////////////////////////////////////////////////////////////////////
  1072. ////////////////////////////Obiect 8 ////////////////////////////////////////
  1073. ///////////////////////////////////////////////////////////////////////////////
  1074. #declare White = rgb <1,1,1>;
  1075.  
  1076. declare obiekt8=
  1077. difference{
  1078. union{
  1079. difference{
  1080. object {Round_Cylinder(<0,0,0>, <0,0,1.3>, 2.2 ,       0.20,   0)  
  1081.          
  1082.          texture{ pigment{ color rgb<1,0.2,0.35> }
  1083.                   finish { phong 1 }
  1084.                 }
  1085.          scale<1,1,1>  rotate<0, 0,0> translate<0,2.1,0>
  1086.        }
  1087.  
  1088. union{
  1089. cone { <0,0,0>,1.9,<0,1.9,0>,0
  1090.        texture { pigment{ color rgb<1,0.60,0.0>}
  1091.                  finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1092.                }
  1093.        scale <1,1,1> rotate<90,0,00> translate<0,2.1,-0.1>        
  1094.      }
  1095.  
  1096. cone { <0,0,0>,1.9,<0,1.9,0>,0
  1097.        texture { pigment{ color rgb<1,0.60,0.0>}
  1098.                  finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1099.                }
  1100.        scale <1,1,1> rotate<-90,0,00> translate<0,2.1,1.31>        
  1101.      }
  1102. }
  1103. }
  1104.  
  1105.  
  1106. cylinder { <0,0,0.25>,<0,0,1.05>,1.65
  1107.            texture { pigment { color rgb<1,1,1>}
  1108.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1109.                    } // end of texture
  1110.            scale <1,1,1> rotate<0,0,0> translate<0,2.1,0>
  1111.          }  
  1112.          
  1113. difference{
  1114. cone { <0,1,0>,0.85,<0,1.85,0>,0
  1115.        texture { pigment{ color rgb<1,0.60,0.0>}
  1116.                  finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1117.                }
  1118.        scale <1,1,1> rotate<90,0,00> translate<0,2.1,-0.1>        
  1119.      }  
  1120.  
  1121.  
  1122. cone { <0,0.75,0>,0.85,<0,-1.6,0>,0
  1123.        texture { pigment{ color rgb<1,0.60,0.0>}
  1124.                  finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1125.                }
  1126.        scale <1,1,1> rotate<90,0,00> translate<0,2.1,-0.1>        
  1127.      }      
  1128.  
  1129.  
  1130. box { <2,0,0>,< -2.00, 4.00, -3.00>
  1131.       texture { pigment{ color rgb<1.00, 1.00, 1.00>*1.1}  
  1132.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1133.               }
  1134.       scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1135.     }
  1136. }
  1137. cylinder { <0,0,0.25>,<0,0,1.05>,1.65
  1138.            texture { pigment { color rgb<1,1,1>}
  1139.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1140.                    } // end of texture
  1141.            scale <1,1,1> rotate<0,0,0> translate<0,2.1,0>
  1142.          }  
  1143.          
  1144. difference{
  1145. cone { <0,1,0>,0.85,<0,1.85,0>,0
  1146.        texture { pigment{ color rgb<1,0.60,0.0>}
  1147.                  finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1148.                }
  1149.        scale <1,1,1> rotate<90,0,00> translate<0,2.1,-0.1>        
  1150.      }  
  1151.  
  1152.  
  1153. cone { <0,0.75,0>,0.85,<0,-1.6,0>,0
  1154.        texture { pigment{ color rgb<1,0.60,0.0>}
  1155.                  finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1156.                }
  1157.        scale <1,1,1> rotate<90,0,00> translate<0,2.1,-0.1>        
  1158.      }      
  1159.  
  1160.  
  1161. box { <2,0,0>,< -2.00, 4.00, -3.00>
  1162.       texture { pigment{ color rgb<1.00, 1.00, 1.00>*1.1}  
  1163.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1164.               }
  1165.       scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1166.     }
  1167. }
  1168.  
  1169.  
  1170. difference{
  1171. cylinder { <0,0,0.25>,<0,0,2.85>,0.6
  1172.            texture { pigment { color rgb<1,1,1>}
  1173.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1174.                    }
  1175.            scale <1,1,1> rotate<0,0,0> translate<0,2.1,0>
  1176.          }
  1177.          
  1178.    
  1179.  
  1180. }
  1181. }
  1182. union{                                        
  1183. cylinder { <0,0,-2>,<0,0,3>,0.3
  1184.            texture { pigment { color rgb<1,1,1>}
  1185.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1186.                    }
  1187.            scale <1,1,1> rotate<0,0,0> translate<0,1.05,0>
  1188.          }
  1189. cylinder { <0,0,-2>,<0,0,3>,0.3
  1190.            texture { pigment { color rgb<1,1,1>}
  1191.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1192.                    }
  1193.            scale <1,1,1> rotate<0,0,0> translate<0.75,1.35,0>
  1194.          }
  1195.  
  1196.  
  1197. cylinder { <0,0,-2>,<0,0,3>,0.3
  1198.            texture { pigment { color rgb<1,1,1>}
  1199.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1200.                    }
  1201.            scale <1,1,1> rotate<0,0,0> translate<0,3.15,0>
  1202.          }
  1203. cylinder { <0,0,-2>,<0,0,3>,0.3
  1204.            texture { pigment { color rgb<1,1,1>}
  1205.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1206.                    }
  1207.            scale <1,1,1> rotate<0,0,0> translate<0.75,2.8,0>
  1208.          }
  1209.  
  1210.          
  1211. cylinder { <0,0,-2>,<0,0,3>,0.3
  1212.            texture { pigment { color rgb<1,1,1>}
  1213.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1214.                    }
  1215.            scale <1,1,1> rotate<0,0,0> translate<1.05,2.1,0>
  1216.          }    
  1217. cylinder { <0,0,-2>,<0,0,3>,0.3
  1218.            texture { pigment { color rgb<1,1,1>}
  1219.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1220.                    }
  1221.            scale <1,1,1> rotate<0,0,0> translate<-0.75,1.35,0>
  1222.          }
  1223.          
  1224. cylinder { <0,0,-2>,<0,0,3>,0.3
  1225.            texture { pigment { color rgb<1,1,1>}
  1226.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1227.                    }
  1228.            scale <1,1,1> rotate<0,0,0> translate<-1.05,2.1,0>
  1229.          }
  1230. cylinder { <0,0,-2>,<0,0,3>,0.3
  1231.            texture { pigment { color rgb<1,1,1>}
  1232.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1233.                    }
  1234.            scale <1,1,1> rotate<0,0,0> translate<-0.75,2.8,0>
  1235.          }
  1236.  
  1237. cylinder { <0,0,0.2>,<0,0,3>,0.3
  1238.            texture { pigment { color rgb<1,1,1>}
  1239.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1240.                    }
  1241.            scale <1,1,1> rotate<0,0,0> translate<0,2.1,0>
  1242.          }
  1243. }        
  1244. }        
  1245.    
  1246. cylinder { <0,1.25,0>,<0,2.9,0>, 0.15
  1247.            texture { pigment { color rgb<1,1,1> }
  1248.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1249.                    }
  1250.            scale <1,1,1> rotate<0,0,0> translate<0,0,2>
  1251.          }
  1252.    
  1253.    
  1254.    
  1255. object{obiekt8 scale< 10,10,10> translate<1,24,-50> rotate<0,180,0> }    
  1256.                      
  1257.                       // end of sky_sphere
  1258. ///////////////////////////////////////////////////////////////////////////////
  1259. ////////////////////////////Obiect 9 ////////////////////////////////////////
  1260. ///////////////////////////////////////////////////////////////////////////////
  1261. declare obiekt9=
  1262. union{  
  1263. difference{
  1264.         cylinder { <0,9+52,0>,<0,9,0>, 6/2                
  1265.            texture { pigment { color rgb<1,1,1> }                  
  1266.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1267.                    }
  1268.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1269.          }
  1270. //duzy cylinder          
  1271.          cylinder{<0,0,0>,<0,3,0>3/2 rotate <-90,0,0> translate <0,44,0>
  1272.           texture { pigment {color rgb<1,1,1>}}  
  1273.           }
  1274. //otwor
  1275.                  
  1276. }    
  1277. cylinder { <0,9,0>,<0,0,0>, 5/2                
  1278.            texture { pigment { color rgb<1,1,1> }                  
  1279.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1280.                    }
  1281.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1282.          }
  1283. }        
  1284. //mniejszy cylinder                      
  1285. object{obiekt9 rotate <90,0,0> translate <-1,45,-15>}  
  1286. ///////////////////////////////////////////////////////////////////////////////
  1287. ////////////////////////////Obiect 10 ////////////////////////////////////////
  1288. ///////////////////////////////////////////////////////////////////////////////
  1289. #declare m_otwor =
  1290. cylinder {<0,-1,0>,<0,4,0> 5/2 pigment{color Gray}}
  1291.  
  1292. #declare s_otwor =
  1293. cylinder {<0,-1,0>,<0,4,0> 2/2 pigment{color Gray}}
  1294.  
  1295. #declare nit =
  1296. union{
  1297. difference{
  1298. sphere {<0,0,0> 3/2 translate <0,6,0> pigment{color White}}
  1299. box {<0,0,0>,<4,4,4> translate <-2,2,-2> pigment{color Black}}
  1300. }
  1301. cylinder {<0,0,0>,<0,7,0> 2/2 pigment{color White}}
  1302. }                                                                                                      
  1303.  
  1304.  
  1305. #declare base_cylinder =
  1306. union{
  1307. difference{
  1308. cylinder{<-0,0,0>,<0,3,0>25/2 pigment{color White}} //zadeklarowany walec o srednicy 25
  1309. object{m_otwor}
  1310. object{m_otwor translate <0,0,-8>}
  1311. object{s_otwor translate <-8.6,0,4>}
  1312. object{s_otwor translate <8.6,0,4>}
  1313. object{s_otwor translate <0,0,9.5>}
  1314. }
  1315. difference{       //banane
  1316. cylinder {<0,3,0>,<0,6,0> 25/2 pigment{color Gray}}
  1317. box {<-5/2,2,-18>,<5/2,7,4> pigment{color White}}
  1318. object{s_otwor translate <-8.6,3,4>}
  1319. object{s_otwor translate <8.6,3,4>}
  1320. object{s_otwor translate <0,3,9.5>}
  1321. box {<-5,2,-18>,<15,8,5> rotate<0,65,0> translate <-4.9,0,-2.61> pigment{color White}}
  1322. box {<-15,2,-18>,<5,8,5> rotate<0,-65,0> translate <4.9,0,-2.61> pigment{color White}}
  1323. box {<-3,0,-3>,<3,7,3> rotate<0,35,0> translate<-23/2,0,0> pigment {color Black}}
  1324. box {<-3,0,-3>,<3,7,3> rotate<0,-35,0> translate<23/2,0,0> pigment {color Black}}
  1325. }
  1326. cylinder{<0,3,0>,<0,5.999,0>2.42 translate<19.1/2,0,3.4> pigment{color Gray}}
  1327. cylinder{<0,3,0>,<0,5.999,0>2.42 translate<-19.1/2,0,3.4> pigment{color Gray}}
  1328. object{nit translate <-8.6,0,4>}
  1329. object{nit translate <8.6,0,4>}
  1330. object{nit translate <0,0,9.5>}
  1331.  
  1332. }
  1333.  
  1334.  
  1335. object{base_cylinder rotate <-90,0,180> translate <-1,45,-11>}  
  1336. ///////////////////////////////////////////////////////////////////////////////
  1337. ////////////////////////////Obiect 11 ////////////////////////////////////////
  1338. ///////////////////////////////////////////////////////////////////////////////
  1339. declare crank_pin=
  1340. union{
  1341. cylinder { <0,0,0>,<0,0,9>,2.5
  1342.            texture { pigment { color rgb<1,1,1>}
  1343.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1344.                    }
  1345.            scale <1,1,1> rotate<0,0,0> translate<0,6,0>
  1346.          }        
  1347.  
  1348. cylinder { <0,0,0>,<0,0,4>,2.5
  1349.            texture { pigment { color gray}  
  1350.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1351.                    }
  1352.            scale <1,1,1> rotate<0,0,0> translate<0,6,9>
  1353.          }        
  1354. }      
  1355. object{crank_pin translate<-1,47,-25>}
  1356. //---------------------------------------------------------------------------
  1357. //---------------------------- Obiect 12 ----------------------------
  1358. //---------------------------------------------------------------------------
  1359.  
  1360. declare obiekt12=  
  1361. union{
  1362. difference{              
  1363. cylinder { <0,0,0>,<0,0,6.5> 3.5
  1364.            texture { pigment { color White}}
  1365.            rotate<0,0,0> translate<0,0,0>
  1366.          }
  1367. cylinder { <0,0,-1>,<0,0,7>,2.5
  1368.            texture { pigment { color White}}
  1369.            rotate<0,0,0> translate<0,0,0>
  1370.          }
  1371. }              
  1372. }              
  1373.                
  1374.                
  1375.        
  1376. object{obiekt12 translate <-1,53,-21> scale<1,1,1>}      
  1377. //---------------------------------------------------------------------------
  1378. //---------------------------- object 13 ----------------------------
  1379. //---------------------------------------------------------------------------
  1380.  
  1381. declare obiekt13=
  1382. union{
  1383. difference{
  1384. cylinder { <0,0,0>,<0,0,5>,5.5
  1385.            texture { pigment { color White}}
  1386.            rotate<0,0,0> translate<0,0,0>
  1387.          }
  1388.  
  1389. cylinder { <0,0,-3>,<0,0,8>,2.5
  1390.            texture { pigment { color White}}
  1391.            rotate<0,0,0> translate<0,2.5,0>
  1392.          }        
  1393. }
  1394. }        
  1395. object{obiekt13 translate <1,-47,-11> rotate<0,0,180 >}    
  1396. //////////////////////////////////////////////////////////////////////////////////////
  1397. ////////////////////////////////////////////////obiect 14
  1398. /////////////////////////////////////////////////////////////////////////////////////  
  1399. union{
  1400.    #declare obiekt14=
  1401. union{
  1402. difference{
  1403.         cylinder { <0,31,0>,<0,6,0>, 4.5                
  1404.            texture { pigment { color rgb<1,1,1> }                  
  1405.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1406.                    }
  1407.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1408.          }
  1409. //duzy cylinder          
  1410. cylinder { <0,28,0>,<0,6,0>, 1.25                
  1411.            texture { pigment { color rgb<1,1,1> }                  
  1412.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1413.                    }
  1414.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1415.          }
  1416.          //cylinder w srodku duzego cylindra
  1417.          cylinder{<0,0,0>,<0,2.5,0>1.25 rotate <-90,90,0> translate <5,24.25,0>
  1418.           texture { pigment {color rgb<1,1,1>}}  
  1419.           }
  1420.           //mniejsyz cylinder od boku (1)
  1421.          cylinder{<0,0,0>,<0,2.5,0>1.25 rotate <-90,90,0> translate <5,26.75,0>
  1422.           texture { pigment {color rgb<1,1,1>}}  
  1423.           }
  1424.           //mniejsyz cylinder od boku (1)
  1425.           box {<4.5,26.75,-1.3>,<0,24.25,1.3>
  1426.           texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  1427.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1428.                 }
  1429.           //box od boku      
  1430.           }                
  1431. }
  1432. difference{    
  1433. cylinder { <0,6,0>,<0,0,0>, 2.5                
  1434.            texture { pigment { color rgb<1,1,1> }                  
  1435.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1436.                    }
  1437.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1438.          }
  1439. //mniejszy cylinder                  
  1440. box { <-0.75, 6, -3>,< 0.75, 0, 3>  
  1441.  
  1442.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  1443.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1444.               }
  1445.       scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1446.     }
  1447. //wciecie w dolnym cylindrze (mniejszy)    
  1448. }    
  1449. cylinder { <-3,0,0>,<3,0,0>, 1
  1450.            texture { pigment { color rgb<1,1,1>}
  1451.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1452.                    }
  1453.            scale <1,1,1> rotate<0,0,0> translate<0,2.5,0>
  1454.          }
  1455. //cylinder na dole przechodzacy w poprzek      
  1456. }    
  1457.      
  1458. object{obiekt14 translate<0,70,-13> scale<0.8,0.8,0.8> rotate<0,90,0> }        
  1459. //---------------------------------------------------------------------------
  1460. //---------------------------- objects 17 ----------------------------
  1461. //---------------------------------------------------------------------------
  1462.  
  1463. #declare podstawa17 =
  1464. union{
  1465. prism {0.00,1.5,5
  1466.         <-4,0>,
  1467.         <-2.5,51>,
  1468.         <2.5,51>,
  1469.         <4,0>,
  1470.         <-4,0>
  1471.                        
  1472.         texture { pigment{ color White}}                
  1473. }
  1474. cylinder{<0,0.01,0>,<0,1.499,0> 2.499 translate <0,0,51> pigment{ color White}}
  1475. cylinder{<0,0.01,0>,<0,1.499,0> 3.999 translate <0,0,0> pigment{ color White}}
  1476. }
  1477.  
  1478. #declare otworm17=
  1479. cylinder{<0,-0.01,0>,<0,1.51,0> 1 translate <0,0,51> pigment{ color White}}
  1480. #declare otword17=
  1481. cylinder{<0,-0.01,0>,<0,1.51,0> 3 translate <0,0,0> pigment{ color White}}
  1482.  
  1483. #declare pierscien17=
  1484. difference{
  1485. cylinder{<0,0,0>,<0,2,0> 2.99 translate <0,0,0> pigment{ color White}}
  1486. cylinder{<0,-1,0>,<0,3,0> 2.49 translate <0,0,0> pigment{ color White}}
  1487. }
  1488.  
  1489. #declare obiekt17=
  1490. union{
  1491. difference{
  1492. object{podstawa17}
  1493. object{otworm17}
  1494. object{otword17}
  1495. }
  1496. object{pierscien17 translate <0,-0.25,0>}
  1497. }
  1498.  
  1499. object{obiekt17 rotate <270,0,0> translate <-10,9,1>}  
  1500.     rotate<0,0,0> translate<10,23,-10>   }/// Move petite
  1501.                                                 //----------------------------------------------------------------------------
  1502.  
  1503. //---------------------------------------------------------------------------
  1504. //---------------------------- object 15 ----------------------------
  1505. //---------------------------------------------------------------------------
  1506.  
  1507. //---------------------------------------------------------------------------
  1508.  union{
  1509. #declare obiekt15=
  1510. difference{    
  1511. union{
  1512. difference{
  1513.    
  1514. cylinder { <0,0,0>,<0,0,5> 7
  1515.            texture { pigment { color White}}
  1516.            rotate<0,0,0> translate<0,0,0>
  1517.          }
  1518.              
  1519. cylinder { <0,0,-0.1>,<0,0,5.1> 5.5
  1520.            texture { pigment { color White}}
  1521.            rotate<0,0,0> translate<0,0,0>
  1522.          }              
  1523. }
  1524. difference{
  1525. box { <0,6.8,0>,< 5, 40,1.5>  
  1526.       texture { pigment{ color White}}
  1527.       rotate<0,0,0> translate<-2.5,0,1.75>
  1528.     }
  1529.              
  1530. }          
  1531. cylinder { <0,0,0>,<0,0,1.49> 2.5
  1532.            texture { pigment { color White}}
  1533.            rotate<0,0,0> translate<0,40,1.76>
  1534.          }
  1535. }    
  1536. cylinder { <0,0,-5>,<0,0,5> 1
  1537.            texture { pigment { color White}}
  1538.            rotate<0,0,0> translate<0,40,0>
  1539.          }    
  1540. }    
  1541.      
  1542.  
  1543. object{obiekt15 rotate <0,0,0> translate <0,8,0>}        
  1544. ////////////////////////////////////////////////////////////////////////////////////
  1545. //////////////////////Obiect 16//////////////////////////////////////////////////
  1546. ////////////////////////////////////////////////////////////////////////////////////
  1547. #declare obiekt16=
  1548. union{
  1549. cylinder { <0,6,0>,<0,14,0>, 6                
  1550.            texture { pigment { color White}}
  1551.            rotate<0,0,0> translate<0,0,0>
  1552.          }
  1553.          
  1554. difference{    
  1555. cylinder { <0,0,0>,<0,6,0>, 4                
  1556.            texture { pigment { color White}}
  1557.            rotate<0,0,0> translate<0,0,0>
  1558.          }
  1559.                    
  1560. box { <-0.75, -0.01, -6>,< 0.75, 6, 6>  
  1561.            texture { pigment{ color White}}
  1562.            rotate<0,90,0> translate<0,0,0>
  1563.         }
  1564. }
  1565.      
  1566. cylinder { <0,-4.5,0>,<0,4.5,0>, 1
  1567.        texture { pigment { color White}}
  1568.        rotate<90,0,0> translate<0,2.5,0>
  1569.         }
  1570. }    
  1571.      
  1572.      
  1573. object{obiekt16 rotate<0,0,0> translate <0,46,2>}  
  1574. rotate<0,0,0 > translate<1,39,-11 > }
  1575.    
  1576.    union{                                    
  1577. #declare m3x5_screw=
  1578. union{
  1579. difference{
  1580. cylinder { <0,0,0>,<0,0.24,0>, 0.3
  1581.  
  1582.            texture { pigment { color rgb<1,1,1> }
  1583.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1584.                    }
  1585.  
  1586.            scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
  1587.          }
  1588. box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>  
  1589.  
  1590.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  1591.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1592.               }
  1593.              
  1594.       scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
  1595.     }
  1596.  
  1597. }
  1598. cylinder { <0,0,0>,<0,0.5,0>, 0.145
  1599.  
  1600.            texture { pigment { color rgb<1,1,1> }
  1601.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1602.                    }
  1603.  
  1604.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1605.          }
  1606. }
  1607.      
  1608. object{m3x5_screw scale<7,7,7> translate<13,22,-7>
  1609. }  
  1610.      ///////////////////////////////////////////////////////////////////////////////////////////
  1611.      ////////////////////////////////////////////////////////////////////////////////
  1612.      ////////////////////////////////////////////////////////////////      
  1613. #declare m3x5_screw=
  1614. union{
  1615. difference{
  1616. cylinder { <0,0,0>,<0,0.24,0>, 0.3
  1617.  
  1618.            texture { pigment { color rgb<1,1,1> }
  1619.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1620.                    }
  1621.  
  1622.            scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
  1623.          }
  1624. box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>  
  1625.  
  1626.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  1627.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1628.               }
  1629.              
  1630.       scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
  1631.     }
  1632.  
  1633. }
  1634. cylinder { <0,0,0>,<0,0.5,0>, 0.145
  1635.  
  1636.            texture { pigment { color rgb<1,1,1> }
  1637.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1638.                    }
  1639.  
  1640.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1641.          }
  1642. }
  1643.      
  1644. object{m3x5_screw scale<7,7,7> translate<-15,22,-7>
  1645. }
  1646.      ///////////////////////////////////////////////////////////////////////////////////////////
  1647.      ////////////////////////////////////////////////////////////////////////////////
  1648.      ////////////////////////////////////////////////////////////////      
  1649. #declare m3x5_screw=
  1650. union{
  1651. difference{
  1652. cylinder { <0,0,0>,<0,0.24,0>, 0.3
  1653.  
  1654.            texture { pigment { color rgb<1,1,1> }
  1655.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1656.                    }
  1657.  
  1658.            scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
  1659.          }
  1660. box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>  
  1661.  
  1662.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  1663.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1664.               }
  1665.              
  1666.       scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
  1667.     }
  1668.  
  1669. }
  1670. cylinder { <0,0,0>,<0,0.5,0>, 0.145
  1671.  
  1672.            texture { pigment { color rgb<1,1,1> }
  1673.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1674.                    }
  1675.  
  1676.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1677.          }
  1678. }
  1679.      
  1680. object{m3x5_screw scale<7,7,7> translate<-15,22,25>
  1681. }  
  1682.      ///////////////////////////////////////////////////////////////////////////////////////////
  1683.      ////////////////////////////////////////////////////////////////////////////////
  1684.      ////////////////////////////////////////////////////////////////      
  1685. #declare m3x5_screw=
  1686. union{
  1687. difference{
  1688. cylinder { <0,0,0>,<0,0.24,0>, 0.3
  1689.  
  1690.            texture { pigment { color rgb<1,1,1> }
  1691.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1692.                    }
  1693.  
  1694.            scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
  1695.          }
  1696. box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>  
  1697.  
  1698.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  1699.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1700.               }
  1701.              
  1702.       scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
  1703.     }
  1704.  
  1705. }
  1706. cylinder { <0,0,0>,<0,0.5,0>, 0.145
  1707.  
  1708.            texture { pigment { color rgb<1,1,1> }
  1709.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1710.                    }
  1711.  
  1712.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1713.          }
  1714. }
  1715.      
  1716. object{m3x5_screw scale<7,7,7> translate<13,22,25>
  1717. }     translate<0,0,0>   }            
  1718.                              
  1719.                                          
  1720. declare m3x5_screw=
  1721. union{
  1722. difference{
  1723. cylinder { <0,0,0>,<0,0.24,0>, 0.3
  1724.  
  1725.            texture { pigment { color rgb<1,1,1> }
  1726.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1727.                    }
  1728.  
  1729.            scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
  1730.          }
  1731. box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>  
  1732.  
  1733.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  1734.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1735.               }
  1736.              
  1737.       scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
  1738.     }
  1739.  
  1740. }
  1741. cylinder { <0,0,0>,<0,0.5,0>, 0.145
  1742.  
  1743.            texture { pigment { color rgb<1,1,1> }
  1744.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1745.                    }
  1746.  
  1747.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1748.          }
  1749. }
  1750.      
  1751. object{m3x5_screw scale<7,7,7> translate<33,21,-9>
  1752. }  
  1753.      ///////////////////////////////////////////////////////////////////////////////////////////
  1754.      ////////////////////////////////////////////////////////////////////////////////
  1755.      ////////////////////////////////////////////////////////////////
  1756.      declare m3x5_screw=
  1757. union{
  1758. difference{
  1759. cylinder { <0,0,0>,<0,0.24,0>, 0.3
  1760.  
  1761.            texture { pigment { color rgb<1,1,1> }
  1762.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1763.                    }
  1764.  
  1765.            scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
  1766.          }
  1767. box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>  
  1768.  
  1769.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  1770.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1771.               }
  1772.              
  1773.       scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
  1774.     }
  1775.  
  1776. }
  1777. cylinder { <0,0,0>,<0,0.5,0>, 0.145
  1778.  
  1779.            texture { pigment { color rgb<1,1,1> }
  1780.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1781.                    }
  1782.  
  1783.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1784.          }
  1785. }
  1786.      
  1787. object{m3x5_screw scale<7,7,7> translate<33,21,-23>
  1788. }  
  1789.      ///////////////////////////////////////////////////////////////////////////////////////////
  1790.      ////////////////////////////////////////////////////////////////////////////////
  1791.      ////////////////////////////////////////////////////////////////  
  1792.      
  1793.           declare m3x5_screw=
  1794. union{
  1795. difference{
  1796. cylinder { <0,0,0>,<0,0.24,0>, 0.3
  1797.  
  1798.            texture { pigment { color rgb<1,1,1> }
  1799.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1800.                    }
  1801.  
  1802.            scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
  1803.          }
  1804. box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>  
  1805.  
  1806.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  1807.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1808.               }
  1809.              
  1810.       scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
  1811.     }
  1812.  
  1813. }
  1814. cylinder { <0,0,0>,<0,0.5,0>, 0.145
  1815.  
  1816.            texture { pigment { color rgb<1,1,1> }
  1817.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1818.                    }
  1819.  
  1820.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1821.          }
  1822. }
  1823.      
  1824. object{m3x5_screw scale<7,7,7> translate<-33,21,-23>
  1825. }  
  1826.      ///////////////////////////////////////////////////////////////////////////////////////////
  1827.      ////////////////////////////////////////////////////////////////////////////////
  1828.      ////////////////////////////////////////////////////////////////
  1829.      declare m3x5_screw=
  1830. union{
  1831. difference{
  1832. cylinder { <0,0,0>,<0,0.24,0>, 0.3
  1833.  
  1834.            texture { pigment { color rgb<1,1,1> }
  1835.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1836.                    }
  1837.  
  1838.            scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
  1839.          }
  1840. box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>  
  1841.  
  1842.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  1843.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1844.               }
  1845.              
  1846.       scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
  1847.     }
  1848.  
  1849. }
  1850. cylinder { <0,0,0>,<0,0.5,0>, 0.145
  1851.  
  1852.            texture { pigment { color rgb<1,1,1> }
  1853.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1854.                    }
  1855.  
  1856.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1857.          }
  1858. }
  1859.      
  1860. object{m3x5_screw scale<7,7,7> translate<-33,21,-9>
  1861. }  
  1862.      ///////////////////////////////////////////////////////////////////////////////////////////
  1863.      ////////////////////////////////////////////////////////////////////////////////
  1864.      ////////////////////////////////////////////////////////////////
  1865.        union{
  1866.           #declare m3x5_screw=
  1867. union{
  1868. difference{
  1869. cylinder { <0,0,0>,<0,0.24,0>, 0.3
  1870.  
  1871.            texture { pigment { color rgb<1,1,1> }
  1872.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1873.                    }
  1874.  
  1875.            scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
  1876.          }
  1877. box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>  
  1878.  
  1879.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  1880.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1881.               }
  1882.              
  1883.       scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
  1884.     }
  1885.  
  1886. }
  1887. cylinder { <0,0,0>,<0,0.5,0>, 0.145
  1888.  
  1889.            texture { pigment { color rgb<1,1,1> }
  1890.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1891.                    }
  1892.  
  1893.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1894.          }
  1895. }
  1896.      
  1897. object{m3x5_screw scale<7,7,7> translate<-6.25,37,36> rotate<180,0,0>
  1898. }  
  1899.      ///////////////////////////////////////////////////////////////////////////////////////////
  1900.      ////////////////////////////////////////////////////////////////////////////////
  1901.      ////////////////////////////////////////////////////////////////
  1902.                #declare m3x5_screw=
  1903. union{
  1904. difference{
  1905. cylinder { <0,0,0>,<0,0.24,0>, 0.3
  1906.  
  1907.            texture { pigment { color rgb<1,1,1> }
  1908.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1909.                    }
  1910.  
  1911.            scale <1,1,1> rotate<0,0,0> translate<0,0.5,0>
  1912.          }
  1913. box { <-1.00, 0.00, -0.10>,< 1.00, 0.200, 0.100>  
  1914.  
  1915.       texture { pigment{ color rgb<1.00, 1.00, 1.00>}  
  1916.                 finish { phong 1 reflection{ 0.00 metallic 0.00} }
  1917.               }
  1918.              
  1919.       scale <1,1,1> rotate<0,0,0> translate<0,0.64,0>
  1920.     }
  1921.  
  1922. }
  1923. cylinder { <0,0,0>,<0,0.5,0>, 0.145
  1924.  
  1925.            texture { pigment { color rgb<1,1,1> }
  1926.                      finish  { phong 0.5 reflection{ 0.00 metallic 0.00} }
  1927.                    }
  1928.  
  1929.            scale <1,1,1> rotate<0,0,0> translate<0,0,0>
  1930.          }
  1931. }
  1932.      
  1933. object{m3x5_screw scale<7,7,7> translate<6.25,37,36> rotate<180,0,0>
  1934. }         translate<0,125,20>   }
  1935.      ///////////////////////////////////////////////////////////////////////////////////////////
  1936.      ////////////////////////////////////////////////////////////////////////////////
  1937.      ////////////////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement