cylinders_for_bonds
visualize.cylinders_for_bonds(
bonds,
ase_atoms,
radius=0.25,
bond_rgba_array=[127, 128, 129, 255],
cylinder_resolution=15,
)Build trimesh cylinder meshes for each bond pair in an ASE structure.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| bonds | a list of pairs of atom indices | required | |
| ase_atoms | an ASE atoms object | required |
Returns
| Name | Type | Description |
|---|---|---|
| A list of trimesh objects. |