Skip to content
Novus Examples
obj1.3 KB

OBJ — Duplicate Vertices, Split Seam

The reference cube with all eight corners stored twice at bit-identical coordinates: the first six triangles use one copy, the last six use the other. It renders as a closed cube but is topologically two disconnected surface patches with a split seam, which is why smoothing, subdivision and boolean operations all misbehave on it.

Loading 3D preview…

Interactive preview rendered from the equivalent glTF (duplicate-vertices.glb); drag to orbit. Download the file above for the OBJ original.

Specifications

Format
Wavefront OBJ
Vertices
16
Unique Positions
8
Duplicate Vertices
8
Triangles
12
Weld Tolerance
0.0 (exact duplicates)
Appears Closed
true

Testing contract

Expected to recover
Scenario
Weld vertices at tolerance 0.0 and re-count vertices and boundary edges.
Expected result
16 vertices collapse to 8 and the boundary-edge count falls to 0; before welding the mesh reports open edges despite looking closed.

What is a .obj file?

OBJ (Wavefront OBJ) is a text-based 3D geometry format defining vertices, texture coordinates, normals, and faces, and referencing materials through a companion MTL file. It is simple, widely supported, and can represent polygonal meshes with UV mapping. It is a common interchange format across 3D tools.

How to use this file

Use an example OBJ to test mesh and UV parsing, MTL material resolution, and importers in 3D engines, renderers, and modeling applications.

How to use this file for testing

“OBJ — Duplicate Vertices, Split Seam” is a deterministic Novus Examples fixture for Mesh repair testing, Mesh processing QA. A watertight mesh paired with a deliberately broken twin (holes, missing faces, open ends) — the input and intended result for a mesh-repair / hole-filling tool.

Documented properties for this file: Wavefront OBJ. 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("duplicate-vertices.obj")
print(mesh.bounds, mesh.faces.shape)

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