[Bf-committers] Link custom node trees to datablocks.

Francesc Juhe fjuhec at gmail.com
Tue Oct 20 20:58:07 CEST 2015


Hello,

As the main developer behind the Mitsuba exporter I like your proposal.
It would greatly improve the current workflow.

But I would also like to make another proposal.

- Add to Blender a bpy.props.NodeTree(type=NodeTreeType) that can be attached to ID. This way there is no need to fill the bpy.data.node_groups.

- Add a function to NodeTreeType that can be called from blender or python and returns a list of accepted data sources by that NodeTreeType. That way the node editor can show the appropriate options to the user to select the correct data source.

What do you think? Possible?

Cheers,
Francesc


On 07 Oct 2015, at 16:32, Alexander Romanov <a.romanov at blend4web.com> wrote:

> Hello everyone from Blend4Web Team!
> We're currently working with node trees in our node-based logic editor 
> and we've noticed some
> shortcomings in python API. We have some ideas about improving API for 
> custom node trees.
> Briefly, we want to make it possible to link custom node trees to 
> datablocks such as Scene,
> Object, etc. Here is a link to the proposal: 
> http://wiki.blender.org/index.php/Linking_Custom_Node_Tree_to_DataBlock
> 
> I would like to discuss this with developers of addons which use custom 
> node trees, such as Sverchok and Luxrender.
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers



More information about the Bf-committers mailing list