-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Hi @BrendanParmer ,
Thanks for this wonderful tool. I've recently been playing with @BradyAJohnston 's fantastic MolecularNodes, which is implemented as a set of domain-specific GeometryNodes for making beautiful scientific illustrations. I have been interested in building some visualizations on top of MN but have found the devcycle to be a bit tricky and have therefore been exploring using NodeToPython to export his Nodes as python classes with the idea that I would be able to build up higher-level nodes in the GUI but then save and manipulate them via the python API.
I've got a working example of looping through all of the Nodes in his package and exporting them individually as files. The repo is here: molnodes-utils. Theres a few questions I would love to ask your opinion on:
- Would it be straightforward to export collections of Nodes instead of one-at-a time? I am currently hacking my way around your export system.
- Would it be possible to extend the export system to add
imports for custom nodes? For example the MN_units class creates and uses anMN_world_scaleNode which is defined in a seperate class/file. It would be nice to add that to the__init__.pythat is exported - I wrote a conversion script that loops across Nodes files and outputs each Class as a python file. Its a bit hacky and I would love suggestions/feedback you might have.
- I am interested in your opinion on the best workflow for how to develop on top of your code - e.g. do you have a recommended cycle of building and deploying? MN build and deposits a
.blendfile but it would be wonderful to have a full CI/CD system for iterating new features.
In short, you have developed a wonderful tool that I would like to use and would appreciate you input on and of the above problems. Note that to get nodetopython to work I did fork it so I could use pip to install/use your v3.2 branch as a library (git coords here)
Thanks again,
zach cp