[Bf-committers] semantic of the MetaElem fields

Ton Roosendaal bf-committers@blender.org
Fri, 13 Jun 2003 21:02:16 +0200


Hi,

All the other ones are for internal calculus only, so can be skipped!
Thanks,

-Ton-

On Friday, Jun 13, 2003, at 22:17 Europe/Amsterdam, Jacques Guignot  
wrote:

> Hi!
>
> I'm currebtly working on the Python API, precisely on the MetaBall  
> module.
> This API gives r/w access to all the fields of the constituents of a  
> metaball, the MetaElems.
>
> For the user doc (and the docstrings of the API) , I need to know the  
> semantics of these fields.
>
> fields type, x,y,z, s,len : ok, I found by myself.
> field pad : I suppose it's here for padding
> fields next, prev : no importance
>
>
> fields lay, flag,selcol, expx, expy, expz, rad,rad2,maxrad2 , mat,  
> imat : I need some help!
>
>
>
> typedef struct MetaElem {
> 	struct MetaElem *next, *prev;
> 	
> 	short type, lay, flag, selcol;
> 	float x, y, z;
> 	float expx, expy, expz;
> 	float rad, rad2, s, len, maxrad2;
> 	int pad;
> 	
> 	float *mat, *imat;
> 	
> } MetaElem;
>
>
>
> Tks in advance!
>
>
------------------------------------------------------------------------ 
--
Ton Roosendaal  Blender Foundation ton@blender.org  
http://www.blender.org