POV-Ray : Newsgroups : povray.newusers : how to do a round hole into a box? : Re: how to do a round hole into a box? Server Time
29 Jul 2024 10:26:40 EDT (-0400)
  Re: how to do a round hole into a box?  
From: Sebastian H 
Date: 20 Jan 2006 06:47:44
Message: <43d0cde0$1@news.povray.org>
Warp wrote:
> newbieneedhelp <nomail@nomail> wrote:
> 
>>I need a box 1000x1000x25
>> with an round hole in middle with diameter of 144
> 
> 
> difference
> { box { -<1000, 1000, 25>/2, <1000, 1000, 25>/2 }
>   cylinder { <0, 0, -25.1/2>, <0, 0, 25.1/2> }
>   pigment { rgb 1 }
> }
> 

Ok I just posted and deleted two crap messages.
What I wanted to say is that warp forgot the radius
of the cylinder which is 144/2. So it should read

difference
{ box { -<1000, 1000, 25>/2, <1000, 1000, 25>/2 }
   cylinder { <0, 0, -25.1/2>, <0, 0, 25.1/2>, 144/2 }
   pigment { rgb 1 }
}


Post a reply to this message

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