Alternative of boundary surfaces

This python script might help your situation.

-Kevin