We create spherical surfaces often in the modeling workflow. It would seem that the sphere is the simplest object to model and any three-dimension editors, including the Blender, provides a default sphere in a set of basic primitives – just add it to the scene. However, is it really so easy to create a beautiful sphere?
2.78 release update.
Fixed 69 important bugs.
Blender add-on allows setting accurate coordinates for render border.
After add-on installation in T-bar additional “ARB” tab appears. On this tab, its possible to set accurate values for left-top and right-bottom render border corners coordinates in pixels. Coordinates establish relative to the render size (Properties — Render — Dimensions — Resolution). After pressing “Set Accurate Render Border” button render border determines in accordance with the entered values.Download
Add-on is a free and open source. If you want to support it – you can buy the add-on for a convenient price, or set the price to 0 to download it for free.
Blender has the ability to limit the scope of rendering – outlining a region the special render border and checking the Border checkbox on the Render – Dimensions tab in Properties window. If such frame is set – Blender render only a limited area of the image.
There are two ways to set render border via the Blender API:
All user-defined classes (panels, operators), registered in Blender API, exists only during Blender runs. After program close they are deleted from memory. Therefore, if some variables are defined in user classes, all of them will be reset after Blender restart.
However, sometimes it is necessary to use in Blender add-on variables with values that not be lost in the process of program restarting. To retain variables values, it needs to wrap them into special class – property, and attach to any object whose properties are stored in * .blend file.
User defined operator classes, inherited from bpy.types.Operator, are static. Accordingly, only static variables can be defined in them.
Static variable sampleVar definition in SampleClass class:
bl_idname = "sample.sample_class"
sampleVar = 5
def execute(self, context):
self.__class__.sampleVar += 1
SampleClass.sampleVar += 1
Blender 2.78 release.
Available for download from the official site.