BrickSmith is a specialized CAD program for building virtual Lego models, based on the LDraw library of Lego parts.