Hi!
I am also scripting on a tree structure, I am working with MAX script though.

some of the trees it is capable og creating, the leafs and spikes are scatterd with max own scatter funktion, but I am working on the internal leaf scatter funktion now for better control since in animation max scatter tend not to be that great.
interresting to see that someone else is workin on similar scripts .
The “interface” kind of start getting complicated which is qiute the opposite of what i intended at first, but all the possibilities i wanted demands so.
the interface have changed a bit since this screenshot
would be great to swap some tips/ideas, since i am not that great on maths and the script works completely on its own, no max cylinders etc. so for me the maths are a limiting factor.
My script works as a "plugin simpleObject