This is in response to recent requests for an early-stage acoustic reflected-ray design tool...
[works for light and balls too]DOWNLOAD THIS FILE
(c) TIG 2010
Place the script in the Plugins Folder.
Type raytrace in the Ruby Console or
pick 'RayTrace' off the Plugins Menu.
Follow the prompts:
Pick the Start Point of the 'Ray Trace'.
A magenta guide-line shows the possible 'Ray' path.
Pick the End point of the 'Ray' on any face.
A 'Ray' is drawn between the two picked points as a guide-line with
The reflected 'Ray' is then drawn - it extends until it hits a
face. If it hits something then a guide-point is drawn,
otherwise the reflected 'Ray' guide-line is drawn infinitely long.
If the 'Ray' has hit a face then a dialog asks if you want to
'Bounce the Ray': answer Yes to make the next part of the 'Ray'
or No to stop this 'Ray'.
If these is no hit then that 'Ray' set automatically ends.
The tool now repeats: to stop select another tool or press <Esc>.
The set of 'Rays' is grouped for ease of identification or later
Clear Guide-points and Lines using third party-scripts or use
Edit > Delete Guides...
Type rayspray in the Ruby Console or
pick 'RaySpray' off the Plugins Menu.
Follow the prompts:
Pick the start point of the 'Ray Spray'.
A dialog asks if you want to constrain the spray in X/Y/Z-planes
It also asks for the angle of separation of each of the spray's
rays - default is 30 degrees - closely angled rays take more time
to do - 3D rays are obviously more intensive.
The 'Ray' guide-lines and points are grouped, as in 'RayTrace' .
There is no 'bounce' option with this tool, but once it the
'Ray Spray' has been made a 'Ray Trace' can be done on any
desired Ray's points, with bounces as required...
After one use the tool does NOT repeat, it needs reactivating...
Are welcome [by PayPal], please use 'TIGdonations.htm' in the
../Plugins/TIGtools/ folder - or PM TIG for details...
1.0 20100324 First issue.
1.1 20100325 Possible Bounces added. Ray Spray added.
1.2 20100326 Bouncings now stops on 'No' ! Inferencing improved.