merged mesh.py and box.py