I designed this wall shelf to hold the charger for a cordless drill/driver. For strength, mount the center bottom hole through a wall stud, then you can use any kind of wall anchor for the 2 side holes. The mounting holes are sized for #8 wood screws.
There are 2 variations: one has a full rectangular shelf (not pictured), the other has a notch in the front to reduce filament and print time. Use the notched version when you need to support a rectangular item with feet, like the charger in the picture.
There are two ways to orient it on the print bed, each with advantages. If you print it shelf-down, you will get more strength but a chance of warping. If you print it back-down, warping will be reduced but the shelf will be somewhat less strong.
I prefer PETG for functional prints but you can print with PLA if needed. I used Atomic Filament PETG with a 0.6mm nozzle.
Built in Onshape, here is a link to the model.
The author marked this model as their own original creation.