Difference between revisions of "Python Bindings"

m
m
 
Line 1: Line 1:
 
While it would be possible to do this using SWIG, python-brlcad is an already on-going effort to wrap BRL-CAD functionality in python/ctypes via ctypesgen to allow for easier scripting (see References).
 
While it would be possible to do this using SWIG, python-brlcad is an already on-going effort to wrap BRL-CAD functionality in python/ctypes via ctypesgen to allow for easier scripting (see References).
  
The project is in it's early development stage, the source code allows for now the scripting (read/modify/write) of only a selected set of primitives using libwdb.
+
The project is in its early development stage, the source code allows for now the scripting (read/modify/write) of only a selected set of primitives using libwdb.
  
 
The goal of this GSOC task is to wrap the libged BRL-CAD library to match the geometry editing capabilities of mged directly from the python command line.
 
The goal of this GSOC task is to wrap the libged BRL-CAD library to match the geometry editing capabilities of mged directly from the python command line.

Latest revision as of 13:02, 3 March 2014

While it would be possible to do this using SWIG, python-brlcad is an already on-going effort to wrap BRL-CAD functionality in python/ctypes via ctypesgen to allow for easier scripting (see References).

The project is in its early development stage, the source code allows for now the scripting (read/modify/write) of only a selected set of primitives using libwdb.

The goal of this GSOC task is to wrap the libged BRL-CAD library to match the geometry editing capabilities of mged directly from the python command line.

References[edit]

Requirements[edit]

  • Strong familiarity with both C and python