# KLP Lamé geometry

Original author: **braindefender (Nikita Shirokov)**.

Source: [KLP-Lame-Keycaps](https://github.com/braindefender/KLP-Lame-Keycaps/tree/08459a0a6f02f6a3736e96dc96837e6004d7728c),
commit `08459a0a6f02f6a3736e96dc96837e6004d7728c`.

The MX Normal and Normal Tilted geometries, embedded data, and derived KLP
models are licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
The complete license is included in `LICENSE`. The license applies to these
geometry assets and their derivatives; it does not change other Studio code.

Modifications in this Studio version:

- Align the stem tips with Z=0 and index identical source STL vertices.
- Use Normal Tilted as R1, Normal as R2, and a 180° Z rotation of R1 as R3.
- Preserve the central MX stem region while smoothly reducing exterior X/Y
  dimensions for a common 16–24 mm pitch and at least 0.5 mm nominal gap.
- Blend the tilted crown's Y displacement into Z to retain the row balance.
- Assemble single keys, a three-row column, or a 3×3 grid and optionally apply
  a rigid print orientation to a single key.

`source.json` records the pinned upstream identity and hashes of the normalized
sample STL inputs used by `scripts/build_klp_asset.py`. The full source STL and
STEP assets remain under `samples/klp_3row/source/`. No mesh simplification is
applied. Geometry validation does not establish printed fit or switch clearance.
