Analyse quad mesh

Description

Imports of quad meshes as an AmpObject


Key Actions

from AmpScan.core import AmpObject
import numpy as np
fh = 'QuadData.npy'
fhAmp = AmpObject(fh, stype = 'limb')
dt = np.load(fh).item()
dtAmp = AmpObject(dt, stype = 'limb')

Necessary Data

Dictionary containing vertices, faces and values either in raw form, or as a .npy files


Additional Notes

Much of the initialisation of the AmpObject is based on the assumption that tet meshes from .stl files are being used. It is therefore expected that use of quad meshes will cause issues