K'nex Green Motor Connector Adapter
Okay so this is a 3D print that takes the place of the Door and Batteries for a K'nex green motor, and adds an XT30 adapter so you can power it with whatever power supply you want.
BOM:
TE Connectivity 34104, which is a #4 crimp terminal ring for 16-22awg wire, you can probably find a generic version of this
4-40 threaded heat insert 5mm long
4-40 x 5/16 socket head
XT30 Male Connector
22awg wire
You can probably get away with normal 4-40's just add a washer or something to shim the head of the screw up.
Also the little Square machine threaded bit that the door's screw goes into is a 4-40 thread as well so you can use a longer screw if you need to.