All Questions
237
questions
2
votes
0
answers
408
views
3D world to 2D image transformation with equidistant camera model
I'm currently implementing a simulation, where a 3D point needs to be transformed to a fisheye image with the equivalent of Blenders 'PANO' camera and the equidistant camera model. Does anyone know ...
0
votes
3
answers
1k
views
Hide Unhide armature in viewport hotkey
I'm making the switch from Maya to Blender, but one thing that I couldn't find is to assign a hotkey to hide and unhide an armature in the viewport. I don't like the visual clutter and as an animator ...
2
votes
1
answer
237
views
EXCEPTION_ACCESS_VIOLATION when running python in background mode and calling region_3d.update()
I need to run a python script in background mode, without GUI.
The purpose is to unwrap uv from top view of some loaded object & texture.
To do that, I use the ...
2
votes
1
answer
244
views
How to keep the same zoom level?
How do I keep the same zoom level such that the image resolution is always the same?
i.e. when I change the viewport size the zoom level should stay the same
for example if this is my view:
when I ...
0
votes
1
answer
119
views
region_3d.view_distance not updating until next modal event
The code below runs a modal operator that gets the region_3d.view_distance and prints it out. If you run it you'll notice that the ...
0
votes
0
answers
31
views
Query if Hide Selected is enabled via Python
Is there a way to query if the Hide Selected is currently enabled on the model?
I would like to query that with a Python script.
Select a face of a mesh and press H. I want to know if I am in that ...
0
votes
0
answers
78
views
How to directly store Blender File Images Externally?
I'm using this answer to generate images from view port
but is there a way to directly externally store/generate this image?
and by that I mean NOT having to manually save them through Image Editor
0
votes
1
answer
50
views
Python script in start up folder to set 3d viewport shading doesnt work
I am running the following python script to convert 3dview to rendered view, which works fine in the scripting editor but not if run from the startup folder which reports the following type error ...
0
votes
1
answer
34
views
Viewport Z rotation relative to 3D cursor
I'm trying to append an object so that it is placed at the 3D cursor and rotated in the Z axis so that it is facing the viewport. I can set the location easily like this:
...
1
vote
2
answers
168
views
Alternative to modal operators (blocked autosave)?
I am coding an addon, where a specific feature draws a small 2D overlay into the viewport via the draw handlers. While this works fine, I want this overlay to react when the user hovers the mouse over ...
3
votes
1
answer
128
views
Fully clearing a Clipping Border
I've written some code that creates a clipping region using bpy.ops.view3d.clip_border(..) then to clear the clipping region I call bpy.ops.view3d.clip_border() again (with no values). This clears the ...
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 ...
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.
...
2
votes
1
answer
657
views
How to put a keyframe on render visibility through python on blender
I'm trying to automate an application that involves a lot of objects appearing and disappearing, then a thought in using python to do this bot I don't know the specific command to create a keyframe ...