I needed a bed I can toggle to open the door of the balcony.
the rotation is manual, and it's made by a 6mm metal screw.
you can see the real result.
for the one likes virtual result, you can open the google.SketchUp file with the real measures.
PS: don't forget the 5th leg as it is shown in GoogleSketchUp file, if you miss it, the bed can toggle
when you're moving on the wrong part!