If you frequently use a 3D printer for your projects then you may experience issues calculating the material weight and length usage. If so, then you might be interested in this project using Arduino.
It comes with a nice OLED upgrade, too.