gustaf.io.mixd.load#
- gustaf.io.mixd.load(simplex=True, volume=False, fname=None, mxyz=None, mien=None, mrng=None)[source]#
mixd load. To avoid reading minf, all the crucial info can be given as params. Default input will try to import mxyz, mien, mrng from current location and assumes mesh is 2D triangle.
- Parameters:
simplex (bool) – Default is True. Is it triangle based?
volume (bool) – Default is False. Is it 3D?
fname (str) – Default is None. Specify your mixd file names with “.xns” postfix. Ex) “gustaf.xns” will try to load “gustaf.mxyz”, “gustaf.mien”, and “gustaf.mrng”
mxyz (str) – Default is None.
mien (str) – Default is None.
mrng (str) – Default is None. This is optional.
- Returns:
mesh
- Return type: