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/spline primitives. The GUI is highly customi
翻訳待ち
デザインC++ · CGitHub @LibreCAD自分でインストール所有者未確認
Paste into Claude or ChatGPT for installation instructions suited to your environment.
Have you tried it? One tap is enough. No sign-in needed.
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/spline primitives. The GUI is highly customizable, and has dozens of translations.
翻訳待ち
Loading the full README.
Read the full README ↗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)
Run librecad <command> [options] <input files> to convert drawings without
opening the editor:
| DXF input | DWG input | Output |
|---|---|---|
dxf2pdf | dwg2pdf | PDF document |
dxf2png | dwg2png | PNG raster image |
dxf2svg | dwg2svg | SVG vector image |
dxf2dwg | dwg2dxf | DWG or DXF drawing, respectively |
DWG input and output require a build with DWGSUPPORT enabled.
By default, each output is saved beside its input with the same base name and
the new extension. Use -t <directory> to choose an output directory, or
-o <file> to name the output file; these options cannot be combined.
-o requires a single input, except for PDF conversion, where multiple inputs
are combined into one PDF.
Format-specific options include:
-a fits and centers the drawing on the page; -p <WxH> sets paper size
in millimeters; -r <DPI> sets print resolution.-r <WxH> sets image dimensions in pixels.-V <version> selects r2000 (default), r2004, r2007, r2010,
r2013, or r2018.-V <version> selects r12, r14, r2000, r2004, r2007
(default), r2010, r2013, or r2018.For example, convert a DWG drawing to a DXF R2018 file:
librecad dwg2dxf -V r2018 -o drawing.dxf drawing.dwg
Convert a DXF drawing to a PDF, fitted and centered on the page:
librecad dxf2pdf -a -o drawing.pdf drawing.dxf
Use librecad <command> -h for the full list of options. On systems without a
display, set QT_QPA_PLATFORM=offscreen for PDF, PNG, and SVG conversion.
On Windows, LibreCAD.exe is a GUI program: at an interactive cmd or
PowerShell prompt, and in PowerShell scripts, the prompt returns before the
conversion ends and no exit code is set, while cmd batch files wait for it. To
wait and get the exit code, use start /wait "" LibreCAD.exe dxf2pdf ... in
cmd (it sets %ERRORLEVEL%), or Start-Process with -Wait -PassThru in
PowerShell.
The 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.sha256
Ad-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.app
A 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.
This is the beginning of the README. Read the rest at the original. Read the full README ↗