An add-on for Blender that makes it easy to move the origin of the selected object to the currently selected vertex/vertices, edge(s) or face(s).
The action is added to the bottom of the right-click menu shown in the 3D Viewport when editing the object.
The add-on handles multiple objects and will correctly move the origin to the centre of your selection—just like snap to selection for the 3D cursor.
Johan