This visual element renders bonds between pairs of particles. Bonds are either loaded from the simulation file as part of the model or they can be created within OVITO by adding the Create bonds modifier to the data pipeline. Alternatively, the Voronoi analysis modifier is able to generate bonds between nearest neighbor particles without a distance criterion.
- Bond width
Controls the width of bonds cylinders or lines (in simulation units of length). Ignored if per-bond diameter values have been assigned to the
- Flat shading
Switches to a flat line representation instead of three-dimensional cylinders.
- Coloring mode
Selects how the colors of the bonds are determined. You can choose between (i) a uniform color used for all bonds, (ii) a colors reflecting each bond’s type, and (iii) adopting the colors from the particles connected by the bonds.
ovito.vis.BondsVis (Python API)