Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

BL37, GD9, GD12: the manual's CLI reference from the help as landed (tools/manual-ref/cli.ts gen): scene export with its --at and -o described, godot run's --scene and --frames, and setup godot trying raea's own build first

shinyobjectzcd6bb4083499
diff --git a/docs/manual/reference/cli/godot.md b/docs/manual/reference/cli/godot.md
index e44487f1..606c41a9 100644
--- a/docs/manual/reference/cli/godot.md
+++ b/docs/manual/reference/cli/godot.md
@@ -20,8 +20,8 @@ person. The guide is `raea guide bevy/godot`.
## Usage
```sh
-raea setup godot [--check] (download Godot 4.6.1 with GodotJS, its TypeScript bindings (MIT), into ~/.raea/tools/godot: JavaScriptCore on the Mac, QuickJS on Windows and Linux; checked against its pinned sha256)
-raea godot run SCRIPT.ts [--project DIR] [--window] [--movie FILE [--fps N]] [--size WxH] [--timeout S] [ARGS...] (a TypeScript script against Godot's whole API through raea/godot: its default export gets the SceneTree and ARGS, headless unless --window; --movie writes every frame Godot draws (NAME.png numbered, or .avi) at a fixed --fps, 30 unless given; the project is DIR, else the nearest project.godot above the script, else an empty one; Godot quits when it returns)
+raea setup godot [--check] (download Godot 4.6.1 with GodotJS, its TypeScript bindings (MIT), into ~/.raea/tools/godot: JavaScriptCore on the Mac, QuickJS on Windows and Linux; raea's own build (the Mac's notarized), else GodotJS's, each checked against its pinned sha256)
+raea godot run [SCRIPT.ts] [--project DIR] [--window] [--movie FILE [--fps N] [--frames N]] [--scene res://X.tscn] [--size WxH] [--timeout S] [ARGS...] (a TypeScript script against Godot's whole API through raea/godot: its default export gets the SceneTree and ARGS, headless unless --window; --movie writes every frame Godot draws (NAME.png numbered, or .avi) at a fixed --fps, 30 unless given; the project is DIR, else the nearest project.godot above the script, else an empty one; Godot quits when it returns, or after --frames N; --scene plays a scene of the project under it, with no script needed; a scene in --window plays until the window is closed)
raea godot types [DIR] (the project's own TypeScript types from GodotJS: Godot's API with its scenes, resources and input actions, into DIR/typings)
raea godot open [DIR] (the Godot editor on the project, GodotJS's, to edit its scenes)
```
diff --git a/docs/manual/reference/cli/scene.md b/docs/manual/reference/cli/scene.md
index 1b9ac849..78dae874 100644
--- a/docs/manual/reference/cli/scene.md
+++ b/docs/manual/reference/cli/scene.md
@@ -22,6 +22,7 @@ raea scene light film.tsx --composition shot1,shot2,shot3 # the light across
## Usage
```sh
+raea scene export EDIT.tsx -o DIR [--composition ID] [--frame N | --at A-B] (the composition's 3D as data other tools build: DIR/scene.json, each part placed (y up, metres) with its shape, material or light, and the camera; meshes/ and models/ beside it)
raea scene lint|explain|light EDIT.tsx [--composition ID] [--frame N] [--part NAME] [--json] (what each 3D part rests on: floating, sunk and clipping parts; light: the scene's lighting)
```
@@ -31,10 +32,12 @@ Headless: it needs nothing running and opens no window. Takes up to 2 arguments
| Flag | Takes | What it does |
| --- | --- | --- |
+| `--at` | `A-B` | `export`: each part's placement and the camera's field of view on every frame from A to B, for keyframes in Blender or Godot. |
| `--composition` | `ID` | Which composition to measure. `light` takes several, comma-separated, to compare the light across their cuts. |
| `--frame` | `N` | The frame to measure (0 by default; `light` also takes `last`). |
| `--json` | – | Print as JSON: `lint` its findings (check, level, the parts they are about, frames, says, measure, fix), `explain` every part with its support, gap and box. |
| `--part` | `NAME` | With `light`: the part to meter, in place of the shot's subject. |
+| `-o` | `DIR` | `export`: the folder scene.json is written to, with meshes/ and models/ beside it. |
<!-- generated:end -->
diff --git a/docs/manual/reference/cli/setup.md b/docs/manual/reference/cli/setup.md
index 1539b59a..e0ea34fb 100644
--- a/docs/manual/reference/cli/setup.md
+++ b/docs/manual/reference/cli/setup.md
@@ -19,7 +19,7 @@ raea setup blender
```sh
raea setup blender [--check] [--download] (find Blender or download the LTS into ~/.raea/tools/blender, and install raea's add-on and the MCP add-on)
-raea setup godot [--check] (download Godot 4.6.1 with GodotJS, its TypeScript bindings (MIT), into ~/.raea/tools/godot: JavaScriptCore on the Mac, QuickJS on Windows and Linux; checked against its pinned sha256)
+raea setup godot [--check] (download Godot 4.6.1 with GodotJS, its TypeScript bindings (MIT), into ~/.raea/tools/godot: JavaScriptCore on the Mac, QuickJS on Windows and Linux; raea's own build (the Mac's notarized), else GodotJS's, each checked against its pinned sha256)
```
Headless: it needs nothing running and opens no window. Takes up to 1 argument besides its flags.