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
bitacovir
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: node editor - pyflow

Post by bitacovir »

After you release a first version of this addon, You should work on some tutorials.
(I am already learning about sverchok to get used to this workflow)
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: node editor - pyflow

Post by microelly2 »

goals:
a node to create individual treads for a stair - each object has special randomized geometry modifications
arrange the produced objects by a list of placements

the idea can be used to create tree group/forest or people, cars, houses in terrain.

phpBB [video]
HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: node editor - pyflow

Post by HoWil »

microelly2 wrote: Mon Aug 05, 2019 11:03 am goals:
I love it.
It's it possible to draw the upper and lower most outer edges/faces horizontal? And, is it possible to hand over the lower position of one stair to the next one.
This would ensure that the elements touch each other and you could combine it to one single element.
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: node editor - pyflow

Post by microelly2 »

HoWil wrote: Tue Sep 17, 2019 6:21 am It's it possible to draw the upper and lower most outer edges/faces horizontal? And, is it possible to hand over the lower position of one stair to the next one.
I add some randomness to the vertexes, so a restriction to this noise can make the stair more "high quality" :lol:
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: node editor - pyflow

Post by microelly2 »

very impressive what pyflow can do in the next version. I will start rebase for my FreeCAD version soon.
https://wonderworks-software.github.io/PyFlow/
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: node editor - pyflow

Post by Kunda1 »

microelly2 wrote: Tue Sep 24, 2019 7:21 pm very impressive what pyflow can do in the next version. I will start rebase for my FreeCAD version soon.
https://wonderworks-software.github.io/PyFlow/
great, BTW will it support python3 ?
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
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: node editor - pyflow

Post by microelly2 »

Kunda1 wrote: Tue Sep 24, 2019 7:48 pm great, BTW will it support python3 ?
yes, pyflow can python3 and windows.
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: node editor - pyflow

Post by microelly2 »

phpBB [video]

Nearly 2 years ago I started drawing on surfaces. https://youtu.be/8gPkoezg99w
With pyflow there are more opportunities to combine the tools
here:
drawing as polygons
drawing as approximation bsplines

it will be possible to draw over face borders
cp_044.png
cp_044.png (195.27 KiB) Viewed 2169 times
User avatar
saso
Veteran
Posts: 1920
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: node editor - pyflow

Post by saso »

microelly2 wrote: Tue Sep 24, 2019 7:21 pm very impressive what pyflow can do in the next version. I will start rebase for my FreeCAD version soon.
IMO it would probably be best to make the rebase on this new version and just focus on getting it in the addon manager for easy installation (or do you plan to get it in the master directly?). Adding individual nodes and extending its functionality will in the long term in anyway depend highly on the community, so even if we start with only "five" nodes, just get it in the hands of the users...

I was for some time having a bit of a doubt if pyflow is the right way to go forward with for the nodes implementation for FreeCAD (there are a few similar opensource tools available and I just never did or saw any deeper comparison of them to be able to have a clear decision), but seeing now from https://wonderworks-software.github.io/PyFlow/ that it has support for Subgraphs, Python node and import/export, it indeed looks like a very solid package. I find this functionalities extremely important for building a strong ecosystem around it, similar to grasshopper apps and dynamo packages, so for example, in our addon manager, additionally to our existing workbenches and macros we could have a third tab with node extensions...

by the way, pyflow is now on patreon https://www.patreon.com/pyflow ;)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: node editor - pyflow

Post by Kunda1 »

microelly2 wrote: Tue Sep 24, 2019 7:21 pm very impressive what pyflow can do in the next version. I will start rebase for my FreeCAD version soon.
@microelly2 Question, why are you coding functionality to make pyflow compatible with py2 ? ( https://pythonclock.org/ )
https://github.com/wonderworks-software/PyFlow/pull/48
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
Post Reply