This is my Expressi (Krüger Kaffee / ALDI) Coffee cap holder I once designed. Maybe it also works for different types. You need four 10x3mm magnets. There will be a magnetic enclosed version soon (with print pause for inserting the magnets. they are then enclosed when the print is resumed).
You shall not share, sub-license, sell, rent, host, transfer, or distribute in any way the digital or 3D printed versions of this object, nor any other derivative work of this object in its digital or physical format (including - but not limited to - remixes of this object, and hosting on other digital platforms). The objects may not be used without permission in any way whatsoever in which you charge money, or collect fees.