TobyLobster / ImportLDraw

A Blender plug-in for importing LDraw file format Lego models and parts.
GNU General Public License v2.0
278 stars 48 forks source link

Set LdrawLibrary path via Python #77

Closed Maxinger15 closed 1 year ago

Maxinger15 commented 1 year ago

Hi,

is there a way I can set the Path to the LDraw Library as described in the Readme via python. I want to run blender headless in a docker container so no gui interaction is possible.

TobyLobster commented 1 year ago

You can configure and run the importer using something like the script below. You'll need to change the filepaths of course.

auto_lego.py.txt