POV-Ray : Newsgroups : povray.binaries.images : CSG merge/union test : Re: CSG merge/union test Server Time
2 Nov 2024 16:10:51 EDT (-0400)
  Re: CSG merge/union test  
From: clipka
Date: 12 Jun 2010 15:40:17
Message: <4c13e2a1$1@news.povray.org>
Am 12.06.2010 20:24, schrieb StephenS:
> "StephenS"<nomail@nomail>  wrote:
>> In an attempt to model a glass food container with locking lid, I can across the
>> following behaviour.
> .....
> Merge{} is not helping me if I use difference{} inside to make some of the
> parts. I can remove some of the internal surfaces, but not all.
>
> Will start to look into lathe{bezier_spline}} and prism{bezier_spline}} with
> merge{} holding no other CSG's.
>
> Stephen S

I'd suggest

   difference {
     merge {
       /* individual primitive objects comprising the basic shape */
     }
     union {
       /* individual primitive objects to be cut away */
     }
   }

or simply

   difference {
     merge {
       /* individual primitive objects comprising the basic shape */
     }
     /* individual primitive objects to be cut away */
   }


Post a reply to this message

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