Comprehensive BRLCAD Primitive Database

Report No. ARL-CR-0764
Authors: Mitchell Roberts
Date/Pages: March 2015; 20 pages
Abstract: Ballistic Research Laboratory–Computer-Aided Design (BRL–CAD) is an open-source computer-aided design tool that uses constructive solid geometry (CSG) to create models of primitive shapes. However, no database of all (primitive) shapes exists in BRL–CAD. The goal of this project was to create a database containing one instance of every primitive shape supported by BRLCAD. The database includes special cases of other primitive shapes, such as a rectangular parallelepiped (rpp), an arbitrary convex solid with 8 vertices (arb8). After the database was completed, a tool was created to perform the same task automatically. The primitive-shape database provides the target describers of BRL–CAD with a representative example of each primitive's shape and its properties. In addition to the database, part of BRL–CAD's large code base was debugged, specifically the hypersampling feature in rtarea and the error checking in rtweight were corrected by taking into account the sampling rate.
Distribution: Approved for public release
  Download Report ( 0.648 MBytes )
If you are visually impaired or need a physical copy of this report, please visit and contact DTIC.
 

Last Update / Reviewed: March 1, 2015