def make3D(self, forcefield = "uff", steps = 50):
        forcefield = forcefield.lower()
        success = AllChem.EmbedMolecule(self.Mol)
        if success == -1: # Failed
            success = AllChem.EmbedMolecule(self.Mol,
                                            useRandomCoords = True)
            if success == -1:
                raise Exception("Embedding failed!")
        self.localopt(forcefield, steps)
Generate 3D coordinates.
dataset/ETHPy150Open oddt/oddt/oddt/toolkits/rdk.py/Molecule.make3D