Skip to main content

All Questions

Tagged with
0 votes
0 answers
34 views

Force Viewport Visibility to Respect Render Visibility

I use the viewport render to do all my look dev, and lighting, so I make things enabled or disabled based on what I need for that render layer/scene. But of course when I go to actually render the ...
timdan's user avatar
  • 23
0 votes
1 answer
1k views

Render a 3d viewport and save using Python

I need to render a 3d viewport and save it. I use this command bpy.ops.render.render(use_viewport = True, write_still=True) but this option not work ...
Andrii's user avatar
  • 1
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
cak3_lover's user avatar
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 ...
Shahid Hafiz's user avatar
0 votes
0 answers
50 views

Shapekey driver miscalculates during playback and render?

video example, slightly NSFW I am using corrective shapekeys for my ankles (see video link above). The driver expression is the angle between two bone vectors. Blender does notify me that it's "...
ITSME hello's user avatar
4 votes
1 answer
492 views

Optimal renders of the same scene from multiple cameras

I am using Cycles with OptiX to render a lot of different camera angles of the same scene. Using code like: ...
Damian Trebilco's user avatar
1 vote
1 answer
1k views

How can I do a render of the 3D Viewport, in Python, so it uses the shading style I've selected?

I've found that I can't change the normal rendering, from a camera, to WIREFRAME, SOLID, or anything but RENDERED. (Actually, there isn't a setting to change, it just goes to RENDERED.) In the Python ...
Tango's user avatar
  • 511
3 votes
0 answers
1k views

Viewport Render results from Python

I have a python script that receives data over a socket and uses that data to update a scene. The resulting render of that scene then needs to be sent to an output socket. This needs to occur in ...
EMon's user avatar
  • 131
2 votes
1 answer
1k views

How to force update the 3d view port in blender during python file execution

I am trying to connect a physical robot arm with its digital replica using blender I am able to communicate between the two using MQTT but the changes in blender are reflected only when the python ...
aishwarya's user avatar
0 votes
1 answer
894 views

Automate random shape generator and export viewport render with python

I originally thought I could just keyframe and export the animation of the 'random seed' property of the addon but blender just gives me an error: "random_seed" property cannot be animated Now I'm ...
Timothy M's user avatar
4 votes
1 answer
4k views

Change active View Layer with Python

I'm currently trying to figure out how i can change the active view layer with python. The change to 2.8 made sourcing for documentation quite difficult. I'd be thankfull for any help!
Chris's user avatar
  • 865
18 votes
2 answers
13k views

How to automatically fit the camera to objects in the view?

I'm using blender to render avatar and avatar accessories on a website, however there is a problem, when a hat, or accessory is made a bit large, the it doesn't fit in the viewport, is there anyway to ...
slixxed's user avatar
  • 183
5 votes
1 answer
454 views

3D view rendering in the background

I'm writing an addon, which let the user the option to see the dynamics of its data. The user can create an offline movie, or try to run it online. In this addon, there is quite a complex mesh, with ...
Noam Peled's user avatar
1 vote
1 answer
361 views

Turn off the headers for the rendered window

I am using python script to render the image. I only want to show the IMAGE_EDITOR area( I think the rendered image gets shown in IMAGE_EDITOR area). It should show only the rendered image. So ...
iamkhush's user avatar
  • 305
13 votes
4 answers
19k views

How to toggle visibible / selectable / renderable for multiple objects?

For quite long time, I was looking for a faster way to toggle (or toggle off) visible / selectable and renderable for many objects, as illustrated below: I know we can do the relatively quick select ...
Leon Cheung's user avatar
  • 27.9k