POV-Ray : Newsgroups : povray.binaries.images : Behavior of bounded_by : Behavior of bounded_by Server Time
28 May 2022 13:54:48 EDT (-0400)
  Behavior of bounded_by  
From: m@b
Date: 18 Apr 2022 07:01:17
Message: <625d44fd@news.povray.org>
HI,

I made this leaf spring using segments of a rounded tube.

It looks fine when viewed straight-on but assumes a funny angle at the 
ends when viewed from the side.

What is going on?

difference{
     union{
             // tube radius outside - inner radius - border radius - 
hight - 0 = union, 1 = merge
             object{ Rounded_Tube(351.5,350.0,0.5,18,0) rotate<90,0,0> 
translate<0,343.2,0> bounded_by{box{<-55,-500,-1>,<55,500,20>}}}
             object{ Rounded_Tube(353.0,351.5,0.5,18,0) rotate<90,0,0> 
translate<0,343.2,0> bounded_by{box{<-53,-500,-1>,<53,500,20>}}}
             object{ Rounded_Tube(354.5,353.0,0.5,18,0) rotate<90,0,0> 
translate<0,343.2,0> bounded_by{box{<-47,-500,-1>,<47,500,20>}}}  // 94
             object{ Rounded_Tube(356.0,354.5,0.5,18,0) rotate<90,0,0> 
translate<0,343.2,0> bounded_by{box{<-42,-500,-1>,<42,500,20>}}}  // 84 ////
             object{ Rounded_Tube(357.5,356.0,0.5,18,0) rotate<90,0,0> 
translate<0,343.2,0> bounded_by{box{<-36,-500,-1>,<36,500,20>}}}  // 72
             object{ Rounded_Tube(359.0,357.5,0.5,18,0) rotate<90,0,0> 
translate<0,343.2,0> bounded_by{box{<-30,-500,-1>,<30,500,20>}}}  // 60
             object{ Rounded_Tube(360.5,359.0,0.5,18,0) rotate<90,0,0> 
translate<0,343.2,0> bounded_by{box{<-24,-500,-1>,<24,500,20>}}}  // 48
             object{ Rounded_Tube(362.0,360.5,0.5,18,0) rotate<90,0,0> 
translate<0,343.2,0> bounded_by{box{<-16,-500,-1>,<16,500,20>}}}  // 36 
////
             object{ Rounded_Tube(363.5,362.0,0.5,18,0) rotate<90,0,0> 
translate<0,343.2,0> bounded_by{box{<-12,-500,-1>,<12,500,20>}}}  // 24
             object{ Rounded_Tube(365.0,363.5,0.5,18,0) rotate<90,0,0> 
translate<0,343.2,0> bounded_by{box{<-06,-500,-1>,<06,500,20>}}}  // 12
             cylinder{<-55,0,-1>,<-55,0,19>,3.75}
             cylinder{< 55,0,-1>,< 55,0,19>,3.75}
         }
         cylinder{<-55,0,-2>,<-55,0,20>,2.25}
         cylinder{< 55,0,-2>,< 55,0,20>,2.25}
}


Post a reply to this message


Attachments:
Download 'a.png' (49 KB) Download 'b.png' (39 KB)

Preview of image 'a.png'
a.png

Preview of image 'b.png'
b.png


 

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.