MGED CMD rtcheck




rtcheck [options]


Optional. See rtcheck man page for details.

Return Value(s)[edit]

No Return Values for this command.


The "rtcheck" command executes the BRL-CAD rtcheck program with the default options of "-s50 –M." The -M option tells rtcheck to read the viewing parameters from standard input so that rays are only fired from the current view. The current database name and the list of currently displayed objects are added to the end of the rtcheck command line. The rtcheck program is written such that options may be repeated, and the last occurrence of an option will override any earlier occurences. This allows the user to specify other size (-s) options. The rrt command performs a similar function, but may be used to execute other programs as well. The rtcheck program uses raytracing to check for overlapping regions in the list of objects passed on the command line. When invoked from within MGED, any discovered overlaps along a ray are represented as yellow lines that extend only in the areas of overlap. Details and a count of overlaps are also reported. Note that overlaps of less than 0.1 mm are currently ignored by rtcheck. The default option of -s50 indicates that the checking rays should be fired from a uniform square grid with 50 rays on a side. This is very coarse and may miss significant overlaps. It is recommended that the user select appropriate options for the rtcheck program and execute it for a variety viewing aspects to perform a thorough check. The granularity of the grid may be controlled with the -s, -w, -n, -g, and -G options. See the man page on rtcheck for details.


mged> rtcheck -g10 -G10
Run the rtcheck program with rays fired from a uniform grid with the rays spaced every 10 mm

See Also[edit]


Page Generated by David Loman on: 10/11/2007 at: 2:07:17 PM