colored_luminaire
Create a new colored Radiance luminaire file by injecting a channel triplet into an existing .rad file or raw text, leaving the original untouched, and return the new file's absolute path.
Instructions
Inject a channel triplet into a luminaire .rad, writing a NEW file (never edits the input).
count: 0=blue,1=green,2=red third of 9 values. The colored definition is written to work_dir (client-roots aware) as .rad — the source rad_path is left untouched — and its absolute path is returned. rad_path may be a .rad file path or raw .rad text. Returns {file, rad}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| count | Yes | ||
| rad_path | Yes | ||
| work_dir | No | ||
| channels9 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||