Machine design for multimaterial processing