|
|
> hi all,
> is it possible to get a .povray file to stl or some other CAD usabe format?
> if not, is it possible to get some kind of advanced user explanation so i can
> understand why this can not work?
Just look at the responses to your former post on p.advanced-users...
--
jaime
Post a reply to this message
|
|
|
|
> hi all,
> is it possible to get a .povray file to stl or some other CAD usabe format?
> if not, is it possible to get some kind of advanced user explanation so i can
> understand why this can not work?
> any knowledge or advice is appreciated.
> - formpig
>
>
ALL primitives, exept for mesh, in POV-Ray are NEVER represented as a
mesh. They are purely mathematicaly based objects.
A sphere, for example, is a surface defined as: Sqrt(x^2 + y^2 + z^2) =
radius.
A plane is truely INFINITE and defined by it's normal and distance it
passes from the origin in the direction of it's normal. How can you
represent such a surface in any format that only rely on triangles?
Alain
Post a reply to this message
|
|
|
|
> hi all,
> is it possible to get a .povray file to stl or some other CAD usabe format?
> if not, is it possible to get some kind of advanced user explanation so i can
> understand why this can not work?
> any knowledge or advice is appreciated.
Just to make a couple of points clear:
STL is a mesh based format, if you look close enough you'll see that
everything is made from straight-edged triangles. STL is not normally
used with CAD packages for exactly this reason. If you import an STL
file to CAD you'll find you can't do much with it, as the CAD software
will recognise it only as a million tiny triangles, not as a solid made
of curved surfaces.
POV, along with 3D CAD packages, uses a smooth mathematical equation to
describe every shape, no matter how far you zoom in or scale the shape
it's still smooth. STEP or IGES files are typically used to send data
between CAD packages, they are made up of mathematically defined
surfaces, not triangles.
In theory a converter could be written for STEP<>POV that would exactly
convert most POV objects, however there would be a lot of maths involved
in figuring out the equations of surfaces after complex CSG operations.
This is what CAD software does, but costs $$$ usually. It would be
easier to convert POV SDL to some CAD scripting language, but why would
you want to do that? It's easier to design in CAD than POV, and POV is
better at rendering the outcome, usually people convert *from* CAD to
POV, not the other way.
If you really want an stl file for some specific purpose, then take a
look at OpenSCAD. The syntax is similar to POV SDL, and it will let you
export an stl file (STEP output is on the wish-list).
Post a reply to this message
|
|