# bldg Viewer License

Version 1.0, November 7, 2026

Copyright (c) 2026 bldg (usebldg.com). All rights reserved, except as this licence allows.

This licence covers the bldg viewer (`<bldg-viewer>`, the npm package `@usebldg/viewer`) and the bldg engine
(WebAssembly) it loads, as built and published by bldg: the files `bldg-viewer.js`, `bldg-viewer-3d.js`,
`bldg-viewer.standalone.js` and `engine/` (together, "the Viewer"), and the offline HTML files the bldg editor makes
with it.

## What you may do

1. **Use and embed it, free.** You may load, run and embed the Viewer on any website, web app or page, including
   commercial ones and ones you charge for, and show any plans with it. No fee, no account, no attribution required.
2. **Host and share unmodified copies.** You may serve the Viewer's files from your own server or a CDN, include them
   in your site's build, and share offline HTML files made by the bldg editor, as long as the files are not modified
   and this licence travels with them (keep this file with the package, or keep the notice at the top of each
   script).

## What you may not do

3. **No reverse engineering.** You may not decompile, disassemble or reverse engineer the Viewer or the engine, or
   try to recover their source code, except where the law allows it despite this limit.
4. **No modified builds.** You may not distribute modified versions of the Viewer's files (bundling or minifying them
   unchanged into your site's build is fine), and you may not remove or change this licence or the notices in them.
5. **No trademark rights.** This licence does not give you any right to use the bldg name, wordmark or logo, except
   to say truthfully that your page uses the bldg viewer.

## Third-party software

The Viewer includes software by others under their own licences (three.js, and the Rust libraries compiled into the
engine). Their licences come with the package (`dist/licenses.md`, `dist/THIRD_PARTY_LICENSES.md`) and apply to those
parts; nothing in this licence limits the rights they give you.

## No warranty

THE VIEWER IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL BLDG BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
IN CONNECTION WITH THE VIEWER OR ITS USE.

## Ending

If you break this licence, your rights under it end. Questions, or a use this licence does not cover:
hello@usebldg.com.
