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

Re: node editor - pyflow

Postby bitacovir » Thu Aug 01, 2019 10:00 pm

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)

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

Re: node editor - pyflow

Postby microelly2 » Mon Aug 05, 2019 11:03 am

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
Posts: 840
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: node editor - pyflow

Postby HoWil » Tue Sep 17, 2019 6:21 am

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

Re: node editor - pyflow

Postby microelly2 » Tue Sep 24, 2019 2:37 pm

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

Re: node editor - pyflow

Postby microelly2 » 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/
User avatar
Kunda1
Posts: 5761
Joined: Thu Jan 05, 2017 9:03 pm

Re: node editor - pyflow

Postby Kunda1 » Tue Sep 24, 2019 7:48 pm

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 ?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
microelly2
Posts: 4404
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: node editor - pyflow

Postby microelly2 » Wed Sep 25, 2019 6:52 am

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

Re: node editor - pyflow

Postby microelly2 » Mon Sep 30, 2019 6:28 pm

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 501 times
User avatar
saso
Posts: 1332
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: node editor - pyflow

Postby saso » Tue Oct 01, 2019 10:30 am

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

Re: node editor - pyflow

Postby Kunda1 » Tue Oct 01, 2019 3:32 pm

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
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features