Skip to content
Novus Examples
off167 B

OFF — Geomview Cube

A 10 mm cube as OFF (Object File Format) — the minimal vertex/face text format from Geomview, common in computational geometry. For testing OFF parsers and conversion.

Loading 3D preview…

Interactive preview rendered from the equivalent glTF (cube.glb); drag to orbit. Download the file above for the OFF original.

Specifications

Format
OFF (Object File Format)
Solid
10 mm cube
Triangles
12
Vertices
8

What is a .off file?

OFF (.off, Object File Format) is a simple ASCII 3D mesh format: a header, vertex and face counts, then a list of vertex coordinates and polygon indices. Its minimalism makes it a common teaching and geometry-processing format.

How to use this file

Use an example .off file to test mesh parsers, geometry-processing tools (MeshLab, CGAL), and OFF-to-OBJ/PLY conversion.

How to use this file for testing

“OFF — Geomview Cube” is a deterministic Novus Examples fixture for Conversion testing. The same content exported across many formats and linked as a group, so you can convert one and diff against the expected twin.

Documented properties for this file: OFF (Object File Format). Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

3D and CAD fixtures carry one small, documented solid or scene. Convert and inspect against the known geometry, units, and structure; format twins let you diff interchange fidelity, and the 3D viewer previews the actual mesh.

Code examples

import trimesh  # pip install trimesh

mesh = trimesh.load("cube.off")
print(mesh.bounds, mesh.faces.shape)

Generated by generation/models.py. Free for any use, no attribution required — license.