LDView ldr to pov export error


ldr to pov export error
#1
Hi,

thanks to Travis' help my batch pov generation script works fine.

But, I encountered several issues when rendering some parts.

for exemple :
Code:
"d:\lego\python\data\renders\0\14639p01.pov" line 1117: Parse Error: Expected 'object', undeclared identifier 'LDX_1_dash_16ring9_dot_dat_in_part' found instead

Render failed
So I investigate a bit about 1-16ring9.dat.

First of all, and obviously, the primitive is in my "ldraw\p\" directory, andthe 14639p01dat part opens without errors in LDview.

Then, I thought that some config file like LGEO.xml or LGDefs.inc were involved, but they do not have anything to do with that (if I'm right).

So I took a look at the buggy files and the integration of primitives in pov files.

If I understand the error message correctly, LDX_1_dash_16ring9_dot_dat_in_part has not been defined before, not like the other primitives involved in that part.

So, at some point, some lines like those for 1-16ri60.dat :

Code:
#declare LDX_48_slash_1_dash_16ri60_dot_dat_in_part = disc // Ring 0.0625
{
    <0,0,0>,<0,1,0>,61,60
    clipped_by
    {
        plane
        {
            <0,0,-1>,0
        }
        plane
        {
            <-0.38268343236508972627,0,0.92387953251128673848>,0
        }
    }
}

#declare LDX_48_slash_1_dash_16ri60_dot_dat = disc // Ring 0.0625
{
    <0,0,0>,<0,1,0>,61,60
    clipped_by
    {
        plane
        {
            <0,0,-1>,0
        }
        plane
        {
            <-0.38268343236508972627,0,0.92387953251128673848>,0
        }
    }
}


should have been written in the pov file but aren't. And I suppose that I can't choose randoms coordinates to solve the problem.

So my question is : do the problem come from a config file I didn't think about, or is it a export bug ?

I've the problem with other primitives on other parts.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
ldr to pov export error - by Bertrand Lequy - 2021-03-17, 14:59
RE: ldr to pov export error - by Travis Cobbs - 2021-03-17, 19:51
RE: ldr to pov export error - by Travis Cobbs - 2021-03-29, 21:25
RE: ldr to pov export error - by Travis Cobbs - 2021-04-05, 21:30
RE: ldr to pov export error - by Travis Cobbs - 2021-04-06, 20:23
RE: ldr to pov export error - by Travis Cobbs - 2021-04-06, 20:28
RE: ldr to pov export error - by Chris Dee - 2021-04-06, 20:41
RE: ldr to pov export error - by Travis Cobbs - 2021-04-06, 20:55

Forum Jump:


Users browsing this thread: 6 Guest(s)