On Mar 19, 2014, at 1:38 PM, K RAJ KOUSHIK REDDY wrote:

> Ok, I will take care of that. But I believe implementing them will still be 
> my goal.
>  
> I'd rather see a nice wiki page example showing an example (with images) of 
> how to use the python interface than to focus on any of those old primitives. 
>  However, I defer to your guru mentors on that decision.
> 
> Yeah, that is a nice idea. In fact I would think about this plan to follow a 
> way to document the wrapped primitives. Also, I will be creating examples 
> framework. And taking a feedback from Csaba and Bryan (who are already 
> involved with the project) will be a good idea.

Not just a good idea, requisite.  In fact, we just had a discussion on IRC 
earlier today that pointed out another possibility.  Instead of trying to wrap 
each primitive and wdb interface individually, you could also propose working 
on a generalized interface that would apply to all primitives.  For example, 
each primitive could publish a json-style parameter dictionary for itself that 
callers would fill out by simply saying "make me one of these".  With that, the 
binding interface in python would basically be to one function and would be 
future-proof as primitives are changed or new ones are added.

Obviously very different from wrapping all of the libwdb mk_*() routines, but 
something worth thinking about a little bit even if that approach isn't 
ultimately taken this time around.  Perhaps some of the GSoC work could get us 
closer to that, or perhaps you can find a viable way to propose it.

Cheers!
Sean

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to