0

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

edfish90
  • 11
  • 2
  • 1
    Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Apr 02 '22 at 11:31
  • As stated, it's more of a maths problem than a Python problem. A hint: find a parametrization of the line as a function of distance, something like p = (p1 + k (p2 - p1)) where p1 and p2 are endpoint coordinates and k is a distance parameter. Set a suitable value for k and you have your point. – Jussi Nurminen Apr 04 '22 at 10:25

0 Answers0