Replay Converter Tool

The Replay Converter is a console application that lets you do the following conversions with Profile and Surface scan data. You can run it from the Windows Command Prompt or Windows PowerShell.

Intensity information is included when converting to and from .pcd and .srf files. Intensity is not supported when converting to and from the .sur format.

You can get the tool in the utilities package (14631-x.x.x.x_SOFTWARE_GoPxL_Utilities.zip) from the downloads area of the LMI Technologies website: https://lmi3d.com/product-downloads/.

After downloading the utility package, unzip the file, open a command prompt or PowerShell instance, and run ReplayConverter.exe (under Tools\ReplayConverter). For example, ReplayConverter.exe -i myData.gprec -f 0 -o myOutput.sur.

To open a command line quickly, in File Explorer go to the folder containing the tool, hold Shift, right-click in empty area, and choose "Open command window here" or "Open PowerShell window here." Note that to start the tool in Windows PowerShell, you need to type ".\" before "ReplayConverter.exe".

The tool provides the following parameters:

Parameters
Name Description
--help Show the help.

-i

--input

Specify the file name of the input file.

-f

--frame

Specify the zero-based index of the frame to be exported in the recording data. For example, to export the first frame in the scan data, use "-i 0"; for the second frame, use "-i 1". (Default is 0.)

-w

--width

Specify the width of the exported surface. (Only valid for importing .pcd files.)

-h

--height

Specify the height of the exported surface. (Only valid for importing .pcd files.)

-s

--swap

Whether to swap the X and Z coordinates. (Only valid for importing .pcd files.)

-z

--zoom

Specify the zooming factor of the exported surface. (Only valid for importing .pcd files.)

-r

--remove

Remove the specific point. (Only valid for importing .pcd files.)

-a

--all

Export all the frames if the import is recording data.

-o

--output

Specify the file name of the output file. If the imported file isn't recording data and the exported file name isn't specified, the utilities uses the imported file name as the exported file name.