Script to select all edges and merge

 From:  Frenchy Pilou (PILOU)
10861.4 In reply to 10861.3 
Careful Merge is also a Boolean trimming function! ;)

EDITED: 26 Sep 2022 by PILOU