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!
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: node editor - pyflow
I wonder which properties of FreeCAD object are realy used and should be implemented in PyFlow?
Some types are not really clear for me.
example: what is the difference between an vector, a direction, a position and a vector distance?
My idea is to have for each property a connection to the real FreeCAD object property as an input pin (the change of the pin updates the property of the freecad object) and an output pin for the use of this datum.Some types are not really clear for me.
example: what is the difference between an vector, a direction, a position and a vector distance?
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: node editor - pyflow
There are some useful methods for array(list) support, so the properties VectorList, StringList, BoolList, IntList can be mapped to PyFlow Arrays.
here the list of available FreeCAD propoerties in PyFlow
In the video I demonstrate how easy it is to use vector lists example for polygons.here the list of available FreeCAD propoerties in PyFlow
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: node editor - pyflow
Amazing progresses @microelly2 ! On our way to a FreeCAD grasshopper!
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: node editor - pyflow
get the information about a shape using the pins of the part explorer node
my idea is to add all the nice functions of numpy to the nodeeditor
here the first step create two value lists and plot them
my idea is to add all the nice functions of numpy to the nodeeditor
here the first step create two value lists and plot them
- 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 started to wrap numpy/scipy
I think that simiular symbols make it easier to apply tutorial from grasshopper to Pyflow,
but there are still copyright cliffs.
Do we want to use the "same" symbols and nodes like grasshopper?I think that simiular symbols make it easier to apply tutorial from grasshopper to Pyflow,
but there are still copyright cliffs.
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: node editor - pyflow
The reference node connects cad object from FreeCAD (Shapes, Edges, Faces) to output pins in pyflow. They are the importers to make FreeCAD data reusable.
The view3d node goes the way back. it creates a visualization of a shape in FreeCAD and creates a FreeCAD object which can postprocessed with classical FreeCAD methods or exported etc.
We habe a discussion about naming of this node type, so the concept may change again
see here:
https://forum.freecadweb.org/viewtopic.php?f=13&t=37914
https://forum.freecadweb.org/viewtopic.php?f=8&t=37912
in my video today I demonstrate the level of detail node. The idea is to have the possibility to switch between different representations of the "same" object on demand. example use cases are landscape, bolt, hole plate. In the example I only use cube, sphere and cone as placeholder for more complex shapes. For pointclouds and bspline surfaces I have a lot of algorithms to get simplified models, these methods will come soon.
The view3d node goes the way back. it creates a visualization of a shape in FreeCAD and creates a FreeCAD object which can postprocessed with classical FreeCAD methods or exported etc.
We habe a discussion about naming of this node type, so the concept may change again
see here:
https://forum.freecadweb.org/viewtopic.php?f=13&t=37914
https://forum.freecadweb.org/viewtopic.php?f=8&t=37912
in my video today I demonstrate the level of detail node. The idea is to have the possibility to switch between different representations of the "same" object on demand. example use cases are landscape, bolt, hole plate. In the example I only use cube, sphere and cone as placeholder for more complex shapes. For pointclouds and bspline surfaces I have a lot of algorithms to get simplified models, these methods will come soon.
Re: node editor - pyflow
Some symbols can be very generic, and easy to understand. But if there is a copyright, you should be using your own design and colors for the graphical representation. The idea is to make your work something with long life, rather than something to replicate grasshopper tutorials.microelly2 wrote: ↑Mon Jul 22, 2019 9:10 pm Do we want to use the "same" symbols and nodes like grasshopper?
::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
==================
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
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact: