Some closed curves won’t shatter properly and I completely don’t know why.
In the grasshopper file and on the screenshot I marked shattering points and the curve which doesn’t shatter the way I want.

Every closed curve has 4 shattering points which I tried placing on corners. I used for that “MeshCorners” component, DeBrep vertices wouldn’t work because some of the curves may have more than one segment initially.

All the tree branches should have 4 curves after shattering.

Because internalized brep geometry, which I included, came from bigger grasshopper file, shattering problem occurs in different places as my geometry changes.

Thank you!
Both of you helped me, this hybrid solution seems to work.
I wonder why this mesh corner points pulled to closest vertices couldn’t shatter some of the curves.