crystal_toolkit.renderables.molecule module

crystal_toolkit.renderables.molecule.get_scene_from_molecule(self, origin=None, legend: Legend | None = None)[source]

Create CTK objects for the lattice and sties :param self: Structure object :param origin: fractional coordinate of the origin :param legend: Legend for the sites

Returns

CTK scene object to be rendered