Explosion protection in automated depowdering and AM