|
NAMElint - Detect and report problems with subsets or all of a .g database.SYNOPSISlint [-h] [-C] [-M] [-I] [ObjectName] DESCRIPTIONThe 'lint' command analyzes the currently open geometry database (or a subset of that database if object names are supplied as arguments) and searches for a variety of problems know to sometimes occur. By default all defect types are searched for - if one or more of the options enabling a search for a specific type of problem are supplied, only those searches will be performed.OPTIONS-hPrint help message.
-C, --cyclic Check for full paths that are cyclic - i.e. a situation
where a high level object incorporates in its definition tree a reference to
itself. Such definitions are always considered invalid, and are sometimes
problematic for tools working with geometry hierarchy.
-M, --missing Check for references to objects or files that are missing
(not present in the database or on the file system.) Primarily this is a check
for comb objects referring to missing objects, but it will also check for and
report invalid object and file references in extrude and dsp primitives.
-I, --invalid Check for shapes in the database that do not satisfy one
or more properties required for them to be valid definitions, where correcting
the problem requires a change to the object's definition. (As of this writing
the only implemented check is for BoT object solidity, but many more are
possible and planned.) (Objects invalid due to missing objects are potentially
valid without the necessity of changing the object's own definition - e.g. the
missing object/file can be added. That category of error can be searched for
with the -M check.)
EXAMPLESExample 1. Examine a single geometry object for validitymged>lint -I nonsolid.bot Checking for invalid objects... Found invalid objects: nonsolid.bot[bot] failed bot solid test Example 2. Examine entire database for all defect categories mged>lint Checking for cyclic paths... Checking for references to non-extant objects... Checking for invalid objects... Found cyclic paths: /c1/c2/c1 /c2/c1/c2 Found references to missing objects: invalid_dsp_missing_binary_obj.s/missing_binary_object.s invalid_dsp_missing_file.s/missing_file.data invalid_extrude_missing_sketch.s/missing_sketch.s missingentry.c/missing.s Found invalid objects: nonsolid.bot[bot] failed bot solid test AUTHORBRL-CAD TeamBUG REPORTSReports of bugs or problems should be submitted via electronic mail to devs@brlcad.org
Visit the GSP FreeBSD Man Page Interface. |