Intelligent plastic repairing technique