All Questions
17
questions
0
votes
1
answer
24
views
Blender Addon Question - Change World Color
Is there a way to add an option to change the World Surface Color and Strength settings via a button?
I already coded out the panel and everything, but maybe it's just based on the specific context, ...
2
votes
2
answers
87
views
How do I grab the header in an area?
I want to delete a context of an area except the header but there's no header method inside of bpy.context.window.screen.areas.
...
0
votes
1
answer
122
views
How to add images to a deck of cards in an automated way?
I am adding png to material for each Plane Object, problem is I have 1000 of these plane objects for 1000 images to import for each one.
Is there an addons or script I could use for that please ...
1
vote
1
answer
166
views
Specify Ortho View instead of Toggling
View > Perspective/Orthographic (Numpad 5) allows you to toggle between them. I'd like to specify Ortho without toggling, using python.
Here is what I have so far:
...
1
vote
0
answers
182
views
Can python callbacks be registered on viewport user actions?
Is it possible to have python callbacks invoked when a user does something like select an object, bone, vertex, etc...?
For example, imagine a FK/IK setup where clicking on certain bones trigger the ...
2
votes
1
answer
950
views
How to toggle(Open/Close) `T` or `N` Panel in 3D view Using Python
I want to hide or show blender T and N panel using Python.
From This
To This
0
votes
1
answer
237
views
Is it possible to add a sub panel into a redo panel?
Is it possible to add a sub panel into a redo panel? If so, any kind of example, tutorial, link etc would be highly appreciated.
3
votes
1
answer
320
views
How to call bpy.ops.view3d.cursor3d() from another operator?
I want to set the 3d cursor location using bpy.ops.view3d.cursor3d() operator before calling my own operator with a shortcut.
This is what I have tried-
...
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 ...
1
vote
1
answer
873
views
HIDE_HEADER in bl_options over rides the panel location in the UI
I am assembling my first add-on and I have a particular order I would like my panels to stay in inside the UI. This is easily done by rearranging the order in which each panel is registered.
However, ...
4
votes
0
answers
445
views
How to check if mouse is in View3D Window from modal operator (2.80)
In the context of a modal operator, I would like to perform an operation when the left mouse button is clicked in the VIEW_3D area, ...
0
votes
0
answers
327
views
Python 2.8 custom texture painting active tool
I'm working on a addon that has a custom active tool in the viewport. This tool is supposed to allow you to do basic texture painting, while at the same time doing some other stuff.
My problem is, ...
1
vote
1
answer
332
views
Why does my custom addon panel gets deleted after I press x to delete objects in my scene?
Trying to write a beginner addon in 2.8 that takes an input row and column variable, and then creates a row xcolumn calendar. My code worked, but my addon kept disappearing after I press "x" to delete ...
2
votes
0
answers
431
views
How do I draw a square in the viewport using python and use it to create a plane?
This is kind of like how the mesh carver draws a square to cut into objects in blender. But I like to do this in edit mode using the 3d cursor as the creation point, of course.
1
vote
0
answers
120
views
Restrict movement of objects or verts during G S R with python
I want to fool around with the selected objects/verts while doing GSR, mostly translate. A bit like a constraint. Is there a tutorial out there on doing that?
Main problem: What would be the right ...