'Extracting points along a line - Python

Along a known line, I am trying to extract a list of point at set distances from the end of the line. e.g. 30cm and 65cm from the end of the line.

I have been exploring ezdxf but haven't found a simple function to achieve this.

Diagram: Known points in blue, required positions marked in red



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source