PyMeshTool Documentation
PyMeshTool is a Python module that provides bindings to
MeshTool. PyMeshTool
implements interfaces to the mesh and image structures from MeshTool
through the Mesh
and Image
class. Each
class also provides interfaces to the MeshTool modes implemented as
class methods. The PyPI package can be downloaded or installed from
the TestPyPi server
or by running
pip install -i https://test.pypi.org/simple/ pymeshtool
in your terminal. Run
pip install --upgrade -i https://test.pypi.org/simple/ pymeshtool
to upgrade an existing installation.
Warning
This package is still under development. Function names or function arguments may change during development.
API Reference:
- pymeshtool
create_image()
create_mesh()
get_max_par_threads()
get_num_par_threads()
load_fibers()
load_points()
load_vtx()
save_fibers()
save_points()
set_num_par_threads()
Mesh
Mesh.element_tags
Mesh.fibers
Mesh.num_elements
Mesh.num_fibers
Mesh.num_points
Mesh.points
Mesh.__deepcopy__()
Mesh.__init__()
Mesh.apply_split()
Mesh.clean_topology()
Mesh.clear_full_connectivity()
Mesh.compute_full_connectivity()
Mesh.connected_vtx_components()
Mesh.extract_gradient()
Mesh.extract_mesh()
Mesh.extract_myocard()
Mesh.extract_surface()
Mesh.extract_unreachable()
Mesh.extract_vtx()
Mesh.extract_vtxhalo()
Mesh.generate_distancefield()
Mesh.generate_fibers()
Mesh.generate_split()
Mesh.get_element_nodes()
Mesh.get_element_sizes()
Mesh.get_elements_in_selection()
Mesh.has_full_connectivity()
Mesh.insert_mesh()
Mesh.insert_meshdata()
Mesh.interpolate_clouddata()
Mesh.interpolate_elem2node()
Mesh.interpolate_node2elem()
Mesh.interpolate_nodes()
Mesh.is_surface_mesh()
Mesh.merge()
Mesh.query_bbox()
Mesh.query_curvature()
Mesh.query_edges()
Mesh.query_idx()
Mesh.query_idxlist()
Mesh.query_quality()
Mesh.query_tags()
Mesh.refine_uniformly()
Mesh.rotate()
Mesh.save()
Mesh.scale()
Mesh.smooth_mesh()
Mesh.translate()
Mapping
Image
MeshInputFormat
MeshOutputFormat
MeshElementType
MeshClouddataInterpolationMode
MeshExtractUnreachableMode
ImageDType
ImageExtrusionMode