Linked Questions

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
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
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
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
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
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
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
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
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
2 votes
1 answer
801 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
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
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
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

15 30 50 per page