Update utils.py

Fix bug for stl-export