Mesh.edge_point

Mesh.edge_point(u, v, t=0.5)[source]

Return the location of a point along an edge.

Parameters
  • u (int) – The key of the start vertex.

  • v (int) – The key of the end vertex.

  • t (float (0.5)) – The location of the point on the edge. If the value of t is outside the range 0-1, the point will lie in the direction of the edge, but not on the edge vector.

Returns

list – The XYZ coordinates of the point.