POV-Ray : Newsgroups : povray.general : Sweep Spline Along Spline : Re: Sweep Spline Along Spline Server Time
3 Aug 2024 06:14:54 EDT (-0400)
  Re: Sweep Spline Along Spline  
From: JWV
Date: 23 Apr 2004 05:19:32
Message: <4088dfa4$1@news.povray.org>
Hi SunTzu,

I had the same problem as well, when trying to make the ears of some mugs.
The cross-section was an union of two (half-)elipses.

> I realize that if I want to follow a path of straight line tangent
segments
> and arcs I can assemble a series of prism and partial lathe objects

thats how I solved it, the results are pretty good, as long as you don't
make the object transparant.

> Also, it seems to me that if there are any
> 'kinks' in the path, assembling pieces like this won't work well either.

this is another problem indeed.

So, I can't help you with a nice solution, but I can send you the code used
for the ears of the mugs if you like?

Greetings,

JWV

"SunTzu2" <sun### [at] hotmailcom> wrote in message
news:web.40882e93ffb86f20eba257cf0@news.povray.org...
> One of the commands I use the most when I'm working in 3D CAD applications
> such as Solid Edge, AutoCAD, or MicroStation is the one that generates a
> solid object by sweeping a closed shape along a path.  Very often when I'm
> thinking of modelling something in POV I wish for such a command.  I have
> read and re-read the POV documentation and can't find an analogous
> constuction.  The closest thing seems to be the sphere sweep, but unless
> you want a circular crossection this doesn't seem to be much use.  Am I
> missing something?
>
> I realize that if I want to follow a path of straight line tangent
segments
> and arcs I can assemble a series of prism and partial lathe objects, but
> unless there's an existing macro for that it seems fairly laborious.  Does
> anyone know of such a macro?  Also, it seems to me that if there are any
> 'kinks' in the path, assembling pieces like this won't work well either.
>
> Comments and suggestions welcomed.
>
> Thanks,
> Sun.
>
>
>
>
>


Post a reply to this message

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