Hi Bryan,

I added a doc-string to that method:

https://github.com/ncsaba/python-brlcad/commit/3c618a3795c11fafee8d59fd52024f59de8635bd

However I guess I will need to refactor that code to make it more
understandable, once I have a big picture of all what is needed to
interface between the ctypes and python data structures. I don't think
all that is stable enough for now... that's why I didn't put too much
effort in commenting that part of the code (except the parts I had
problems to understand myself in the first place).

In any case, most of the methods there are simply taking some python
object and try to extract a fixed number of floats, depending how many
are needed for the BRL-CAD code called.

Cheers,
Csaba


On Mi, 2014-02-12 at 07:25 -0800, Bryan Bishop wrote:
> In brlcad/ctypes_adaptors.py:
> 
> > @@ -54,11 +78,14 @@ def ct_transform_from_pointer(t):
> >      return [t[x] for x in range(0, 16)]
> >  
> >  
> > -def ct_transform(t):
> > +def ct_transform(t, use_brlcad_malloc=False):
> 
> This should definitely have a docstring, and ideally ct could be
> renamed a more understandable name.
> 
> —
> Reply to this email directly or view it on GitHub.
>