This code is a volume calculator for STL Model in Python. It can be usefull to know how much material is need for 3D print a model.
Usage in the terminal: python mesure_volume.py torus.stl
Of course, "torus.stl" is any binary model you may want to calculate the volume.
Please report any error you may find to me (mar.canet@gmail.com).