microelly2 wrote:
node editor - pyflow
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: node editor - pyflow
Is the latest version of pyflow (2.0.2) compatible with your work @microelly2? Or are there still patches needed?
Last edited by Kunda1 on Mon Mar 30, 2020 12:15 pm, edited 1 time in total.
Reason: fixed broken "mention"
Reason: fixed broken "mention"
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: node editor - pyflow
I made a pyflow node using Euler method to simulate the SIR model.
The video is in German, it demonstrates the calculation of curves based on differential equations using parameters and data series generated from a sketcher curve.
I think this can be a way to implement other/more technical models based on differential equations too.
For me this has more priority than classical CAD because I want to know more about the future than the politicians' opinions and the news broadcasts.
The video is in German, it demonstrates the calculation of curves based on differential equations using parameters and data series generated from a sketcher curve.
I think this can be a way to implement other/more technical models based on differential equations too.
For me this has more priority than classical CAD because I want to know more about the future than the politicians' opinions and the news broadcasts.
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: node editor - pyflow
curve fit node
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: node editor - pyflow
Added two more nodes
Apply Function: calculates the fitting curve for a new set of x values
Plot2D: plots the function into 2D Space as Polygon instead into a matplotlib window. So the result can reused for further CAD steps.
Apply Function: calculates the fitting curve for a new set of x values
Plot2D: plots the function into 2D Space as Polygon instead into a matplotlib window. So the result can reused for further CAD steps.
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: node editor - pyflow
The interface to csv data
How to load, filter and plot data from csv files
How to load, filter and plot data from csv files
Re: node editor - pyflow
Hello @microelly2
first thanks for your awesome work. I watch lot of pyflow vidéo and I'm imprest. It look to offer so many possibility.
Sadly I encounter some issue during the installation.
I have try to install it with different way. So far the result I got was:
I also use conda with
I and follow your github instruction.
and check that the 3 git repo are clone on ~/.FreeCAD/Mod
and I test all the import and print
but when I open the the PyFlow Workbench
run the Script "create all Nodes for Test" from Menu tests
then the pyflow window close and I got In the report view this message.
Did you have any Idea of what's going wrong.
I have try few hours but I run out of Idea of what to try to get the installation complete.
note I got the same result with
and
If some one have any Idea of what can I do to solve it.
first thanks for your awesome work. I watch lot of pyflow vidéo and I'm imprest. It look to offer so many possibility.
Sadly I encounter some issue during the installation.
I have try to install it with different way. So far the result I got was:
Code: Select all
freecad-daily
OS: Linux Mint 19.3 (LXDE/Lubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Code: Select all
conda create -n freecad2 freecad=0.19.pre
and check that the 3 git repo are clone on ~/.FreeCAD/Mod
and I test all the import and print
but when I open the the PyFlow Workbench
run the Script "create all Nodes for Test" from Menu tests
then the pyflow window close and I got In the report view this message.
Code: Select all
---------get FreeCADPyFlow------------------- getInstance @ .../home/ranska/.FreeCAD/Mod/NodeEditor/nodeeditor/pfwrap.py li: 46
<nodeeditor.freecad_pyflowapp.FreeCADPyFlow object at 0x7fb0eb65b508>
create instance getInstance @ .../home/ranska/.FreeCAD/Mod/NodeEditor/nodeeditor/pfwrap.py li: 72
Running the Python command 'Micro_createAllNodesforTests' failed:
Traceback (most recent call last):
File "<string>", line 199, in Activated
File "<string>", line 1, in <module>
File "/home/ranska/.FreeCAD/Mod/NodeEditor/nodeeditor/Commands.py", line 1202, in createAllNodesforTests
from PyFlow.Packages.PyFlowFreeCAD.Nodes.FreeCAD_Coin import nodelist
No module named 'PyFlow.Packages.PyFlowFreeCAD'
I have try few hours but I run out of Idea of what to try to get the installation complete.
note I got the same result with
Code: Select all
freecad-daily
Code: Select all
conda run freecad-daily
Re: node editor - pyflow
I would leave your node editor for cad stuff and suggest to have a look at https://www.knime.com/ for a more general data science/analytics
https://www.youtube.com/user/KNIMETV/videos
https://hub.knime.com/search?q=covid
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: node editor - pyflow
Thank you for the link. I wrote the nodes after my investigation of the corona data sets, but the nodes are not only useful for this kind of data.saso wrote: ↑Sat Apr 11, 2020 12:13 am I would leave your node editor for cad stuff and suggest to have a look at https://www.knime.com/ for a more general data science/analytics
https://www.youtube.com/user/KNIMETV/videos
https://hub.knime.com/search?q=covid
I see here a way to use external tables( in this first stage only simple csv files) as parameter sets for cad models.
For example: write the parameters for screws and bolts or lege briggs into csv files and select them by the methods I demonstrated. At the end there in no plot but a configrured 3d part.
The methods will work for other interfaces too: the database interface to neo4j/cypher
and in future: interfaces to sql, json and xml.
My idea is to have more and more packages outside freecad:
csv(working name www) , cypher,
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: node editor - pyflow
You still have to register the package see:
https://forum.freecadweb.org/viewtopic. ... 40#p360762
One more remark:
I still have to publish the new packages cypher and www:
*add documentation
* refine code
*tests and make the nodes robust.
this will happen next days.