Adaptive geometry transformation and repair methodology for hybrid manufacturing