All Questions
11
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 ...
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:
...
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 ...
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 ...
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 ...
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, ...
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 "...
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 ...
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 ...
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 ...
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 ...