This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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 |
NewerOlder