ObjsAlongConfig#
- class zeroheliumkit.src.supercore.ObjsAlongConfig(structure: Structure, spacing: float = 100, endpoints: tuple | bool = True, additional_rotation: float = 0)[source]#
Bases:
objectConfiguration class for objects evenly placed along a line.
- Parameters:
structure (object) – The structure to be added along the skeleton line.
spacing (float, optional) – The spacing between the added objects. Defaults to 100.
endpoints (tuple or bool, optional) – The endpoints of the skeleton line where the objects should be added. If a tuple is provided, it should contain the indices of the desired endpoints. If True, the objects will be added along the entire skeleton line. Defaults to True.
additional_rotation (float, optional) – Additional rotation to be applied to the added objects. Defaults to 0.
Methods
Attributes
The structure to be added along the skeleton line.
The spacing between the added objects.
The endpoints of the skeleton line where the objects should be added.
Additional rotation to be applied to the added objects.
- spacing: float#
The spacing between the added objects. Defaults to 100.
- endpoints: tuple | bool#
The endpoints of the skeleton line where the objects should be added.
- additional_rotation: float#
Additional rotation to be applied to the added objects.