Lsystem a little tutorial

Hello everyone,
I’ve done a little “tutorial” about Lsystem the
script from Armagan YAVUZ to make tree.
see here :
http://marief.soler.free.fr/Monsite/lsystem.htm

more to come
Fmurr :stuck_out_tongue:

great Tut!!! thanks :smiley: :smiley: :smiley:

thanks guy… i have to download some trees in the web, because i cant make this stuff works… :expressionless:

PS: why dont you write a tut about the fiber script (the one that make grass and fur) ?

Merci fmurrette des bois :smiley: => added to favorites !

Serialsiner.

Thanks you so so so much. I have been waiting for months for this.

Thank you very much for the tutorial. This is one of my favorite scripts, and this tutorial will help much- my French is very very rusty :wink:

Thank you!

Great to see a tute for it. I really love that python script, I also used it for my forest wallpaper. :stuck_out_tongue:

because i cant make this stuff works… :expressionless:

I use this script a lot, I really like it
What kind of problem do you have ?
perhaps I can help ?

PS: why dont you write a tut about the fiber script (the one that make grass and fur) ?

Well if people here around are interested in
I can try to do a Tut for Fiber too,
But I began with Lsystem because
it is one of my favorite. :stuck_out_tongue:
A+
Fmurr

Yeah! That would be great!

Thanks for the tutorial, it looks very nice.

However, I would like to print it out for reference to read it later, and one half of the English column gets “cut off” when I try to print it out.
I’ve downloaded the .html, but would really prefer to have a printed version if at all possible.

Also, I notice on your tree, a couple branches have no fruit at all, and in a few places, fruit is suspended in mid-air. I guess this just requires some manual editing, or is there something in the script that is responsible for this?

Yes I am very very very intersted. Ripstring made a GREAT script. But the viewlet tutorial he has up is does not mention a lot of thing. I also seem to understand programs when I can PRINT out a tutorial and have it in my hand while I am using the program on screen. Just call me “Old Skoll”

This happens a lot on things I print from the web. What I do is just use my deskjet’s “landscape” printing mode. That rotated the print 90 degrees and prints so that you have to turn the paper to the left 90 degrees to read the document. That normally solves the problem of right side cutoff.

Thanks Shaba1. That did the trick.

Took a couple more sheets of paper, but at least everything (I hope) looks like it printed out.

It did print a few image captions on seperate pages, but again no big deal.

Also thanks again fmurr (Marie Soler?) for the tutorial.
I think this is the incentive I needed to give this script another try.

Your gallery looks really nice. I liked the YinYang and Dragon ones the most.

OK I’m going to do something, perhaps a PDF file.

That’s right a problem of accuracy in the adjustment
of the “leaf” object before i started the “GENERATE”
action in the script.
but it’s pretty easy to correct this problem.
(before the GENERATE and after in edit mode with L key.)

I’m working on the following of the tuts.

A+ Fmurr
:o :stuck_out_tongue:

I’m having a problem getting Lsystem to work…
I try using the default settings, I hit generate, and then I get the error

ERROR: Python script error. Check the console.

The traceback in the console is the following:

Traceback (most recent call last):
  File "Application.py", line 481, in bevent
  File "lsystem.py", line 297, in lsystem_build
  File "lsystem.py", line 225, in get_mesh
  File "lsystem.py", line 239, in get_branch
  File "lsystem.py", line 259, in get_branch
  File "lsystem.py", line 61, in add_leaf
AttributeError: 'module' object has no attribute 'Const'

I’ve never coded in Python before. I know I have python on my computer (/usr/lib/pyth…), but for some reason this isn’t working.
What’s happning?

Hi,
please check the Plugins/Python section, it already has answers for this on the actual front page (please use JMS neo_seed version of Lsystem and check you have the right version of python is among the two most common solution if I recall well). Hope this helps you use this great script :slight_smile:
OlivS

http://marief.soler.free.fr/Monsite/lsystem_en.htm
http://jmsoler.free.fr/util/blenderfile/images/lsystem/lsystem.htm
http://jmsoler.free.fr/util/blenderfile/images/lsystem/neo_lstseed228.zip

Do not forget this:
http://marief.soler.free.fr/Monsite/lsystem0.htm
http://marief.soler.free.fr/Monsite/lsystem1.htm

Hello,

Normally you must have all you need in the Lsystem.zip file.
The *.py files you must have are :
Apllication.py (the one you must launch in Blender script window)
leafRules.py, lsystem.py,Matrix.py, rulesets.py stemRules.py

be aware you MUST have installed the Python2 on your machine.
If you look at this address :
http://www.geocities.com/blenderdungeon/lsystem/index.html
(the site of the Lsystem’s author A.YAVUZ).

YOU WILL SEE THE EXPLANATION I COPIED HERE BELOW FOR YOU.
<<Important Note: You need to download and install Python 2 for the script to run. You may
download Python from www.python.org

 Note on Installing Python on Windows machines: You need to set the python path. To do this
 you must do one of the following: Assuming you installed Python on C:\Python21\ 
 (1) Add a line to your Autoexec.bat file which sets python path: 
 SET PYTHONPATH=C:\Python21\Lib 
 And restart your computer, or: 
 (2) Set Python Path in Blender to C:\Python21\Lib\ and press Ctrl+u to save your user defaults. 

>>

Remenber the Files "Application.py"and "lsystem.py"must be placed together in the directory of your choice :
(for me >> D:\BLENDER\PYTHON\lsystem)
Regards Fmurr