node editor - pyflow

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
looo
Posts: 2965
Joined: Mon Nov 11, 2013 5:29 pm

Re: node editor - pyflow

Postby looo » Tue May 14, 2019 8:55 am

This looks very promising.
please help with my conda-packaging efforts: https://liberapay.com/looooo/
User avatar
Kunda1
Posts: 5949
Joined: Thu Jan 05, 2017 9:03 pm

Re: node editor - pyflow

Postby Kunda1 » Tue May 14, 2019 10:59 am

Sorry to be the bearer of bad news but it seems like development on the PyFlow is stalled, last activity on GH is March 2018. It's also not py3 compatible yet.

Edit: my bad, it's the wrong project as pointed out by @looo below :oops:
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
looo
Posts: 2965
Joined: Mon Nov 11, 2013 5:29 pm

Re: node editor - pyflow

Postby looo » Tue May 14, 2019 11:10 am

There are two different projects with the same name. We are talking about PyFlow:
https://github.com/IlgarLunin/PyFlow/commits/master
please help with my conda-packaging efforts: https://liberapay.com/looooo/
User avatar
microelly2
Posts: 4455
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: node editor - pyflow

Postby microelly2 » Tue May 14, 2019 11:12 am

Kunda1 wrote:
Tue May 14, 2019 10:59 am
Sorry to be the bearer of bad news but it seems like development on the PyFlow is stalled, last activity on GH is March 2018. It's also not py3 compatible yet.
There are multiple libraries with the mname pyflow,

what I use is :

https://github.com/IlgarLunin/PyFlow

ilgar is very active and there is a community around this app too.
the solution uses the qt module as a wrapper for different qt versions, so it runs with the old python2 and the newer python3 too.
User avatar
Kunda1
Posts: 5949
Joined: Thu Jan 05, 2017 9:03 pm

Re: node editor - pyflow

Postby Kunda1 » Tue May 14, 2019 11:14 am

Sorry folks, that was my bad. I corrected my post above. Moving on :roll:
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
tak
Posts: 22
Joined: Thu May 02, 2019 2:32 am

Re: node editor - pyflow

Postby tak » Wed May 22, 2019 3:20 am

I downloaded the source and click starterui.bat to run it. But there is a error message:
"AttributeError: 'PySide.QtGui.QScrollArea' object has no attribute 'setSizeAdjustPolicy'"

https://imgur.com/UaemRNJ
tak
Posts: 22
Joined: Thu May 02, 2019 2:32 am

Re: node editor - pyflow

Postby tak » Wed May 22, 2019 3:31 am

tak wrote:
Wed May 22, 2019 3:20 am
I downloaded the source and click starterui.bat to run it. But there is a error message:
"AttributeError: 'PySide.QtGui.QScrollArea' object has no attribute 'setSizeAdjustPolicy'"

https://imgur.com/UaemRNJ
I deleted the a line in GraphEditor_ui.py line 100
"self.scrollArea.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)"
The app can open now.

There is another question. How can I use pyflow in FC like this video?
https://www.youtube.com/watch?v=RO3m7oK3AN8
Jee-Bee
Posts: 1970
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: node editor - pyflow

Postby Jee-Bee » Wed May 22, 2019 4:48 am

Please add pictures as attachments and not as links.
User avatar
microelly2
Posts: 4455
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: node editor - pyflow

Postby microelly2 » Wed May 22, 2019 7:45 am

My working version is
https://github.com/microelly2/PyFlow/tree/freecad (branch freecad)
I had to deactivate some lines of code to get it running too.

I created a workbench structure with two test actions to start a simple environment
there will be a library with FreeCAD object nodes but I still have to learn the best way for the communication between the FreeCAD objects and the PyFlow nodes.
tak
Posts: 22
Joined: Thu May 02, 2019 2:32 am

Re: node editor - pyflow

Postby tak » Thu May 23, 2019 2:12 am

microelly2 wrote:
Wed May 22, 2019 7:45 am
My working version is
https://github.com/microelly2/PyFlow/tree/freecad (branch freecad)
I had to deactivate some lines of code to get it running too.

I created a workbench structure with two test actions to start a simple environment
there will be a library with FreeCAD object nodes but I still have to learn the best way for the communication between the FreeCAD objects and the PyFlow nodes.
I Use this sourse. It is working now. But I don't know why there is nothing is propertyView
Image