The development of a recognition geometry algorithm for hybrid-subtractive and additive manufacturing