Jump to content

Python SOP and L-system


kursad

Recommended Posts

Hi

I am trying to generate rules for Lsystems via Python SOP. I created my script, it works fine as a standalone app , it does create what I want. Now I want to integrate into L-System Sop. I figure that I can create a Python SOP and write over the Lsystem rules channel. But I am slowly getting into Python for Houdini. Could someone give me a basic lead on this one?

I know I can create a rules text file via Python and let Lsystem to read it, which is a solution but at this point I want some automation

thanks

Link to comment
Share on other sites

danilo2

Thanks for the files. This is quite close to what I was looking for. I originally want to modify the lsystem node without specifing a node path. I am trying to modify an lsystem node that is connected to a python sop. So the Python sop modifies channels of a node that is connected to itself directly.

Thanks for the files again, they have helped me to figure out couple things.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...