run_grid
Calculate point-in-time human-centric lighting metrics at specified grid points using Radiance simulation, with optional CSV export.
Instructions
Point-in-time grid HCL metrics via Radiance (oconv -> rtrace -I per channel -> recombine).
scene_sets: 1 list of .rad paths for 3-channel, or 3 lists (blue/green/red bin sets) for 9-channel. points: rows [x,y,z,dx,dy,dz] or a .pts path. Runs Radiance if present, else returns the commands. export_csv: optional path (abs or relative to work_dir) to dump the per-point result table.
sky_files: which scene paths are sky, listed exactly as they appear in scene_sets. Only matters
with electric_lights, which builds a sky-free octree for the electric block. Left unset, the
sky is DETECTED (gensky/gendaylit primitives, skyfunc, the sky/ground hemispheres, plus a
basename hint), which covers the generators this codebase and Radiance use but cannot cover a
hand-rolled sky using none of them. Pass it explicitly for an unusual scene — in both
directions: to name a sky nothing would detect, or to KEEP a sky-looking file (exterior context)
inside the electric octree. A leak here reports daylight as electric light; the electric block
carries a lumen_bound (sum of luminaire lumens / grid area) so an over-count is visible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | ||
| points | Yes | ||
| quality | No | ||
| work_dir | No | ||
| sky_files | No | ||
| export_csv | No | ||
| rad_params | No | ||
| scene_sets | Yes | ||
| channel_type | No | ||
| electric_lights | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||