Featured post

new redirect for blender.org bpy docs.

http://www.blender.org/api/blender_python_api_current/ As of 10/11 november 2015 we can now link to the current api docs and not be worr...

August 22, 2011


This multiplies the coordinates as found in the object data with the world matrix of that object. Essentially giving the world coordinate of any selected vertex, even when the object origin is not at the world origin.

Further reading

  • http://db-in.com/blog/2011/04/cameras-on-opengl-es-2-x/


  1. thanks for sharing, is it possible to get world co-ordinates of a pose bone in armature.? ultimately i wanted to align two bones via python. any ideas?

    1. I don't know but there is only one way to find out.

      My advice to you is to make a small .blend with the most basic setup (keep it simple and small) that would allow you to write a script to align two bones. Then experiment with getting world co-ordinates from a pose bone in armature. If you have some familiarity with Python in blender you should be able to find the correct functions, but sometimes doing a search in the blender wiki API documents is faster.

      You can paste your demo .blend at www.pasteall.com (run by blender heads), so if you really don't get anywhere I am happy to take a look.

  2. thanks for support, i am gradually getting familiarity with bpy. its taking time. one thing which i can't get hold of is.
    1- i have a simple empty with translation data (fcurves on xyz channels)
    2- i want to transfer this to root bone of rigify rig
    i will setup a simple file and put it on pasteall.com for you to have a look with my sample code.
    huge thanks for support. this will really help.
    regards, lala


Please use Blender.StackExchange.com for python scripting questions unrelated to this post.