@AppLeNaToR: There is a repair gun, yes, but it only works on damaged blocks (not destroyed ones), and must be put on a ship/turret. It also has to be manually done, since AI aim can barely hit a ship, let alone a specific block. The OP is looking for something automated, and something to replace blocks that have been completely destroyed.
--
Dry docking does sound interesting, but I would still like to see this linked to the existing docking blocks so that they could even be put on ships, not just stations and bases. Powering down the repaired ship works well to prevent most exploits, so you can\'t have a docked ship getting repairs while fighting back. You have to defend them. I like the idea of long, drawn-out battles where fighters have to fly back to the carrier for repairs.
To make quick repairs during battle efficient, you can\'t really be jumping out to swap schematics and stuff around, so I think the ships should carry their own schematics. That way different types of ships can use the same repair station. So the repair module is linked to the docking port, but the schematic that it uses is taken from the docked ship.