Hair particles/haircurves - cut on cloth colission

Hello,
so i have a particle system Hair, which I later have to convert to hair curves and export.
Problem: The hair curves intersect with the clothes meshes. I have multiple different clothes, and I have a collection for each outfit set.
I have to cut them (not physics collision) where they have contact with clothes.
I came up with the idea to add a geometry node to the converted hair curves, like in the picture:


resample is a usefull part here for me and that is the only part that works.
And the “geometry” is not so usefull too. I would need entire collections.
Do you have ideas how to solve this? please help

You will most likely need to transfer the Is Hit attribute to the base geometry with sample nearest and sample index nodes.

But I’m not sure about the rest.

I am not skilled enough with Geometry nodes myself :smiley: