格式指南

OFF File Format (.off)

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

下载免费试用版

30天免费试用。无需信用卡。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

什么是OFF文件?

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.

OFF文件的常见用途

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.

软件支持

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

转换此格式

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