I have built the circuit shown below and been testing it on a breadboard.
Everything works except the positive half clipping circuitry.
I need it to clip after 3.3V. It currently just clips below 0V, but a signal greater than 3.3V can still be seen. If I use 3.3V from a power bench instead of the inverting opamp circuit I used, which gets 3.3V from a 12V supply, then it works fine. So something is wrong with my inverting opamp circuitry, and I assume it has to do with not enough current to switch the diode on. How would I go about fixing this?