All Questions
1,201
questions
0
votes
0
answers
21
views
Georeference 3D data generated using BlenderGIS
I generated a 3D model (terrain + extruded buildings) using BlenderGIS,and I was wondering if I could integrate them into an ifc project having the right georeferencing using BlenderBIM. The problem ...
0
votes
0
answers
13
views
How do I close an area using Python in Blender 4.1? [duplicate]
I want to close a panel from within my Python addon. Existing questions and answers seem to yield results that no longer work as they are very dated. The suggested code to run is:
...
1
vote
0
answers
36
views
Is there a way to restart a modified addon without restarting blender? [closed]
This was answered 10 Years ago. Unfortunately, it doesnt work anymore.
It should be a simple console command:
bpy.ops.script.reload()
However, it only reloads the <...
1
vote
1
answer
38
views
Addon works from Text Editor, but fails to enable from Add-ons preferences [duplicate]
I've written very simple addon that exports triangulated and quad mesh of selected object, deleting all material slots and applying transformation. And all work fine if I run it from the Text Editor, ...
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 ...
-1
votes
0
answers
23
views
Script for importing an OBJ file as Shape key for blender 4.1
I have blender version 4.1
I’m trying to adapt the script for my version
...
2
votes
1
answer
23
views
Add text (label) to colored bar created using gpu module
I've created a colored bar using the gpu module (see picture). Here is the code. Now I would like to add some text as displayed in the image with the labels 5 Kg and 100 kg. Any suggestion?
...
0
votes
1
answer
13
views
Hard ops smart apply menu is missing
I just started using Hard ops. But it seems there is no Smart Apply in my context menu. Does anyone know what am I missing? I tried to search for this issue but I can't find anything related.
4
votes
1
answer
98
views
Automatic actions after starting addon?
I'm creating an addon in Blender using bpy. It's a side panel with a few buttons and input fields. To speed up development, I would like the addon to automatically ...
0
votes
0
answers
29
views
How to add a collection from a Blend file via add-on code?
This is my current code:
...
0
votes
1
answer
48
views
Including external Python libraries in Blender addon
I am developing a Blender addon, which needs few external Python libraries (e.g. scipy, pandas, etc). I was wondering about the best approach for including them into a "stand-alone" software ...
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
48
views
How to change exporting scale using Python?
When we export an .stl via File>Export>STL - we see a window which has a Scale variable.
This one:
• This variable is named ...
0
votes
0
answers
24
views
Show context menu addition only for object custom properties?
I am looking for a bpy.types.?????_MT_context_menu (or similar) so that I can insert an item Copy Color Property as new Driver for a script that will help me past ...
3
votes
2
answers
116
views
How to reload ONE particular UI script? (an alternative to 'Reload Scripts' )
My add-on edits Blender's UI scripts.
To apply changes to UI - edited scripts should be reloaded.
For this purpose I use bpy.ops.script.reload()
It does the job, ...