Advice for managing folding table legs

https://lemmy.world/post/19577957

Advice for managing folding table legs - Lemmy.World

Noob here I have a wooden sheet of plywood that acts as a protective topper for an outdoor bath tub (don’t ask). I’m looking for a way to add folding legs to the underside that will rest in the bath tub when the topper is on, and fold out to form a table sitting alongside the bathtub while it’s in use

To be clear, the legs would support the topper when it’s positioned over the tub, and also support the topper when it’s beside the tub? If that’s the case, do the legs really need to fold away? Would fixed legs be acceptable? Or is there a requirement that the legs be foldable to provide clearance over the edge of the tub?
Apologies for lack of clarity. Currently the topper just rests upon the top of the bath. I’m thinking folding legs are necessary as the internal depth of the bath is only 43cm (16.9 inches) so if they don’t fold it would be rather short

Does it need to be folding? What if you borrowed the leg idea from something like this?

youtu.be/l2C5NRS1uLE

- YouTube

Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.

I’ll take a look, thanks

Hmm. If I’m visualizing this correctly, and depending on the size of the table . . .

Two pairs of legs with stretchers in between, on pivots that allow them to fold up agains the bottom of the table, slighly offset so that the legs end up alongside each other when folded instead of interfering. If you want them to touch the bottom of the tub, set them up to fold at the “knees” rather than the “thigh”, if you see what I mean. The difficult part is figuring out how to secure them in the extended position. If you’re okay with putting in a couple of bolts whenever you unfold, you could add a couple of supports that link the stretchers to the underside of the table at an angle (pivot at the other end again). Or you could attach a length of wood to one stretcher with a pivot and notch the other end so that when the table is unfolded, it drops over the other stretcher and forms a tight cross half-lap joint.

All this requires gluing or screwing hinges or bits of wood pierced for dowels or screws to the bottom of the table to form the pivots.