honeybee_radiance_command.ies2rad module¶
ies2rad command.
- class honeybee_radiance_command.ies2rad.Ies2rad(options=None, output=None, ies=None)[source]¶
Bases:
CommandIes2rad command.
Ies2rad converts one or more IES LM-63 photometric files into equivalent Radiance scene descriptions. The generated luminaires are centered at the origin and oriented along the negative Z-axis.
- Parameters:
options – Ies2rad options. Defaults to Radiance defaults if unspecified.
output – Path to output file (used only when piping or redirecting).
ies – Path or list of paths to input IES files.
- Properties:
options
output
ies
- after_run()¶
After run script.
Overwrite this method to add extra tasks that runs right after run method.
- before_run()[source]¶
Before run script.
Overwrite this method to add extra tasks that runs right before run method.
- enclose_command(stdin_input=False)¶
Enclose command in quotes and exclamation point (‘!’). This method should be used when reading the input of a command from another Radiance command.
Example: rmtxop -c 47.4 119.9 11.6 “!rmtxop view transmission daylight sky” > output
- run(env=None, cwd=None)¶
Run command as a subprocess.
- Parameters:
env – Environmental variables (default: None).
cwd – Working directory (Default: ‘.’).
- Returns:
Command return code.
- Return type:
int
- property command¶
- property ies¶
Input IES file(s).
- property options¶
Ies2rad options.
- property output¶
output file.
- property pipe_to¶
Second command to pipe the outputs from this command.