Formatguide

OFF File Format (.off)

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

Ladda ner gratis testversion

Gratis 30-dagars testversion. Inget kreditkort krävs. 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

Vad är 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.

Vanliga användningsområden för 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.

Programvarustöd

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

Konvertera detta format

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