Linked Questions

3
votes
1answer
605 views

How to wait for an operation - to another operator - to complete within an operator (import_scene)

Besides the point but why is this not working as a default stack is expected to work? I'm trying to get an operator to call another operator and wait for the operator's response before proceeding. ...
0
votes
1answer
465 views

Render layer selection when rendering via python

I'm working on a script that renders certain render layers defined in the operator. The script is supposed to make a list of currently enabled render layers, disable all of them, and then enable the ...
0
votes
2answers
126 views

How to get the usual render window behavior when using the render operator for multiple frames?

I have been trying to get a custom render button to work. The purpose is to render all markers in a timeline. There are examples that use handlers but I could not make it work properly: ...
0
votes
1answer
90 views

Creating dynamic animation in blender using python scripts

I am new to blender and python scripting in blender, so please forgive me if I am being vague because I have no idea where to start. Currently I am working on a project whose output I wanted to show ...
2
votes
3answers
534 views

stop render from console?

What I'm doing: Running a script from the Scripting workspace in Blender UI. What the script does: There is a main 'for loop' that append objects one by one from another .blend file and render them ...
0
votes
0answers
44 views

for Loop stop with when previewing render progress [duplicate]

I have been attempting to create a simple add-on to assist non-3D colleagues. Part of the plugin uses markers as filename during the render sequence. Below is the code that I use to render and save ...
2
votes
1answer
586 views

How to wait the finish of the bpy.ops.render.render('INVOKE_DEFAULT',animation=False, write_still=True)?

What interests me is basically to stop the execution of my code until the end of the render but at the same time view the progress of the render, considering that the possibility of the "ESC" key that ...
1
vote
1answer
374 views

How to interrupt a rendering which is not displayed in the UI to interact with?

I created a script that renders and saves the selected objects. The script is quite large and I don't think it is necessary to post it completely. ...
1
vote
0answers
32 views

Multiple renders issues: render_pre handler do not set render borders before rendering

I am doing multiple renders using this template: https://blender.stackexchange.com/a/71830/66604. Method 'pre' should be executed before every render - and it is, for example then I am setting render ...
2
votes
2answers
566 views

How to animate the render size?

I have a lot of camera background images for reference in an architectural project. I made an animation where, for each frame: The camera position is defined, corresponding to one of the images the ...
1
vote
0answers
408 views

Unable to store renderings in OpenEXR when using the multiprocessing in Python (Blender freezes) [closed]

I am trying to render depth maps and surface Normals using Cycles and store the results in OpenEXR format using nodes. I make a Blender class and set up the nodes as follow using Blender's Python API: ...
2
votes
1answer
903 views

bpy.ops.render.render() freezes Blender when used in an addon

I'm trying to build an addon that makes it possible to batch render using Cycles directly from the UI. I've started from a script find a while ago here but I cannot find anymore to link for reference. ...
5
votes
1answer
388 views

Best way to change a value between render layers?

I have a setup where I am re-rendering the same geometry on several different layers. I want to change a property in the geometry's material before each layer runs (probably via a driver). The goal is ...
1
vote
0answers
285 views

Python render freezes the GUI [duplicate]

i'm new to python, trying to write a little compositing and rendering addon. One of its fonction is to add a button with rendering a still and writing the render and all the file outputs renders in ...