[Bf-python] TreeGen: python script to generate trees

Toni Alatalo antont at kyperjokki.fi
Sat Sep 4 06:24:17 CEST 2004


On Fri, 3 Sep 2004, Josef Grunig wrote:

> Hi everybody,

hi,

> I would appreciate if you have time to look at it and
> say me what you think about it, what else can be done

i tested it a little, quite liked how the trees looked, and it seemed to 
work ok .. though i didn't quite get how the different scalings work

is this some kind of an l-system or somehow different?

> I'm new in this ML. I subscribed because I wanted your
> opinion about my latest python script for Blender: a
> simple tree generator.

have you checked out the Elysiun fora? if you want feedback from the user 
community, it might be good to post there about your work.

> and so on. There will be a lot of formal mistakes in
> my python programming because I didn't know it before
> porting my C program (with SDL) to blender.

is that SDL app. somewhere btw?

the program is perhaps "c'ish" but that's of course fine. there seems to
be a lot of: for i in range(0, n) -like loops, which you otherwise don't
often need in Python (unlike in C), but as those seem to iterate based on
the values gotten as numbers from the GUI (right?) i suppose that's the
way for it to be. dunno if classes would be helpful somehow, see no need.

> Sorry for my English: I'm Swiss.

based on the code, an Italian speaking Swiss i suppose..

> Regards,
> Josef Grunig

~Toni




More information about the Bf-python mailing list