|
![](/i/fill.gif) |
caduser wrote:
> Christian Froeschlin <chr### [at] chrfr de> wrote:
>
>> Just out of curiosity: Does this mean your CAD program comes
>> with a POV-Ray export option built in?
> Yes that is right it is one of our image output options.
>
>> As Chris has said, textually processing the generated sdl script
>> with an editor macro (or perl script or similar) is probably your
>> best option.
>
> So far I have been using a replace all batch but this was to test samples. The
> program has 2 options one to output full size renders for use in print and
> second to generate preview icons for browsing inside the application, this runs
> it's own internal batch of generating a temp POV then rendering and can be run
> on thousands of objects. If I have to edit them all I have to use the render
> single image so I can uncheck start render and then keep all the POV files.
You can use a single-line sed call (in unix like operating systems
or wtih Cygwin in windows) to edit as many files you like in one go.
E.g. like this:
sed -i 's/rgbt <0.,0.,0.,0.>/Gray20/' *.pov
Alse see:
http://unixhelp.ed.ac.uk/CGI/man-cgi?sed
http://www-h.eng.cam.ac.uk/help/tpl/unix/sed.html
http://www.cygwin.com/
--
Tor Olav
http://subcube.com
Post a reply to this message
|
![](/i/fill.gif) |