Netgen-csg2d is a project mainly written in C++ and SHELL, it's free.
Steps:
install netgen by using the following link: http://sourceforge.net/apps/mediawiki/netgen-mesher/index.php?title=Installation Remarks:
in the CSG2Dparser/ folder: