fmtLDraw : LDraw Lego loader for modo
Update 0.3b :
- Updated LDraw loader to fix a parsing issue where part names with set number or name embedded it in it would be skipped.
Update 0.2b :
- Backported to work in modo 901.
- Smoothing angle reduced from 30 degrees to 23 degrees based on input from Mr. Klein.
The fmtLdr plugin for modo will allow you to load models created with LDraw. It also automatically creates and assigns all materials. The image above is a loaded model with no modification or additional texturing. This is provided for free and without warranty. But feel free to credit myself or this plugin in your renders.
Installation: The single LPK files contains both the OSX and Windows version of the plugin. Just drag in onto a running modo to install it. Modo will then reboot and the plugin will be installed. You're also going to need the LDraw parts parts catalog. You can get that here.
Setup: In your preferences you'll need setup your directories to match your machine. The root is the top directory of your LDraw install. Don't forget the trailing slash! The listed subdirectories should all be ok. You will need to double check that all the slashes are correct for your platform. Back-slashes for Windows and forward-slashes on OSX.
From here you should be able to drop any data file(*.mpd, *.ldr, *.dat) file into modo and it should load. If you get a bunch of empty objects, your paths are probably setup in correctly.
Notes: The loader loads the bricks into assemblies as having each brick as a separate item could result in a scene that is much to heavy to use. The loader will also instance these assemblies when it can to further lighten the load.
Missing pieces: Sometimes you'll see missing pieces in a loaded model. Usually you this is because the model uses pieces not included in the LDraw official parts set. You will probably need to install the unofficial parts list or might even need to search further. To aid in this, I dump the missing parts to modo's log vp.