Speaking of node-graph references, also have a look at Depends. - https://github.com/andrew-gardner/dependsworkflow
It’s also abandoned, or never really started, but the code is small enough to grasp and covers the basics. On 18 May 2015 at 10:18, Colas Fiszman <[email protected]> wrote: > Hi, > You can take a look at coral (https://code.google.com/p/coral-repo/) it's > a open source node graph framework. > The project is abandoned but it's functional. > The core is written in C++ but all the gui is done with PyQt. > The code is not super clean but that will give you a good idea of how you > can build a node graph interface in PyQt. > We have developed a tool of top of it at work that's used by fx and cfx to > speed up the re-generation of output assets. > Greets, > Colas > > > 2015-05-17 12:05 GMT+01:00 fruity <[email protected]>: > >> Awesome ! I didn't know that, thank you ! >> >> I'm already familiar with Qt for C++ so it shouldn't be too difficult to >> switch to pySide (from what i know, Qt is pretty much similar to PyQt, >> except for the syntax (same class names), and pyQt looks similar to pySide >> \o/ >> >> So this is exactly what i was looking for ! Problem solved then, thank >> you =) >> >> >> >> >> Le dimanche 17 mai 2015 11:41:19 UTC+2, Justin Israel a écrit : >>> >>> You will need to dive into Qt for this stuff because the high level >>> native Maya UI functionality won't give you that ability. >>> >>> I take it you are a bit behind the times :-) >>> Maya has been shipping with PySide since 2013, which is why I stopped >>> maintaining PyQt installers. You can search the history on this group for >>> related topics. >>> >>> People have even created node graphs, and open sourced the examples. >>> >>> https://github.com/drumboy354/MayaNodeInterface >>> >>> On Sun, 17 May 2015 9:28 PM fruity <[email protected]> wrote: >>> >>>> Hey Justin, thanks for your answer ! >>>> >>>> Yes, i mean "like a node graph" (i assume that what you call node graph >>>> is similar to the node editor or the hypergraph) >>>> >>>> The maya nodes i speak of are generic, not maya DG nodes, but my owns >>>> (not created with the API though. Otherwise, the nodeEditor would have been >>>> enough =) >>>> >>>> About the tree view, as far as i saw, it doesn't allow free moves, and >>>> this is what i'd like. >>>> >>>> To sum up, the idea would be to have a visual representation of a >>>> process, for example an autorig. Each node representing an action, or a >>>> part, or whatever (like "arm", "head", "wheel", "mirror", etc). The best >>>> would be to have exactly the same thing than nuke, or even than the >>>> combination node Editor / attribute editor : you move your nodes, and if >>>> you double click, you tweak them in the attribute editor. >>>> I'm not talking yet about the connections between nodes, but the >>>> concept itself would be the same than the node editor, or than the Qt >>>> example "elastic nodes" (https://www.youtube.com/watch?v=I0n07iuowvY), >>>> without the 'elastic' feature : several elements known as "nodes" that the >>>> user can move into space and that have signals and slots allowing the user >>>> to tweak them. >>>> >>>> Finally, is there any reliable information from Autodesk regarding a >>>> full compatibility of pyQt for maya (i mean : without the need for the user >>>> to install anything) ? If i don't want to use pyQt, it's because i don't >>>> want the user to install anything on his computer. I had a hard time >>>> installing pyQt on my mac for instance, and i finally figured it out using >>>> the pkg you did, justin =) Many thanks for that, btw ! But that's why i'd >>>> like to do it fully maya, unless maya 2016 comes native with pyQt for >>>> instance =) >>>> >>>> Thanks for your help >>>> >>>> >>>> >>>> Le dimanche 17 mai 2015 03:41:53 UTC+2, Justin Israel a écrit : >>>> >>>>> When you say a node editor that you " >>>>> could manipulate just like a node in a 2d space", are you meaning like >>>>> a node graph? >>>>> If so, I don't think the Maya native ui provides you with that high >>>>> level capability. You talked about a tree view, but that wouldn't have >>>>> free >>>>> 2d positioning. What does that treeView not have, that you require for >>>>> your >>>>> goal? >>>>> Are these Maya nodes you speak of, or "node" in the generic sense of a >>>>> node graph? When you say they would run arbitrary commands when clicked >>>>> on, >>>>> can you give a workflow example? Maybe that would better help the group to >>>>> offer suggestions. >>>>> >>>>> The Maya native UI is very high level, and only does exactly what each >>>>> limited api descriptions says, with no ability to extend them (as you >>>>> would >>>>> in Qt) >>>>> >>>>> On Sun, 17 May 2015 9:16 AM <[email protected]> wrote: >>>>> >>>>>> Hello everyone, >>>>>> >>>>>> I'd like to create own node editor using python or mel. The idea >>>>>> would be to have my own nodes (represented by square pictures, for >>>>>> instance, and acting like buttons. so that i can attach any cmd i want to >>>>>> them) that i could manipulate just like a node in a 2d space. >>>>>> >>>>>> I was thinking it may be possible with treeView cmd, by cheating with >>>>>> some callback which could trace mouse movements, but i didn't find >>>>>> anything >>>>>> concrete yet... >>>>>> >>>>>> Does anyone have an idea on how to achieve this or even if it's >>>>>> possible ? (also considering i can't use qt) >>>>>> >>>>>> Thank you ! >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Python Programming for Autodesk Maya" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/python_inside_maya/661273bb-f968-4a6f-8234-a2b774076132%40googlegroups.com >>>>>> . >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Python Programming for Autodesk Maya" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/python_inside_maya/45b7cc6d-ca05-4ad6-97ac-d8743554f934%40googlegroups.com >>>> <https://groups.google.com/d/msgid/python_inside_maya/45b7cc6d-ca05-4ad6-97ac-d8743554f934%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/059b5898-abf1-4ef6-b280-fa0c8bd81707%40googlegroups.com >> <https://groups.google.com/d/msgid/python_inside_maya/059b5898-abf1-4ef6-b280-fa0c8bd81707%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CABwp0vOHTHNt0pmQ2OhHeqdVpfDFO_yDq8oQ_423aEsugGVSGw%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CABwp0vOHTHNt0pmQ2OhHeqdVpfDFO_yDq8oQ_423aEsugGVSGw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- *Marcus Ottosson* [email protected] -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmODyhEKgng4n59cPSO%3DheVDSw%3DnR7w6-oy-iQsZf5V14_Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
