Search This Blog

Wednesday, August 12, 2009

Code to display Lego Model files

Source code to display MLCad / LeoCad model file using C#
Code posted by Chris Lomont.

Lomont's Lego CAD Viewer:
The program loads LDRAW files for viewing and deconstruction. Sourcecode and exe and a sample image file are included for your spastic enjoyment. See my Lego page for a the DAT file for the Technic kits 853 and 854 (pictured). Click the picture for a larger image.


Lego Screensaver (from Chris Lomont)
This is a screensave that assembles and disassembled many Lego models. Renaming the *.SCR to an EXE allows you to add your own LDRAW models to the mix.

Included is C# sourcecode and a VS 2008 project to compile the code.

Click the image to see a larger version of an assembled Technic set from the screensaver.



Requires LDraw.

No comments: