I have this object that I want to move along its local Y-axis with 1 blender unit. using bpy-ops.transform.translate(… it looks like it wants the x, y and z-coordinates for the object when there should be some easier way that only says “turn to your local Y-axis and move one unit”. How do I do this?
Also the problem is that I only know how to write the code that Blender gives me in the console. Is there a “interface-code” and a “script code” in blender? The code snippets seems unnecessarily long for basic scripting purposes.
Moving something and looking in the console gives me this hideous thing, but it is the only thing I’ve got currently.
bpy.ops.transform.translate(value=(2.23645, 4.0173, 0), constraint_axis=(False, True, False), constraint_orientation='LOCAL', mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH', proportional_size=1, snap=False, snap_target='CLOSEST', snap_point=(0, 0, 0), snap_align=False, snap_normal=(0, 0, 0), texture_space=False, release_confirm=False)