See our white paper on simulated habitats (SimHab) which discusses the 3D modeling and simulation of Lunar and Mars bases.