Support

Connecting two models using File Sources

Written by Admin | Aug 30, 2021 4:00:00 AM

Question

After running the raytrace for one model having one exit surface, I want to run a raytrace for another model where the light source is the output of the first model.

Synopsis

Connecting two jobs models using File Sources

Solution

"You can accomplish this in TracePro through the use of File Sources. After completing the first ray trace, view an Incident Ray Table (Analysis / Incident Ray Table), select File/Save As, check the "Export to Ray File format" box, and save the data as a Ray File. In the second model, select Define / File Source, browse to the Ray File that you just saved. The default location for the source is the origin (0, 0, 0). If the Ray File is inserted at the origin, the rays will emit from the XYZ coordinates where they were incident from the first ray trace. To emit rays from a different location or direction, enter the appropriate coordinates in the dialog before inserting the File Source. The XYZ coordinates and direction vectors from the Ray File will be offset and/or rotated by the values entered in the File Source dialog."