NIRayTrace Command - LarryBoxler/Rhino3D-NonImagingOptics GitHub Wiki
NIRayTrace Command
Description
Command will trace 2d rays through a set of planar optical curves that have been defined in the same plane as the rays. The curves 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 circle).