621785 Disclosed is a system for processing a length of material. The system includes a material-working device that has a first cutting device (30) with a first cutting capacity, a second cutting device (31) with a second cutting capacity and a drive mechanism (27) to drive the length of material relative to the material-working device. Also included is a distance measuring device (32), a diameter measuring device and a processor. The processor receives data relating to the length of the length of material from the distance measuring device (32) and receives data relating to the diameter of the length of material at a plurality of points along its length from the diameter measuring device. A cutting position is set along the length of the length of material based on the length of the length of material. The diameter of the length of material is then determined at the cutting position using the data relating to the diameter of the length of material at the plurality of points along its length. Either the first cutting device (30) or second cutting device (31) is selected for use in cutting the length of material at the cutting position based on the cutting capacity of each cutting device and the diameter of the length of material at the cutting position.