Energy consumption consideration of 3D printing