Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
2 answers
51 views

Set Origin to a specific vertex

I need some help with my script. The main task is to move the origin to the position of a certain vertex. In theory this works quite well, but unfortunately the meshes are always moved after i run the ...
Knudsen's user avatar
  • 37
0 votes
0 answers
40 views

Keep Operator alive while ending transform?

I'm trying to make a simple blender script that does the following in one click: enables 'use_transform_data_origin' enables 'bpy.ops.transform.translate'. When 'bpy.ops.transform.translate' exited, ...
2nQrK1w5's user avatar
2 votes
1 answer
165 views

How to loop duplicate one object on top of all selected objects?

How to loop duplicate one object and translate the copy origin on top of the origin of all selected objects (origin position in the belonging objects unchanged) one by one with a python script? Edit ...
Mijeka's user avatar
  • 23
0 votes
4 answers
501 views

Script: set origin to selected vertex

I'm trying to write a quick script that will work on all selected objects: Start in object mode Go into edit mode Set the 3d cursor location to the selected vertices Go back to object mode Set the ...
Ebi's user avatar
  • 893
1 vote
1 answer
26 views

Batch set orientation of local axes on multyple objects?

I have a structure composed of many separeted cylenders (maybe later it will be more complexe mesh). And the local axes orientation of each cylender is wrong (based on global). I know how to set (...
Stef.hw's user avatar
  • 11
2 votes
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
  • 43
1 vote
1 answer
264 views

How to deselect origin center/ cursor blender with python?

Is there any method to deselect origin center/yellow dot, or make it inactive?
Andy Andy's user avatar
  • 331
1 vote
0 answers
158 views

Removing connection line between origin of curve and last point of curve

I'm new to Blender 2.8. I want to display a curve based on x, y, z data I got stored in a file. To load the curve I am using the following script, which I found in this forum. With TS_0084.dat being ...
blendernoob's user avatar
1 vote
0 answers
33 views

How to change camera origin for rendered image? [closed]

I would like to change the camera origin point from bottom left corner to the upper left corner with Y-axis pointing downwards. Is it possible to do it using python script?
Mohjomojo's user avatar
1 vote
1 answer
822 views

Why is object.origin_set(type='ORIGIN_CURSOR') not working?

...
Neuroup's user avatar
  • 31
1 vote
1 answer
639 views

Is there a way to set objects' origin points to be separated from each other at certain distance in Particles System(Hair)?

While I was watching Blender Guru video for 2.8 Blender, he set the origin point of 5 different sprinkles in Set origin to geometry. And it occurred to me that the overlapping problem with particle ...
Victor B's user avatar
1 vote
3 answers
1k views

how to print the centroid/origin of an object?

I am trying to re-center an object that I have imported into blender. I have set the object origin to the Center of Mass of the object, now I want to translate the object so its' center of mass is ...
Derek Eden's user avatar
2 votes
2 answers
1k views

Set object origin to minimum Z (set to floor) (using examples from @TLousky)

I'm working off examples found here: Getting global axis value of the vertex with the lowest value (and other from @georges and @tlousky, many thanks!) I'm working off a csv example and an 'set Z ...
pfraterdeus's user avatar
3 votes
2 answers
2k views

Center cursor in python script?

I am getting an error when trying to center the cursor in a python script ...
luii's user avatar
  • 228
2 votes
2 answers
1k views

move object without changing origin

I have an armature which has its origin at 0,0,0. I want to move the armature so that the lowest zvalue of it's bounding box is placed at 0,0,0 using python as shown below without changing the origin, ...
Tak's user avatar
  • 6,323