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 ...
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 ...
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. ...
486 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 ...
164 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 ...
1 vote
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?
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 ...
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 ...
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?)
398 views

I tried to do the same thing as an existing answer but Under Object -> Set Origin. I mean, the Set Origin currently shows 5 ...
1 vote
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 ...
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, ...
803 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 ...
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? ...