Repository navigation
Releases: Mola-maker/CAD2GIS
Release list
CAD2GIS 0.8.0 · Current website and Agent delivery · 2026-10-13
CAD2GIS 0.8.0 adds optional source-preserving CAD tools to the existing DWG/DXF-to-GIS and QGIS delivery pipeline. Original code is now Apache-2.0; third-party components, fonts and data retain their licenses and notices.
The optional U-C4N/Autocad-MCP v1.6.0 runtime is fixed to a source revision and installed separately. Four registered CAD2GIS wrappers expose 15 actually exercised headless 2D tools. The main MCP contract has 63 interfaces, including those wrappers; these counts must not be added together. Original drawings remain unchanged and revised DXF returns to canonical GIS validation. AutoCAD COM and 3D are outside the verified adapter.
GitHub Pages now uses the owner's local official production website, retaining its fonts/CSS and effects. Primary text follows current code: project value, actual tool names, workflow, installation and validation scope. Historical experiment graphs retain their original dates/versions in a clearly marked disclosure. Chinese/English GitHub Wiki and styled Wiki explain the MCP/plugin advantages. Nine effects are reused from the website package; no separate nine-drawing report ZIP is added.
Validation: core/Agent Linux Python3.12 suite1661 passed,19 skipped; full prior main CI passed Linux/Windows/macOS/offline precision; all15 CAD tools exercised on synthetic DXF; six MCPB integrity/handshake checks; current affected website/plugin/registry contracts50 passed. New public deployment verified15 URLs. Demo cases remain CONDITIONAL; absolute surveying accuracy is not independently verified. Historical desktop binaries were not rebuilt or relabeled0.8.0.
Official MCP Registry0.8.0 and Smithery are published and publicly verified. Glama source-repository submission awaits review/indexing. Codex/Claude Code repository marketplaces and Cursor/VSCode MCP configurations are available; official OpenAI/Anthropic directory eligibility remains separate.
Assets: current wheel,source distribution,plugin ZIP,MCPB,Smithery metadata variant,Agent delivery ZIP,GitHub Pages ZIP and official-site ZIP. Core v0.8.0 is immutable. This separate v0.8.0-site.20261013 delivery release keeps the original wheel and MCPB hashes unchanged; website/docs/source-distribution artifacts were refreshed to reflect the owner's selected frontend and current code. release-manifest.json distinguishes runtime,source and website provenance; SHA256SUMS covers every delivered asset.
Pages: https://mola-maker.github.io/CAD2GIS/
Styled bilingual Wiki: https://mola-maker.github.io/CAD2GIS/wiki/
GitHub Wiki: https://github.com/Mola-maker/CAD2GIS/wiki
Smithery: https://smithery.ai/servers/chenlihuasb123/cad2gis-agent
The official-domain deployment ZIP is ready; server management access is still required to install that version on cad2gis.molamaker.cn. See DEPLOY-OFFICIAL.md.
CAD2GIS 0.8.0 · Agent, native DXF and verified CAD tools
CAD2GIS 0.8.0 adds optional source-preserving CAD tools to the existing DWG/DXF-to-GIS and QGIS delivery pipeline. Original code is now Apache-2.0; third-party components, fonts and data retain their licenses and notices.
The optional U-C4N/Autocad-MCP v1.6.0 runtime is fixed to a source revision and installed separately. Four registered CAD2GIS wrappers expose 15 actually exercised headless 2D tools. The main MCP contract has 63 interfaces, including those wrappers; these counts must not be added together. Original drawings remain unchanged and revised DXF returns to canonical GIS validation. AutoCAD COM and 3D are outside the verified adapter.
GitHub Pages now uses the owner's local official production website, retaining its fonts/CSS and effects. Primary text follows current code: project value, actual tool names, workflow, installation and validation scope. Historical experiment graphs retain their original dates/versions in a clearly marked disclosure. Chinese/English GitHub Wiki and styled Wiki explain the MCP/plugin advantages. Nine effects are reused from the website package; no separate nine-drawing report ZIP is added.
Validation: core/Agent Linux Python3.12 suite1661 passed,19 skipped; full prior main CI passed Linux/Windows/macOS/offline precision; all15 CAD tools exercised on synthetic DXF; six MCPB integrity/handshake checks; current affected website/plugin/registry contracts50 passed. New public deployment verified15 URLs. Demo cases remain CONDITIONAL; absolute surveying accuracy is not independently verified. Historical desktop binaries were not rebuilt or relabeled0.8.0.
Official MCP Registry0.8.0 and Smithery are published and publicly verified. Glama source-repository submission awaits review/indexing. Codex/Claude Code repository marketplaces and Cursor/VSCode MCP configurations are available; official OpenAI/Anthropic directory eligibility remains separate.
Assets: current wheel,source distribution,plugin ZIP,MCPB,Smithery metadata variant,Agent delivery ZIP,GitHub Pages ZIP and official-site ZIP. The original wheel and MCPB hashes are unchanged; website/docs/source-distribution artifacts were refreshed to reflect the owner's selected frontend and current code. release-manifest.json distinguishes runtime,source and website provenance; SHA256SUMS covers every delivered asset.
Pages: https://mola-maker.github.io/CAD2GIS/
Styled bilingual Wiki: https://mola-maker.github.io/CAD2GIS/wiki/
GitHub Wiki: https://github.com/Mola-maker/CAD2GIS/wiki
Smithery: https://smithery.ai/servers/chenlihuasb123/cad2gis-agent
The official-domain deployment ZIP is ready; server management access is still required to install that version on cad2gis.molamaker.cn. See DEPLOY-OFFICIAL.md.
CAD2GIS 0.7.8 — Windows 修复与各平台版本集合
本次汇总已合并的桌面修复,发布 CAD2GIS 0.7.8 Windows 安装包、完整工程源码、Python wheel 和通用 Agent 插件。标签对应 main 提交 e7105dfa86868bcc625b54c8f85e2e138fce4709,源代码树与已验收的应用构建提交 0f9b9a5875d5568c996891ddaa582e484d4f7d0b 完全一致。
下载安装与各平台版本
| 平台或组件 | 本次可用版本 | 下载 |
|---|---|---|
| Windows x64 | 0.7.8 | Windows 安装器 |
| 完整工程源码 | 0.7.8 | 源码 ZIP |
| Python wheel | 0.7.8 | wheel |
| CAD2GIS Agent 插件 | 0.7.8 | 通用插件 ZIP |
| Linux x86_64 | 0.7.0-3,现有发布 | DEB · 便携版 |
| macOS Apple Silicon | 0.7.0,现有发布 | ARM64 PKG |
| macOS Intel | 0.7.0,现有发布 | x86_64 PKG |
| Android | 0.7.0,现有开发版 | APK |
Windows 安装器自带 Python、GIS 库和 LibreDWG。更新前从软件内正常关闭 CAD2GIS,再运行安装器。通用插件 ZIP 提供清单、MCP 配置和技能;使用前需安装同版运行环境并确保 cad2gis-agent-mcp 命令可用,具体步骤见插件内 README。
Linux、macOS 和 Android 链接保留各自实际已发布版本,本次没有将它们重建为 0.7.8;这些旧安装包不包含本次 0.7.8 的全部修复。Android 仍是连接服务端的客户端。
累计修复
- 修复 Windows 嵌入地图只显示局部、下半部被裁切的问题。窄窗可切换完整 CAD/GIS 视图,宽屏保留双图,展开和收起工作区后更新实际地图尺寸。
- 全图适配按实际字体、标签偏移、描边和符号尺寸预留空间,修复两端工程编号越界。字体加载完成后保留用户已经进行的缩放和平移。
- 完善 AI 工具调用、输入、返回、异常和取消事件的登记与展示;同一个模型调用标识被重复使用时仍保留各次事件。
- 修复 SVG 预览的刷新、图像加载和就绪状态;继续保留 Linux 分支已合入的 QGZ/完整 ZIP 交付、成果入口和路径校验修复。
- 延续 Windows 安装保护、启动器进程回收及原生读取器修复。图层、标签属性、原始几何和转换条件状态不因显示修复而改变。
验证范围
- 本次源码浏览器回归 35 项通过,定向 Python 回归 47 项通过。
- 本次 Windows 原位升级成功;安装后 14,773 个清单文件、185 个应用文件核对通过,原有用户状态保留。
- 本次实际安装版 9 项界面检查通过、12 张截图逐张核对,覆盖窄窗、宽屏、展开视图及 SVG。工程分区的 28 个几何对象与 15 个文字样式边界均位于画布内;Lamteh SVG 报告的 360 个图像实例全部加载。文字避让仍可能隐藏重叠标签。
- 本次启动器实跑通过;新注册插件实际 MCP 连接验证 59 个工具。
- 原生读写、合成转换和本地 AI 协议的 0.7.7 回归证据继续保留:原生文件、依赖锁与相关应用代码哈希一致。本次没有将这些历史检查标为 0.7.8 重跑,也未重新转换全部图纸。
- 外部 AI provider 尚未执行联网验收。GitHub Actions 作业受预算限制未启动,不代表 CI 已通过。
Windows 安装器未代码签名,本次沿用 Pre-release 发布类别。地图显示完整不代表全部候选符号已解析,也不构成绝对测绘精度证明;既有 CONDITIONAL 等状态继续保留。
附件与校验
附件包含安装器、623 个已提交文件组成的完整源码、wheel、18 个文件组成的通用插件、LibreDWG 0.14 和 pyramids-gis 0.58.1 源码归档,以及 release-manifest.json、windows-verification.json、platform-versions.json、SHA256SUMS。
SHA256SUMS 覆盖其余所有附件;platform-versions.json 保存其他平台已发布附件的原始版本、下载地址与 GitHub 提供的 SHA-256。windows-verification.json 记录本次检查与沿用证据的边界,并注明安装包第三方组件清单中的应用条目仍保留构建基底版本,实际运行时和插件均已验证为 0.7.8。
CAD2GIS 0.7.4 — Windows 后台进程回收修复
CAD2GIS 0.7.4 — Windows 后台进程回收
启动器退出后仍可能留下 Python 后台进程,持续占用安装目录中的 runtime/DLLs/libcrypto-3-x64.dll,导致关闭窗口后覆盖安装仍被阻止。本版本修复桌面启动器的进程归属与退出清理。
Windows 桌面启动器现在在创建 Python 之前加入独立的匿名 Job Object,启用 JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE。句柄仅由启动器持有,到启动器进程退出时由操作系统关闭,使其 Python 后台及后代进程一同退出。正常关闭继续返回 Python 的退出码,普通 CLI 启动方式保持原有行为。Microsoft Job Object 文档
安装器继续在替换文件前检查占用,不覆盖仍在使用的运行环境。旧版本已经产生的孤立后台进程需要先结束,再安装本版本。
本地验证
- 已复现并定位旧启动器退出、Python 孤立存活、DLL 被占用的状态;清理确认无任务的残留进程后,0.7.3 覆盖安装成功。
- 新启动器正常启动、单次登录、前端资源校验、正常关闭及零退出码通过。
- 仅强制结束新启动器时,真实 Python 服务退出,
libcrypto可重新独占打开。 - 启动阶段子进程与孙进程回收重复验证 3 次,运行中的无关 Python 进程保留。
- 在普通外层 Job 中运行时,嵌套进程归属验证通过。
延续 0.7.3 的聊天布局、真实路径绑定和转换结果入口修复。本版本使用本地 Windows 构建,不运行 GitHub Actions。
CAD2GIS 0.7.3 — Windows 聊天转换修复
CAD2GIS 0.7.3 — 聊天转换与布局修复
长工具输出现在在聊天区和可展开的执行记录内滚动,输入框与发送按钮保持在窗口内。导入 DWG 后可发送“转换当前图纸”:已有审核配置进入正式转换,新项目完成必要的 AI 建项后转换,真实产物通过“打开转换结果”接入地图审阅。
修复
- 工作区上下文区分源文件、配置目录、结果目录和尚未生成的路径,并列出真实配置文件。新增分页目录工具,文本与数据库工具返回可执行的路径提示。
- 新项目不再要求配置目录预先存在。已有配置沿用正式入口的发现规则,支持项目根目录、config、.cad2gis 及 manifest 指定布局;部分或损坏配置保留错误,不静默重建。
debug_mcp.scope在工具 schema 中明确列出identity、runtime、artifacts、query,防止使用无效值。- 大型建项报告被截断时仍保留可解析的转换回执。完成的转换复用原回执,中断重试固定原工具与参数,保留不确定写入保护。
- 对话保留选中图纸和结果。快速切换对话时丢弃迟到响应,防止旧会话覆盖当前图纸。
- 延续 0.7.1 的可选 GCP、地图滚动及 SVG 审阅修复,以及 0.7.2 的覆盖安装占用保护。
本地验证
- 120 项 Python 回归通过;1 项符号链接测试因 Windows 账户不具备创建权限跳过。
- Edge 在 1440×900、1024×768、768×700、390×844 验证长工具输出、消息、输入框和发送按钮。
- 浏览器验证工具详情展开状态在轮询后保留、会话请求逆序返回,以及聊天结果打开实际地图。
- 真实 DWG → MCP 子进程 → 正式转换生成 GeoPackage、OSM 匹配与 SVG 报告,旧结果哈希不变,重复工具请求没有重复转换。
- 上述智能体集成测试使用确定性模型和本地 OSM 测试数据,没有调用远程模型服务。源图缺少必要坐标或分类证据时仍须满足正式转换的校验要求。
- 地图滚动、可选 GCP、SVG 图片及只读数据库审阅回归通过;Windows 启动器、单次登录和前端资源哈希校验通过。
本版本在本机构建,未运行 GitHub Actions。Windows 安装前从工作台关闭程序,避免旧 Python 进程占用运行环境。源码与依赖源码按已有授权随私有 Release 提供。
CAD2GIS 0.7.2 — Windows 安装保护
Windows 0.7.2:覆盖安装与卸载保护,本地构建,无新增 CI 用量。
旧 CAD2GIS 后台服务仍在运行时,安装或卸载可能留下不完整的自带 Python,后续出现 No module named encodings 等启动错误。现在会在删除或替换旧文件前检测 bin/runtime/libredwg 中的占用或不可写文件,发现问题立即停止并给出提示。检查也拒绝运行时目录链接,避免沿链接处理外部目录。
升级前在所有 CAD2GIS 工作台左下角点击“关闭程序”,等待任务完成后重试。仅关闭浏览器标签页不会退出后台服务。程序自带 Python,无需另装系统 Python;项目、AI 配置和历史结果存放在独立用户目录。
验证:真实 Inno 安装器隔离测试通过,包括运行中的 EXE 阻止安装且旧 metadata 保留、退出后安装成功、运行中阻止卸载、退出后卸载成功,以及根目录 junction 阻断。0.7.1 的地图可选 GCP、滚动、重复打开和 SVG 修复全部保留。
本次只更新 Windows。附当前提交的 CAD2GIS 源码 ZIP、LibreDWG 0.14 和 pyramids-gis 0.58.1 官方源码归档。安装包为未签名的开发测试发行版。
已完成真实 Windows 现有安装的 0.7.1 → 0.7.2 覆盖升级,安装退出码为 0,无需重启;安装后的标准库、版本、桌面启动器和页面文件摘要验证通过。
CAD2GIS 0.7.1 — Windows 审阅修复
Windows 0.7.1 审阅流程修复(本地构建,无新增 GitHub Actions 用量)。
- 第三步人工核对 OSM 匹配后可以直接继续 SVG 审阅与查看交付数据,人工 GCP 保留为可选项。
- 修复地图和 SVG 页面滚动及地图显示不完整的问题。
- 修复重复点击“打开结果”停留在加载状态的问题,并增加加载与失败反馈。
- 地图使用专用审阅入口,移除旧演示首页及演示脚本的加载。
- 修复 SVG 报告 PNG 缩略图无法显示,保留报告文件摘要与路径验证。
- 人工二次匹配后刷新报告绑定,避免地图、报告与交付数据混用不同版本。
安装:退出正在运行的 CAD2GIS 本地服务后,运行 CAD2GIS-0.7.1-windows-x64-setup.exe。项目和转换结果保留;请从开始菜单重新打开应用,旧浏览器标签页仍可能连接旧服务。
验证:110 项回归测试通过,1 项 Windows 符号链接权限测试跳过;真实 Edge 工作流、包内浏览器工作流、DWG 转换与人工二次匹配通过。安装器已编译,未在现有用户安装上执行覆盖安装。安装包未签名。
本次仅更新 Windows 安装包;macOS、Linux、Android 的 0.7.0 安装包仍在 v0.7.0 Release。附带当前提交的 CAD2GIS 源码 ZIP,以及 LibreDWG 0.14、pyramids-gis 0.58.1 官方源码归档;LibreDWG 补丁和构建说明见项目源码。
CAD2GIS Linux.3: QGZ delivery and SVG preview fixes
CAD2GIS Linux.3(安装包版本 0.7.0-3)修复了 AI 请求生成 QGZ 后没有实际交付包,以及 SVG 报告图片无法加载的问题。对应源码提交为 54c34113a0d378ff9ebc3f01e90d143a889304d3。
- 请求生成 QGZ 时,助手可直接复用已有转换结果,创建 QGZ、配套 GeoPackage/样式和完整 ZIP,并校验文件哈希、项目引用及图层数量。
- 对话中新增成果按钮。真实工具生成的成果保存在 SQLite 中,切换对话或重启后仍可打开人工复核、SVG 报告和 QGZ 交付包。
- 修复 SVG 报告中 PNG 缩略图和复核 CSV 被错误拦截的问题,继续校验文件哈希和允许访问的路径。
- 包含前一轮对话窗口滚动、长工具输出折叠、人工复核就绪后确认、打开结果和旧地图演示页面清理等修复。
请下载并解压 完整 QGIS ZIP 后打开其中的 QGZ,保持配套数据和样式的相对位置。单独复制普通交付 QGZ 会缺少其引用的数据文件。
Linux 安装包面向 Ubuntu 24.04 x86_64,glibc 2.39 或更新版本,内含 Python 3.12、GDAL 和 LibreDWG:
| 文件 | 大小(字节) | SHA-256 |
|---|---|---|
cad2gis_0.7.0-3_amd64.deb |
341405476 | 197af96836deab69fb86e0cb0d0fe4fb6b9b5c07fcff9e3d4bb2c2d414880db2 |
cad2gis-0.7.0-3-linux-x86_64.tar.gz |
341415770 | 0ddf151e0f12d0374faffd22f951859b60f96b743e1292a1aebc1a457fed4edb |
本地验证已通过 13 项桌面代理测试、61 项复核服务测试、38 项应用/交付测试、17 项真实 Chromium 流程检查及 4 种窗口尺寸布局检查。AI 打包回归通过实际 SDK/MCP 工具生成 QGZ/ZIP,使用确定性测试模型,没有调用付费模型。
安装包独立验收也已通过:12,279 个运行载荷文件的 SHA-256 全部匹配,内置 Python/GDAL/LibreDWG smoke checks 和合成图转换通过;实际 MCP 服务列出 51 个工具,成功生成并验证 QGZ/ZIP,正确拒绝覆盖既有输出和越界输出。此验收针对解包后的独立运行环境,不代表原系统中的已安装版本已升级。附件 verification.json 保留验证事实,并移除了本地命令和机器路径。
另有一份真实图纸交付通过 QGIS 3.40 新进程验证:单独准备的复核 QGZ 内嵌 GeoPackage 和 106 个源实例 SVG,8 个图层数量一致,默认视图能生成可见 PNG。此证据适用于该份交付,不代表每个候选符号均已覆盖,也不改变普通交付包需要完整 ZIP 的要求。
GitHub Actions 尚未完成验证。当前修复分支的 CI 运行已出现失败检查;Ubuntu Python 3.11 检查注解确认任务因 Actions 预算限制未启动,不应视为 CI 通过。
SVG 候选预览不等于全图元覆盖,也不等于所有候选符号已自动应用到 QGIS。此次修复恢复已有图片的显示;转换结果原有的 CONDITIONAL 等状态仍保留,打包成功不会自动确认绝对坐标精度。
Linux 0.7.0-2 · desktop review fixes
Linux desktop update with bounded conversation scrolling, collapsed tool output, and direct map review without the historical demo landing page.
The workflow is now 人工复核 → 检查无误,继续 SVG 审阅 → 查看交付文件. Map and layer loading must succeed before confirmation becomes available. Failed loads retry correctly; matching a new result resets human review. Existing CONDITIONAL status and accuracy evidence are preserved.
Download cad2gis_0.7.0-2_amd64.deb for Ubuntu x86_64 (glibc >= 2.39), or use the portable tarball. Install the DEB with sudo apt install ./cad2gis_0.7.0-2_amd64.deb, then fully close and reopen CAD2GIS. Existing user settings, conversations and project drawings are preserved.
Validation: 101 relevant Python regressions, four viewport layout checks and 14 Chromium interaction checks passed. The bundled runtime passed native DWG/MCP/conversion/SVG/application/GCP rematch checks. The DEB was installed with dpkg in an isolated root and all 12,279 payload hashes were verified. Local computer-use checks also opened an existing drawing and conversation. No project drawings or model credentials are included.
Source: eed53d5 (PR #12). These are locally verified builds; GitHub Actions status is separate.
GitHub Actions could not start because the account Actions budget prevents further use. CI has not passed; the validation above was executed locally.
CAD2GIS Linux 0.7.0-1 — 安装包修复
Linux 0.7.0-1 修复安装包,程序版本仍为 0.7.0,保留原版已打 MTEXT 补丁的 LibreDWG。原 v0.7.0 已是不可修改的 Release,因此本次修复单独发布;Windows、macOS、Android 继续使用 v0.7.0。
下载与安装
要求 glibc 2.39 或更新版本;原生运行时构建目标为 Ubuntu 24.04 x86_64,本次在 Ubuntu 26.04.1 验证。无需预装 Python、Conda 或 AutoCAD。
sha256sum --check SHA256SUMS-linux-0.7.0-1 --ignore-missing
sudo apt install ./cad2gis_0.7.0-1_amd64.deb
cad2gis-desktop无管理员权限时解压便携包,运行 cad2gis-0.7.0-1/bin/cad2gis-desktop。
修复与验证
原版 Linux 附件实际存在,但 GitHub 的 releases/latest 不包含预发布。本次补充明确的版本下载链接,并修复运行时中 31 个大小写不一致的终端数据链接及 944 个未登记的 Python 缓存文件。构建器现在强制验证完整文件清单。
- 11 项打包/归档/启动器回归测试和 Ruff 通过。
- 便携包 12,279 个运行时文件哈希通过,无失效链接。
- 独立根目录的 fakeroot/dpkg 安装和卸载事务通过;没有修改主机安装。独立 dpkg 数据库为空,使用
--force-depends,主机依赖另行检查,因此不声称完成系统级 apt 安装测试。 - 安装后原生 DWG、GDAL/PROJ/GEOS、MCP、合成 OSM+SVG 转换、工作台认证、上传、SVG、GCP 预览、二次匹配和三阶段语义提取均通过。
- 未重新进行私有九图或付费模型测试;浏览器自动打开未纳入自动测试。
附件 linux-0.7.0-1-build.json 和 linux-0.7.0-1-verification.json 记录本次产物与验证范围。安装包保留原组件许可证、LibreDWG 源码、补丁、依赖与构建来源。本次仍为预发布,请使用此版本链接,而非 releases/latest。
本次修复 PR #11 的 GitHub Actions 作业未启动:GitHub 注释为 “The job was not started because an Actions budget is preventing further use.” 本次发行依据上述本机验证,未宣称远端 CI 已通过。