Loading L_System from the script menu (Meta-Androcto did it)

I’m trying to include the L_System script into my script folder.
So far it seems to load it, but when I press generate I get this error msg:

In the script window
“Meshdatablock ‘a’ not found”

In the prompt window:

GENERATING...
Traceback (most recent call last):
  File "C:\Program Files (x86)\Blender Foundation\Blender\.blender\scripts\l_sys
tem_248\L_System_Forest_3.3.15.py", line 1189, in bevent
    Generate()
  File "C:\Program Files (x86)\Blender Foundation\Blender\.blender\scripts\l_sys
tem_248\L_System_Forest_3.3.15.py", line 1003, in Generate
    settings.rules[0],
AttributeError: GenerationSettings instance has no attribute 'rules'

Any hint?

From your pathing I would ask are you running a 64 bit system?

You need to open the lsystem.blend and run the script for there. lsystem needs a few pre-defined objects that are in the blend file such as trunk and leaf which are named a through r.

Yes, it is 64bit: is that the reason why it doesn’t work?

Are you using the 64 bit python install for 2.5.4?
http://www.python.org/ftp/python/2.5.4/python-2.5.4.ia64.msi

I would guess ReeVee seems to know more about it than I do.

Nope, I’m using the x32 version due to some compatibility issue with some scripts…
But the L_system I’ve found in _blender-2.48a-windows pack (by you if I’m right) works fine here, even with the x32 python version…

edit: the pack was by Meta-Androcto

phoenixart I have looked deeper into your problem and had not yet used the wizard version of the script, the problem is that the needed resources i.e. leafs are not in you blend file when you run the script.

To fix the problem you need to Append or link in the L_System_Trees scene from the lsystem3.3.15.blend file, to do this shift F1, browse to lsystem3.3.15.blend>scene>L_System_Trees click “Append” or “Link” at the bottom and then “Load Library”. You should now be able to generate trees. Have fun.

l_system_248.rar

At the moment it is quite difficult running this script from the script menu.
It appears you need to append each of the leaf mesh also.
It doesn’t hurt to append all the text too.
I will fix this bug & run it from the script menu properly in a couple of weeks.

Here is a better standalone version of the script .
It contains new Leaf textures, Bark textures & normal maps.

l_system_248.rar