I have asked for this before. The correct term is a Travel Matte. Uses a lot of horsepower to accomplish.

However with the advent of mapping onto 3d objects I was wondering if mapping onto the shape you want extruded in 3d with a very slight thickness might get the desired effect?

Cheers

Toby