The Db module within PySoftK allows users to build linear diblock copolymers. The command Db(ma,mb,atom).diblock_copolymer(len_block_A,len_block_B,FF,iter_ff) is used to generate a diblock copolymer that consists of a block containing len_block_A monomers of ma and a block containing len_block_B monomers of mb. Again the monomers are inputted with atomic placeholders (atom) that identify the polymerisation site on each monomer, and the resultant structure undergoes iter_ff steps of energy minimisation using the FF forcefield.