Weaving Material through poles - Best program and direction?

Hi All,

Currently seeking advice on how to digitally simulate weaving material through poles (see image attached).
Have attempted scripts relating to mesh relaxation with Kangaroo but not quite getting desired direction. Need to be able to make a variety of iterations based on the position of the poles.

Any help would be appreciated!
333042131_912370703438095_5254173471291639780_n

What do you have so far?

I did a test a while ago with a tube bent around a pin:

Hi Martin,

Thank you for your response.
Haven’t achieved anything so far apart from playing around with mesh relaxation, which is not quite what I’m looking for.

Would there be a way to use your idea of the bent tube but be able to bend it around multiple ‘pins’ at a time? As per my original image.

Thanks