How to build a lunar base with 3D printing

Building a base on the moon could theoretically be made much simpler by using a 3D printer to construct it from local materials.