working version of python-based mesh gen script