-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Creation of ShaderNodeTrees and CompositorNodeTrees #40
Comments
NodeTree Script is an extension of Geometry Script to support Geometry, Shader, Compositor, and Texture NodeTrees. Here's an example script using both shader and geometry node trees. The diff is a bit much for a single PR but there might be some interesting pieces to steal from there (: It should be able to work with any geometry script files by just replacing: from geometry_script import * with from nodetree_script import *
from nodetree_script.api.dynamic.geometry import * Also make sure the add-on folder is called |
This is amazing !!! Unfortunately I couldn't get it to work, I disabled the geometry script, downloaded and installed this one. Restarted Blender. But no luck when I tried to run the möbius strip. Something went wrong at the installation, the documentation for the different node types also were not generated. If I check on the console, I get this: >>> from nodetree_script import *
Traceback (most recent call last):
File "<blender_console>", line 1, in <module>
ModuleNotFoundError: No module named 'nodetree_script' I am using Blender 3.6.5 on an Intel Mac. |
Ah ok I just got it running on my Intel Mac with blender 3.6 but had to push up a couple of fixes. Can you try again? Also make sure there's no '-main' at the end of the add-on folder. |
Now it works perfectly. |
I'll probably work on it separately for the time being... but anyone is welcome to merge back any part of it. |
It's very tempting to do a sizable refactor to support ShaderNodeTrees and CompositorNodeTrees.
Then we could call this repo X-node-Script (:
Is this out of scope?
The text was updated successfully, but these errors were encountered: