0
$\begingroup$

I'm trying to make a custom node in python, and I've been able to make the input and output sockets, but I have no idea how to connect the input float values to the output float values. I've already tried learning parts of the Blender API in order to figure out how to do this, but I've made no progress. How do I connect the inputs to the outputs, or even set an output value at all?

$\endgroup$
  • 1
    $\begingroup$ Could you expand your question by telling which render engine do you want to use, what is the main function of the node and which classes are you using from the API? $\endgroup$ – Secrop May 2 '19 at 6:13
  • 2
    $\begingroup$ Also, it would help if you could share your existing code so that others can build upon it. $\endgroup$ – Rich Sedman May 2 '19 at 8:13
  • $\begingroup$ I'm using cycles and the main functions of the node are the random.seed() and var = random.random function. The code's kinda bad and messy so I dunno how useful sharing it would be. $\endgroup$ – ETFO May 3 '19 at 14:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.