Free tool

Free PTX viewer in your browser

Open a PTX scan in your browser, one scan or several in one file, look at it from every side and measure in it. The viewer is free, needs no account and opens your file at once.

Open a point cloud

The viewer needs JavaScript, because your browser reads the file and draws the points.

Your file opens at once

The viewer opens the point cloud inside your browser as soon as you choose the file, and you can measure right away. A copy of the file is uploaded to Swandant in the background and kept, as set out in the Terms and the privacy notice.

The picture does not wait for the copy: your browser reads the file first, and the upload runs alongside while you work.

What a PTX file is

PTX is a text format that keeps a scan as a grid. FARO's knowledge base groups PTX with FLS as an ordered format, one that carries row and column information. A scan starts with ten header lines: the number of columns, the number of rows, the scanner position, three axes and a 4 by 4 transformation matrix. Then comes one line for every grid position with x, y, z and intensity, and in many files red, green and blue as well. Positions where the scanner got no return are written as zeros. A file can hold several scans one after the other.

Who writes PTX files

Scanner software. FARO SCENE and SCENE LT write PTX, and SCENE's export page describes it as a format used by various programs, such as Leica Cyclone. Albireo, our free reader for FARO .fls scans, writes PTX next to E57 and LAS.

How big a PTX is

PTX is the largest of the formats we compared, because it is text and because it stores every grid position, empty ones included. Our street scan has 19,798,880 grid positions, of which 15,246,068 returned a point, so 23 percent were empty. Each position takes about 44 bytes, and the file came to 877.1 MB, 57.5 bytes per valid point, against 428.8 MB for the E57. The forest scan was 1,902.4 MB. The numbers are in our format comparison and in E57 vs LAS vs PTX file size.

What to check after you open a PTX

  • Scans. When the file holds more than one scan, the Format line says how many. Each scan is placed with its own 4 by 4 matrix, so scans of one site should line up where they overlap.
  • Points. The Points line counts positions that hold a point. Empty grid positions are left out, so the number is lower than columns times rows.
  • Intensity and colour. Intensity in a PTX runs from 0 to 1. Colour appears when the lines have seven values. Albireo's PTX repeats the intensity as grey in the colour values, so colouring by Own colour and by Intensity both look grey.
  • Position. A scan with an identity matrix stays in the frame of its own scanner. One with a registered matrix sits where the matrix puts it, which can be far from zero.
  • Units. A PTX does not name a unit, so the Units line reads file units.

How to measure in a PTX

Choose Distance above the picture and click two points to read the straight distance, the horizontal distance and the height difference, in the unit of the file. Line adds up the length along several points, and Point shows the coordinates of one. Because every scan is placed by its matrix, you can measure from one scan to another in the same view. Before a measurement that matters, raise Most points to show: a PTX of 15 million points is thinned to the number you chose, and you measure between the points on screen.

How this viewer reads PTX

It reads ascii PTX with one scan or several in one file. For each scan it reads the header, applies the 4 by 4 matrix to the points, leaves out the all-zero positions where nothing returned, and takes intensity and colour when the lines have them. The file is read twice in blocks, once to count the points and once to keep an even selection of up to 20 million, so it does not have to fit into memory.

Questions about PTX files

Can I open a PTX file online for free?

Yes. Choose the file in the viewer above. It opens in your browser, needs no account and costs nothing.

What happens to my PTX file when I open it?

Your browser opens it at once, so you can look around and measure right away. A copy of the file is uploaded to Swandant's servers when you open it and stored there, and we use it as set out in the Privacy Policy and the Terms.

Does a PTX with several scans open?

Yes. All scans appear in one view, each placed with its own 4 by 4 matrix, and the Format line shows the number of scans.

Why is my PTX file so large?

PTX is text, and it stores every position of the scan grid, including positions where the scanner got no return. In our street scan 23 percent of the positions were empty, and each position takes about 44 bytes.

Is there colour in a PTX?

If each line has seven values, the last three are red, green and blue, and Own colour is offered. With four values there is only intensity. A PTX from Albireo repeats the intensity as grey in the colour values.

What unit does a PTX use?

A PTX does not state one, so the Units line reads file units. Check them against a distance you know.

How do I measure between two scans in one PTX?

Choose Distance and click a point in one scan, then a point in the other. Because each scan is placed with its matrix, the result is the distance in the shared frame.

How do I get a PTX from a FARO .fls scan?

Albireo reads raw SD card project folders and SCENE-processed single-file .fls from the Focus3D 120, S 120, X 130, X 130 HDR and X 330 (details), and writes PTX, free of charge. Send the scan on our contact page or look at the sample output first.

What you can do

  • Turn, move and zoom the view with the mouse, with your fingers or with the keyboard.
  • Color the points by their own color, by intensity or by height. Change the point size and the background.
  • Click a point to read its coordinates.
  • Measure the distance between two points: straight distance, horizontal distance and height difference.
  • Measure along a line through several points.
  • Copy all measurements as text, or save the view as a PNG picture.

Formats

  • LAS 1.2 to 1.4 and LAZ
  • E57, including the files Albireo writes
  • PLY, ascii and binary
  • PTX, one scan or several in one file
  • XYZ, PTS, CSV and plain text with x y z, and optionally intensity and color

Mouse, touch and keys

  • Mouse: the left button turns, the right button (or Shift and the left button) moves, the wheel zooms, a double click on a point makes it the center.
  • Touch: one finger turns, two fingers move and zoom. With a measuring tool on, a tap picks a point.
  • Keyboard (click the picture first): arrow keys turn, Shift with arrow keys moves, plus and minus zoom, R resets the view, F fits it, T looks from above, Esc cancels a measurement in progress.

Send us a scan, get it back as E57.

Free conversion of your FARO .fls files. Your files and an email address are enough to start.