Linked Questions

5 votes
1 answer
3k views

Is there a quick way to set the origin to the "bottom centre"? [duplicate]

From my experience, it seems that a lot of times when I scaling an object, I would want the bottom of the object stays as it is. For example, think about scaling a lamp on a desk. If I scale the lamp, ...
Damn Vegetables's user avatar
2 votes
1 answer
802 views

Move pivot to bottom or top of object/selection [duplicate]

Sorry if this has been asked many times but I couldnt find the answer that I was looking for. Coming from Max I used to have scripts that would place the pivot to the left, right, top or bottom of an ...
JeeperCreeper's user avatar
1 vote
0 answers
234 views

Blender 2.81 - Moving the origin of multiple selected objects to the median point of their base [duplicate]

There has been a similar question back in 2015 which was answered here: Set origin to bottom center of multiple objects However time has passed and those scripts no longer seem to be working. Here's ...
John 514's user avatar
0 votes
0 answers
38 views

Using python to move the origin of a selected object to the bottom center of itself [duplicate]

new to python and scripting in blender and i cant seem to figure out out to move the origin of an object using python. Also, what would be the best way to calculate the center and bottom of a mesh? ...
TYLRwithspaces's user avatar
16 votes
4 answers
3k views

Replace matrix @ vector list comprehensions with something more efficient

I'm looking to replace list comprehensions like the following with something more efficient and I was wondering if numpy can be used. ...
MACHIN3's user avatar
  • 807
14 votes
2 answers
2k views

A comprehensive list of operator overrides

I feel like I'm always spending far too much time playing scripting whack-a-mole whenever I want to override an operator in one of my scripts. I'd like to build a comprehensive one-stop-shop list for ...
Gorgious's user avatar
  • 30.8k
7 votes
1 answer
10k views

How can you move the origin at the base of object? [duplicate]

How can you move the origin at the base of object and not set the origin to geometry ? (A follow-up question to this one: How can I place multiple objects on the mesh?)
qwerty2121's user avatar
6 votes
2 answers
3k views

Origins to the down of the object by default

Is there a way to make the origin of any new object appear by default at the lowest point of that object? The center of the lowest face for a cube, for example. It's very uncomfortable to transform ...
Wizarmoon's user avatar
  • 140
8 votes
1 answer
2k views

Object Transform Origin to Geometry Floor

I have about 400 different Plant models. I need the origin to be at the very bottom of the plant so I can plant them at the correct height when I export them to Unity. Is there a faster way to do this ...
AzulShiva's user avatar
  • 835
7 votes
1 answer
4k views

Is there a low level alternative for bpy.ops.object.origin_set()

When i want to move the Origin of an object by script, then i can do this as follows: ...
Gaia Clary's user avatar
  • 3,802
1 vote
2 answers
3k views

Setting mesh's origin in python (2.8)

If I create a cube, the origin is originally at the center of mass. I know how to move the origin to the center of one of its faces using the interface, but how can I do the same thing via Python?
Dazotaro's user avatar
  • 901
6 votes
1 answer
1k views

Translate object using lowest Z value python

I have an object located in the origin (0,0,0). I wonder how I can translate it along the z-axis where the lowest -z value of the object will be translated to z value 0 as shown below:
Tak's user avatar
  • 6,303
1 vote
2 answers
2k views

How can I move the pivot/gizmo to (0,0,0) in a Python script?

I'm brand new to python, and blender scripting. I'm just trying to make a simple script that will move my current selected object(s) pivot to (0,0,0) in world space -- ie. move it to the origin. I'm ...
Chris L's user avatar
  • 33
1 vote
1 answer
2k views

How do I change the axis reference point of an object?

I wanted to create a cone, but when I changed its dimensions, It randomly put the axis reference point at a weird location that makes the positioning of the object (using the numerical location tool) ...
Chipius's user avatar
  • 21
2 votes
1 answer
2k views

How Do I Move The Center Of My Model To The Blender Origin?

My first post! I'm completely new to Blender so you'll need to ELI5 I'm afraid lol I've created a model in SketchUp then exported it as an obj file so that I could UV Map it using UV Layout Pro. I'...
Harv Setterfield's user avatar
3 votes
1 answer
902 views

How to set origin points of multiple objects to a corner of their bounding boxes with Python?

So, I’m new to scripting in Blender but I do have a project which requires me to change the origins of all the meshes to minimum X, maximum Y and minimum Z coordinates of their bounding boxes so the ...
Burján Balázs's user avatar
3 votes
1 answer
396 views

How to add a submenu to "Object" -> "Set Origin"?

I tried to do the same thing as an existing answer but Under Object -> Set Origin. I mean, the Set Origin currently shows 5 ...
Damn Vegetables's user avatar
0 votes
4 answers
484 views

how to origin to geometry in one axis?

I have many objects with misaligned origin and different Z scale. My origin of each object is located on Z = 0m coordinate. Is there way how to move origin to the center of the object while keeping Z ...
barberik's user avatar
  • 129
0 votes
1 answer
163 views

Rotate object's matrix_world

I need to rotate the matrix_world of an object through a quaternion q without changing its actual rotation (i.e. rotation in world space). How to do that through a ...
Loma Harshana's user avatar
0 votes
1 answer
119 views

What is the best steps to snap the torus to floor level?

I create a basic torus and at default setting the torus will not lay on ground level (z=0). So i tried couple way to snap it to the floor and couldn't get the efficient way to do it. Can someone show ...
andio's user avatar
  • 2,104
0 votes
0 answers
92 views

Finding middle of relative bounding box

I'm trying to find the middle of a (2D) bounding box around an object (the dotted line on the picture). But I don't know how to get the extreme values of the object from this perspective. Would like ...
Joost's user avatar
  • 1
0 votes
1 answer
63 views

Set origin to Matrix_world bottom center of Lego bricks's bound box

I have a lego 3D objects, in blender 2.92.0. And I would to set the origin to Matrix_world bottom center of Lego bricks's bound box, then set all bricks to z = 0. I am a newbie in blender, so I'm ...
Makalu's user avatar
  • 1
0 votes
0 answers
21 views

If two objects have the same x,y,z position values why are they not in the same exact positon in 3D? [duplicate]

I have 2 cubes, one cube is 1x1x1 meters and the other is 2x2x2, how can I make the object position relative to the bottom face and not to the center of the cube so they both be in (0,0,0) at there ...
Raz Luvaton's user avatar