I highly doubt that someone would waste their time for writing quite sophisticated tool for such a niche problem. I think the most realistic solution for your task would be occlusion selection, where you could select only parts that are visible from outside, meanwhile parts that are occluded would be not selected. Then it's simply a matter of inverting selection and deleting unwanted parts. Such tools exists in plenty and you should have no problem in finding and learning them.