Formatguide

OFF File Format (.off)

The minimal ASCII mesh format — clean, dependency-free polygon geometry for research and processing tools.

Download gratis prøveversion

Gratis 30-dages prøveperiode. Intet kreditkort påkrævet. Windows 10/11.

Extension.off
Full nameObject File Format
Geometry typePolygon mesh (triangles and polygons)
VariantsOFF (plain), COFF (color), NOFF (normals), CNOFF (color+normals)
Open standardYes
Supports colorCOFF variant only
Supports normalsNOFF variant only
EncodingASCII text

Hvad er en OFF-fil?

OFF (Object File Format) is a minimal ASCII format for polygon meshes. An OFF file starts with the keyword OFF, followed by counts of vertices, faces, and edges, then vertex coordinates, and finally faces. Optional variants COFF and NOFF add per-vertex color and normals. OFF was popularized by the Princeton Shape Benchmark and Geomview.

Typiske anvendelser af OFF-filer

Computational Geometry Research

Academic geometry processing libraries (CGAL, libigl, OpenMesh) use OFF as a common test format. Princeton Shape Benchmark datasets are distributed as OFF.

Geometry Processing Pipelines

OFF is used in mesh processing pipelines where a simple, human-readable format is preferred.

Geomview Visualization

Geomview, the interactive 3D viewer from the Geometry Center, uses OFF as its native format.

Softwareunderstøttelse

MeshLab, Geomview, CGAL, libigl, OpenMesh, Blender (via import plugin) and 3D CAD Converter.

Konverter dette format

Commonly converted to STL for 3D printing, to OBJ for rendering, or to PLY for datasets requiring per-vertex attributes.