Text this: Structural model and algorithm of choice of optimal configurations of the detail, exposed to thermal processing