Cad Battery Pack#
cad_battery_pack is used to create the CAD object of a battery pack
- classes:
BatteryPack
- class basd.cad.cad_battery_pack.BatteryPack(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], string_definition: dict)[source]#
BatteryPack class used to build pack out of battery strings
- 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
string_definition – a dictionary with the string definition