Repository navigation
SeEx v4.0.0
这个版本新增离线库管理,并调整了剪贴板监控、BOM 导出和界面布局。
✨ 新增
离线库管理
- 新增「库管理」页,可读取已有库,也可将文件夹中的库合并成一组新库;无需联网查询元件。
- 查看 Altium
.SchLib/.PcbLib、KiCad.kicad_sym/.kicad_mod,显示库中可用的元件名称、ID、描述、属性及 part、图元、内嵌模型数量。自制元件不需要立创 ID。 - 合并 Altium 原理图库、封装库,以及现代 KiCad 符号库、
.pretty封装目录和.3dshapes模型目录。支持读取 SeEx、npnp 导出及可保留其数据的外部库。 - 相同内容去重;同名内容或模型 ID 冲突时停止合并,避免静默丢弃元件。KiCad 合并会更新已包含封装和模型的库引用;未包含的外部引用仍保持外部引用。
- 检查后可导出 CSV 或 Markdown 清单,保存当前读取结果;自定义 KiCad 属性也会包含在导出中。
- 结果区支持滚动、文本选择、复制,以及「复制全部」;错误信息也可选择和复制。
Markdown 导出
- BOM 和库清单均支持
.md表格,与 CSV 使用相同的列和元数据,可用文本编辑器或 Markdown 阅读器查看。
🚀 改进
- 点击右上角「监听中 / 已暂停」即可控制剪贴板监控,移除监听页重复的开关。暂停期间不轮询剪贴板;恢复时跳过剪贴板当前内容,后续变化才会被采集。手动导入在暂停时仍可使用。
- 移除「历史」导航;Quick ID 和 Full Info 匹配默认同时启用,不再单独选择匹配模式。
- 「字体」更名为「语言与字体」。导航按钮按文字宽度布局,空间不足时可横向滚动;导出目录、库名称和 BOM 路径输入框文字加大。
- 导航顺序调整为「监听 → 导出 → 语言与字体 → 库管理 → 更多」。
- BOM CSV 增加元件链接、采集次数、首次/最后采集时间和元数据状态,保留型号、厂家、描述、封装及数据手册链接;不导出原始剪贴板文本。
- CSV 使用带 BOM 的 UTF-8、CRLF 行尾和字段转义,并处理可能被电子表格解释为公式的文本。
- 新的默认 BOM 路径为用户文档目录下的
SeEx文件夹,避免写入程序安装目录。已保存的自定义路径保持不变。
🐞 修复
- 修复 Altium 异形焊盘编号不易辨认、铜皮轮廓未关联到焊盘的问题。完整铜皮轮廓现在通过原生自定义焊盘关联到对应编号,保持焊盘的网络归属;合并库时保留该关联。
- 修复自定义焊盘缺少阻焊扩展的问题。移除覆盖扩展设置的等尺寸阻焊轮廓,使阻焊开窗根据完整铜皮轮廓生成;优先使用源库提供的扩展值,否则采用与普通焊盘一致的默认值。
- 修复 Altium 同时保存 UTF-8 参数和旧编码回退值时,错误选择回退值造成的乱码。UTF-8 值现在优先,正确保留
Ω、±、℃和中文。 - 修复 Altium 原理图符号引脚被装饰图形拉长、移位的问题。符号只有一个闭合轮廓且该轮廓只是装饰时(如 2N3904 的发射极箭头),不再把它当作元件本体,引脚保持源库的位置和长度。
- 修复 Altium 原理图符号引脚与符号本体之间出现缝隙的问题。只有当引脚确实够不到图形时才把它移到本体边缘;极性点之类的装饰比本体更靠外时,引脚仍然贴在本体上。
- 修复 Altium 封装中大于 180° 的丝印圆弧圆心落在轮廓另一侧的问题。TO-92 的圆形丝印不再画成元件外的大回路。
- 修复 Altium 圆形焊盘在机械层 9 上使用外接矩形轮廓的问题,圆形焊盘周围不再出现方形轮廓。
- 修复旋转焊盘上槽孔方向错误的问题。钻孔角度改为取自源库,槽孔沿焊盘方向放置,不再横穿焊盘、凸出铜皮。
- 修复单独导出的 Altium 原理图库默认文字为 4pt、比合并库小的问题,统一为 10pt。
- 修复暂停/恢复监听后复制的内容偶尔不被匹配的问题。恢复时只跳过暂停期间留在剪贴板里的内容(按剪贴板的变更序号判断),恢复后立即复制的内容会被采集;同一个 ID 再次复制也会计为一次新的采集。
- 修复英文「Language & Font」超出按钮、长库清单超出可见区域的问题。
- 导出通过临时文件完成写入后再替换目标,减少写入失败损坏已有清单的风险。
- 文件访问错误包含相关路径,并提示关闭占用文件的程序或选择可写目录;选中文件夹作为导出文件名时会明确提示。
⚠️ 行为变化与支持范围
- 已导出的 Altium 封装库需要重新导出,才能应用自定义焊盘关联、阻焊扩展、丝印圆弧、圆形焊盘轮廓和槽孔方向修复;Altium 原理图库也需要重新导出,才能应用引脚位置和默认文字大小的修复。
- BOM 的
quantity初始值改为1,剪贴板采集次数单独保存在capture_count。 请按设计实际需要编辑数量,重复复制不再代表采购或装配数量。 - 复制同一段文字(包括同一个 ID)现在会计为一次新的采集,
capture_count递增;此前这类重复复制会被忽略。 - 合并需要选择新的输出名称,不覆盖已有输出或修改源库。Altium 与 KiCad 输入应放在不同文件夹,发现范围为所选目录的直接子项。
- 无法保留 Altium 数据流或元数据时,会在发布输出前拒绝合并;某些厂家扩展和原理图图片存储属于此情况。
- 离线库工具不支持旧版 KiCad
.lib/.mod、Altium 集成库或格式转换。 - 源文件中已经被替换为
?的文字无法自动还原。被其他程序独占锁定的文件仍需先解除占用。
👥 贡献者
SeEx v4.0.0 (English)
This release adds offline library management and improves clipboard controls, BOM exports, and the interface.
✨ Added
Offline library management
- A new Libraries page inspects existing libraries and merges a folder into a new library set, without online component lookups.
- Inspect Altium
.SchLib/.PcbLiband KiCad.kicad_sym/.kicad_modfiles. Results include available names, IDs, descriptions, properties, and part, primitive, and embedded-model counts. Homemade components do not need an LCSC ID. - Merge Altium schematic and PCB libraries, or modern KiCad symbol libraries,
.prettyfootprint folders, and.3dshapesmodel folders. SeEx, npnp, and external libraries are supported where their data can be preserved. - Identical content is deduplicated. Conflicting names or model IDs stop the merge instead of silently dropping components. KiCad references to included footprints and models are updated; references to external assets remain external.
- Export the inspected snapshot as CSV or Markdown, including custom KiCad properties.
- Scroll inspection results, select and copy text, or use Copy all. Error messages also support selection and copying.
Markdown export
- Both BOMs and library inventories support
.mdtables with the same columns and metadata as CSV, readable in a text editor or Markdown viewer.
🚀 Improvements
- Click the top-right Listening / Paused status to control clipboard monitoring; the duplicate Monitor-page control is removed. Pausing stops clipboard polling. Resuming skips the current clipboard contents and captures subsequent changes. Manual import remains available while paused.
- History navigation is removed. Quick ID and Full Info matching are enabled together by default, replacing the match-mode controls.
- Font is renamed Language & Font. Navigation buttons fit their labels and scroll horizontally when space is limited. Export directory, library name, and BOM path inputs use larger text.
- Navigation now follows Monitor → Export → Language & Font → Libraries → More.
- BOM CSV adds component links, capture counts, first/last capture times, and metadata status, alongside MPN, manufacturer, description, package, and datasheet links. Raw clipboard text is excluded.
- CSV uses UTF-8 with a BOM, CRLF rows, escaped fields, and protection against text being interpreted as spreadsheet formulas.
- New default BOM paths use the
SeExfolder in the user's Documents directory rather than the executable directory. Saved custom paths are retained.
🐞 Fixed
- Fixed unreadable designators and unassociated copper contours on irregular Altium pads. Native custom-pad ownership now connects the full copper shape to its numbered pad and preserves its net association. Library merges retain this ownership.
- Fixed missing solder-mask expansion on custom pads. Removed equal-size mask contours that overrode expansion, allowing the opening to follow the full copper shape. Source expansion values take precedence; otherwise, custom pads use the same default as ordinary pads.
- Altium parameters now prefer UTF-8 values over legacy encoding fallbacks, preserving symbols such as
Ω,±,℃, and Chinese text. - Fixed Altium symbol pins being stretched and moved by decoration. A symbol whose only closed outline is a drawing such as the emitter arrow of a 2N3904 no longer treats it as the body, so pins keep their source position and length.
- Fixed a gap between Altium symbol pins and the symbol body. A pin is only moved onto the drawing edge when it does not reach it; when a decoration such as a polarity dot reaches further out than the body, the pin stays on the body.
- Fixed silkscreen arcs wider than 180° in Altium footprints taking their centre on the wrong side of the contour. The round silkscreen of a TO-92 no longer loops away from the part.
- Fixed round Altium pads using their bounding rectangle as the Mechanical 9 outline, which drew a square around the pad.
- Fixed slot drills on rotated Altium pads crossing the pad. Slot angles now come from the source library, so slots follow the pad instead of poking out of the copper.
- Fixed single-part Altium schematic libraries defaulting to 4pt text, smaller than the 10pt used by merged libraries.
- Fixed copies being missed after pausing and resuming monitoring. Resuming now skips only the clipboard left over from the pause (identified by its change counter) instead of dropping the next poll, so a copy made right after resuming is captured; copying the same ID again also counts as a new sighting.
- Fixed the overflowing English Language & Font label and library results extending beyond the visible area.
- Exports finish writing a temporary file before replacing the destination, reducing the risk of damaging an existing inventory if writing fails.
- File access errors include the affected path and guidance about locked files and writable folders. Selecting a folder as an export filename produces a clear error.
⚠️ Behaviour changes and supported formats
- Re-export existing Altium footprint libraries to apply the custom-pad ownership, solder-mask expansion, silkscreen arc, round-pad outline, and slot-direction fixes. Re-export Altium schematic libraries to apply the pin-position and default text-size fixes.
- BOM
quantitynow starts at1; clipboard sightings are stored separately ascapture_count. Edit quantities to match your design. Repeated copying no longer represents purchase or assembly quantities. - Re-copying the same text, including the same ID, now counts as another sighting and increments
capture_count; such repeats used to be ignored. - Merges require a new output name and protect existing outputs and source libraries. Keep Altium and KiCad inputs in separate folders. Discovery covers direct children of the selected directory.
- Altium libraries are rejected before output publication if their streams or metadata cannot be preserved, including some vendor extensions and schematic image storage.
- The offline tools do not support legacy KiCad
.lib/.mod, Altium integrated libraries, or format conversion. - Characters already replaced with
?in a source file cannot be reconstructed. Files exclusively locked by another application must still be unlocked first.