Skip to main content

All Questions

3 votes
1 answer
56 views

How can I instantiate a Simulation Zone input / output node's socket via python?

I couldn't find an interface like the node tree interface where I can add sockets using interface.new_socket(). In the documentation, the only method I found for ...
Trantor's user avatar
  • 45
2 votes
1 answer
62 views

How to determine whether the FCurve array_index is targetting a specific property?

This question is within the context of Geometry Node and drivers. Using the Python API, we can retrieve the drivers associated to Geometry Nodes of a given node tree this way: ...
Alio's user avatar
  • 85
0 votes
1 answer
68 views

Transfer (float) vertex-attribute to vertex-weight, to allow GeoNodes to control subsequent Armature binding

In Blender 4.1 or higher, I want to write a custom modifier, which transfers values from a vertex attribute (on geometry generated by geonodes) to a vertex group (usable with other modifiers). This is ...
Mark K Cowan's user avatar
4 votes
1 answer
129 views

How can I expose Geometry Nodes properties in my addon panel?

I came across this question and learned that I can actually expose properties from the Blender UI in my addon panel. So I was experimenting on exposing properties of modifiers like for example the ...
Harry McKenzie's user avatar
0 votes
0 answers
26 views

Applying specific Geometry Nodes modifier to an object with python [duplicate]

I am very new to python and writing blender addons. I am currently trying to make an addon that takes the selected object, makes a new cube at that location, and then applies a set of custom geo nodes ...
michael warneke's user avatar
1 vote
0 answers
92 views

Script works in python console and "run script' but cannot be enabled as an addon

I am a beginner in scripting so I am aware that this might be trivial thing, but I will appreciate any help. I was trying to make some automation to my geometry node workflow. The main utility of it, ...
Krzysztof Galant's user avatar
0 votes
1 answer
122 views

Addon controls Geometry Nodes inputs

Could someone provide an example similar to this? I need an addon located in View3d > Tools. It has 4 properties on that panel. Each one controls and updates the inptus of the modifier "...
Miguel's user avatar
  • 281
0 votes
0 answers
54 views

Geometry Modifier shows only after save/reload of blender file

In a python add-on (operator) I create a number of mesh objects and attach to each a Geometry Modifier (to show wireframe). The challenge here is that the modifiers do not show in the viewport, only ...
Niek Kort's user avatar
0 votes
1 answer
1k views

How can I use custom node groups as node templates/presets?

I want to make my node groups available as templates/presets, but unfortunately the Node Presets addon provided for this does not work as expected with my geometry ...
quellenform's user avatar
  • 37.9k
1 vote
2 answers
6k views

Geometry Nodes as mesh generation script

Newbie here I was recently working on a project that required dynamically generated 3D terrain. I am currently a computer science student but have some experience in blender and had seen what was ...
BenKlee's user avatar
  • 11
3 votes
1 answer
1k views

Include geometry nodes node and materials into an add-on in the same zip file

I created an add-on that uses a Geometry Nodes set up and a material. The problem is that when I save the Phyton code as a zip file (for later install it on the preferences) the node is lost and the ...
Artichoke's user avatar
  • 383