Automated Cad Model Generation For Structural Optimisation