Skip to main content

All Questions

Tagged with
57 votes
2 answers
61k views

How to create a custom UI?

I was watching this video on making a custom UI tab using Python, and in the line from bpy.types import Menu, Panel, UIList, I see the names of objects that look ...
DragonautX's user avatar
  • 1,316
27 votes
1 answer
14k views

Create an interface which is similar to the material list box

How can I make a Interface which is similar to the Material-Interface within Blender via Python? It should look like these. Could you guide me to the right direction? I don't think it's in bpy.ops, ...
Hamburml's user avatar
  • 957
24 votes
2 answers
6k views

Blender UI Multithreading Progressbar

The following question might've been asked several times, but I've found no satisfactory answer. Short question: How can I show progress of background task in Blender UI? Explanation: I have a ...
mg007's user avatar
  • 821
21 votes
4 answers
20k views

Is there anyway to make blender print errors in the UI?

For some reason, sometimes error messages encountered while scripting are not printed in the info panel, only the message ...
gandalf3's user avatar
  • 158k
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 ...
JakeD's user avatar
  • 8,527
17 votes
1 answer
2k views

How to create submenus with dynamic content?

I am trying to loop over all the cameras in my scene to populate a menu, and be able to access properties of each camera from the submenu of each menu item. For the minute, I'm just trying to get it ...
Ray Mairlot's user avatar
  • 29.3k
15 votes
1 answer
12k views

How to create a Folder/File Dialog?

So I need to allow the user of my script to choose a directory that contains images, and then run my script on each image. I already have my script made here. I looked at this question already, but ...
doomslug's user avatar
  • 1,819
13 votes
1 answer
12k views

How to call a confirmation dialog box?

I have a button in my menu named "New File" as shown: and I want when I click on the "New File" button to imitate what the Blender File->New does, where a check message box appear first confirming ...
Tak's user avatar
  • 6,323
13 votes
1 answer
684 views

Have second window with different perspective open only when a second monitor is connected?

I have Blender on my laptop, into which I sometimes plug an external monitor, and set up some different regions to make my workflow smoother/easier. When I save and close my project, the multiple ...
Questionmark's user avatar
12 votes
1 answer
5k views

How to create a collapsible panel?

Is it possible to make collapsible panel like it is for object modifiers? I need something similar for my plugin. After choose menu item I want to create new panel with collapsible box, where can I ...
Reborn's user avatar
  • 123
12 votes
1 answer
3k views

Add menu entry to generic right-click menu?

I can't find a way to append/prepend an operator to blenders generic "right-click" menu. When looking into the source of interface_handlers.c it seems the operators ...
brockmann's user avatar
  • 12.7k
12 votes
1 answer
2k views

How to get one UIList to control the contents of another UIList?

I have two dynamic lists. One is for strings and another one for objects. When the string changes I need the other list to show the objects assigned to the string in the first list. So I would need ...
tintwotin's user avatar
  • 2,436
11 votes
1 answer
1k views

Addon to display the current 3D Viewport Zoom

I want to use a panel to expose the Zoom ratio that is currently being used in the 3D viewport. I can see that there are bpy.ops functions that can be used to set this ratio, but I do not want to ...
TristanL's user avatar
  • 113
11 votes
2 answers
755 views

Environment for implementing/testing Computer Graphics algorithms

I need to code up a computer graphics algorithm for Surface Registration. Briefly surface registration is the process of finding "optimal" one-one correspondence between surfaces, where the meaning ...
smilingbuddha's user avatar
11 votes
1 answer
4k views

UI: Text box with multiple lines

I want to incorporate in my Blender interface (in my addon) a text box that allows you to write notes on several lines (as in the text editor script). Currently, what I find in Blender are text boxes ...
logiquefloue's user avatar

15 30 50 per page
1
2 3 4 5
42