energyml-export 0.2.0-alpha.4

Writes EnergyML geometry out to interchange formats, through a registry new formats plug into.
Documentation

energyml-export

Writes EnergyML geometry to interchange formats through a registry: an Exporter implementation is added to an Exporters registry, and entries pushed by the caller are tried before the built-ins. Built-ins are OBJ, GeoJSON and VTK (three flavours). What each format carries beyond geometry is configuration (metadata specs), not code; GeoJSON refuses what it cannot represent faithfully.

use energyml_export::{Exporter, Exporters};

fn extend(mine: Box<dyn Exporter>) {
    let mut exporters = Exporters::builtin();
    exporters.push(mine); // found before the built-ins
}

Features

Feature Default Effect
hdf5 no forwards energyml-geometry/hdf5 and energyml-storage/hdf5

Documentation

Licence

Apache-2.0. See LICENSE.