[Bf-python] Questions about new API and particles in 2.46

whiterabbit at dreamscapearts.com whiterabbit at dreamscapearts.com
Mon Mar 10 17:07:02 CET 2008


Campbell Barton wrote:
> On Thu, Mar 6, 2008 at 11:17 PM, whiterabbit at dreamscapearts.com
> <whiterabbit at dreamscapearts.com> wrote:
>   
> Hey WHiTeRaBBiT, can you mail the bf-python mailing list the functions
> your using in the existing particles api?
> Maybe a smaller subset can be added in for 2.46 that is enough to get
> the strand info and export it.
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://lists.blender.org/mailman/listinfo/bf-python
>   
That would be wonderful :-D

Here they are:
    - effect=Object.effects[]             = collect effects list
    - effect.dispMat                          = compare root material
    - effect.getFlag()                        = determine effects info
    - Effect.Flags.EMESH                 = are we using mesh emitter
    - vects=effect.getParticlesLoc() = collect strand/vect/point list
    - Types.vectorType                      = determine particle type

I'm not manipulating the data since I'm only exporting.
Also we don't have access to material strands settings so I'm
using the materials Halo.Size and Add to set strand base/tip.
Of course there's things I wish the existing API did or changed
but what I have works, so I'm willing to look forward to the
future if I can get basic support now.
This would be great if you can pull it off ;-)

 >WHiTeRaBBiT<



More information about the Bf-python mailing list