Theory and Practice of Additive Manufacturing