Extrusion-based additive manufacturing of forming and molding tools