center output based on model bounding box
split polygon vertex lists over multiple lines for clarity
revised height calc as tempmlate for actual