Overriding base operators in Blender 3.5 Python API is disabled
Since Blender 3.5 version, the Python API does not allow overriding base operators.
Overriding base operators in Blender 3.5 Python API is disabledRead More »
Since Blender 3.5 version, the Python API does not allow overriding base operators.
Overriding base operators in Blender 3.5 Python API is disabledRead More »
For quick and rough checking of two objects geometry intersections, bounding objects are usually used – spheres or parallelograms in which all points of the object are inscribed. Bounding object intersections are often inaccurate, but they are very efficient in terms of speed. One of the types of bounding objects is AABB (Axis Aligned Bounding Box) – a parallelogram aligned with the global coordinate axes.
For quickly finding and selecting objects that do not have materials, we can use the Blender Python API and write a script consisting of just a few lines.
The convex_hull() function allows us to create a convex hull for a mesh – a shape that completely encloses the mesh at its extreme points. With its help, we can quickly build simplified models from complex meshes.
To make changes to menus in Blender UI, for example, add new items or overriding the menu completely, we first need to know the class of the menu which we need to change.
Mostly often Blender add-on developers use icons from Blender built-in library to personalize UI buttons. However, absolutely any external images can be uploaded and used as icons in the UI.
If we need to find and select all objects in the scene whose UV-Map map name matches the specified one, we can do this using the Blender Python API.
When working with a complex scene with many objects, the synchronization of meshes visibility could be lost between the scene in the viewport area and the render. With just a few lines of code, we can quickly synchronize objects visibility in the viewport and on the final render.
Fast synchronization objects visibility in the viewport and for renderingRead More »
The position of the point from which we look at the scene in the 3D viewport area can be controlled through the Blender Python API. We can read the coordinates of this point and the direction of view from the viewport, and also set the values we need for them.
Not all actions made with the Blender Python API cause Blender to immediately redraw the screen. Therefore, quite often it is necessary to force a screen refresh so that the user immediately sees all the changes.