BRL-CAD

BRL-CAD Lua binding: Object

Lua (https://www.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.

In preparation, you have to compile and Install BRL-CAD from latest source code and compile the experimental features from BRL-CAD's rt^3 module. There are own tasks for this.

Here: Create Lua bindings for the BRL-CAD C++ core interface Object class, except for its attribute interfacing methods. This is the base class for all database elements, and binding it to Lua is a key step of the whole process. There is already a stub for this in the objectbase.h file, which can be used as starting point.

When you are done, SUBMIT a patch file which can be applied to the rt^3 branch of the BRL-CAD repository.

Task tags

  • lua
  • c++

Students who completed this task

H1manshu

Task type

  • code Code
close

2019