broken POVRay export in LDView 4.2 beta 1 of 7 Apr, 2012 - Printable Version +- LDraw.org Discussion Forums (https://forums.ldraw.org) +-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html) +--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html) +--- Thread: broken POVRay export in LDView 4.2 beta 1 of 7 Apr, 2012 (/thread-6172.html) |
broken POVRay export in LDView 4.2 beta 1 of 7 Apr, 2012 - Steffen - 2012-09-08 Hello Travis, I just discovered that sometimes LDView creates syntactically invalid .pov files on export. The problem seems to be triggered when you're rendering a file from your LDRAW "models" folder which references a primitive located in a folder called "48" inside that "models" folder. What happens in that case is that the resulting .pov file contains a line Code: #declare 48/LDX_48_slash_t04q4444_dot_dat_in_part = torus // Torus 0.25 Note that LDView seems to substitute the substring _slash_ for / already, but that seems to fail in some cases. I've attached my test file plus its .pov output file here for your reference. - Steffen Re: broken POVRay export in LDView 4.2 beta 1 of 7 Apr, 2012 - Travis Cobbs - 2012-09-09 Thanks for the report. I'll investigate. Re: broken POVRay export in LDView 4.2 beta 1 of 7 Apr, 2012 - Steffen - 2012-09-09 there are 2 problems: (a) the / isn't replaced by _slash_ (b) the identifier must not start with a number ("48"), but with a letter Re: broken POVRay export in LDView 4.2 beta 1 of 7 Apr, 2012 - Steffen - 2012-11-04 this bug just hits me right now again when I try to test-render this file http://www.ldraw.org/cgi-bin/ptdetail.cgi?f=parts/u9204c02.dat |