QCAD
Open Source 2D CAD
Creating Command Line Tools