Configs2026年5月22日·1 分钟阅读

LibreCAD — Free Open Source 2D CAD Application

A cross-platform 2D computer-aided design tool for creating technical drawings, floor plans, and schematics. Reads and writes DXF files and offers a familiar CAD interface.

Agent 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
LibreCAD Overview
通用 CLI 安装命令
npx tokrepo install c478d5d3-561d-11f1-9bc6-00163e2b0d79

Introduction

LibreCAD is a free, open-source 2D CAD application forked from QCAD Community Edition. It provides a complete set of drafting tools for architects, engineers, and hobbyists who need precise technical drawing without the cost of commercial CAD software.

What LibreCAD Does

  • Creates precise 2D technical drawings with lines, arcs, circles, and splines
  • Supports layers, blocks, and hatching for organized complex drawings
  • Reads and writes DXF and DWG formats for compatibility with AutoCAD
  • Provides dimensioning tools for annotating measurements automatically
  • Offers snapping, grid, and construction line tools for drafting accuracy

Architecture Overview

LibreCAD is written in C++ using the Qt framework. The drawing engine stores entities (lines, arcs, text, dimensions) in a layered model with coordinate precision up to 16 decimal places. Rendering uses Qt's QPainter with optional OpenGL acceleration for large drawings. The command line at the bottom of the interface accepts typed commands similar to AutoCAD's command-line input model.

Self-Hosting & Configuration

  • Available in most Linux distribution repositories
  • macOS and Windows installers available from the official website and GitHub
  • Configure drawing units (metric or imperial) and default layer settings in Preferences
  • Customize the toolbar layout and keyboard shortcuts for your workflow
  • Set up pen styles, line widths, and colors for print output

Key Features

  • Full DXF and DWG file format support for AutoCAD interoperability
  • Command-line input for fast, keyboard-driven drafting
  • Comprehensive snap modes including endpoint, midpoint, intersection, and perpendicular
  • Block library for reusing common symbols and components
  • Print and export to PDF, SVG, and various image formats

Comparison with Similar Tools

  • AutoCAD — industry-standard commercial CAD; LibreCAD covers core 2D drafting for free
  • FreeCAD — focuses on 3D parametric modeling; LibreCAD is dedicated to 2D drafting
  • QCAD — the project LibreCAD forked from; QCAD has a commercial professional edition
  • DraftSight — commercial 2D CAD by Dassault; LibreCAD is fully free and open source

FAQ

Q: Can LibreCAD open AutoCAD files? A: Yes. It reads DXF natively and has partial DWG support through the libdxfrw library.

Q: Does LibreCAD support 3D modeling? A: No. It is strictly a 2D drafting tool. For 3D work, consider FreeCAD or Blender.

Q: Is LibreCAD suitable for architectural floor plans? A: Yes. It has all the tools needed for floor plans, including dimensioning, hatching, and layering.

Q: Can I script or automate tasks in LibreCAD? A: LibreCAD has experimental plugin and scripting support, though it is less mature than AutoCAD's LISP.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产