More updates to Model3D

Still not a completely functioning script, but I might as well commit
the code as I'm going along.