Script: Convert Node2Py

Hi all,

I have written a little tool for developpers. It converts a compositor nodetree in a python script, that can rebuild this nodetree. I use it for myself as a helper for the creation of presets.


Two things I have learned by finishing this: There have been API changes,
which broke some of the functionality of the compostings presets addon.

  1. If you write someting like:
    Node_G =“GENERATED”, type=‘CompositorNodeTree’)
    you have to pass a node.bl_idname as type not node.type. This is a little bit confusing.
  2. To add a group to the compositor in a way that it can be seen and edited you have
    to do it via node_tree:
    node =‘CompositorNodeGroup’)
    node.node_tree = Node_G
    I hope this is useful for somebody

Cheers Cortot


I’d like to download this script, but I can’t (“Your server is running PHP version 4.4.9 but WordPress 3.6.1 requires at least 5.2.4.”). Could you please give me another link?

Is this addon still available?