I forgot, some details about the dinette conversion.
I was looking into sliding pin locks like you see them on gates but was nervous that they would open up because of road and engine vibrations.
There must be fancy units around but right around that time I found a piece of 3/4" plywood with two hinges. The plywood piece became th etable / bed plank and the hinges became the locking pins.
The pin is 6MM. the SS nuts are drilled out 1/2-20 . They are tacked to the hinge and are more spacers then anything else. The handle is a SS M5 Allen screw. I bend the center hole of the hinge out and drilled an extra hole for mounting but did not put a screw in it yet.
So this locking pin mechanism is used for the table and also for the bed.
Drilled a 1/4" hole in the seat post of each dinette seat.
For the table support I had a piece of square 1" steel tubing laying around. Made an angle out of it and welded a 10MM SS shaft on each end. Drilled a hole in the bottom of the window tube for the upper pin and made a bracket for the lower pin. Screwed the bracket with Tech screw to the seat rail. So the table support can swing left or right flush with wall.
A small hole in the table and a little pin at the end of the table support arm interlock so that the arm can not swing while the table is in place.