Currently, when trying to export a mesh, neuralangelo will crash if the path to the designated output file does not already exist. I think it's in most users intentions to have that path created on the spot, otherwise it wouldn't have been specified like that.
This change adds a check that creates parent folders if they are not already there to prevent that crash. It's a very minor conveniece change.
Feel free to do adjust or do whatever with this pull request, and thank you for the repo!
Currently, when trying to export a mesh, neuralangelo will crash if the path to the designated output file does not already exist. I think it's in most users intentions to have that path created on the spot, otherwise it wouldn't have been specified like that.
This change adds a check that creates parent folders if they are not already there to prevent that crash. It's a very minor conveniece change.
Feel free to do adjust or do whatever with this pull request, and thank you for the repo!