BillOfMaterials#
- class pynumad.objects.bom.BillOfMaterials#
Bases:
dict
Bill of Materials class
This class is designed replicate the bom blade attribute from NuMAD. It is currently not used in pyNuMAD analyses and isn’t actively maintained.
- indices#
- Type:
dict
- generate(definition: Definition, keypoints: KeyPoints)#
This method generates the Bill-of-Materials See datatypes.BOM
- Returns:
None
- pynumad.objects.bom.find_layer_extents(layer_dist, layer_n)#
TODO docstring
- class pynumad.objects.bom.BillOfMaterialsEntry#
Bases:
object
A simple class to organize the attributes of a Bill of Materials
- layernum#
Layer
- Type:
int
- materialid#
Material ID
- Type:
int
- name#
Component or region name
- Type:
str
- beginsta#
Begin station (m)
- Type:
float
- endsta#
End station (m)
- Type:
float
- maxwidth#
Max width (m)
- Type:
float
- avgwidth#
Average width (m)
- Type:
float
- area#
3D area (m^2)
- Type:
float
- thickness#
Layer thickness (mm)
- Type:
float
- weight#
Computed dry layer weight (g)
- Type:
float