Manim Chemistry Molecules¶
- class manim_chemistry.manim_chemistry_molecule.mc_bond.MCBond(bond_type: int, from_atom=None, to_atom=None, stereo: int | None = None, molecule_index: int | None = None, topology: int | None = None, reacting_center_status: int | None = None)[source]¶
MCBond: Abstraction of a bond in a molecule: Type of bond, from and to atoms.
- static construct_from_bond_dict(bond_index, bond_data_dict: Dict, molecule)[source]¶
Given a bond data dict from a parser, returns an MCBond
- Args:
atom_dict (Dict): See data_parser function from BaseParser molecule: MCMolecule: Required to get the atoms by their index and create the MCBond using MCAtoms.
- Output:
MCBond