Saturday, 9 April 2022

The Chalybeate Spring - The Pantiles (Part 4)

There are a number of tools for creating decals for ldr files.  

http://www.melkert.net/test/stickerGen.html

https://github.com/nilsschmidt1337/ldparteditor/wiki

http://www.scottwardlaw.com/sticker_generator/

But I struggled to find one that would allow for seamless transfer of stickers between LDCAD, Studio, and Blender.  Consequenly I ended up using svg2ldraw

http://c-mt.dk/software/svg2ldraw/

For me svg2ldraw works well but it requires a fairly detailed understanding of vector graphics.  I was using an old copy of Illustrator CS2(!) to manipulate the original vector artwork (but Inkscape may also work).  svg2ldraw allows you to remap colours into Lego colours (including transparency) which allows for separation of colour elements from the background when placing the sticker in Ldraw.  The image below shows the original design in Illustrator, the sticker in LDraw and the final render in Studio.



Although the construction of a logo is relatively straight forward (although it still took me a few hours to figure out!) dealing with large blocks text turned out to be a lot more complicated.  


Unfortunately the svg2ldraw converter does not seem to read compound paths in the same way as Illustrator so all the compound paths need to be converted to simple paths - this can be especially tricky when working with letters with any "holes" in them (like O P B A R D etc) which will be converted to compound paths in Illustrator - each of the "holes" will need cleaning up separately - which can take a lot of time!.