pyampp.util.export_model_metadata

Attributes

app

Functions

main(, output_h5, strict)

Create a portable metadata-only thin model HDF5.

Module Contents

pyampp.util.export_model_metadata.app[source]
pyampp.util.export_model_metadata.main(source_model: pathlib.Path = typer.Argument(..., exists=True, file_okay=True, dir_okay=False, readable=True), output_h5: pathlib.Path | None = typer.Option(None, '--output', '-o', help='Output path for the thin file (defaults to <source_stem>_metadata.h5).'), strict: bool = typer.Option(False, '--strict', help='Fail if geometry contract cannot be completed during source restore.')) None[source]

Create a portable metadata-only thin model HDF5.