Regenerating CAD Models with OpenCASCADE and pythonOCC from Numerical Models with Application to Shape Optimization