Crankshaft is intended to convert linear (up and down) motion of piston into rotational motion. Forged steel is accustomed to make this part and it can be machined by CNC machines and balanced to precision. Cylinder heads in most more mature pre 80s motorcycles were being made of Solid iron, fashionable output motorcycles have them in aluminium al