Adding code for external mesher.

Signed-off-by: cluosh <michael.pucher@bgweiz.at>