Nonisothermal welding in fused filament fabrication