Mesh
iota.session.Mesh()
Description Iota Mesh object.
Methods
Static Methods
Variables
name
(str) mesh namedescription
(str) mesh descriptionid
(int) mesh Idfiletype
(str) mesh file type
Methods
Delete mesh from the system
Example
mesh_record = my_scenario.get_mesh('my_mesh')
mesh_record.delete()
Static methods
Load a mesh from disk Returns a Mesh class of type iota.meshing.Mesh
Note: As static method, this function allows to load any mesh. The example shows how to use it for loading the current mesh object.
Arguments
filepath
: (str) mesh file path
Example
mesh_data = mesh.load(
filepath = mesh.record.filepath
)
print('Number of vertices in the mesh: {}'.format(mesh_data.vertices())
Last updated
Was this helpful?