planarity_scores

m3sh.traits.planarity_scores(mesh, denom=0.0, offset=0.0)[source]

Face planarity scores.

Parameters:
  • mesh (Mesh) – Mesh instance.

  • denom (float, optional) – Zero divides by mean edge length.

  • offset (float, optional) – Added to each planarity score.

Returns:

Face planarity scores plus an additional offset value.

Return type:

list[float]