Hi,
I have put everything into a clean repo with installation instructions. Development of new nodes will continue here:
https://github.com/j8sr0230/fc_nodes
Generative Design with FreeCAD
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: Generative Design with FreeCAD
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
Codelink on PiPy: https://pypi.org/project/codelink/
FreeCAD Nodes Workbench on GitHub: https://github.com/j8sr0230/Nodes
Re: Generative Design with FreeCAD
Hi there,
I think I now have a pretty solid basic framework for the node editor. You can find the module fcn_base_node.py for a base node in my repository https://github.com/j8sr0230/fc_nodes. I tried to document this module as much as possible with docstrings, comments and type hints. Based on this I implemented the first three nodes NumberInput, NumberSlider and ScalarMath, that work with numbers (int or float). Numbers use orange sockets, as you can see in the picture. Different socket types (colors) cannot be mixed. Sockets have standard input widgets prepared by me (e.g. QLineEdit, QSlider, QComboBox, ..), that can be easily included.
My intention is to publish a RoadMap in a timely manner so that other developers can contribute to the implementation of new nodes.
So far for today,
see you soon, j8sr0230.
I think I now have a pretty solid basic framework for the node editor. You can find the module fcn_base_node.py for a base node in my repository https://github.com/j8sr0230/fc_nodes. I tried to document this module as much as possible with docstrings, comments and type hints. Based on this I implemented the first three nodes NumberInput, NumberSlider and ScalarMath, that work with numbers (int or float). Numbers use orange sockets, as you can see in the picture. Different socket types (colors) cannot be mixed. Sockets have standard input widgets prepared by me (e.g. QLineEdit, QSlider, QComboBox, ..), that can be easily included.
My intention is to publish a RoadMap in a timely manner so that other developers can contribute to the implementation of new nodes.
So far for today,
see you soon, j8sr0230.
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
Codelink on PiPy: https://pypi.org/project/codelink/
FreeCAD Nodes Workbench on GitHub: https://github.com/j8sr0230/Nodes
Re: Generative Design with FreeCAD
Excellent news! BTW, @j8sr0230 is this still generative design related? It seems like it could be a separate thread.
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
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