Skip to content
Novus Examples
json561 B

Convert v2 VTK Semantic Geometry Reference

JSON semantic reference for the VTK tetrahedron, publishing vertex order, face indices, bounds, and the closed-mesh contract. Stable P8 artifact p8-convert-model-vtk-reference.

Preview — first 50 linesjson
{
  "bounds": {
    "max": [
      1,
      1,
      1
    ],
    "min": [
      0,
      0,
      0
    ]
  },
  "contract": "closed tetrahedron; four vertices; four triangular faces",
  "faces": [
    [
      0,
      2,
      1
    ],
    [
      0,
      1,
      3
    ],
    [
      0,
      3,
      2
    ],
    [
      1,
      2,
      3
    ]
  ],
  "sourceFormat": "vtk",
  "vertices": [
    [
      0,
      0,
      0
    ],
    [
      1,
      0,
      0
    ],
    [
      0,
61 lines total — download for the full file.

Specifications

Source Format
vtk
Vertices
4
Faces
4
Delivery Mode
download-only
Provider
converter-v2
Provenance
Synthetic deterministic P8 fixture generated by generation/p8_content.py; seed namespace 2026082300
Fixture Reserve
convert-v2

Testing contract

Reference control
Scenario
Compare a decoded VTK source against this JSON without relying on byte identity.
Expected result
Vertex coordinates, four face index triples, and unit bounds match exactly after any documented axis convention is applied.

What is a .json file?

JSON (JavaScript Object Notation) is a lightweight, text-based data-interchange format representing objects, arrays, strings, numbers, booleans, and null. It is language-independent, human-readable, and the dominant format for web APIs and configuration. It requires a single well-formed root value.

How to use this file

Use an example JSON file to test parsers and serializers, schema validation, Unicode and number-precision handling, and API request or response processing.

How to use this file for testing

“Convert v2 VTK Semantic Geometry Reference” is a deterministic Novus Examples fixture for Conversion testing, Mesh processing QA, JSON parsing. 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: JSON · 561 bytes. 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 json

with open("tetrahedron-vtk-reference.json") as f:
    data = json.load(f)
print(type(data), len(data))

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