LEGO: Tangara Renders

2024-04-24

For fun, I exported the models to .dae and imported the scenes into Blender to render some scenes.

Here's the relevant part of my Makefile.

LEOCAD=/Applications/LeoCAD.app/Contents/MacOS/LeoCAD
FILE=main.ldr
# identify the submodel names, which must not contain spaces.
SUBMODELS=$(shell cat ${FILE} | grep "^0 FILE" | cut -d " " -f 3- - | cut -d "." -f 1 -)

# ...

export-all:
    for submodel in ${SUBMODELS}; do \
        SUBMODEL=$submodel make export-submodel ; \
    done

export-submodel:
    ${LEOCAD} \
        --export-collada ${FILE}.dae \
        -s ${SUBMODEL}.ldr ${FILE}
    blender --background --python dae2glb.py -- ${FILE}
    

Would you like to know more?

LEGO: Tangara Analysis LEGO: Tangara Design LEGO: Tangara Build

This article is part of the LEGO: Tangara (2023) set. Feedback? Questions? Let's discuss on Mastodon, or email me