Cad Battery String#
cad_battery_string is used to create the CAD object of a battery string
- classes:
BatteryString
- class basd.cad.cad_battery_string.BatteryString(x_pos: float, y_pos: float, z_pos: float, x_dir: int, y_dir: int, z_dir: int, row_offset: tuple[float], inner_padding: tuple[float], outer_padding: tuple[float], module_definition: dict)[source]#
BatteryString class to build string out of battery modules
- Variables:
x_pos – x position of the block
y_pos – y position of the block
z_pos – z position of the block
x_dir – number of elements in x direction
y_dir – number of elements in y direction
z_dir – number of elements in z direction
offset – row offset definition as lists in a list ,
padding – space to next objects in x,y,z direction
module_definition – a dictionary with the module definition