API

Methods

check_mesh_consistency(grid, mesh, *, ...)

Checks the consistency of the mesh (currently checks for holes, non-manifold edges and vertices) and returns a string with debug information in case of problems

convert_tris_to_quads(mesh, *, ...)

Merges triangles sharing an edge to quads if they fulfill the given criteria

create_aabb_object(aabb_min, aabb_max)

Create the corresponding AABB object to a set of min and max values

create_aabb_object_from_points(points)

Create the corresponding AABB object to a set of points

create_mesh_with_data_object(mesh)

Create the corresponding mesh with data object to a mesh object

create_sph_interpolator_object(...)

Create the corresponding SPH interpolator object to a set of particle data

decimation(mesh[, keep_vertices])

Barnacle decimation

marching_cubes_cleanup(mesh, grid[, ...])

Mesh simplification designed for marching cubes surfaces meshes inspired by the "Compact Contouring"/"Mesh displacement" approach by Doug Moore and Joe Warren

neighborhood_search_spatial_hashing_parallel(...)

Performs a neighborhood search (multi-threaded implementation)

par_laplacian_smoothing_inplace(mesh, ...)

Laplacian Smoothing with feature weights

par_laplacian_smoothing_normals_inplace(...)

Laplacian smoothing of a normal field

reconstruct_surface(particles, *[, ...])

Reconstruct the surface from only particle positions

reconstruction_pipeline(particles, *[, ...])

Surface reconstruction based on particle positions with subsequent post-processing

write_to_file(mesh_with_data, filename[, ...])

Write the mesh and its attributes to a file using meshio

Classes

Aabb3dF32(min, max)

Aabb3d wrapper

MixedTriQuadMesh3dF32

MixedTriQuadMesh3d wrapper

MixedTriQuadMeshWithDataF32(mesh)

MeshWithData wrapper

SphInterpolatorF32(particle_positions, ...)

SphInterpolator wrapper

SurfaceReconstructionF32

SurfaceReconstruction wrapper

TriMesh3dF32

TriMesh3d wrapper

TriMeshWithDataF32(mesh)

MeshWithData wrapper

UniformGridF32

UniformGrid wrapper