I made this tool to improve work in cycles on the viewport.
This script automatically adjusts the render border, significantly improving render speed.
PLAY / STOP: This option automatically adjust the border every refreshing blender.
The limitation of this tool is the number of vertices in the scene, you can slow blender!
MANUAL SET: This option is suitable for large scenes. Sets the value of a click.
MARGIN: It sets a margin value for selected objects.
The tool works with selected objects.
If you do not select any object tool work on all objects on the screen.
This tool will be improved over time, but it can be used.
WARNING: This tool does not work for sequences render! for now
You can download it from my repository: https://github.com/oscurart/BlenderAddons and keep it updated!
This tool will be improved, but it can be used.