[Bf-committers] Node Groups and PyNodes

Isaac Weaver wisaac407 at gmail.com
Sat Oct 17 06:46:06 CEST 2015


Sverchok group nodes are an interesting hack, but they are pretty unstable
and hard to use. It would be a lot better if there was a unified system so
addon developers are't forced to reinvent the wheel. Near as I can tell
groups are a fundamental component of the node system regardless the tree
type, as far as the user is concerned.

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

> HiIsaac! When Iresearchedthenode groupsin the C-code I founda lotof
> hardcoded native nodetree types names.Ithink making genericnode groups
> is potentially possible, but it seemsit will requirea lotof refactoring.
> Also, I know one example that uses PyNodes. Sverchoknode
> groupsarecreated viaPython, but their behaviordiffers from the
> nativenodes behavior. This problem is very actual for Blend4Web as well.
>
> On 16.10.2015 02:16, Isaac Weaver wrote:
> > Hi, I'm working on an addon that utilizes PyNodes, and I'm wondering if
> it
> > would be possible for a developer to expose group nodes to the python
> API.
> > Maybe they could be a generic node type like the NodeFrame or
> NodeReroute?
> >
> > According to a comment in the file
> > "/source/blender/editors/space_node/node_group.c":
> >
> > /* Group operators only defined for standard node tree types.
> >>   * Disabled otherwise to allow pynodes define their own operators
> >>   * with same keymap.
> > ​ ​
> >> */
> >
> > Is there some way that it could be optional? Perhaps a setting or a
> > function on the NodeTree class?
> >
> > I think I speak for a lot of addon developers when I say that it would
> be a
> > very appreciated feature :D
> >
> > Thanks,
> >
> > ~ Isaac
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers
>
> --
> Alexander Romanov (Blend4Web Team)
>
> _______________________________________________
> 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