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
microelly2
Posts: 4409
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

node editor - pyflow

Postby microelly2 » Sat May 11, 2019 6:25 pm

Found this
phpBB [video]

Can this be a starting point for a node editor ?

EDIT: link updated
https://github.com/IlgarLunin/PyFlow

its pure python, runs with v2 and 3 and pyside
and its open source.
User avatar
Chris_G
Posts: 1141
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: node editor - pyflow

Postby Chris_G » Sat May 11, 2019 9:15 pm

Thanks for the information, microelly2 !
It looks like a fantastic tool to integrate into FC.
Made by Illumina : I don't know what to think about this genomic science race, but they seem to publish quite some projects as open-source.
pablogil
Posts: 756
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: node editor - pyflow

Postby pablogil » Sat May 11, 2019 9:22 pm

I would love to see a node environment in FreeCAD :D
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
User avatar
Joel_graff
Posts: 1539
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: node editor - pyflow

Postby Joel_graff » Sat May 11, 2019 10:16 pm

Being able to control animation like the example would be a fantastic tool to have in FreeCAD. I imagine there's lots of uses for it, though. Now I'm going to spend the next few days thinking of what I could do with it, lol
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails

pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
User avatar
bitacovir
Posts: 710
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: node editor - pyflow

Postby bitacovir » Sun May 12, 2019 6:49 pm

A node editor environment would be very cool to allow a new ecosystem of plugins. Like grasshopper in rhino3D.
::bitacovir::
===================================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

My Blog
Mini Airflow Tunnel Project
User avatar
microelly2
Posts: 4409
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: node editor - pyflow

Postby microelly2 » Sun May 12, 2019 7:29 pm

I got it running a first time inside FreeCAD :D

OS: Ubuntu 14.04.6 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 690774c0effe4fd7b8d2b5e2fb2b8c8d145e21ce
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
bp_978.png
bp_978.png (207.19 KiB) Viewed 1783 times
I will read the source and start the tests with a FreeCAD interface for placement as a next step.

By the way:
I did some tests with Floppy (https://github.com/JLuebben/Floppy) but was not able to get it running without crashes inside FreeCAD. It requires Qt5. PyFlow has less functionality but "Der Spatz in der Hand ist besser als die Taube auf dem Dach" (German proverb:The sparrow in the hand is better than the dove on the roof).
User avatar
microelly2
Posts: 4409
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: node editor - pyflow

Postby microelly2 » Sun May 12, 2019 7:35 pm

Chris_G wrote:
Sat May 11, 2019 9:15 pm
Made by Illumina : I don't know what to think about this genomic science race, but they seem to publish quite some projects as open-source.
Sorry I posted the false link.
The name PyFlow is ambiguous

The right link is
https://github.com/IlgarLunin/PyFlow
User avatar
Joel_graff
Posts: 1539
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: node editor - pyflow

Postby Joel_graff » Sun May 12, 2019 8:11 pm

microelly2 wrote:
Sun May 12, 2019 7:29 pm
"Der Spatz in der Hand ist besser als die Taube auf dem Dach" (German proverb:The sparrow in the hand is better than the dove on the roof).
Would love to know the origin / meaning of that one. lol
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails

pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
User avatar
kkremitzki
Posts: 1758
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: node editor - pyflow

Postby kkremitzki » Sun May 12, 2019 8:26 pm

Joel_graff wrote:
Sun May 12, 2019 8:11 pm
microelly2 wrote:
Sun May 12, 2019 7:29 pm
"Der Spatz in der Hand ist besser als die Taube auf dem Dach" (German proverb:The sparrow in the hand is better than the dove on the roof).
Would love to know the origin / meaning of that one. lol
I'm guessing it has to do with eating them, sparrows are small and have almost no meat whereas doves are decent eating, so even though the dove on the roof would be better to eat, you've got a sparrow in your hand already ready to work with.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
quick61
Posts: 3793
Joined: Sat Aug 24, 2013 2:49 am
Location: u.S.A.

Re: node editor - pyflow

Postby quick61 » Sun May 12, 2019 8:38 pm

Think this would be nice to use with the Raytracing workbench for doing more complex renderings, instead of having to manually edit the POV-Ray scripts Though it would take a little to build the libraries for the textures, materials, patterns and such. In the end though, we could end up with one of the most advanced POV-Ray modeling/rendering tools out there. Just a thought...

Mark
This post made with 0.0% Micro$oft products - GOT LINUX?