# XYZ point cloud viewer

Open a text file with the positions of scanned points.

## How the file works

Every row describes one point. Numbers can be separated by spaces, tabs, commas or semicolons:

```
0.00 0.00 1.20
0.05 0.00 1.21
```

The first three numbers are X, Y and Z. The viewer also understands these common layouts:

- `x y z r g b`
- `x y z intensity r g b`
- `x y z nx ny nz`, with normals

Red, green and blue can use 0 to 1, 0 to 255 or larger whole numbers. If the last three values include a negative number, they are read as normals and not as colors. Normals without a negative value can look like colors.

Text files have no standard unit or column names. Use a decimal **point**, not a decimal comma, choose a unit and check one known size.

## Questions

### Is this for molecule XYZ files?

No. Chemistry programs use another XYZ format that starts each row with an element, such as C or H.

### Can I convert XYZ to STL?

Not directly. Build a surface from the points in CloudCompare or MeshLab first.

Source: https://stlviewer3d.com/xyz-viewer/
