Automatic technological solution intended for the production of automatic pencils. The solution is equipped with a 60-position rotary table and a tunnel for heating and cooling the molds. The system processes six pencil leads simultaneously and automatically inserts them into the pencil bodies. The loading and unloading process takes place via a SCARA robot.