compas.geometry.tween_points_distance(points1, points2, dist, index=None)[source]

Compute an interpolated set of points between two sets of points, at a given distance.

  • points1 (list[[float, float, float] | Point]) – The first set of points.

  • points2 (list[[float, float, float] | Point]) – The second set of points.

  • dist (float) – The distance from the first set to the second at which to compute the interpolated set.

  • index (int, optional) – The index of the point in the first set from which to calculate the distance to the second set. If no value is given, the first point will be used.


list[list[[float, float, float]]] – List of points.