Hinge from edge

I was looking up videos about 3ds max yesterday randomly and found this http://www.youtube.com/watch?v=HlvIfbQmM2s is there a way to do this or fake this in blender?

Spin tool does pretty much the same.

I have tried the spin tool doesn`t quite get the results but will try again

EDIT: Nevermind works really well