Creating UV seams using the Blender Python API
We can mark and clear UV seams on the mesh geometry either manually, with the Mark Seam/Clear Seam operator, or using the Blender Python API.
We can mark and clear UV seams on the mesh geometry either manually, with the Mark Seam/Clear Seam operator, or using the Blender Python API.
In Blender, when we using the Subdivision Surface modifier, the Mean Crease parameter is used to control the stiffness of the smoothed edges. The Mean Crease value can be set via the standard UI in the N-panel, or using the Python API.
Managing the Mean Crease parameter for edges using Blender Python APIRead More »
Commonly, when a user executes an operator in Blender, this event is automatically recorded in the “Undo History” list so that in the future he can quickly undo the execution of the operator (Ctrl + z) or execute it again – redo the operator execution (Ctrl + shift + z). However, this does not always work.
With the Blender Python API, we can work not only with scene objects, but also with the user interface (UI). For example, we can save and restore the position of the 3D Viewport in the scene.
The easiest way to create new inputs and outputs for node groups is to press the plus button in the node group editing mode (tab) on the N-panel on the “Group” section. However, when creating node groups using the Blender Python API, this method is not available.
Creating Inputs and Outputs for Node Groups in Blender 3.6 using the Python APIRead More »
By default, shader nodes in Blender have all input and output sockets in the shape of a circle. However, if necessary, the shape of the socket can be changed.
In Blender when assigning custom properties to vertices using the bmesh layer system, this data can then be accessed directly from the object, through its attributes.
Accessing custom vertex properties created using bmeshRead More »
There are several modes in Blender for hiding objects: common hiding, hiding for all scenes and view layers, and hiding for render. Any of these modes can be enabled or disabled using the Blender Python API.
In order to move mesh vertices using the Blender Python API without leaving EDIT mode we need to use bmesh structure. With it, we can conveniently manipulate all the geometry of the object.
One of the simplest methods of pre-checking whether two objects intersect in space is to check collisions of their bounding objects, in particular AABB (Axis Aligned Bounding Box).