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

Re: node editor - pyflow

Post by microelly2 »

The result of the last week:
I splitted the source code of the nodes into 22 categories
http://freecadbuch.de/doku.php?id=pyflo ... y_category
At the moment there are about 110 nodes for testing.
Now it is easier for me to handle all this files with less than 1000 lines.
Next steps: improve documentation for noded and make comments to the videos.
tak
Posts: 31
Joined: Thu May 02, 2019 2:32 am

Re: node editor - pyflow

Post by tak »

microelly2 wrote: Sun Feb 09, 2020 1:41 pm The result of the last week:
I splitted the source code of the nodes into 22 categories
http://freecadbuch.de/doku.php?id=pyflo ... y_category
At the moment there are about 110 nodes for testing.
Now it is easier for me to handle all this files with less than 1000 lines.
Next steps: improve documentation for noded and make comments to the videos.
Great. Thank you very much.

Beside, I am starting the tutor in youtube. In the following video, my "FreeCAD_Toy" node is not same with the video. How can I work like the video?
The node without "part" output and "excute" in properties.
phpBB [video]
Attachments
toy.jpg
toy.jpg (194.07 KiB) Viewed 1614 times
tak
Posts: 31
Joined: Thu May 02, 2019 2:32 am

Re: node editor - pyflow

Post by tak »

Also, I follow this video. I click execute in the timer. It doesn't work. And my vecArray has not "preserveLists".
phpBB [video]
Attachments
BSplineSurface.jpg
BSplineSurface.jpg (207.91 KiB) Viewed 1611 times
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: node editor - pyflow

Post by microelly2 »

tak wrote: Mon Feb 10, 2020 2:55 am Also, I follow this video. I click execute in the timer. It doesn't work. And my vecArray has not "preserveLists".
These are makeArray nodes from core Pyflow, and I see this flag is lost.
So we have to reimplement it.

Toy, toy1,toy2 are development toos. They change during development on my needs and should not be used. Sorry.
tak
Posts: 31
Joined: Thu May 02, 2019 2:32 am

Re: node editor - pyflow

Post by tak »

microelly2 wrote: Mon Feb 10, 2020 5:40 am
tak wrote: Mon Feb 10, 2020 2:55 am Also, I follow this video. I click execute in the timer. It doesn't work. And my vecArray has not "preserveLists".
These are makeArray nodes from core Pyflow, and I see this flag is lost.
So we have to reimplement it.

Toy, toy1,toy2 are development toos. They change during development on my needs and should not be used. Sorry.
I am using makeArray in my pic. I clicked execute timer after connect timer and BSplineSurface node, but nothing shown in FreeCAD. even I clicked preview on a node on.
tak
Posts: 31
Joined: Thu May 02, 2019 2:32 am

Re: node editor - pyflow

Post by tak »

sorry for the number of questions.
I can create box/ sphere but not other nodes like(vectorArray etc). Such as the below video in 0:18.
phpBB [video]
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: node editor - pyflow

Post by microelly2 »

phpBB [video]

Some time ago I made the mouse sensor for drawing on face functionality.
Here is the keyboard sensor. It can be used to connect keys with actions in the pyflow scene.
tak
Posts: 31
Joined: Thu May 02, 2019 2:32 am

Re: node editor - pyflow

Post by tak »

I tried to create a vectorArray, but it is not work. Create the box is working fine.
Am I missing some package?

https://drive.google.com/open?id=15dUHa ... lA6sV8EGwv
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: node editor - pyflow

Post by microelly2 »

tak wrote: Wed Feb 12, 2020 6:27 am I tried to create a vectorArray, but it is not work. Create the box is working fine.
Am I missing some package?

https://drive.google.com/open?id=15dUHa ... lA6sV8EGwv
To see the outcome you have to visualize the Shape.

In the case of the Box you click at the end the green circle. This creates a preview object in FreeCAD 3D space.
Click the green circle for the selected Vectorarray too and you will get the preview.

You should know that the preview is a temporary object in FreeCAD. If you want to work with shapes
you should use the view3D node.
tak
Posts: 31
Joined: Thu May 02, 2019 2:32 am

Re: node editor - pyflow

Post by tak »

microelly2 wrote: Wed Feb 12, 2020 7:37 am
tak wrote: Wed Feb 12, 2020 6:27 am I tried to create a vectorArray, but it is not work. Create the box is working fine.
Am I missing some package?

https://drive.google.com/open?id=15dUHa ... lA6sV8EGwv
To see the outcome you have to visualize the Shape.

In the case of the Box you click at the end the green circle. This creates a preview object in FreeCAD 3D space.
Click the green circle for the selected Vectorarray too and you will get the preview.

You should know that the preview is a temporary object in FreeCAD. If you want to work with shapes
you should use the view3D node.
I don't know what does it mean. view3D and vectorArray also not work for me but not box.
Nothing created under model
https://drive.google.com/file/d/1SxtG1U ... sp=sharing

In this video at 0:18. It can visualize the shape in FC after clicking excute of the vectoryArray node without and connection/ setting.
Why I can't visualize like this?
phpBB [video]
Post Reply