A pipe is typically formed via casting or welding , whereas a tube is made through extrusion .
A pipe is usually made by casting or welding , where a tube is made through extrusion .