Difference between revisions of "Python Bindings"

From BRL-CAD
(Created page with "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 ...")
 
(References)
 
(2 intermediate revisions by 2 users not shown)
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.
Line 8: Line 8:
  
 
* https://github.com/kanzure/python-brlcad
 
* https://github.com/kanzure/python-brlcad
 +
* https://github.com/nmz787/python-brlcad-tcl
 +
* brlcad: src/libged
  
 
=Requirements=
 
=Requirements=
  
 
* Strong familiarity with both C and python
 
* Strong familiarity with both C and python

Latest revision as of 13:40, 25 March 2018

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