BRL-CAD

BRL-CAD Lua binding: Getting started

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 a development environment where you can program the Lua versions of BRL-CAD functions.

The procedure is very similar to the "Build BRL-CAD's core C++ interface" task: After building and installing BRL-CAD

  • Download the rt^3 source tree (see https://brlcad.org/wiki/SVN),
  • Set up the build environment by using the top level CMakeLists.txt file and
  • Build the embeddedlua and hellobrlcad targets.
  • Run the hellobrlcad program with a BRL-CAD database of your choice,
  • Write your name in the terminal, and
  • Make a screen shot.

When you are done, please upload the screen shot to the GCi task.

Task tags

  • lua
  • build

Students who completed this task

Naseef, Mahdi Dolatabadi, Michal Hanus, Jeff Sieu, caleb Parks

Task type

  • code Code
close

2017