tm_shape function

Specify the shape object