Cad Battery Module#
cad_battery_module is used to create a CAD object of a battery module
- class basd.cad.cad_battery_module.BatteryModule(x_pos: float, y_pos: float, z_pos: float, x_dir: int, y_dir: int, z_dir: int, row_offset: list[float], inner_padding: tuple[float], outer_padding: tuple[float], cell_block_definition: dict, alternate=True)[source]#
BatteryModule class used to build a module out of cell blocks
- 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
offset – row offset definition as lists in a list ,
padding – space to next objects in x,y,z direction
block_definition – a dictionary with the cell block definition