Pick a dosing funnel or a tamper stand, enter your basket diameter and print. The funnel has a spigot for the basket, a flange on the portafilter rim and optional magnet pockets. The stand has one or two cups for tools.

The gap on each side between the basket (or tamper) and the print.
The pockets are on the underside of the flange. Press the magnets in after printing and check the polarity.
The STL/3MF file from the generator is free to download. Here you order a print that we make for you. The price is worked out live for this model.
Indicative price. After you order we check the model and confirm the quote, usually within 24 h.
Paste it e.g. into a video description - anyone opens the same design.
Short tutorials from my BnB3D channel (Polish audio, English subtitles).
Affiliate links: if you buy something I get a small commission, and you pay the same. As an Amazon Associate I earn from qualifying purchases.
The usual sizes are 51, 53, 54 and 58 mm. According to the Complete Home Barista guide, 51 mm is for example the DeLonghi Dedica, 54 mm the Breville Barista Express and Bambino, and 58 mm E61-style machines. Still, measure your own basket with calipers, because the real diameter can differ.
The spigot goes into the basket with a small clearance and the flange rests on the rim. If the portafilter is steel you can add 3 or 4 magnets in the underside of the flange.
Coffee is dry but contains oils that can collect in the gaps between layers. Print in PETG, wash by hand and treat the funnel as an accessory with a limited life. The generator gives no food-contact certification.
The tamper stands in it steadily on its base, so it does not roll on the counter. The cup diameter is the basket diameter plus clearance. A second, optional cup holds another tool.
A wide mouth lets you pour the coffee in without spilling, while the narrow spigot finds the basket. You set the mouth diameter and the cone height yourself.