finished basic mesh export script