GSoC/GCI Archive
Google Code-in 2012 BRL-CAD

Create an Extrusion Model and Diagram

completed by: Sharan

mentors: Sean

BRL-CAD provides a couple dozen distinct primitives.  Each primitive is defined by a set of parameters.  We'd like to have each primitive modeled with diagramming arrows and labels.

This task involves creating an extrusion (EXTRUDE) and modeling the corresponding arrows/segments for all parameters.  Scalars should be dashed lines, vectors should be arrows.  Here's an example:


Make something like that for the EXTRUDE, but with different material properties.  That example put objects into a box for a particular visual effect.  See if you can get a better effect without the exterior box (you'll have to change shader properties).  Note that you'll need a sketch to extrude, which can be imported from dxf, created manually with our sketch editor, or

Submit your .g file and a ray traced rendering/diagram of the model.  This command run within mged may help:

rt -s1024 -A0.75 -c {set ambSamples=128}