preview_script
Render EisenScript procedural grammars to a PNG preview and OBJ mesh, preserving group colors, so you can validate structure geometry and inspect results before import.
Instructions
Render an EisenScript and return a PNG preview image path (plus the OBJ).
Uses matplotlib Agg (CPU only, no GPU). Group colors from the grammar are preserved when present.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| script | Yes | ||
| timeout | No | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |