This is a simple Windows-based application that estimates the weight and price of objects you print on your 3D printer. You supply it with the quantity of filament used (from gCode, etc), the type of material, the material diameter, and the price per kilogram. The application will then estimate the weight and cost of the print. If you want to estimate the cost of multiple prints, just put in a quantity and the application will give you the bulk printing information as well.
The application has support for ABS, PLA, PVA, and HDPE at the moment. Due to slight variations in material density, conditions,etc. the calculation is not 100% accurate. In my tests, it has been accurate to within about 2-3 grams.
I have provided the source below if anyone wants to port it to another platform.
Download the installer below and run it.
To find out how much filament is required for a model, open up the gcode file for the model and scroll all the way to the bottom. Look for the last entry in the file that begins with the letter E. It may look something like this:
Plug this number (26477.211) into the length field of the 3d calculator, and fill out the rest of the fields in the dialog box. Hit calculate to get the weight and cost estimates.
You can open multiple calculation windows to see which material is more cost effective for a given print, etc. The application will warn you if your objects exceed 1kg.