Free Idea #11: Full Stop. Clamps onto the bath spout like a seesaw: as the bath fills, a float lifts one end and the other pushes the tap's lever down. A dial sets how full. Works when the spout sits close to the rim. Not physically tested and no replacement for the overflow.
Export to STEP, STL, GLB, or DXF, depending on the model.