LibreCAD is a cross-platform 2D CAD program. It can read DXF/DWG, and write DXF/DWG/PDF/SVG files. It supports point/line/circle/ellipse/parabola/hyperbola/spli
LibreCAD is a cross-platform 2D CAD program. It can read DXF/DWG, and write DXF/DWG/PDF/SVG files. It supports point/line/circle/ellipse/parabola/hyperbola/spli
LibreCAD is a 2D CAD drawing tool based on the community edition of QCAD. LibreCAD uses the cross-platform framework Qt, which means it works with most operating systems. The user interface is translated in over 30 languages. https://translate.librecad.org
LibreCAD is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 (GPLv2)
as published by the Free Software Foundation.
Please read the LICENSE file for additional information.
The master branch represents the latest pre-release code.
The 2.2.2 branch requires Qt 6.4.0 or newer.
The 2.2.1 branch requires Qt 5.15.0 or newer.
The 2.2 branch requires Qt 5.2.1 or newer.
The 2.1 branch will be the last to support Qt4.
The 2.0 branch will be the last to support the QCAD toolbar.
(https://travis-ci.org/LibreCAD/LibreCAD.svg?branch=2.0)](https://travis-ci.org/LibreCAD/LibreCAD)
LibreCAD can be used as DXF to a PDF, PNG, or SVG converter. For example, to convert a foo.dxf to foo.pdf, foo.png, or foo.svg:
$ librecad dxf2pdf foo.dxf
$ librecad dxf2png foo.dxf
$ librecad dxf2svg foo.dxfThe macOS build is a universal (Apple Silicon + Intel) app. CI verifies the app's
ad-hoc code signature both before packaging and from the mounted DMG, and release
assets include a .sha256 file that can be checked with:
shasum -a 256 -c LibreCAD-*.dmg.sha256Ad-hoc signing does not provide an Apple Developer ID or notarization, so macOS blocks the first launch with "Apple could not verify LibreCAD is free of malware". Drag LibreCAD to Applications, open it once and dismiss that dialog, then open System Settings → Privacy & Security, scroll to the Security section and click "Open Anyway" next to LibreCAD. On macOS 14 and earlier, right-click → Open on the app is enough. If macOS still refuses, clear the download quarantine attribute only (#2162):
xattr -dr com.apple.quarantine /Applications/LibreCAD.appA different message, "LibreCAD is damaged and can't be opened", means the app's code signature is invalid. The v2.2.1.5 Apple Silicon build had that problem (#2574); later builds from both branches are signed correctly.
libdxfrw is an associated project that allows LibreCAD to read DXF and DWG files.
LibreCAD can natively import ESRI Shapefiles (.shp/.shx/.dbf), built with shapelib. Points, polylines/arcs, and polygons are imported as native entities (Z preserved), with DBF-driven layers and per-entity styling (color, linetype, width) where the corresponding fields are present. Import is read-only; there is no Shapefile export.
More information: Build from source
To build unit tests (e.g., for rs_math.cpp), enable the BUILD_TESTS flag:
cmake -DBUILD_TESTS=ON ..
make
./build/librecad_testsThere is a resources repository for people that want to indirectly
contribute to the project by supplying icons, stylesheets, documentation, templates...
Associated downloads: https://sourceforge.net/projects/librecad/files/Resources/
No open issues yet, or sync has not completed.