POV-Ray : Newsgroups : povray.binaries.images : Lathe problem (JPG, 800 x 600, 6 KB) : Re: Lathe problem (JPG, 800 x 600, 6 KB) Server Time
13 Aug 2024 17:31:16 EDT (-0400)
  Re: Lathe problem (JPG, 800 x 600, 6 KB)  
From: Mike Williams
Date: 13 Feb 2003 15:32:57
Message: <uuSjHFAGDAT+Ew$a@econym.demon.co.uk>

>High!
>
>Currently, I'm modeling an ancient mathematical co-prozessor... and with
>its pins, a problem occurred. As they are somehow soldered to the
>ceramic die's lower side, there is a smooth transition between the pin
>itself and its flat round base. Any attempts to model this with blobs
>resulted in monstrously swollen base cylinders, so I decided to do it
>with a lathe, using Moray.
>
>But when viewed from along the z axis, the lathe turns out to be
>asymmetric (see picture)! Did this result from the fact that I did not
>specify a fourth point on the y axis?
>
>Here is the code:
>
>#declare Pin_Raw=
>cylinder
>{
> 0, <0, 0.0037, 0>, 0.0001
>}
>
>#declare Pin_Transition=
>lathe { // RotSweep001
>  quadratic_spline
>  3  // control points
>  <28.704931, 14.913935>,
>  <5.999999, -0.033529>,
>  <0.639678, 11.939946>
>  scale 0.0001
>  translate 0.00003
   ^^^^^^^^^^^^^^^^^


The lathe itself is symmetrical, it's just that you've translated it by
<0.00003, 0.00003, 0.00003> relative to the Pin_Raw cylinder. Try

   translate 0.00003*y

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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