129
« on: May 18, 2020, 03:20 »
When I looked at your monomer, you missed bonds information. Your monomer has 44 atoms. But you defined bonds partially. I recommend to save your customized monomer database correctly.
The below part for bonds is what I tested. I can see all bonds and polymer after polymer builder.
Let me know if you have a trouble.
# Add bonds
bonds = [[ 0, 1],
[ 0, 2],
[ 0, 3],
[ 0, 4],
[ 4, 5],
[ 4, 8],
[ 4, 12],
[ 5, 6],
[ 5, 7],
[ 6, 22],
[ 8, 9],
[ 8, 10],
[ 8, 11],
[12, 13],
[12, 14],
[12, 15],
[16, 17],
[16, 18],
[16, 19],
[16, 20],
[17, 22],
[17, 23],
[17, 24],
[18, 21],
[18, 31],
[19, 35],
[19, 36],
[19, 37],
[20, 32],
[20, 33],
[20, 34],
[21, 25],
[21, 26],
[21, 27],
[22, 25],
[22, 30],
[25, 28],
[25, 29],
[26, 38],
[26, 39],
[26, 40],
[27, 41],
[27, 42],
[27, 43]]
monomer_1.setBonds(bonds)