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.

Hi @cart20000

I think this can be achieved by a WindowLoop inside a Recursive Loop. See:
2Point(Dot) to line.knwf (52.1 KB)
The number of Loops is defined in the Recursive Loop End node.
The Window Loop has a stepsize of 1 and a windowsize of 2.

gr. Hans

2 Likes

Thank you for your answer!

The problem is completely solved!

1 Like

Hi @cart20000
Thanks for verifying my solution. Happy KNIMing!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.