boolean to it's self?

If I fold a mesh around so that it overlaps it’s self, is there an automated way to get rid of the interior excess geometry? Sort of like doing a boolean operation, but within one object?

try the intersect tool and use self intersect !

happy bl