Blender

Moving origin to selection – wrapping to an add-on

Last time, we wrote a small script to quickly move an object’s origin to the center of a selection. Now, we can perform this operation quickly, but we need to keep an additional area open with the script text. To avoid this inconvenience, we can turn our script into an add-on and assign it to a convenient key bind.

Moving origin to selection in Blender

Moving the center point of a mesh (the origin) to the current selection is one of the routine operations when modeling in Blender. However, there’s no base operator for this in Blender, and it usually has to be performed in several steps: moving the 3D cursor to the center of the selection, moving the origin to the 3D cursor, and then, if necessary, returning the 3D cursor to its original position. All these operations can be combined in a simple script and performed in a single click.

GN_Menu add-on for Blender

The “GN-Menu” add-on for Blender adds a set of buttons to the user panel (N-panel) for conveniently adding geometry nodes with the mouse, eliminating the need for the “Shift + a” shortcut and node searching. This add-on is convenient for “mouse users”—those who prefer to work in Blender primarily with the mouse rather than the keyboard.

Add-on author: Alexey Maslov.

Converting a Mesh to a Bezier Curve

To convert any flat mesh to a Bezier curve, we need to perform several operations: first, convert the mesh to a curve, then convert its points to Bezier format (with “handles”), and, optionally, recalculate the number of control points to remove points that don’t affect the curves shape. All of this can be done in a single-click with the help of a simple script.