Questions tagged [interface]

Questions pertaining to Blender's user interface, such as theming, scripting and operating the interface.

Filter by
Sorted by
Tagged with
2
votes
2answers
467 views

How to call F6 menu after calling solidify mesh command?

When you call bpy.ops.mesh.solidify() Blender will add the mesh but NOT show you the solidify dialog. To adjust it you have to press F6. I assumed that adding <...
2
votes
0answers
99 views

Where can I find a better manual for learning Blender than blender.org [closed]

I can do Maya because I learned where everything I need is located. However with Blender nothing. Example: First thing I needed to learn is how do I hide backfaces? So I check the manual on blender....
1
vote
2answers
1k views

Vertical align of mixed panel?

Is there a way to vertically align this too, meaning to remove the space between the rows and make the elements connect? ...
1
vote
0answers
37 views

Allow user to select the location of a Custom Panel

Is it possible to allow the user to select the Location of a custom Panel which I have created using python in Blender. Generally, I found that the location of a panel is set outside the Function in a ...
2
votes
2answers
1k views

How to structure modal operator correctly with macro like step by step execution?

I struggle with understanding the modal operator concept. Below is a chain of commands I would like to step by step to execute, while during translate the following steps should wait till translate is ...
0
votes
0answers
42 views

When calling a Pie is it possible to do multiple LMB licks before it goes away?

for example when you include a menu with multiple options in a pie and you want to click two. After each LMB click the pie goes away, so you have to call the pie menu twice.
6
votes
2answers
1k views

Search enum list

Is there a way to add search functionality to EnumProperty in my add-on, similar to material search? Or maybe there is another property with search functionality ...
3
votes
0answers
268 views

How do I create an empty blender file .blend from C?

How do I create an empty ~.blend file using C? I need to create a blender file directly from my program. Is there a simple example or tutorial for this? Any library?
1
vote
1answer
930 views

Python code for Edge Data Bevel and Crease Weight?

Anybody has an idea what the python code is to draw the edge data bevel and crease weight sliders? It seems not to be part of "space_view3d.py"
0
votes
1answer
513 views

what makes a Pie menu stay or instantly go away when releasing mouse and keys?

I encounter the issue that in my pie the RMB Pie stays open when releasing keys and mouse while the LMB Pie closes instantly I release a key or mouse buttong. I have no idea what triggers this. ...
0
votes
1answer
359 views

Struggling with Layout element order of Pie menus

I am sensing that there is an order or format issue in my script. The following sequence results into this pie layout with the two last commands starting at the 2 position. ...
1
vote
0answers
43 views

Is it possible to remain in Pie menu after clicking a check box?

Everytime you click a checkbox in a Pie menu or use a slider the Pie menu goes away and you have to call it again. Is there a way remain in it?
4
votes
1answer
538 views

Is it possible to execute two functions on a Pie button via an additional key pressed?

The mesh hide has two options, hide selected or hide non selected. So you need two buttons, but could it be possible to simply call the pie menu and then with an addition button pressed lets say RMB ...
1
vote
1answer
1k views

How can I change default file save locations?

I would like to know if there is a simple way to have Blender (ver. 2.76b)save .blend files to a specified location by default. After install, my .blend files always saved to my \documents folder but ...
2
votes
1answer
390 views

Ghost button for Pie menu

Pie menus work sorting / placing the buttons as it seems via 82467913 but this is not idea specifically when you have less buttons than 8. Is there a way to create invisible place holder buttons so ...
1
vote
1answer
504 views

Define pie operator menu position

I seem to be unable to find any information online about how to define a pie menu operator position. They seem to change a lot - for example the three button section flips position between 7 and 3. ...
1
vote
1answer
254 views

Where to find correct syntax for operator in Blender API manual?

I have an issue finding the correct documentation online. Example: CTRL + A calls the following command: bpy.ops.wm.call_menu(name="VIEW3D_MT_object_apply") ...
1
vote
1answer
727 views

CTRL + A Menu Apply Transformation : where to find in Python document

I noticed that very often when I search for a command or something in the Blender Python API I do not find what I am looking for. I am not sure if I simply make a mistake or if what I am looking for ...
4
votes
0answers
4k views

Stop animation render after current frame

For long running animation renders, is there a way to stop the render once the current frame is finished? I leave my machine rendering over night, and when I return the next day, I want to stop the ...
2
votes
0answers
94 views

How to check if a texture is already in the blend file before importing it while appending an object?

Matthew here with yet another question :p Anyway...I found an answer by @zeffi on how to append an object using python, that's all goods, but the trouble is, every time I append that object, it ...
1
vote
1answer
202 views

Having trouble with adding a section to a panel at runtime: IgnitProperties has no attribute 'Add'

I asked a similar question quite a while ago but I'm still having trouble with this. For those that didn't see my last question, basically I want to replicate what the background image system does, or ...
1
vote
1answer
1k views

splitting of screen areas and retrieving the active area with python

I try to split the VIEW_3D area of my screen (2/3 - 1/3), and to display in the 1/3 a file with the TEXT_EDITOR. The problems are: that the activate area seems not follow the area's iteration the ...
2
votes
1answer
71 views

What causes the wrong value read-out in a Pie menu value slider?

Below you can see that the Normal size value is 737cm while it is actually only 37cm. Here is the code - any idea if this is a bug or a mistake I did? ...
2
votes
1answer
82 views

Order of buttons drawn not matching code order

As you can see in the image Diffuse Color and Alpha are drawn before the material selector. But in the code the material selector is before Diffuse Color and Alpha. What is the reason for that? <...
1
vote
1answer
157 views

