dxf-to-pov is a Command line-based tool that allows you to convert ASCII and binary DXF files into POV-RAY files.
Now you can use this handy and accessible tool to convert the DXF files you want.
Here are some key features of "dxf-to-pov":
· written for GNU C, flex and bison (mingw works)
· limited conversion from autocad dxf to POV-RAY format.
· unfinished, took it as far as I could.
· source files are huge
· practically whole DXF syntax as of time of writing (12/2008)
· bison file does the very simplified syntax conversion to POV (could be expanded), flex file does the reading of the dxf file, but dxf file must be in text format.
· additional personally written converter written in C/C++ to do conversion from DXF to POV
· due to the fact that the test files were from a copyrighted disc, cannot include them. dxf files are available all over the internet as stock 3d objects.
What's New in This Release: [ read full changelog ]
· finished BNF grammar.
· dxf reference is really big and really unclear. There are many more things in the document which are not implemented which I have no idea how it fits in, such as objects.
· fixed some debug lines and disabled the printing of group codes. it generates a huge amount of output. If anything goes wrong, the errant code will be shown still.
· fixed a missing break on code 420 I think it was, and a couple of other codes.
· Implemented codes 40-48. they were missing for some reason.
· fixed duplicate code 49 variable in code.