Node2Code: Turn any node setup into a custom addon

(Peetie) #21

Are two seperate nodegroups in a shader supported?
It gives me an error:
Traceback (most recent call last):
File “C:\Users\Flatron\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\”, line 216, in execute[2], group2.inputs[5])
NameError: name ‘group2’ is not defined

In the generated code, the code for this second nodegroup starts with:
group_data1 =“ShaderNodeTree”, name=“Albedo_Variation”)

It’s not a group in a group.


(Thatimster) #22

Could you send me a PM on here or email me directly (email address in the documentation) with the script attached so I can confirm some details?

1 Like

(Thatimster) #23

UPDATE: Have found the problem and pushed a fix v1.11, both 2.79 and 2.80 scripts added :slight_smile:


(Peetie) #24

Well, that is really premium service. I just e-mail-ed you a few minutes ago.
Thanks again!


(lolwel21) #25

When this makes an addon for a node group, does that addon just allow you to spawn that node group into any Blend, or does it ‘bake’ it into a custom Python node?


(Thatimster) #26

The generated addon spawns in the selected nodes/node groups natively, as they would be normally in blender. No python. No baking. One click deployment. :slight_smile:


(Thatimster) #27

Hi everyone, have just added gumroad for those of you who prefer that.

Gumroad: [10% off with code save10]

What’s happening now:

I’m currently preparing to restructure the addon architecture to handle saving images as part of addons (so the images come preloaded when you click deploy).
This restructuring will also include the bonus’s of:

  • Automatic saving and zipping of addon (this means you won’t have to manually save anymore)

I’m hoping to also address the framing issue, however if the positioning problem is just an issue with 2.79 and not 2.80, then I will likely move on to working on more meaningful examples.


(Thatimster) #28

V1.2 with Massive Architecture Overhaul is now available!

New Improvements:

  • Texture packing supported
  • Frames supported
  • Automatic addon zipping
  • 50% Reduced file size
  • Speed upgrade
  • Better workflow
  • Improved user interface
  • Product facelift
  • Better explanation images
  • More customization guides added to roadmap

Other updates:

  • Gumroad product link fixed and discount field added!

What’s coming next:

  • 2 new guides for adding custom icons + changing addon panel location
  • Compositing Support
1 Like

(Peetie) #29

Ahw, that’s pretty amazing.
Cant wait for the Compositing support. I have plans for that :smiley: in the ev express addon.

1 Like

(Thatimster) #30

v1.3 now available on all platforms

New Changes:


  • Guide for adding custom image icons added
  • Guide for changing panel location added
  • Enhanced guide of adding Blender icons to EnumProperty items (1 icon per option)
  • Documentation updated with more thorough walkthrough of combining addons
  • UI prompt added when combining multiple addons without specifying a name

Pricing Update:

  • Standard version of the addon has been reduced by $5

What’s coming next:

  • Compositing Support