FreeCAD Nodes (renamed from fc_nodes)

Show off your FreeCAD projects here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
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,
it took me a while, but the Voronoi on Solid node is now available. It generates a Voronoi diagram not on a mesh but on a real BRep solid and produces either clean solids or shells. It supports the modes solid voronoi cells (0), inverse solid voronoi cells (1), voronoi shells (2) and inverse voronoi shells (3), see figure. Enclosed you will also find a small demo file for an easy entry. Have fun with it!
Voronoi on Solid
Voronoi on Solid
nodes_voronoi_on_solids.PNG (698.65 KiB) Viewed 13053 times
Attachments
voronoi_on_sld.7z
Demo file
(844 Bytes) Downloaded 63 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
ncadoret
Posts: 12
Joined: Mon May 30, 2022 1:09 pm

Re: FreeCAD Nodes (renamed from fc_nodes)

Post by ncadoret »

j8sr0230 wrote: Wed Nov 23, 2022 9:38 pm IT IS ALIVE!!! The new Voronoi on Solid node for FreeCAD Nodes is coming soon :shock:
voronoi_on_sld.PNG
Now you have my attention !

I am very interested in creating Voronoï type structures inside solids and was struggling to create a macro for it. I'm sure with that node I will be able to get the results I want much quicker.

Need to find the time to play with it but thank you for your work !
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,
just in time for Black Friday there are lots of new nodes. I have just published the nodes Extrude, Vector Math, Vector Length and Surface Center. Attached is a nice application example where Voronoi cells are extruded in the Z direction depending on their distance from the red marked point. Have fun with it :)
Extrusion_viewport
Extrusion_viewport
extrusion_node.PNG (192.82 KiB) Viewed 12894 times
Extrusion_node_graph
Extrusion_node_graph
extrusion_node_graph.PNG (150.69 KiB) Viewed 12894 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
-alex-
Veteran
Posts: 1856
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: FreeCAD Nodes (renamed from fc_nodes)

Post by -alex- »

Models done with this WB are impressive!
As a simple user I hope to be skilled enought someday to use it.
Thanks for your efforts :D
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 »

-alex- wrote: Fri Nov 25, 2022 10:33 am Models done with this WB are impressive!
As a simple user I hope to be skilled enought someday to use it.
Thanks for your efforts :D
After there is a reasonable roundstock of nodes and a stable framework, I will start a Youtube series to promote the Workbench and node-based modeling with FreeCAD. My intention is to pick up all users with small follow along videos. But it will take a bit more time i think :)

By the way, the node graph I have shown above is complete and does not need any further dependencies. That means, if you wire everything as shown, you will also get the displayed parametric extrusion. Just dare :)
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
-alex-
Veteran
Posts: 1856
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: FreeCAD Nodes (renamed from fc_nodes)

Post by -alex- »

j8sr0230 wrote: Fri Nov 25, 2022 10:48 am My intention is to pick up all users with small follow along videos.
That would be great :)

But it will take a bit more time i think :)
FC motto: it's done when it's done ;)

Just dare :)
You're right :D
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 »

Transform Nodes for FreeCAD Nodes
With the latest update the transform nodes Rotate, Translate and Uniform Scale are now available. All support multi input for all sockets and array broadcasting. Here you can see a simple demo for the Rotate node.
Rotate node demo
Rotate node demo
cube_rotation.gif (935.75 KiB) Viewed 12260 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
j8sr0230
Posts: 140
Joined: Thu Apr 07, 2022 8:59 am
Location: Chemnitz
Contact:

Re: FreeCAD Nodes (renamed from fc_nodes)

Post by j8sr0230 »

And the new Evaluate Srf node in action:
Evaluate Srf node
Evaluate Srf node
nodes_evaluate_surface.gif (533.13 KiB) Viewed 12220 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
j8sr0230
Posts: 140
Joined: Thu Apr 07, 2022 8:59 am
Location: Chemnitz
Contact:

Re: FreeCAD Nodes (renamed from fc_nodes)

Post by j8sr0230 »

The new Align node allows you to align shapes to vectors. In the following example, I determine the surface normal of a sphere at selected points and align a prism to it. The duplication of the prism to each point of interest is done automatically by array broadcasting.
Align node
Align node
nodes_align_shape.gif (894.11 KiB) Viewed 12108 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
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FreeCAD Nodes (renamed from fc_nodes)

Post by Kunda1 »

Unbelievable progress! :mindblown:
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
Post Reply