HO gauge locomotive repair parts: drive gear and coal car linkage by Biketool on Thingiverse: https://www.thingiverse.com/thing:3104913

Summary:
This set provides an axle drive gear which meshes with the motor shaft's brass worm gear and a coal car linkage to repair an HO gauge locomotive of unknown manufacturer.  These were made to return a broken engine we acquired with a ground away drive gear and broken linkage to full function.  I have removed the 18 tooth gear as it turns out after more research the original ground away gear had 16 teeth, this explains why we were wearing out replacement gears so fast.The linkage might need to be edited for length so the coal car is the correct distance from the engine or the connecting peg holes are of correct diameter, the SCAD file source is there for editing to suit your purposes.The gear requires some trimming of the lube slot at the bottom plate of the locomotive as I decided that a wider worm gear contact area and full width teeth was more important than pairing two half width gear wheels to make a 2mm gear contact surface found on the old gear wheel which had been ground away.Turning a rough 3D printed gear into a usable gear.1-filling in the top side of the gear wheel with enough acetone-ABS paste to coat that surface2- after 30 min in formt of moving air I pressed the mostly dry wheel surface against a flat steel surface to be sure the filler would penetrate fully3- 12 hrs later I sanded both side surfaces and drilled out the axle shaft opening for a tight fit to the axle.4- I fitted the dry ABS plastic printed gear wheel on the axle shaft but some acetone might actually ease the process and when dry stick to the axle better.5- once axle was inserted I first held the drive gear wheel/axle tight to the worm gear with my fingers and then had a helper controlling the power, (we had clipped the train controller to the train's wheel power pickup brushes) and ran it  starting slowly for a few minutes,6- we then added some acetone to soften it, gave it a few minutes to absorb, then ran it for another 5 min and let it dry for a few hours7- after drying we again ran it dry for 5min before8-greasing with lithium blue bicycle bearing grease and finally assembling9- we ran the fully assembled unloaded model engine on the track for about 60 min , about half of the time running in reverse, watching for binding and lubing to wear in the gear mesh.The wheel, including teeth is 1cm diameter, 9mm without teeth, and 4mm wide teeth are 5 degree slanted(interfaces with slanted worm gear) 1x1x4mm.  At this scale and me using a 5mm extruder I decided that there was no point in bevelling the gear teeth and it would leave more plastic to grind to fit during the wear in period.The 2.4mm(2mm in v1.0) diameter hole in the center is tight enough to bite tightly onto the axle shaft but requires drilling or reaming out.V1.1 enlarged the coal car peg(+1mm) and axle shaft holes(+0.4mm) in both models and made the linkage thicker, longer teeth on drive gear as we ground out several before deciding the teeth were too short(+0.5mm).  I have yet to print and test so please comment if this model works better.Since we were also wiring a caboose for lights powered from rectified DC rail voltage I have uploaded that schematic too.