Just jumped back onto this..
Thanks Roland.
I understand a bit more now and should be able to process those lines in Python.
One question though. Is there any way to know the starting orientation of a lego part? I have a library of parts that I have cleaned up and the idea is to read the ldr file and use parts from my library rather than the ldraw parts. The only issue is that my library parts need to line up with the starting position of the ldraw parts, otherwise it will all be a bit messy.
One solution is to import each part I'm using through the Blender plugin and use that as a reference to re-align by hand. But it would be much more efficient if I could read and process the ldr files to figure it out.
Many thanks
Rob
Thanks Roland.
I understand a bit more now and should be able to process those lines in Python.
One question though. Is there any way to know the starting orientation of a lego part? I have a library of parts that I have cleaned up and the idea is to read the ldr file and use parts from my library rather than the ldraw parts. The only issue is that my library parts need to line up with the starting position of the ldraw parts, otherwise it will all be a bit messy.
One solution is to import each part I'm using through the Blender plugin and use that as a reference to re-align by hand. But it would be much more efficient if I could read and process the ldr files to figure it out.
Many thanks
Rob