API

Creating controls for visually controlling the TimeLine start and end frames number in Blender

In general, gizmos looks like arrows and circles on a 3D object with which we can move, rotate and scale the mesh. However, in Blender, the gizmo object is more versatile and can be used to suit our needs in different workspaces. For example, we can create a gizmo to adjust the start and end points of the timeline.

Mirroring an object with custom normals correctly

To mirror an object along X, Y or Z axis in Blender the “Miror” operator is usually used. For example, to mirror an object along the global X axis, in the 3D viewport window menu we need to select: Object – Miror – X Global. Or we can do it simpler just applying a scale of -1 to the object along the desired axis: s – x – -1. However, if there are custom normals on the object, they are not recalculated, which subsequently causes the appearance of various artifacts.