Manage and Operate on Triangle 3 Meshes#

The package pysdic provides functions to operate on 3-node triangular surface meshes embedded in 3D space.

Create and manipulate triangle 3 meshes from open3d#

The following functions allow you to create and manipulate triangle 3 meshes from open3d:

triangle_3_mesh_from_open3d(mesh[, ...])

Create a Mesh (element_type = "triangle_3") instance from an Open3D TriangleMesh object.

triangle_3_mesh_to_open3d(mesh[, legacy, uvmap])

Convert the Mesh (element_type = "triangle_3") instance to an Open3D TriangleMesh object.

Compute geometric properties of triangle 3 meshes#

The following functions allow you to compute geometric properties of triangle 3 meshes, such as areas, strains, normals, etc.:

triangle_3_cast_rays(vertices_coordinates, ...)

Cast rays into a triangular mesh and compute the intersection points.

triangle_3_compute_elements_areas(...)

Compute the areas of triangular elements defined by the given vertices and connectivity.

triangle_3_compute_elements_strains(...)

Compute the strain tensor for each triangular element in the mesh given the vertex displacements.

triangle_3_compute_elements_normals(...)

Compute the normal vectors of triangular elements defined by the given vertices and connectivity.

triangle_3_compute_vertices_normals(...)

Compute the normal vectors at each vertex of a triangular mesh.