@classmethod<EOL><INDENT>def from_mol(cls, mol, conformer=-<NUM_LIT:1>, solvent_radius=<NUM_LIT>, level=<NUM_LIT:4>):<DEDENT>
rs = atoms_to_numpy(lambda a: vdw_radii[a.GetAtomicNum()] + solvent_radius, mol)<EOL>conf = mol.GetConformer(conformer)<EOL>ps = np.array([list(conf.GetAtomPosition(i)) for i in range(mol.GetNumAtoms())])<EOL>return cls(rs, ps, level)<EOL>
r"""Construct SurfaceArea from rdkit Mol type.

        :type mol: rdkit.Chem.Mol
        :param mol: input molecule

        :type conformer: int
        :param conformer: conformer id

        :type solvent_radius: float
        :param solvent_radius: solvent radius

        :type level: int
        :param level: mesh level

        :rtype: SurfaceArea