Thermal Analysis of Filament Extrusion