POV-Ray : Newsgroups : povray.newusers : Cut a cylinder : Re: Cut a cylinder Server Time
29 Jul 2024 18:17:10 EDT (-0400)
  Re: Cut a cylinder  
From: Oleguer Vilella
Date: 11 May 2005 06:48:38
Message: <4281e306@news.povray.org>
Maybe something like this?:
======================================
#declare fletxa = object {
union {
cylinder { <-5, 0, 0>, <0, 0, 0>, 1 }
cone { <0, 0, 0>, 2, <3, 0, 0>, 0 }
pigment { rgb <0, 1.1, 0> }
scale <1, 1.6, 1>
rotate  170*y
rotate 25*x
rotate 45*z
translate <130.9, -23.5, 10>
no_shadow
}}

#declare tall= object { fletxa
clipped_by { plane { y, 10 } plane { -z, 3 }  }  }

object { tall translate <60, 0, 0> }
======================================

Regards,
Oleguer


news:4281d941@news.povray.org...
> Hi all,
>
> I want to cut this cylinder
> ======================================
> cylinder { <-5, 0, 0>, <0, 0, 0>, 1 }
> ======================================
> It's inside an union with a cone to make an arrow.
> The thing that I want to do, is cut it in the middle.
> I thought using a plane, but I'm not sure if this is the best way to do 
> it.
> Any ideas?
>
> All comments are welcome.
>
> Regards,
> Oleguer
>


Post a reply to this message

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