I wanted to hang my weed whacker attachments on the wall in my garage. I decided to design a snap-in receiver for the attachments and screw an aluminum T-slot rail to the wall. The hanger I designed will slide into a 20mm T-slot rail. I used a u-joint so the attachments could lean against the wall at whatever angle was best.
This hanger was created in Openscad and can be modified for any desired wall hanger. The ujoint library (https://www.thingiverse.com/thing:125939) used was designed by https://www.thingiverse.com/celer/about
I printed it standing vertically with concentric supports. It is weaker in this direction, but it was still strong enough to hold the ~20 pound cultivator attachment.