A constructive solid geometry-based generative design method for additive manufacturing