Text this: A semi-automated algorithm for designing stellarator divertor and limiter plates and application to HSX