trimesh_remesh_along_isoline

compas.geometry.trimesh_remesh_along_isoline(mesh, scalarfield, scalar)[source]

Remesh a mesh along an isoline of a scalarfield over the vertices.

Parameters
  • mesh (tuple[sequence[[float, float, float] | compas.geometry.Point], sequence[[int, int, int]]]) – A mesh represented by a list of vertices and a list of faces.

  • scalarfield (sequence[float]) – A scalar value per vertex of the mesh.

  • scalar (float) – A value within the range of the scalarfield.

Returns

  • list[[float, float, float]] – Vertices of the remeshed mesh.

  • list[[int, int, int]] – Faces of the remeshed mesh.

Examples

>>>