Converting 2D AutoCAD drawings into CAM files