Hi Raj,

See my answers below !

> Creation of Metaball involves assigning control points which involves
> invoking another function.
> On looking deep into this function, I found that it uses a different
> structure (wdb_metaballp [1])

Just as we discussed on-line, I think this needs a sub-structure similar
to the PipePoint in pipe.py.


> b) Submodel
> 
> It takes a file as input, rest is easy. I did this yesterday. But I
> don't know what files is supposed to be passed. there is little or no
> information on the Internet.


I just guess that the sub-model will be another geometry file, but if
somebody on the list has better info please help out !

> 
> c) binunif
> 
> This one is the easiest. But still I would like to discuss it so that
> we are in sync with the implementation details.
> 
> There is a enum wdb_binunif [2] which determines the method. I plan to
> implement that as a different class. Is that fine ?

The MAGIC_TO_PRIMITIVE_TYPE in primitives/table.py is used as an
enumeration, perhaps something similar would work ? Map the enum ID to
the python type corresponding to the binunif type, or possibly map to a
tuple containing any other info/processing function you need to attach
to the enum ID.


Cheers,
Csaba




------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to