Обрабатывает точки и линии. Собирает линии из кусочков. Учитывает имена линий из названий директорий (разделов). Добавляет теги для энергетики.
Handles points and lines. Collects lines of the pieces. Sets tags 'name' of lines from the directories (sections) names. Add energy-specific tags.