Today mosaics are used as decorative elements both indoors and outdoors. Mosaics can be obtained by combining small pieces of stone, glass, wood and glazed tiles together to make some picture and illustration. Mosaic-making processes are carried out manually for thousand years. Complexities involved in piece selection, surface detection and mould fitting have limited the automation of this process. In this work, software that makes the mosaic patterning process automatic is developed. For this purpose, software named SMT V2 has been developed to obtain different mosaic patterning. The software also tested with experimental applications by selective compliance articulated robot arm (SCARA) robot on real environment using different shaped marble pieces and successful results are obtained.