RE: ldr to pov export error
2021-04-06, 8:08 (This post was last modified: 2021-04-06, 8:29 by Bertrand Lequy.)
2021-04-06, 8:08 (This post was last modified: 2021-04-06, 8:29 by Bertrand Lequy.)
(2021-04-06, 6:46)Travis Cobbs Wrote: OK, thanks. I see that there is an error in the official LGEO lg_elements.lst file (which I used to create LGEO.xml). It maps 42445.dat to both lg_42445 and lg_42446. Since a single LDraw dat can only be mapped to one LGEO part, my LGEO.xml generator simply replaced the 42445 mapping with the 42446 one. I'll update LGEO.xml.Yes, that's what i thought. An other thing, since some parts of the LDraw library are moved, they're not allways replaced by LGEO parts, depending of the dat file used. I encountered the problem with minifig parts for exemple.
You could add these lines too for minifig arms and hands (they're only aliases for existing LGEO parts), I did it and it woerked fine :
Code:
<Element>
<LDrawFilename>3818.dat</LDrawFilename>
<POVName>lg_0982</POVName>
<POVName Alternate="Clear">lg_0982_clear</POVName>
<Dependency>LGDefs</Dependency>
<POVFilename>lg_0982.inc</POVFilename>
<MatrixRef>LGEOTransform</MatrixRef>
</Element>
<Element>
<LDrawFilename>3819.dat</LDrawFilename>
<POVName>lg_0981</POVName>
<POVName Alternate="Clear">lg_0981_clear</POVName>
<Dependency>LGDefs</Dependency>
<POVFilename>lg_0981.inc</POVFilename>
<MatrixRef>LGEOTransform</MatrixRef>
</Element>
<Element>
<LDrawFilename>3820.dat</LDrawFilename>
<POVName>lg_0983</POVName>
<POVName Alternate="Clear">lg_0983_clear</POVName>
<Dependency>LGDefs</Dependency>
<POVFilename>lg_0983.inc</POVFilename>
<MatrixRef>LGEOTransform</MatrixRef>
</Element>
it's true for the hips too
Code:
<Element>
<LDrawFilename>3815.dat</LDrawFilename>
<POVName>lg_0970</POVName>
<POVName Alternate="Clear">lg_0970_clear</POVName>
<Dependency>LGDefs</Dependency>
<POVFilename>lg_0970.inc</POVFilename>
<MatrixRef>LGEOTransform</MatrixRef>
</Element>
Code:
<Element>
<LDrawFilename>3816.dat</LDrawFilename>
<POVName>lg_0971</POVName>
<POVName Alternate="Clear">lg_0971_clear</POVName>
<Dependency>LGDefs</Dependency>
<POVFilename>lg_0971.inc</POVFilename>
<MatrixRef>LGEOTransform</MatrixRef>
</Element>
<Element>
<LDrawFilename>3817.dat</LDrawFilename>
<POVName>lg_0972</POVName>
<POVName Alternate="Clear">lg_0972_clear</POVName>
<Dependency>LGDefs</Dependency>
<POVFilename>lg_0972.inc</POVFilename>
<MatrixRef>LGEOTransform</MatrixRef>
</Element>