If I print the way it’s shown it is more brittle in the flexing between layers. I can print on the side but then I have all of the supports to clean off.
I’ve had to print a similar part for my dishwasher. In my case, it holds on the rollers for the top rack. Over time, three of the four of these clips have failed and I’ve had to 3D print replacements. Due to the heat in the dishwasher, I printed my rollers in ASA.
For many tubular items you want to print on their side, you can just clip one side flat, and the part will work just fine. For your part, it might look like:
Since the two parts are to be glued, you no longer need the hollow interior and the relief cuts. The barb can be printed on it side for strength. If you really wanted to get fancy, you could have the disk threaded on the rod.
That’s so funny I’ve had to make these too for my dishwasher! I printed mine in polycarbonate but PETG might be a good bet if you print it hot. There’s not to much stress on it during the wash so you could get pretty close to Tg and be ok. That washer soap is pretty rough stuff so you want really good layer bonding.
This is the rail clip that I printed. You can see the tabs on the original (grey) are broken, there used to be 3. The blue part clips in okay though and prints quickly and easily
That was my initial thought, but on thinking about it I would be tempted to make two half pins and use the second one to lock the first one in place. Don’t forget to add enough perimeter walls so that there will be no infill needed.
Funny how many Dishwasher parts break. Perhaps it is the harsh environment versus a nice profit stream of after market parts. I will have to experiment with some other materials.