Skip to main content

Crate openbim_bcf

Crate openbim_bcf 

Source
Expand description

openbim-bcf — BIM Collaboration Format.

§What this is

The open issue-exchange format: a ZIP with one directory per topic, each holding the issue XML and optionally a viewpoint (camera plus component visibility) and a snapshot image. It is how findings from an audit leave this toolchain and land in any BCF-aware reviewer.

§BCF is two standards

BCF-XML is the file container this crate targets. BCF-API is a separate REST/JSON service specification for the same domain. They share a data model and nothing else; conflating them is why this crate is not simply named for the file extension.

§🚨 The reader must be tolerant, and that is evidence-based

Measured over 33 real third-party archives in the sibling ../vendor/solibri corpus:

Spec saysCorpus says
project.bcfp describes the project0 of 33 have one
bcf.version declares the version20 of 33 have none
TopicStatus comes from a known setfree text, e.g. "Offen"

A spec-strict reader rejects every file in that corpus — files every other BIM tool opens without complaint. So: reject only what cannot be interpreted at all, and keep status/type strings verbatim rather than mapping them onto an enum. "Offen" is not a parse failure; it is what the file says, and normalising it would corrupt a round-trip.

§Status

Reserved — no implementation. Published to establish the name. Read and write support are tracked separately and must never be inferred from one another.

Enums§

BcfVersion
A BCF-XML container version.