I printed several bosch2ryobi adapters but found it very difficult to print and hard to make wire connections. I re-design it to 2 parts adapter so no support is required. Also, use spade crimp connectors to make the battery terminal much easier to build.
BOM:
M3x10 Socket head screw: 6 pcs
M3x10 Flat head screw: 4 pcs
M3 Nuts: 4pcs
10AWG(6mm2) wire: 73mm 2pcs
Nickel Strip 8mm x 30mm: 2pcs
7/32" x 1-½" (5.5mm OD) Compression Spring : 1pcs
6.35 (0.25") Type Male Spade crimp connector: 2pcs
Top Ryobi parts can be found here
https://www.thingiverse.com/thing:2007996
The author hasn't provided the model origin yet.