vtk_openCARP_methods_ibt.openCARP package
Submodules
vtk_openCARP_methods_ibt.openCARP.exporting module
- write_mesh_from_vtk_obj(filename, mesh, tag_name='elemTag', fiber_name='fiber', sheet_name='sheet')[source]
vtk_openCARP_methods_ibt.openCARP.importing module
- convert_openCARP_to_vtk(pts_file_path, elem_file_path, lon_file_path='', poly_data=True)[source]
Convert a .pts and .elem file to a .vtk file. :type pts_file_path: :param pts_file_path: Filepath of the .pts file with .pts extension :type elem_file_path: :param elem_file_path: Filepath of the .elem file with .elem extension :type lon_file_path: :param lon_file_path: Filepath of the .lon file with .lon extension. Optional. :return: vtk polydata object