Using the method of discrete sources, we solve the problem of scattering of electromagnetic waves by structures composed of a finite number of three-dimensional perfectly conducting bodies bounded by smooth surfaces of arbitrary shape. We describe briefly the capabilities of the package of computer codes developed for calculating the scattered-field characteristics and checking the accuracy of the solution obtained. We present some results of numerical calculations aimed at analysis of the influence of the distance between the bodies on their electromagnetic interaction.