ObjsAlongConfig#

class zeroheliumkit.src.supercore.ObjsAlongConfig(structure: Structure, spacing: float = 100, endpoints: tuple | bool = True, additional_rotation: float = 0)[source]#

Bases: object

Configuration 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

structure

The structure to be added along the skeleton line.

spacing

The spacing between the added objects.

endpoints

The endpoints of the skeleton line where the objects should be added.

additional_rotation

Additional rotation to be applied to the added objects.

structure: Structure#

The structure to be added along the skeleton line.

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.