L-system for blender

An L-system add-on for blender

Copy lsystem directory over to F:\SteamLibrary\steamapps\common\Blender\3.0\scripts\addons or wherever your blender installation is.

In blender go to File->User Preferences->Add-ons and enable “Add Mesh: LSystem” then press the “Save User Settings” button.

import lsystem.exec
import math
exec = lsystem.exec.Exec()
exec.set_axiom(“X”)
exec.add_rule(“X”, “F-[[X]+X]+F[+FX]-X”)
exec.add_rule(“F”, “FF”)
exec.exec(min_iterations=4, angle=25)

LINK to github