def redistribute_vertices(geom, distance):
    if geom.geom_type == 'LineString':
        num_vert = int(round(geom.length / distance))
if num_vert == 0:
    num_vert = 1
return LineString([geom.interpolate(float(n) / num_vert, normalized=True) for
    n in range(num_vert + 1)])
Interpolating every X distance along multiline in shapely