A preform (22, 22A-U) containing
metal (32, 34) and flux (33) for forming a
metal layer to be added to a component being repaired or additively manufactured. The
metal may be constrained in the preform in a distribution that forms a shape of a sectional layer or a surface repair of a component in response to an energy beam (58) that melts the preform. The preform is placed on a working surface (42), which may be a previously formed layer (42A-C) in additive manufacturing, or may be an existing component surface (122) for repair The preform is then melted by the energy beam (58) to form a new integrated layer (40A-F) on the component with an over-layer of
slag (56) that shields and insulates the
melt pool (54) and the solidifying layer The
slag is removed, and a subsequent layer may be added.