2Point(Dot) to line

Dear all,

I’m looking for a very hard solution for me. I try to explain my problem.

I would like to create a loop that continues to connect the middle points of the two points.

For example

Loop1 → Create a median C between A and B

A C B

Loop2 → Generate median D of A and C, generate median E of B and C

A D C E B

Loop3 → Generating median F of A and D, • • • • • • • • Generating median B of E and B

A F D G C H E I B

• • • • •

Loop K

A • • • • • • • • • B

This is how Loop is created.

What functions are available?

Thank you.