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