How to check for material and execute commands if no material present?

The following command draws the Material interface: layout.template_ID(obj, "active_material", new="material.new") When a material is added additional functions ...
5
votes
1answer
1k views

Is there any way to select all the “edge faces” of this cut-out sphere?

I have this object: I want to select all the faces on the edge of the squarish cut-outs of sphere, so I this desired result: That was done manually, but there must be an easier way. Essentially, I ...
1
vote
1answer
2k views

Fighting split col and aligning row content

I am really struggling with horizontal alignments. Look at lower right image example. Layer + Parent are in one column and a split function defines the width of the next column that contains the ...
2
votes
1answer
1k views

How to draw a slider button with a custom defined numeric value?

The following code generates this UI: ...
0
votes
0answers
201 views

Is there a way to add custom primitives? [duplicate]

The first time I had the occasion to need a hexagonal grid mesh, and hexagonal cylindrical grid, I created them, and saved the objects [ to a library file. But I'm finding them useful enough that I'...
2
votes
2answers
4k views

Can I “lock” movement of a vertex to certain angles?

In many 2d art programs, the user can draw lines that are "locked" to certain angles, e.g. in MS Paint holding SHIFT draws only 45 or 90 degree lines. Is there a similar function in Blender, so that ...
1
vote
1answer
670 views

How to match the camera to the current 3d view without the cropping? [duplicate]

I want to set a camera so what the camera sees is exactly what I see in the viewport. I know that Ctrl+Alt+Numpad0 will move the camera to my 3D Viewport location, but it also severely crops the ...
2
votes
0answers
141 views

how to draw name infront of Mesh data ID UI

layout.template_ID(obj, "data") I assumed on could add , text="" inside the brackets but it seems not to work ...
-3
votes
2answers
402 views

File - Import Export menu is dangerous

Twice when I have wanted to import an object, I have inadvertently gone to the export menu and exported a empty object over the mesh that i want to import. Now my work is gone. Is there a way to edit ...
3
votes
1answer
767 views

Syntax for operator Make Single User using the mesh data block

so imagine you have two objects but they are linked so it is one mesh data block The following command should make the cubes single users so that the mesh data blocks are not shared but it doesnt do ...
0
votes
1answer
196 views

how to make everything be turned off for Cycles Ray Visibility?

The UI from UI.py generates all those check boxes ...
0
votes
1answer
916 views

Confused about how to define a class

This is how I sofar define a class for a panel inside the tool shelve. ...
0
votes
1answer
406 views

How to add transparency/alpha (material) value slider + viewport color

Sofar I replicated all the needed shading tools for an object inside the tool shelve. The transparency function however only makes sense when the UI also allows you to change the alpha value which is ...
1
vote
1answer
51 views

Why does defining a value make the script break when the value is not even used

The script works perfect ...
1
vote
1answer
157 views

Why can I not edit the Mesh name in field created with row.prop(obj, “data”)

With the following code I can read out the name of a mesh data block. row.prop(obj, "data") And with the following code I can read out the name of the object. <...
2
votes
1answer
163 views

How to retreive the hotkey of a function/tool?

I want to print the hotkeys for some tools in the console. How can I retreive the hotkey for let's say the circle select tool, or the hotkey for rotating the viewport with python? Note that I do not ...
1
vote
0answers
21 views

How do I get rid of these added “windows”? [duplicate]

I accidentally created far too many of these window-type things. It's literally the same view like 5 times... (I don't know what they are called - I apologize!) How do I get rid of them?
1
vote
3answers
823 views

How to set a context value

Smooth Shade is a simple command one can call via: row.operator("object.shade_smooth", text="Smooth", icon="SMOOTHCURVE") But how to you set a auto smooth to <...
3
votes
1answer
221 views

How to extract commands such as single dupliverts

To my understanding now Blender has many single commands that can be run via python commands and those commands are embedded into UI scripts. For example the command for Duplication. ...
3
votes
2answers
2k views

Floating UI window in 3D view

One can show the modifier stack inside the tool shelve. But would it be possible to show this inside a floating window? F6 opens a window with options of the last command but the window always goes ...
8
votes
1answer
2k views

Tiny GUI buttons and text on high resolution monitor [duplicate]

I recently downloaded blender but when I run the program it is full screen but the nav bars are very small including text and icons. I don't know if its anything to do with the fact my monitor is 4K, ...
1
vote
1answer
790 views

Tab key sometimes switches between Object/Edit mode, but sometimes between Weight Paint/Edit

Normally, when I hit Tab while in Edit mode, I switch to Object mode, and vice versa. However, at seemingly-random times, I will hit Tab in Edit mode and instead switch to Weight Paint. Hitting Tab ...
2
votes
1answer
629 views

How to make Modifier panel visible in Toolshelve

...
1
vote
1answer
630 views

How can I add/remove code, through code, at runtime?

I have a panel setup to do a whole bunch of stuff for a laptop model. I want it to have a system where you can add/remove a 'controller' as you would background images. I have the UI setup with the ...
3
votes
2answers
2k views

How can I change the default render directory to a relative directory?

By default, Blender renders into /temp. How I can I make it render into a a subdirectory of wherever my .blend is, like //rendered_video\
1
vote
1answer
482 views

AddObjectHelper, PointerProperty and Draw Method

I am writing an Add Mesh Operator by sub-classing the bpy.types.Operator and bpy_extras.object_utils.AddObjectHelper. As my ...

1
26 27
28
29 30
39