BRL-CAD

BRL-CAD Lua binding: Halfspace

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 Halfspace class. This is the most simple Object class and a good possibility to learn about binding Lua to a library. There is already a stub for this in the halfspace.cpp 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