Delete / Cull points or lines

Hi! I need to set a point for every 500 meters in one polyline, however on the top of the volume (a mine) there is an excesive amount of points. I believe it is due duplicated lines. Does anybody know how to delete these lines or points? I just need those that are within the mine.
Thank you!

Protocolo de Integracion 25.10.gh (98.4 KB)

Cull Duplicates component.
Protocolo de IntegracionV2 25.10.gh (96.3 KB)