NISurfaceTrace Command - LarryBoxler/Rhino3D-NonImagingOptics GitHub Wiki

NISurfaceTrace Command

Description

Command will trace 3d rays through a set of optical surfaces that have been defined. The surfaces traced must have optical interfaces assigned to them or they will be treated as absorbing. Rays will trace until no more intersections are found. The ray paths will be drawn into the file after the ray tracing is complete.

Note: in the current revision, the maximum number of times a ray will interact with optical surfaces is hardcoded to 500 in order to avoid a situation where the ray could continue to interact an infinite amount of times (for example ray inside a perfectly reflecting sphere).