Skip to content

Instantly share code, notes, and snippets.

View hariedo's full-sized avatar

Ed Halley hariedo

View GitHub Profile
#
# Object > Set Mesh Origin to Bottom
# A python script compatible with Blender 2.90 API.
#
# Takes the currently selected mesh-type objects,
# and moves the object origin location to the "bottom" of the mesh.
# The bottom is calculated as the average X and Y and the minimum Z.
#
# This is useful in 3D Printing, for example, when importing published
# STL geometry files. Typically the bottom of the shape is flat and