BRL-CAD
BRL-CAD Lua binding 2a: Add methods to get the bounding box of the selected elements
Lua (lua.org) is a simple scripting language which can be easily integrated in other software. Therefore, why not bind BRL-CAD to it and create and modify geometries with Lua scripts? This task is about the creation of new functions in Lua. You should have prepared your development environment for doing this before. There is an own task for it.
Here: Create Lua bindings for the following BRL-CAD C++ core interface Database methods:
- BoundingBoxMinima()
- BoundingBoxMaxima() Both function should return a table with "x", "y", and "z" keys.
When you are done, please upload a patch file which can be applied to the rt^3 branch of the BRL-CAD repository.
Task tags
Students who completed this task
Jeff Sieu