StackDatabase#

class pynumad.objects.stackdb.Stack#

Bases: object

A class definition for a stack of composite layers.

name#

Name of the stack or composite material used by NuMAD, e.g. ‘000000_HP_LE_PANEL’

Type:

string

indices#

Indices of stack, [in board station, out board station, 1st kepoint, 2nd keypoint], e.g. [ibSta,obSta,keypt1,keypt2]

Type:

list

plygroups#

List of ply objects

Type:

list

addply(ply)#

This method adds a Ply object to stack

Parameters:

ply (Ply object) – Ply object to be added

Returns:

None

layer_thicknesses() ndarray#

Computes the thickness of each layer

Returns:

ndarray

class pynumad.objects.stackdb.Ply#

Bases: object

A simple class to organize the attributes of a ply

component#

parent component

Type:

str

materialid#

Material id of ply

Type:

str

thickness#

thickness of single ply (mm)

Type:

float

angle#

ply angle

Type:

float

nPlies#

number of plies

Type:

int