30天退款保证 · 一次性许可 — 查看价格
| Extension | .off |
|---|---|
| Full name | Object File Format |
| Geometry type | Polygon mesh (triangles and polygons) |
| Variants | OFF (plain), COFF (color), NOFF (normals), CNOFF (color+normals) |
| Open standard | Yes |
| Supports color | COFF variant only |
| Supports normals | NOFF variant only |
| Encoding | ASCII text |
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.
Academic geometry processing libraries (CGAL, libigl, OpenMesh) use OFF as a common test format. Princeton Shape Benchmark datasets are distributed as OFF.
OFF is used in mesh processing pipelines where a simple, human-readable format is preferred.
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.
OFF 是一种极简的学术 mesh 格式,很少有主流工具能读取。3D CAD Converter 可直接打开 .off 文件,并通过三步将其导出为广泛支持的 mesh 格式。
添加 OFF 文件
将单个 .off 文件或整个文件夹拖入应用。普通 OFF 以及带颜色和法线的 COFF/NOFF 变体都会被读取。
选择输出格式
广泛兼容选 OBJ,3D 打印选 STL,需要逐 vertex 属性则选 PLY。如有需要可设置单位和 tessellation。
点击转换
整批文件在本地运行,带进度条和预计剩余时间。不会向云端上传任何内容。
更喜欢命令行?同样的转换可通过 CLI 运行,便于脚本化和自动化:
OFF 既是导入格式也是导出格式。导出时使用 --units 和 --tessellation 控制比例和 mesh 密度。
OFF 刻意保持极简,仅用纯 ASCII 表示 vertex 和面,没有材质、纹理或场景层级。这种简单正是它在计算几何领域的优势:解析简单、易于脚本生成、便于调试阅读。它是 Princeton Shape Benchmark 的格式,也是 Geomview 的原生格式,因此在学术 mesh 数据集和处理流程中频繁出现。
在学术界之外,OFF 的支持较为有限,因此在别处使用模型前,您通常会先将其转换为更常见的 mesh 格式。将 OFF 与最相近的格式比较,并一键转换: OBJ, PLY.
许多 3D 工具和查看器无法打开 OFF,Blender 需要导入插件。将 OFF 转换为 OBJ 或 STL 可让 mesh 几乎随处可用,而 3D CAD Converter 原生读取 OFF,无需插件。
普通 OFF 仅存储几何,只有 COFF/NOFF 变体才携带颜色或法线。若后续需要颜色或材质,请转换为支持逐 vertex 或材质颜色的 OBJ、PLY 或 glTF。
由于 OFF 是纯文本,高分辨率的 mesh 会生成非常大、加载缓慢的文件。转换为 binary STL 或 binary PLY 可大幅减小大型模型的文件大小和加载时间。
.off 文件即 OFF 文件,也就是 Object File Format,一种用于多边形 mesh 的极简 ASCII 格式。它以关键字 OFF 开头,接着是 vertex、面和边的数量,然后是 vertex 坐标和面索引。它因 Princeton Shape Benchmark 和 Geomview 而普及,仅存储几何,没有材质、纹理或层级。
OFF 是许多查看器无法读取的小众学术格式,Blender 也需要插件。3D CAD Converter 可直接打开 .off 文件,并批量导出为 OBJ、STL、PLY、glTF 等 12 多种格式,无需插件。拖入文件或文件夹,选择格式,点击转换即可。
在 3D CAD Converter 中打开 .off 并选择 OBJ,或运行 cadconvert convert -i model.off -o model.obj。OBJ 的支持远比 OFF 广泛,因此转换后 mesh 几乎可在任何 3D 工具中使用。使用 cadconvert batch -i ./in -o ./out -f obj -r 可一次转换整个文件夹。
可以。3D CAD Converter 提供 30 天免费试用,可将 OFF 转换为 OBJ、STL、PLY、glTF 等,包括完整的批量文件夹,并可控制单位和 tessellation。在 Windows 10 或 11 上无需信用卡。