# openscad-wasm 2022.03.20 — source & provenance

This directory ships the **unmodified** `openscad-wasm` release build
`2022.03.20`, served byte-identical to what upstream publishes. Nothing here
is edited, bundled, minified, or otherwise transformed.

## Files (byte-identical to the release, sizes verified)

| File | Bytes |
|---|---|
| `openscad.js` | 745 |
| `openscad.wasm.js` | 120025 |
| `openscad.wasm` | 7720447 |
| `openscad.fonts.js` | 8163407 |
| `openscad.mcad.js` | 491462 |

`COPYING` (the GPL text) sits alongside these files in this same directory.

## Corresponding Source (GPLv3 §6(d))

These binaries are **built artifacts**, not source. The Corresponding Source
for this exact build is the **`openscad-wasm`** repository — a build-recipe
repo distinct from the main `openscad/openscad` engine repo — at the tag that
produced this release:

- Repository (at the release tag): <https://github.com/openscad/openscad-wasm>
  tag `2022.03.20`. This is **not merely the `openscad/openscad` repo**: it
  additionally includes the `patches/` applied on top of upstream OpenSCAD,
  the `Dockerfile.base` Emscripten build environment, and the `Makefile` that
  together produce these exact binaries. All of that — patches, Dockerfile,
  Makefile, and the OpenSCAD/CGAL/dependency sources they build — constitutes
  the Corresponding Source for this build.
- Release page (binaries + release notes):
  <https://github.com/openscad/openscad-wasm/releases/tag/2022.03.20>

## License of the combined work

**GPL-3.0-or-later**, being the combination of:

- OpenSCAD itself — GPL-2.0-or-later
- CGAL (linked in for the CSG engine in this build) — GPL-3.0-or-later
- Other bundled dependencies pulled in by the Emscripten build

Because a GPL-3.0-or-later component (CGAL) is linked into the binary, the
combined work — this `openscad.wasm` plus its glue — is distributed here
under **GPL-3.0-or-later**. See `COPYING` in this directory for the full
license text.

## Redistribution

These files are freely redistributable: nothing in this repository's own
terms, and no terms attached to 1234.nu's use of the site, restricts
redistributing them further (GPLv3 §10 — automatic downstream licensing;
anyone who receives these files from us receives the same GPLv3 rights we
did, with no additional restrictions layered on top).

## Fonts

`openscad.fonts.js` embeds the **Liberation** font family (used by OpenSCAD's
`text()` module for glyph rendering). Liberation fonts are licensed
separately from OpenSCAD itself under their own upstream license (SIL Open
Font License) — see the `openscad-wasm` release/repository above for the
exact font license text bundled into this file.
