All Questions
22
questions
0
votes
1
answer
29
views
Why 2D Gizmo disappears when running Modal Operator?
I would like to know why 2D Gizmos disappear when running a modal operator using them?
Here is a trivial example of a code that creates a gizmo in 3d view and by clicking it and dragging we can move ...
1
vote
1
answer
81
views
Can the blender api be used to create alternate viewport control modes
I am trying to build a workflow for painting equirectangular images. (I would pirate photoshop as I know it can do this but I am averse to running proprietary software)
As seen in the image below I ...
1
vote
0
answers
268
views
What is area region type HUD and where to find?
In Blender API (3.4) I can see that HUD is a Floating Region
Region Type Items > HUD: Floating Region
Region Type Items
and attribute show_region_hud is ...
2
votes
0
answers
140
views
How can I iterate and print all elements of a Menu (not objects or elements on scene)?
I'm having this little problem that is already costing me more than 24h of research hahaha. I didn't find the answer in any forum and I can't solve it myself in blender.
My question is quite simple.
I ...
0
votes
0
answers
282
views
How to create a new blank empty area?
I would like to remove the area, yet leave the screen itself(red box) and create a whole new empty black area(light blue area) in that screen for making my own editor type. I've looking for awhile in ...
0
votes
0
answers
140
views
How to add item to object parent popup menu in Blender >= 3.0
I am able to add an operator to the Object > Parent menu in the 3D Viewport, however; I would like to add the operator to the ...
1
vote
2
answers
591
views
What's the value of sensor width for a default 3D View?
I'd like to calculate FOV in degrees of the default 3D Viewport (not a camera). According to this link the formula requires me to provide sensor width and focal length. Focal length can be seen in the ...
1
vote
1
answer
184
views
How do I access the shading type in a message bus handler for Viewport Shading Mode changes?
I'm trying to register a msgbus handler for a callback that is called when the View3D area's shading mode changes. I know from testing with this class that ...
4
votes
1
answer
202
views
How do I change viewport alignment of newly created objects with a python command?
I'm making a custom pie menu with a pie editor addon and wanted to have some buttons with options that will let me change the default alignment of newly created objects from "world", "...
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
4
votes
1
answer
1k
views
2
votes
0
answers
2k
views
How the Blender 3D 2.8x Graphical User Interface is Made?
I want to know all the processes, functioning, involved languages, examples of code, and URLs to official sites with updated information if possible.
NOTE: I'm not a programmer. I just want to know ...
1
vote
0
answers
143
views
Draw axis guid line via Python in Blender
I write a little addon that reset location by a single axis (X, Y or Z).
I want to add the possibility to view axis guide line in 3d viewport when you select one. Like you have in transformations(move,...
1
vote
0
answers
317
views
How to change the order of a custom function added in the dropdown menu in the header region in 2.81 with python
The duplicate post doesn't address the items in the dropdown. Only the bpy.types. The dropdown isn't part of that.
I'm have added a custom function to the face dropdown in the header region when in ...
1
vote
1
answer
705
views
Recreating toggle shading mode hotkeys in 2.8
I'm preparing myself to transition to 2.8, and I need help to recreate hotkeys removed in this version.
Before 2.8 you could use Shift+z to toggle the Rendered mode in the 3D view. The python for ...