POV-Ray : Newsgroups : povray.general : unknown "disk" after rotate : Re: unknown "disk" after rotate Server Time
1 Aug 2024 04:18:07 EDT (-0400)
  Re: unknown "disk" after rotate  
From: Trevor G Quayle
Date: 17 Apr 2006 15:35:00
Message: <web.4443edc62053a65a6c4803960@news.povray.org>
DeLeon Thomas <gad### [at] deleonthomascom> wrote:
> I am trying to make a bend in a pipe using a torus then cutting off
> three quarters with two boxes.  But when I try to rotate the object I
> get what looks like a very thin disk.  It only shows up with a rotate
> and not a translate.
>
> Where is it coming from and how do I get rid of it?

Coincident surface problem between your two subtracting boxes (they are
coincident on the x=0 plane)

try:

#declare bend =
  difference {
    torus { torusMajorRadius, pipeRadius }
    #declare len = torusMajorRadius + pipeRadius + 1;
    box { <0, -2*pipeRadius, -1*len>, <-len, 2*pipeRadius, len> }
    box { <-1, -2*pipeRadius, 0>, <len, 2*pipeRadius, len> }
    translate <0,0,torusMajorRadius>
  }


-tgq


Post a reply to this message

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