Text this: Adaptive control of 3D printing device based on digital twin concept