FreeCAD Nodes (renamed from fc_nodes)

Show off your FreeCAD projects here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
j8sr0230
Posts: 140
Joined: Thu Apr 07, 2022 8:59 am
Location: Chemnitz
Contact:

Re: FreeCAD Nodes (renamed from fc_nodes)

Post by j8sr0230 »

Hi friends,
there are many new nodes in my workbench (https://github.com/j8sr0230/Nodes), including for i. e. the BSpline node. I wish you a lot of fun trying them out :D
BSpline Node for FreeCAD Nodes
BSpline Node for FreeCAD Nodes
nodes_bspline_demo.gif (334.76 KiB) Viewed 19369 times
Codelink on GitHub: https://github.com/j8sr0230/codelink
Codelink on PiPy: https://pypi.org/project/codelink/
FreeCAD Nodes Workbench on GitHub: https://github.com/j8sr0230/Nodes
User avatar
saso
Veteran
Posts: 1920
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: FreeCAD Nodes (renamed from fc_nodes)

Post by saso »

j8sr0230 wrote: Mon Nov 07, 2022 1:48 pm there are many new nodes in my workbench...
Interesting, thanks! :)

Just a thought... If I remember correctly microelly2 has implemented quite a few nodes for his node editor... Could maybe some of those core algorithms be useful and ported to your nodes, just to make things easier... ?

Also, you need to do something for the "Addon Manager" to see that you have a new version and suggest the update to the user... :roll:
User avatar
j8sr0230
Posts: 140
Joined: Thu Apr 07, 2022 8:59 am
Location: Chemnitz
Contact:

Re: FreeCAD Nodes (renamed from fc_nodes)

Post by j8sr0230 »

saso wrote: Mon Nov 07, 2022 4:08 pm
Just a thought... If I remember correctly microelly2 has implemented quite a few nodes for his node editor... Could maybe some of those core algorithms be useful and ported to your nodes, just to make things easier... ?

Also, you need to do something for the "Addon Manager" to see that you have a new version and suggest the update to the user... :roll:
Thanks for pointing that out. In fact, I have a fork of all the relevant node editors and pick something up from time to time.

The addon manager thing is an interesting hint. I thought any change in my repo causes an update hint in the addon manager. So then it only goes via a version change in the package.xml?
Codelink on GitHub: https://github.com/j8sr0230/codelink
Codelink on PiPy: https://pypi.org/project/codelink/
FreeCAD Nodes Workbench on GitHub: https://github.com/j8sr0230/Nodes
User avatar
saso
Veteran
Posts: 1920
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: FreeCAD Nodes (renamed from fc_nodes)

Post by saso »

j8sr0230 wrote: Mon Nov 07, 2022 6:55 pm So then it only goes via a version change in the package.xml?
Does not work yet, additionally to line 16 you probably need to change also line 5
bleber
Posts: 259
Joined: Thu Jun 30, 2016 5:12 pm

Re: FreeCAD Nodes (renamed from fc_nodes)

Post by bleber »

What nodes are planed?
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FreeCAD Nodes (renamed from fc_nodes)

Post by Kunda1 »

bleber wrote: Wed Nov 09, 2022 1:08 am What nodes are planed?
It would also be nice to see a list of what nodes have been implemented
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
j8sr0230
Posts: 140
Joined: Thu Apr 07, 2022 8:59 am
Location: Chemnitz
Contact:

Re: FreeCAD Nodes (renamed from fc_nodes)

Post by j8sr0230 »

bleber wrote: Wed Nov 09, 2022 1:08 am What nodes are planed?
Kunda1 wrote: Wed Nov 09, 2022 5:00 pm
bleber wrote: Wed Nov 09, 2022 1:08 am What nodes are planed?
It would also be nice to see a list of what nodes have been implemented
Sorry for taking so long to answer your questions, but I have been very busy finishing the Voronoi node. I will soon publish a corresponding listing of the planned and ready existing nodes! However, the Voronoi node turned out well. It generates clean brep surfaces, unlike most other CAD systems, which can be used for further modeling (see figure). Interesting surfaces can be created, e.g. for CNC routers! :D
Voronoi generation with Nodes
Voronoi generation with Nodes
voronoi_node.PNG (354.43 KiB) Viewed 17275 times
Voronoi design study
Voronoi design study
voronoi_node_v21.PNG (719.18 KiB) Viewed 17255 times
Codelink on GitHub: https://github.com/j8sr0230/codelink
Codelink on PiPy: https://pypi.org/project/codelink/
FreeCAD Nodes Workbench on GitHub: https://github.com/j8sr0230/Nodes
bleber
Posts: 259
Joined: Thu Jun 30, 2016 5:12 pm

Re: FreeCAD Nodes (renamed from fc_nodes)

Post by bleber »

Are you planed how integrate in the tree view, maybe something like spreadsheet workbench?
User avatar
j8sr0230
Posts: 140
Joined: Thu Apr 07, 2022 8:59 am
Location: Chemnitz
Contact:

Re: FreeCAD Nodes (renamed from fc_nodes)

Post by j8sr0230 »

bleber wrote: Tue Nov 15, 2022 3:30 pm Are you planed how integrate in the tree view, maybe something like spreadsheet workbench?
A very good question! As you can see in the figure, there are so called viewer nodes in FreeCAD Nodes. Currently there is a Compound Viewer (CViewer) for BRep geometries and a Mesh Viewer (MViewer) for meshes. Currently I am developing an array viewer (AViewer) to efficiently render a large number of identical solids using FreeCAD's link array technology. Basically, these viewers bake the geometries created in the node graph directly into FreeCAD's model tree. I.e. the node graph in combination with a viewer behaves like a scripted FreeCAD object, only that the code lives live in the node graph. From the model tree, the new object can be further processed like any conventional FreeCAD feature/object. It has a shape, faces, corners, wires, vertexes, etc. Does that answer your question?
Compound Viewer
Compound Viewer
cviewer_lite.png (242.14 KiB) Viewed 17127 times
BTW, the figure shows my new refactored Populate Face node, which, following the comparable Sverchok node, provides a minimum distance for each instance to avoid clustering and instance clumping even in the case of highly stretched UV maps.
Codelink on GitHub: https://github.com/j8sr0230/codelink
Codelink on PiPy: https://pypi.org/project/codelink/
FreeCAD Nodes Workbench on GitHub: https://github.com/j8sr0230/Nodes
User avatar
MisterMaker
Posts: 739
Joined: Mon Sep 21, 2020 7:41 am

Re: FreeCAD Nodes (renamed from fc_nodes)

Post by MisterMaker »

This looks awesome!
Could you create an example folder where I can play with your node trees?
Post Reply