Explanation
How BIM.works is built and why. Background reading for the concepts the guides and references take for granted.
Read these when a term in a guide is unclear, when you want to know why something works the way it does, or before designing an integration. Nothing here is required to get started; everything here makes the rest easier to understand.
- What is BIM.works — the repository, the languages, the viewers, the SDKs, and where each runs.
- Nodes, versions and the tree — why models live in a tree, what a version is, what an upload creates.
- Identifiers — node UUIDs, Vids, Oids, Qids, Mids and IFC GUIDs, and why the Qid is stable.
- Accounts and organisations — accounts, organisations, superadmins, workspaces and the levels of feature flags.
- Tokens and delegation — API tokens versus auth tokens, the tokens a backend issues for a browser, scopes and expiry.
- The query languages — the family of eight languages built on BQL, and why BQL has no FROM.
- Checking and IDS — IDS, BCL and Java checks through one pipeline, how results are stored, and the validation of every check-in.
- Comparing versions — how two versions are paired object by object, what counts as a change, and why compares are stored.
- Geometry and the viewers — from IFC to triangles, the shared state model, streaming, caching, LOCAL and GEO, walking, and what the server renders.
- How calculated quantities are measured — pictograms and definitions for every calculated quantity, including footprints, surfaces, volumes, stairs, openings and Advanced mesh measurements.
- Geo-referencing in IFC — the three ways IFC carries a position and what BIM.works extracts from each.
- Alignment — what the alignment matrix is and is not.
- Versioning and compatibility — the release scheme, what stays stable across updates, what is regenerated.
Explanation#
How BIM.works is built and why. Background reading for the concepts the guides and references take for granted.
- What is BIM.worksA repository for building models with a query engine, two viewers, eight small languages, three SDKs and a generated PHP client — what each part is, and where it runs.
- Nodes, versions and the treeWhy models live in a tree of nodes, what a version is, and what an upload actually creates.
- IdentifiersNode UUIDs, Vids, Oids, Qids, Mids and IFC GUIDs, what each identifies, why the Qid has a dash in it, and why it survives reindexing and editing.
- Accounts and organisationsWhat an account owns, how organisations share a subtree and control features, what a superadmin is, where workspaces fit, and how feature flags are set.
- Tokens and delegationAPI tokens versus auth tokens, what a login creates, the tokens a backend issues for a browser, anonymous tokens, scopes, expiry and the BIM context.
- The query languagesWhy BIM.works has a family of eight small languages built on BQL, what each is for, why BQL has no FROM and no joins, and how the family relates to SQL and IDS.
- Checking and IDSHow IDS and BCL checks share one pipeline and Java checks run beside it, how an IDS file is evaluated, what a run returns, when to choose which, and how every check-in is validated against its schema first.
- Comparing versionsHow a compare pairs the objects of two versions, judges each pair on the features a BCOL definition watches, measures moves, recognises a shared move, compares federations, and why results are stored and edits compare quickly.
- Linked dataFiles, links, texts and identifiers on objects, kept outside the IFC; how a link follows its object to the later versions of a model, what "check" and "orphaned" mean, and how the files are stored and synced.
- Geometry and the viewersHow an IFC file becomes triangles, how the viewers stream, cull, cache and place that geometry, why selection, x-ray and fade state live outside them, how walking finds the floor and the room, and what the server renders.
- How calculated quantities are measuredAn illustrated guide to all 44 calculated quantities, from dimensions and primary faces to solid volumes, stair measurements, opening deductions and Advanced mesh measurements.
- Geo-referencing in IFCThe three ways an IFC file can say where a building is, what BIM.works reads from each, how the geo reference is stored, and what can go wrong.
- AlignmentWhat the alignment matrix on a version is, what it is not (a geo reference, an edit), how the viewers apply it, and when to use it.
- Versioning and compatibilityThe release scheme, why SDK and server versions travel together, what stays stable across updates and what is regenerated, and how deprecations work.