GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - easyeda/eext-device-model-generator: 嘉立创EDA专业版扩展:从器件数据手册PDF识别机械图和尺寸,生成可预览的3D模型及文件,支持绑定到PCB器件。EasyEDA Pro Extension:Identify mechanical drawings and dimensions from component datasheets in PDF format, generate previewable 3D models and files, and support binding to PCB components

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
build
build
 
 
config
config
 
 
iframe
iframe
 
 
images
images
 
 
locales
locales
 
 
src
src
 
 
.edaignore
.edaignore
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.en.md
README.en.md
 
 
README.md
README.md
 
 
extension.json
extension.json
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

AI器件3D模型生成器

English

本项目依赖于支持视觉能力的AI模型API,需准备好API地址,模型名称及密钥(获取方式请查询API供应商文档)

这是一个嘉立创EDA专业版扩展。支持从器件数据手册的 PDF 机械图读取结构和尺寸,用 build123d 生成可预览和导出的 STEP 模型,并可将模型绑定到 PCB 中选中的器件。

alt text

生成效果

DeepSeek Kimi GPT
alt text alt text alt text

定位机械图

用候选页定位器件对应的图纸,按实际 PDF 页码拼接选中的图纸区域。支持将同一封装的外形图和尺寸表跨页读取。 alt text

生成预览及对话调整

用通用几何操作生成器件外形、孔、开口、斜面和端子阵列。预览支持旋转、缩放、切换视角和显示 CAD 实测 X、Y、Z 尺寸。可以要求修改结构、位置、尺寸、颜色或渲染材质。 alt text

导出和绑定

保存 STEP、导入个人 3D 库,或在 PCB 中选择器件并绑定模型。仍有尺寸、结构或装配疑点的结果可以作为草稿保存。

PCB选中绑定 3D管理器预览
alt text alt text

使用方法

  1. 在面板顶部的「模型API配置」中填写 API 地址、视觉模型 ID 和服务要求的 API Key。地址可填写 Base URL 或完整的 Chat Completions 地址。服务须支持 image_url 和浏览器跨域请求。
  2. 按需设置「最大输出 tokens」。留空时,扩展自动查询并显示 OpenRouter 模型公布的上限,查询无需 API Key。其他服务采用服务端默认值。手动设置会保存,清空后恢复自动。
  3. 选择数据手册 PDF,点击「AI 识别并生成」。如果资料有多种封装,可在对话框回复完整料号、封装名或指定实际页码。
  4. 查看 3D 预览和「尺寸对照」。用箭头切换选中的机械图,右侧同步显示当前图纸的尺寸。PCB 焊盘尺寸会单独标明。点击「重新读图」可复核本次选中的图纸。
  5. 通过对话描述调整,例如「只把安装孔按图纸上限放大」或「把按钮改成红色哑光」。也可以输入「自定义整件 X=3.5 mm,Y=2.8 mm」或「恢复图纸尺寸」。
  6. 点击「保存 STEP」或「导入个人库」。当前为 PCB 文档时,在「PCB 目标器件」选择位号,再点击「绑定到器件」。也可先在画布中单选器件,然后点击「刷新器件」。

API 配置

模型API配置中的四个输入项

  • OpenAI 兼容 API 地址 填服务商的 Base URL 或完整的 /chat/completions 地址。图中的 https://api.example.com/v1 是占位示例。服务端须允许浏览器跨域请求。
  • 视觉模型 ID 填服务商提供的准确 ID,模型须支持通过 image_url 读取图片。
  • API 密钥(可选) 服务商要求鉴权时粘贴密钥,否则留空。
  • 最大输出 tokens 可留空使用自动设置。需要手动限制输出时填正整数,清空即可恢复自动。

致谢

PDF.js 提供 PDF 解析和渲染能力
Three.js 提供 3D 预览能力
build123d 提供模型构建能力
Pyodide 提供浏览器能运行Python支持能力
OCP.wasm 提供Open CASCADE几何内核能力

About

嘉立创EDA专业版扩展:从器件数据手册PDF识别机械图和尺寸,生成可预览的3D模型及文件,支持绑定到PCB器件。EasyEDA Pro Extension:Identify mechanical drawings and dimensions from component datasheets in PDF format, generate previewable 3D models and files, and support binding to PCB components

Topics

3d-designai-3d-model-generatoreasyedaeasyeda-extensioneasyeda-extensionseasyeda-propcb

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.