ABC for Auxetic Unit Cells
- class pyauxetic.classes.auxetic_unit_cell.AuxeticUnitCell(model, params)
Abstract base class for defining an auxetic unit cell. It defines the core behavior and must be subclassed for different unit cells.
- __init__(model, params)
Initialize the unit cell with the given parameters.
Child classes must first define self.name and afterwards call this function using
super(ChildClass, self).__init__(params)
. This function then creates the self.sketch and self.part_main.Logging is done in the child classes.
- Parameters:
model (Model) – Abaqus Model object in which the unit cell will be created.
params – Parameters describing the unit cell geometry. See child classes for valid object types.
- property part_3dprint
Abaqus Part object suitable for 3D export. If the part does not exist, it will be created.
- property part_main
The main Abaqus Part of the structure which can be planar or 3D. If the part does not exist, it will be created.
- abstract create_sketch()
Create the 2D sketch for the unit cell. See child classes for implementation.
- abstract create_part_main()
Create the main part of the unit cell based on the sketch. See child classes for implementation.
- abstract create_part_3dprint()
Create the part used for 3D printng based on the sketch. See child classes for implementation.