The LSR file format

The .lsr file which is imported into the DED workspace contains describe the power, speed, size, and location of the heat source used to build the component being modeled.

LSR File Format

The format of an LSR file is:

Power [ W] X0 [mm] Y0 [mm] Z0 [mm] X1 [mm] Y1 [mm] Z1 [mm] Heat source radius [mm] Deposition speed [mm/s] Start time of laser vector [s]

Below is an example LSR file for a short, 2 bead wide wall:

# power, laser vector, start point (x,y,z), end point (x,y,z), radius, velocity, start time

450 0 0 -1 19.05 11.7 0.2 57.15 11.7 0.2 1 10 0

450 0 0 -1 57.15 13.7 0.2 19.05 13.7 0.2 1 10 3.9

450 0 0 -1 19.05 11.7 0.4 57.15 11.7 0.4 1 10 7.8

450 0 0 -1 57.15 13.7 0.4 19.05 13.7 0.4 1 10 11.7

450 0 0 -1 19.05 11.7 0.6 57.15 11.7 0.6 1 10 15.6

450 0 0 -1 57.15 13.7 0.6 19.05 13.7 0.6 1 10 19.5

450 0 0 -1 19.05 11.7 0.8 57.15 11.7 0.8 1 10 23.4

450 0 0 -1 57.15 13.7 0.8 19.05 13.7 0.8 1 10 27.3

450 0 0 -1 19.05 11.7 1 57.15 11.7 1 1 10 31.2

450 0 0 -1 57.15 13.7 1 19.05 13.7 1 1 10 35.1

LSR File Format Limitations and Requirements

  • Vectors must have a length greater than 0
  • A warning will be issued for lengths less than the specified radius
  • Vectors must be listed in increasing time
  • A warning will be issued if a second laser pass is started before the current laser pass has completed.
  • Vectors must begin and end with the same Z coordinate. Angled vectors in the vertical plane are not supported.
  • Vectors cannot decrease the build height. Once a Z coordinate height is established, the Z coordinate for all subsequent vectors must be equal or greater than that height.

When importing this file into a DED workspace, the LSR file is visualized, as shown below: