def text_2d_to_3d(obj, z=0, zdir=u'z'):
 obj.__class__ = Text3D
 obj.set_3d_properties(z, zdir)

def text_2d_to_3d ( obj , z = 0 , zdir = u'z' ) : obj . __class__ = Text3D obj . set_3d_properties ( z , zdir )
convert a text to a text3d object .