All Questions
228
questions
11
votes
3
answers
4k
views
How do I get a mesh data-block with modifiers and shape keys applied in Blender 2.8?
I'm trying to update an exporter to work with Blender 2.8 but can't seem to get a mesh data-block modified by modifiers or shape keys. It always gives me the base mesh.
I'm currently using ...
10
votes
2
answers
4k
views
Object selection box with eyedropper
How to add an eyedropper functionality to prop_search in my addon?
...
30
votes
1
answer
11k
views
How to implement custom icons for my script/addon?
Is it possible to use different icons other than the default set and how?
12
votes
3
answers
7k
views
Object selection box in addon
In my addon panel, how can I have an object selection box? And what data type would I use to store the the selected object?
It should look like this:
4
votes
1
answer
654
views
Copy existing property from e.g. Properties window to a custom panel
So if I have this custom panel in the 3D view, is there a way I can take a property from for example the properties window and paste it onto my panel below the "text" prop, without creating a new ...
14
votes
1
answer
9k
views
Dynamic EnumProperty by type of selection
Iam searching for a method to get a EnumProperty by the type of the object (Lamp, Geo, Camera) thats selected in the viewport.
E.g. If the selected object is a lamp, it would be nice the enum ...
5
votes
2
answers
4k
views
Object creation slows over time [duplicate]
I know that this has been asked before, but the answers that others have received did not help me much. When creating objects through Python, using bpy.ops.mesh.primitive_cube_add() there is an ...
17
votes
4
answers
5k
views
Workflow for developing add-on/script
I'm trying to figure out a good workflow for developing scripts and add-ons in Blender. Here's what I'm currently doing as I try my luck with a PyNode add-on:
Open blender
Create a text editor panel
...
10
votes
1
answer
5k
views
Bundling python library with addon
I'm making an add-on that uses the websocket library from python. Is there a way to include it in the add-on .zip file? Or do I have to add it to the site packages folder in blenders included python ...
10
votes
2
answers
2k
views
Copy framebuffer of 3D View into custom frame buffer
General question: Is there a reliable way to directly access the OpenGL framebuffer of a View3D for copying?
(Please see the end of the post for more detailed questions)
I need a very fast way to copy ...
6
votes
2
answers
944
views
Addon: how to make Blender run check()/redraw when option changed?
Operators have a check() function that Blender calls when it wants to check if it should redraw. Exporters usually use this to attach a file extension to the file ...
30
votes
3
answers
20k
views
Is there a way to restart a modified addon?
I'm currently twiddling with an old addon and insert some print statements for debugging. Currently I'm restarting Blender each time to see the new messages. Is there a way to 'refresh' an already ...
2
votes
1
answer
7k
views
Batch exporting scene collections or selected objects using glTF-Blender-IO
I'm still new with python and scripting. I tried editing the obj exporter that I found. Since I'm exporting tons of object groups, I need each of scene collection or selected objects to be exported as ...
17
votes
1
answer
5k
views
How can I get a list of the installed addons using the API?
How can I get a list of the installed addons and the version number so I can print out and use as a simple reference when checking for updated scripts? I've looked at ...
18
votes
3
answers
3k
views
Add a custom curve mapping property for an add-on?
Question
The title says it all. I want to be able to make this in Blender's UI, and sample it at specific points from an add-on:
Problem
There is very insufficient documentation on this, and I can't ...