Heat treating and melting material with a scanning laser or electron beam | Synapse