NodeToPython icon indicating copy to clipboard operation
NodeToPython copied to clipboard

Convert Blender node groups to a Python add-on

Results 42 NodeToPython issues
Sort by recently updated
recently updated
newest added

``` file.write((f"{inner}if {str_to_py_str(nt_name)} in bpy.data.node_groups:\n")) file.write((f"{inner}\treturn\n")) file.write((f"{inner}else:\n")) file.write((f"{inner}\t{nt_var}" f"= bpy.data.node_groups.new(" f"type = \'ShaderNodeTree\', " f"name = {str_to_py_str(nt_name)})\n")) file.write("\n") ``` Something like this I think.

enhancement

- [ ] Add option to include current blend file in add-on - [ ] Create an asset library with referenced - [ ] Materials - [ ] Collections -...

enhancement

I used your code to generate an addon for a geometry node. I've modified the code a little so that it can appear in the "Add" menu of the Geometry...

# Features ## Blender 4.2 Upgrades (#103) (#109) ### Extensions (#104) * NodeToPython now uses the new Blender 4.2 extensions method * Will be submitted to the Blender Extensions platform...

bug
documentation
enhancement
refactor

This node gives errors becouse of the new 4.2 update: ![image](https://github.com/user-attachments/assets/66c9bde7-3b1f-4139-94a9-abfeb1f62913)

duplicate

Dear BrendanParmer, I am encountering an error while installing the “Node to Python” add-on in Blender 4.2 on my Mac. The error message says: 'module' object has no attribute 'NodeEnumDefinition'...

duplicate