Loads an AVEVA RVM file into a SceneModel.

RVM is the binary plant-design format produced by AVEVA PDMS / E3D. It carries a tree of containers (CNTB / CNTE) holding parametric primitives (boxes, cylinders, spheres, snouts, toruses, dishes, facet groups). This loader currently understands the RVM v2 dialect.

Implementation status:

  • Header / Model chunk metadata: parsed and skipped.
  • Container hierarchy: walked; one SceneObject per CNTB.
  • Primitives decoded: Pyramid, Box, RectTorus, CircTorus, EllipDish, SpherDish, Snout, Cylinder, Sphere, FacetGroup. Line primitives are recognised but skipped (1D data — the triangle-based render path can't represent them).
  • Paired .attr / .att text-attribute files are not yet consumed; without them, object IDs come from the CNTB hierarchy.
const loader = new RVMLoader();
await loader.load({ fileData, sceneModel });

Hierarchy (View Summary)

Constructors

Properties

fileDataType: string

Identifies the MIME type of files loaded by this parser.

fileNameExtensions: string[]

Filename extensions expected on loaded model files.

format: string

The loaded model file format.

getVersion: (fileData: any) => string

Gets the schema version of the given file data.

parsers: { [key: string]: ModelParser }

A parser for each supported schema version.

versions: string[]

IDs of supported file schema versions.

Methods