LibreCAD/LibreCAD
GitHub: LibreCAD/LibreCAD
LibreCAD 是一款基于 Qt 开发的开源跨平台二维 CAD 绘图工具,支持读写 DXF/DWG 等主流格式并提供丰富的图形绘制原语。
Stars: 6030 | Forks: 1244
# LibreCAD [](https://travis-ci.org/LibreCAD/LibreCAD)
[→ **下载** ←](https://github.com/LibreCAD/LibreCAD/wiki/Download)
[LibreCAD](https://www.librecad.org) 是一款 2D CAD 绘图工具
基于 [QCAD](https://www.qcad.org) 社区版开发。
LibreCAD 使用了跨平台框架 [Qt](https://www.qt.io/download-open-source/),
这意味着它可以在大多数操作系统上运行。
用户界面已被翻译成 30 多种语言。 https://translate.librecad.org
LibreCAD 是自由软件;你可以重新分发它和/或修改
它,但须遵循自由软件基金会发布的
[GNU General Public License version 2](https://www.gnu.org/licenses/gpl-2.0.html) (GPLv2) 条款。
请阅读 [LICENSE](LICENSE) 文件以获取更多信息。
master 分支代表最新的预发布代码。
2.2.2 分支需要 Qt 6.4.0 或更高版本。
2.2.1 分支需要 Qt 5.15.0 或更高版本。
2.2 分支需要 Qt 5.2.1 或更高版本。
2.1 分支将是最后一个支持 Qt4 的分支。
2.0 分支将是最后一个支持 QCAD 工具栏的分支。
(https://travis-ci.org/LibreCAD/LibreCAD.svg?branch=2.0)](https://travis-ci.org/LibreCAD/LibreCAD)
## DXF 转换器
LibreCAD 可用作将 DXF 转换为 PDF、PNG 或 SVG 的转换器。例如,要将 `foo.dxf` 转换为 `foo.pdf`、`foo.png` 或 `foo.svg`:
```
$ librecad dxf2pdf foo.dxf
$ librecad dxf2png foo.dxf
$ librecad dxf2svg foo.dxf
```
## 发布与里程碑
### 发布
- [正式发布与预发布](https://github.com/LibreCAD/LibreCAD/releases)
### 最新构建
- [2.2.2_alpha-latest](https://github.com/LibreCAD/LibreCAD/releases/tag/2.2.2_alpha-latest)
- [2.2.1.x latest](https://github.com/LibreCAD/LibreCAD/releases/tag/2.2.1-latest)
对于 macOS arm64 构建,该应用 __未__ 进行签名。要解决“已损坏”错误 ([#2162](https://github.com/LibreCAD/LibreCAD/issues/2162)),请执行:
xattr -rc LibreCAD.app
sudo codesign --force --deep --sign - LibreCAD.app
## 基于 libdxfrw 构建
[`libdxfrw`](https://github.com/LibreCAD/libdxfrw) 是一个关联项目,它允许 LibreCAD 读取 DXF 和 DWG 文件。
## 需求与 Bug 报告
- [GitHub Issues(推荐)](https://github.com/LibreCAD/LibreCAD/issues)
- [SourceForge tickets(已禁用)](https://sourceforge.net/p/librecad/_list/tickets?source=navbar)
## 用户文档
- [用户手册](https://librecad.readthedocs.io/)
- [Wiki 主页](https://dokuwiki.librecad.org/)
## 问题或建议
- [LibreCAD 论坛](https://forum.librecad.org/)
- IRC:libera.chat 上的 [#librecad](https://web.libera.chat/#librecad)
## 构建
### 要求
- [Qt](https://www.qt.io/download-open-source/) 6.4.0+(Windows 上使用 MinGW 版本)
- [Boost](https://www.boost.org/) 1.55.0+
更多信息:[从源码构建](https://github.com/LibreCAD/LibreCAD/wiki/Build-from-source)
### 构建单元测试
要构建单元测试(例如针对 `rs_math.cpp`),请启用 `BUILD_TESTS` 标志:
```
cmake -DBUILD_TESTS=ON ..
make
./build/librecad_tests
```
## 贡献
[Git 和 GitHub](https://github.com/LibreCAD/LibreCAD/wiki/Git-and-GitHub)
[成为一名开发者](https://github.com/LibreCAD/LibreCAD/wiki/Becoming-a-developer)
这里有一个[资源仓库](https://github.com/LibreCAD/Resources),适合那些希望通过提供图标、样式表、文档、模板等方式
为项目做出间接贡献的人。
相关下载:
标签:2D绘图, Bash脚本, CAD软件, DXF/DWG, 文件格式转换, 跨平台