POV-Ray : Newsgroups : povray.binaries.images : Lathe problem (JPG, 800 x 600, 6 KB) Server Time
16 Nov 2024 10:28:35 EST (-0500)
  Lathe problem (JPG, 800 x 600, 6 KB) (Message 1 to 6 of 6)  
From: Jörg 'Yadgar' Bleimann
Subject: Lathe problem (JPG, 800 x 600, 6 KB)
Date: 13 Feb 2003 15:19:26
Message: <3E4C0DBF.BB303E66@tiscalinet.de>
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
}


#declare Pin_Socket=
cylinder
{
 0, <0, 0.00003, 0>, 0.0006
}

#declare Pin=
union
{
 object { Pin_Raw }
 object { Pin_Transition }
 object { Pin_Socket }
 texture { T_Gold_2B }
}


Post a reply to this message


Attachments:
Download 'cyrix0001.jpg' (6 KB)

Preview of image 'cyrix0001.jpg'
cyrix0001.jpg


 

From: Anthony D  Baye
Subject: Re: Lathe problem (JPG, 800 x 600, 6 KB)
Date: 13 Feb 2003 15:31:56
Message: <3E4C0177.FCF065B9@Rapidnet.com>
I would have done something like this:

#declare contact_pin =
intersection {
    union {
        difference {
            torus { 0.015625, 0.0078125 translate 0.0234375*y }
            cylinder { <0.0, 0.0234375, 0.0> <0.0, 0.046875, 0.0> 0.046875 }
            }
        cylinder { <0.0, 0.0234375, 0.0> <0.0, 0.078125, 0.0> 0.0078125 }
        }
    cylinder { <0.0, -0.015625, 0.0> <0.0, 0.09375, 0.0> 0.0234375 }
        texture { T_Gold_5A }
    }

Regards,

        Anthony D. Baye



> 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
> }
>
> #declare Pin_Socket=
> cylinder
> {
>  0, <0, 0.00003, 0>, 0.0006
> }
>
> #declare Pin=
> union
> {
>  object { Pin_Raw }
>  object { Pin_Transition }
>  object { Pin_Socket }
>  texture { T_Gold_2B }
> }
>
>   ------------------------------------------------------------------------
>  [Image]


Post a reply to this message

From: Mike Williams
Subject: Re: Lathe problem (JPG, 800 x 600, 6 KB)
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

From: Tor Olav Kristensen
Subject: Re: Lathe problem (JPG, 800 x 600, 6 KB)
Date: 13 Feb 2003 15:55:03
Message: <web.3e4c055774012f68b417814a0@news.povray.org>
=?iso-8859-1?Q?J=F6rg?= 'Yadgar' Bleiman wrote:
>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:

....
>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
>}
....

Are you aware that POV-Ray promotes
the 0.00003 scalar in your
"translate 0.00003" expression to a
vector, so that the expression
becomes this:

translate <0.00003, 0.00003, 0.00003>
?

Maybe you meant to write:

translate 0.00003*y
?

Hmmm...
I see now that you are using Moray.
Maybe I haven't found your problem.


Tor Olav


Post a reply to this message

From: Jörg 'Yadgar' Bleimann
Subject: Re: Lathe problem (JPG, 800 x 600, 6 KB)
Date: 13 Feb 2003 16:44:10
Message: <3E4C219C.76DE80B2@tiscalinet.de>
High!

Mike Williams schrieb:

> 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

Ouuuh... how stupid!!!


Post a reply to this message

From: Tim Nikias
Subject: Re: Lathe problem (JPG, 800 x 600, 6 KB)
Date: 13 Feb 2003 17:02:37
Message: <3e4c15fd$1@news.povray.org>
You should perhaps explain what you're actually trying
to do with that code. Some newbies might not understand
that you're taking a cylinder, put a thick base, of which
you carve a quarter of a torus. And without an image
they might not get what the effect is...

Just a suggestion,
Tim

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde

> I would have done something like this:
>
> #declare contact_pin =
> intersection {
>     union {
>         difference {
>             torus { 0.015625, 0.0078125 translate 0.0234375*y }
>             cylinder { <0.0, 0.0234375, 0.0> <0.0, 0.046875, 0.0> 0.046875 }
>             }
>         cylinder { <0.0, 0.0234375, 0.0> <0.0, 0.078125, 0.0> 0.0078125 }
>         }
>     cylinder { <0.0, -0.015625, 0.0> <0.0, 0.09375, 0.0> 0.0234375 }
>         texture { T_Gold_5A }
>     }
>
> Regards,
>
>         Anthony D. Baye
>

>
> > 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
> > }
> >
> > #declare Pin_Socket=
> > cylinder
> > {
> >  0, <0, 0.00003, 0>, 0.0006
> > }
> >
> > #declare Pin=
> > union
> > {
> >  object { Pin_Raw }
> >  object { Pin_Transition }
> >  object { Pin_Socket }
> >  texture { T_Gold_2B }
> > }
> >
> >   ------------------------------------------------------------------------
> >  [Image]
>


Post a reply to this message

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