Mendel microswitch/opto holder in OpenSCAD w nut traps
This is a modification of the Y bar clamps and comes with a shelf sticking out of it to stick optical or mechanical limit sensors on It clamps onto 8mm or 516 rod for those who still work in old money ...