Questions tagged [pynodes]
PyNodes (or Dynamic Nodes) are nodes defined by Python scripts saved as text in a blend file.
21
questions with no upvoted or accepted answers
5
votes
0
answers
707
views
How to display texture preview on a custom node?
I'm trying to use layout.template_preview to display texture previews on some custom nodes I created. I'm currently calling it with just:
...
4
votes
0
answers
192
views
Custom nodes, node limits, and compile times
I am working with some very complex custom toon shaders in Eevee. This causes several problems. First, the compile times are atrocious. Second, I am in danger of hitting the node limit if I also use ...
3
votes
0
answers
658
views
Creating nodes with dynamic number of input sockets?
Is it possible in any way to create one's own node type in one of the node editors (let's just say the Compositor for example) that can have a dynamic number of inputs? Not a group node, just a ...
3
votes
0
answers
683
views
Using data with python nodes
I have created a number of python nodes inside my own tree. I have one node that takes one input and has a button called "Simulate". This is an operator that is held in another file. Currently all it ...
2
votes
0
answers
276
views
Are Custom Python Geometry Nodes Possible? 3.0.1
Right now, I have a little template that makes it pretty easy to make custom shader and compositor nodes, but it does not work with geometry nodes. The error happens when I register the custom ...
2
votes
0
answers
261
views
Custom Pynodes: Not getting the correct value from the in socket
I created a custom pynode intended to multiply vectors. This script is based on the vid from Atom and various code I found on the internet and the blender wiki pages.
The problem I am having is that ...
2
votes
0
answers
252
views
Where are PyNode socket values stored?
I'm having trouble wrapping my head around how information flows through PyNodes.. Where/how should I set the value of my node's output sockets?
I've been trying to implement this in my node's update ...
1
vote
2
answers
638
views
is there any way to turn on the auto smooth in blender startup files
Hi, I need help is there any way I can turn on the auto smooth by default turn on the time blender startup files. if add anything to the screen that time also wants the object must have an auto smooth ...
1
vote
0
answers
18
views
How to search for files in Sequencer by format, through my Custom Node?
I am creating a Custom Node that handles Audio. I want to get the list of all Sound Strips (Files) that has been already added to the Video Sequencer. I want to create an Input that when you click ...
1
vote
0
answers
242
views
Run function on material node tree update
I need to run a function when the user adds or removes a node from a material.
My first idea was to use msgbus to subscribe to bpy.types.Nodes. This works great ...
1
vote
0
answers
51
views
Custom shading nodes for point objects
I am scripting Blender 2.81 to model scenes for my own renderer, with custom material nodes, which are defined as (MyRendererNodes and ...
1
vote
0
answers
105
views
Allow cyclic connections in custom node tree
I want to allow a cyclic connection in a custom node tree.
Here is an example screenshot of a cyclic connection.
From what I uderstand, the following happens:
As soon as a link is inserted such that ...
1
vote
0
answers
400
views
Update pynodes after user action on custom Node Tree
I try to execute update on my custom pynodes when user performs action: delete links, add link, removes node. From Animation Nodes or Sverchok I could figure out i can use NodeTree -> update() method ...
1
vote
0
answers
182
views
Execute custom code once automatically in an add-on
I want to create a very simple add-on that will automatically call some code (e.g. see example below) that will create a custom group node to be available in the compositor. What should the simple add-...
0
votes
1
answer
67
views
Filtering socket in custom node tree inputs
How can possible socket types be filtered in a custom node tree for group inputs and outputs? In node tree input/ output socket types is there a way to control which socket types appear?
To test:
...