CT scanning for additive manufacturing