Skip to main content

All Questions

Tagged with
2 votes
1 answer
2k views

Determine which button was pressed from python

Prompted by my previous question, I was trying to create an addon to move background images with the mouse. However, I can't figure out a good way to determine what image to move. I thought I might ...
gandalf3's user avatar
  • 158k
8 votes
1 answer
2k views

How can I change the buttons text position?

I'm messing around with python for the first time. I'm making my own changes to the interface, just because.. How can I move the text inside the buttons down and to the left? The left image is what ...
Utopia780's user avatar
  • 417
4 votes
4 answers
1k views

Adding Custom Menu "Run Script" Button Causes Duplicate

Is there a way to use the Blender Text Editor for adding a custom menu and not get a duplicate every time I click on "Run Script" to test the menu? For example, in the text editor, load the template ...
PolyMesh's user avatar
  • 655
10 votes
5 answers
10k views

Add Custom Menu at Specific Location in the Header

Blender has a built in template for adding a custom menu to the main header (INFO_HT_header). This can be found by going into the text editor under templates->Python->UI Menu. Can I relocate this ...
PolyMesh's user avatar
  • 655
8 votes
2 answers
2k views

How can I visualize progress in a panel?

  I want to put a list with progression bars into a panel or somewhere else. Is it possible to place a custom image next to text? Or draw progress bars like the one in the header somewhere ...
Haunt_House's user avatar
  • 16.1k
6 votes
2 answers
1k views

Is it possible to expand/collapes all panels in a region with a keystroke or shortcut?

In particular, I'm looking for a simple way to collapse all the N and T panels. I'm using a number of addons and things are starting to get a little cumbersome wheeling up and down to find something ...
askinner432's user avatar
  • 1,065
10 votes
1 answer
2k views

How to get the entire list of operators?

I want to create a list with everything the spacebar operator search can produce. Is that possible?
Haunt_House's user avatar
  • 16.1k
7 votes
1 answer
2k views

Display list with custom items in panel

I want to display a list of values in a panel, as either a list box or dropdown box. The list should contain the names of custom float data layers for vertices of the active mesh object. The vertex ...
z0r's user avatar
  • 877
4 votes
2 answers
467 views

Change settings like 'limit selection to visible' or 'trackball rotation' with python

My original intention is to transfer settings with a .blend file, but as far as I know, ordinary blends don't store everything. I have tried to understand the API documentation for a while now, yet ...
Haunt_House's user avatar
  • 16.1k
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
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
6 votes
1 answer
494 views

How can I make parts of a menu context sensitive in Python?

I am attempting to make a custom menu in Python that is context sensitive. Such that it's contents vary depending on which mode your currently in (e.g. Edit mode or Object mode). However, when using ...
Jonathan Williamson's user avatar

15 30 50 per page
1
38 39 40 41
42