All Questions
Tagged with python geometry-nodes
53
questions with no upvoted or accepted answers
9
votes
1
answer
3k
views
Creating custom node types for geometry nodes
is it possible to create custom nodes for the geometry node editor (NOT node groups, combining blender built-in nodes), define inputs and outputs and execute some python code in between? I couldn't ...
3
votes
0
answers
64
views
How to find out if geonodes's viewer is active?
Using python i can access the node
bpy.data.node_groups["Geometry Nodes"].nodes["Viewer.001"]
But how can I find out if it is currently active ...
3
votes
0
answers
255
views
Custom UI List consisting of only Geometry Nodes type of modifiers
I wanted to draw a UIList consisting of modifiers.
This UI List should only contain GeometryNodes modifier and those starts with a particular name like Terrain_
I have gone through multiple resources ...
2
votes
0
answers
67
views
Batch baking geometry nodes
I have geometry nodes with simulation zones on a lot of objects. To enable remote rendering I want to bake the geometry nodes for each object (yay blender 4.1!).
Is there a way to bake them all in one ...
2
votes
0
answers
102
views
How to use script to connect Random Value node to Extrude Mesh node in geometry node tree?
The following code create a geometry node tree correctly, but can't create the link between Value and Selection. The the two lines between ######## should have the same effect; either line should ...
2
votes
0
answers
319
views
Using python to batch export geometry node generated objects
Using python to batch export geometry node generated objects.
I can export an object to an STL file using python with the script below:
Script:
...
2
votes
0
answers
276
views
Are Custom Python Geometry Nodes Possible? 3.0.1
Right now, I have a little template that makes it pretty easy to make custom shader and compositor nodes, but it does not work with geometry nodes. The error happens when I register the custom ...
2
votes
0
answers
426
views
How to add curve widget to n-panel?
So, I have one value controlled by the Float Curve node (in the geometry nodes). And I am trying to get an access to that float curve through the N-panel. It looks like Curve Widgets are available in ...
2
votes
1
answer
2k
views
Geometry Nodes - Point Cloud from custom XYZ coordinates?
I'd like to create a point cloud using the Geometry Node Editor based on my own custom data.
The data is stored in a .txt file, plain [x,y,z] coordinates and looks like this:
...
1
vote
0
answers
59
views
How to write attributes in points or instances created by geometry nodes
I created some instances using geometry nodes, and now I want to write new attributes in these points or instances and use them in the geometry nodes.
I tried these codes to write attributes in ...
1
vote
0
answers
29
views
Making a Shader output into a face attribute in python
is there a way to turn the average color of the faces of an object into an attribute with python ?
Maybe this has to do with texture baking, i honestly don't know where to start.
Thanks in advance
1
vote
0
answers
86
views
Remove invisible (inner) faces
My question is very similar to this theme
quellenform shared great example for polys, visible in camera
I can't to remake nodes for polys, visible in all directions, to delete all inside geometry.
...
1
vote
0
answers
42
views
Add image tooltip to Geometry nodes / Modifier UI?
I'm currently trying to make a template file for a hat I've made using geometry nodes.
My issue is that although I have all my group input parameters neatly setup in the modifier tab - It will be ...
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, ...
1
vote
0
answers
84
views
Can I export the 3D coordinates of part of an object created in Geometry Nodes (without applying the modifier)?
Can I export the 3D coordinates of a part of an object made by the Geometry Nodes to a .csv file (without applying the GN)?
For example, I created this road (and its accessories) in Geometry Nodes, ...