Obtaining the edges of a rectangular Brep


I am having a simple issue but I am unable to solve it. I have a rectangular brep as seen below and I am trying to extract the edge curve and divide them into 4 individual parts.

However, one of the curves just disappears. Any idea as to why this is happening?

Thank you, and I have attached the code for your consideration. Really appreciate the help.

Question.gh (148.7 KB)

Not sure what happens in the Pufferfish shatter component. The native shatter works fine.

Question.gh (141.6 KB)

1 Like

Thank You,

I think the puffer fish component takes in the points to shatter, maybe that causes the error.