GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - openbimrs/mmc: Pure-Rust MMC 2.0 archive reading, validation, extraction, and writing for DIN 18290 workflows.

BranchesTags
Open more actions menu

Latest commit

 

History

40 Commits
40 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.hermes/plans
.hermes/plans
 
 
LICENSES
LICENSES
 
 
docs
docs
 
 
openbim-mmc
openbim-mmc
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
.mailmap
.mailmap
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
HERMES.md
HERMES.md
 
 
LICENSE
LICENSE
 
 
LICENSING.md
LICENSING.md
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
rust-toolchain.toml
rust-toolchain.toml
 
 

Repository files navigation

openbim-mmc

CI Documentation docs.rs MSRV

Pure-Rust Multi-Model Container (MMC) 2.0 mechanics for DIN 18290 workflows.

Read the documentation →

Compatibility status

The typed XML projection and writer target the public buildingSMART MMC 2.0.0 schemas. The crate does not claim complete conformance with every edition of DIN 18290-1; normative DIN documents and current digital annexes are not redistributed. validate() checks the implemented structural and referential contract, not full XSD conformance.

Implemented

  • Bounded .mmc ZIP parsing.
  • Namespace-aware MultiModel.xml and LinkModel XML projections.
  • Exact access to original archive, XML, and opaque entry bytes.
  • Deterministic re-emission that preserves each entry's uncompressed bytes.
  • Stable structural and referential-integrity reports.
  • Safe extraction with path, collision, symlink, and overwrite protection.
  • Deterministic archive construction and writing.

original_bytes() provides an exact no-op copy of the input archive. Rebuilding an archive preserves every uncompressed entry byte, including unknown entries and source XML, but intentionally does not reproduce ZIP compression streams, timestamps, or central-directory layout byte-for-byte.

Boundary

This repository owns only MMC 2.0 container mechanics. It does not implement ISO 21597 ICDD or parse IFC and GAEB payloads. DIN 18290 Parts 2–4 for LV, cost, and invoicing belong in optional domain crates built on openbim-mmc, openbim-gaeb, and canonical IFC.

The crates.io name mmc is owned by an unrelated Minimal Model Collection crate. The canonical package is therefore openbim-mmc; this repository does not include a misleading alias crate.

Use

use openbim_mmc::MmcArchive;

let bytes = std::fs::read("exchange.mmc")?;
let archive = MmcArchive::parse(&bytes)?;
let report = archive.validate();
if !report.is_valid() {
    for issue in report.issues() {
        eprintln!("{:?}: {}", issue.code, issue.message);
    }
}
archive.extract_to("out")?;
# Ok::<(), Box<dyn std::error::Error>>(())

Verification

Run scripts/gate.sh from a clean Git tree. The gate pins Rust 1.99.1, tests all targets, denies Clippy and rustdoc warnings, verifies the minimal feature build, and audits package contents. scripts/mutation-probes.py proves critical tests detect weakened guards.

See ADR 0001, the roadmap, and the changelog.

License

Dual-licensed AGPL-3.0-or-later OR LicenseRef-Commercial; see LICENSING.md. Normative DIN documents and schemas are not redistributed.

About

Pure-Rust MMC 2.0 archive reading, validation, extraction, and writing for DIN 18290 workflows.

openbimrs.github.io/mmc/

Topics

bimdin-18290mmcopenbimrust

Resources

Readme
AGPL-3.0 license

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.