# OFF file viewer

Open Object File Format meshes from research datasets and geometry programs.

## About OFF

OFF stands for Object File Format. It is plain text with a list of points and a list of faces. Universities, geometry libraries such as CGAL, and shape datasets use it.

A simple file starts like this:

```
OFF
8 6 12
0 0 0
1 0 0
```

The second line gives the number of vertices, faces and edges.

## What is read

Text OFF and COFF files open here, with faces of any size. Colors are not shown. Binary OFF files are not supported.

Some datasets join the first two lines, as in `OFF8 6 12`. Those files open too. OFF has no unit, so choose one in the side panel.

## Questions

### How do I convert OFF to STL?

Use the [OFF to STL converter](https://stlviewer3d.com/off-to-stl/).

### Why does another program reject my OFF file?

It may not accept the first line joined to the numbers, comments, or faces with more than three corners. Convert the file to OBJ or STL.

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