|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
=?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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
|
|