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

Write a wiki tutorial on how to create a polygonal mesh (NMG) manually

completed by: Andromeda Galaxy

mentors: Isaac Kamga, Deepak

BRL-CAD provides a couple dozen distinct primitives. Each primitive is defined by a set of parameters. Several of the more complex primitives have a wiki page describing them in more detail with an example on how to create them.

This task involves writing up a page on the NMG polygonal mesh primitive. Figure out how to use it (not a simple task, will require some trial and error), create an example input, and write up a wiki page on exactly what steps are needed similar to our other wiki pages:

References:

  • http://brlcad.org/wiki/DSP
  • http://brlcad.org/wiki/EBM
  • http://brlcad.org/wiki/Sketch (particularly useful as neither NMG nor sketch are meant to be created manually)

Note the ''facetize'' command in mged will convert an existing object into NMG format. The get/put commands should help from there like the sketch tutorial.

Show how to create an NMG cube or wedge or similar simple shape. Include images like the other examples. Put the write-up at http://brlcad.org/wiki/NMG