Files
raea/apps/tools
shinyobjectz 917d41b12a raea forma and raea setup forma: forma, a GPL modeller for hard-surface parts, run as its own program
forma (github.com/wrong-nebula/forma, GPL-3.0-or-later) makes watertight hard-surface parts
from a few lines of its pipe language in milliseconds. raea is FSL, so raea never links or
ships it: it downloads forma's own release and runs it as a separate program, as it does
Blender, and works only on the files forma writes (docs/forma.feature).

- raea setup forma [--check] [--download]: finds forma (git config raea.forma, raea's
  download, PATH) or downloads 0.4.4 into ~/.raea/tools/forma: the static musl binary on
  Linux (sha256 pinned), else the npm package run by Node 18+ or Bun (sha512 pinned).
- raea forma SCRIPT -o OUT: forma eval --strict --scene, its report printed, a part that
  isn't watertight refused with forma's reason. A .glb is then fixed: baseColorFactor made
  linear (forma writes the typed sRGB value, so every colour rendered pale) and normals
  smoothed where faces meet under 40 degrees (forma writes one per face, so curves were
  faceted). Positions, indices and UVs keep their bytes; a fixed file is marked and never
  fixed twice. raea forma fix FILE.glb does the same to the MCP server's exports;
  raea forma spec prints forma's language.
- raea skills install adds a `forma` MCP server beside `blender`: npx -y -p
  [email protected] forma-3d-mcp (cmd /c on Windows), fetched when an agent first starts it.

apps/forma is its own small crate (serde_json and raea-io-home only). The manual's
pages for forma, setup and skills are written as tools/manual-ref/cli.ts writes them,
with forma in its asset-tools group.
2026-12-03 14:56:05 -08:00
..