Fluidic assembly provides solutions for assembling particles with sizes from nanometres to centimetres. Fluidic techniques based on patterned shapes of monolayers and capillary forces are widely used to assemble microfabrication devices. Usually, for self-assembly, the precondition is that the components must be mobile in a fluidic environment. In the present work, a shape-directed fluidic self-assembly of rod-like microstructures, such as an optical fibre on a wettable pad is demonstrated experimentally with submicrometre positioning precision. A model of the process is proposed, which accounts for the following two stages of the orientation of a fibre submerged in a sessile drop: (i) the drop melting and spreading over a wettable pad; (ii) fibre reorientation related to the surface-tension-driven shrinkage of the drop surface area. At the end of stage (ii), the fibre is oriented along the pad. The experimental results for the optical-fibre assembly by a solder joint have been compared to the modelling results, and a reasonable agreement has been found. The major outcome of the experiments and modelling is that surface tension forces on the fibre piercing a drop align the fibre rather than the flow owing to the spreading of the drop over the horizontal pad, i.e. stage (ii) mostly contributes to the alignment.