ldglite is a program that lets you view and edit Lego brick models
stored in LDRAW format.

ldglite can also be used as a command-line utility to create images 
from models.