Data acquisition or data processing for additive manufacturing