This functionality is duplicated by the PointsAlongGeometry algorithm Keep the algorithm version, since it has unit tests and supports things like progress reports. (marked as feature for inclusion in release notes)
Supports also polygon geometries, handles null geometries, and records the original line angle along with the distance for each point.