The film darkness (density) will vary with the amount of radiation reaching the film through the test object.
The part is placed between the radiation source and a piece of film. The part will stop some of the radiation. Thicker and more dense area will stop more of the radiation.