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!
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: node editor - pyflow

Post by looo »

This looks very promising.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: node editor - pyflow

Post by Kunda1 »

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:
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: node editor - pyflow

Post by looo »

There are two different projects with the same name. We are talking about PyFlow:
https://github.com/IlgarLunin/PyFlow/commits/master
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: node editor - pyflow

Post by microelly2 »

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
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: node editor - pyflow

Post by Kunda1 »

Sorry folks, that was my bad. I corrected my post above. Moving on :roll:
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
tak
Posts: 31
Joined: Thu May 02, 2019 2:32 am

Re: node editor - pyflow

Post by tak »

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: 31
Joined: Thu May 02, 2019 2:32 am

Re: node editor - pyflow

Post by tak »

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
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: node editor - pyflow

Post by Jee-Bee »

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

Re: node editor - pyflow

Post by microelly2 »

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: 31
Joined: Thu May 02, 2019 2:32 am

Re: node editor - pyflow

Post by tak »

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
Post Reply