Writes an FDS-shaped DataModel back to a v6 namelist text file.

The exporter is the inverse of FDSLoader. It walks the typed FDS DataObjects produced by the loader's buildDataModel step — FDSProject / FDSSurface / FDSMesh / FDSObstruction / FDSVent / FDSHole — and reconstitutes one namelist record per object. XB / IJK / MB / IOR come from the Geometry PropertySet, every other parameter from the FDS PropertySet (which preserves the original namelist parameters verbatim), and SURF_ID from the usesSurface Relationship.

The DataModel is the canonical source; the SceneModel — if supplied — is not consulted by the v1 encoder. Reconstituting the authored XB from hole-cut SceneMesh remainders would be lossy.

For detailed usage, refer to @xeokit/sdk/formats/fds.

Hierarchy (View Summary)

Constructors

Properties

defaultVersion: string

The default supported schema version.

encoders: { [key: string]: ModelEncoder }

An encoder for each supported schema version.

fileDataType: string

Data type of the file written by this Exporter.

format: string

The exported model file format.

versions: string[]

List of supported schema versions.

Methods