### How to calculate the approximate volume of material used in 3d print?

• Is there a reasonable way of approximating the volume of material used for 3D print by knowing only the STL file volume and infill percentage?

Or what is the formula for calculating the exact volume and which parameters can be fixed to reasonable values?

Can this be done easily using Slic3r or CuraEngine in command line?

Note:
Supposedly 3Dhubs use Cura[*] software to calculate the print volume.

Any help is appreciated.

`by knowing only the STL file volume` which else volume do you want?

Are you sure you want the volume, or are you asking for the amount of print material required to print? The volume does not depend on the infill percentage, but the print material usage does.

@emackey Yes I am sure, I would like to know the volume needed independent of material type. It does depend on infill. With low infill the voids in the final print will be greater and thus the volume also. But any help is welcome. Do you know how to calculate amount of material required using CuraEngine?

@dsalaj, so what you are saying is that you want to know the *volume of the material used*, and not the volume of the final print?

@TormodHaugene You are right. I was ignorant thinking these two are the same. Obviously the volume after melting, cooling, etc. will change. I was able to work out the volume of material used know simply by using the filament length (calculated by Cura) and filament diameter.

@dsalaj, so you found your answer then? Good to hear. :) Would you mind adding what you found out as an answer to this question and accept it? That will make it much more visible and useful to other users!

@TormodHaugene Thank you. Yes I have. I only need to figure out how to do it from command line with CuraEngine. I will do that, thanks.

Just as a small addition: Slic3r gives the amount of used filament in grams when slicing in Repetier. I find this very helpful because it my filament spool is also bought by weight. And I know the weight of the final piece.

Use simplify 3d. It is built in!

• Possible way to calculate the volume of material used is to multiply the filament length (calculated by CURA after slicing and displayed in lower right corner) and surface of filament tip.

Volume = Filament_length * ( Filament_diameter / 2 )^2 * PI

Of course do not forget to convert all values to the same order of magnitude (e.g. cm³).

This is the correct answer for the *volume of material used* as talked about in the comments. Note that a traditional geometric volume of the final print would of course include the interior empty space between infill supports, not just the volume of the material used (for example, print a watertight model and dunk it in water, check the amount of water displacement). But for material used, this is the correct formula.