Structure and appearance optimization for Controllable Shape Design