Draft, edit and convert 2D CAD drawings (DXF, and DWG with QCAD Pro) by running QCAD headless with its ECMAScript API — floor plans, site plans, part outlines, panel and laser-cut layouts with layers, lines, arcs, polylines, text, blocks, linear/aligned dimensions and hatches; add title blocks to existing drawings; batch-convert folders of DXF/DWG to PDF or PNG; read and modify existing DXF files, verified with ezdxf.