Primary and secondary metals manufacturing