• Home
  • Guide
    Upload GuideInstallation Guide
  • API Docs
    Development GuideAPI CallsAPI Reference
  • Related Sites
    EasyEDAJLCHUBOSHWLab
  • Editor
    Online Editor (Pro)Client Download
  • Manage extensions
  • LoginRegister
· EasyEDA Extension Marketplace
Home

Guide

Upload GuideInstallation Guide

API Docs

Development GuideAPI CallsAPI Reference

Related Sites

EasyEDAJLCHUBOSHWLab

Editor

Online Editor (Pro)Client Download
LoginRegister

Dynamic Silkscreen Fill

oshwhub-official3v1.3.1
(0)Apache-2.0
Auto-generate silkscreen fill regions with automatic avoidance of board outline, component silkscreen, designators, and pads
Details
Changelog
Historical versions
Comments

Dynamic Silkscreen Fill

oshwhub-official3
(0)Apache-2.0
Details
Changelog
Historical versions
Comments

Dynamic Silkscreen Fill Region Extension

Features

Draw polygon fill regions on PCB silkscreen layers with automatic obstacle avoidance.

  • Interactive Drawing: click to add vertices, Enter to finish, Esc to cancel
  • Auto Avoidance: auto-collects 6 obstacle types, expanded by gap, overlapping regions merged
  • Fill-based Avoidance: select existing silkscreen fill, one-click automatic avoidance
  • Boolean Operations: final fill via polygon boolean difference (outer CW + holes CCW)
  • Dual Layer: supports top silkscreen (Layer 3) and bottom silkscreen (Layer 4)

Usage

Option 1: Draw New Fill

  1. Open a PCB document in EasyEDA Pro
  2. Menu: Dynamic Silkscreen Fill > Draw Dynamic Fill...
  3. Enter gap value, click "Start Drawing"
  4. Click on canvas to pick polygon vertices
  5. Press Enter to finish — fill is generated automatically alt text

Option 2: Avoid Existing Fill

  1. Select a silkscreen fill region (rectangle, circle, etc.)
  2. Click "Avoid Existing Fill"
  3. Automatic avoidance processing alt text

Dependencies

  • polyclip-ts - Martinez-Rueda-Feito polygon boolean operation algorithm (MIT License)

License

Apache-2.0

Changelog

[1.3.1] - 2026-06-09

优化

  • 优化多语言支持

[1.3.0] - 2026-04-22

性能优化

  • AABB 预过滤:偏移后只保留与用户多边形相交的洞,大幅减少布尔运算输入(典型场景减少90%+)
  • 并行化障碍物收集:collectAllObstacles() 中所有独立 getAll() 调用改为 Promise.all() 并发执行,组件障碍物也并行获取
  • 恢复合并重叠障碍物:用纯 AABB 检测替代 polyclip union 测试,合并后再做差集,减少布尔运算复杂度
  • 分批布尔运算:subtractHolesFromRegionIncremental() 每批20个洞,批间 setTimeout(0) 让出主线程,UI 不再卡死并显示进度

重构

  • 提取 offsetObstacles() 共享函数,消除两处重复的偏移循环
  • logo变更

[1.2.0] - 2026-04-22

Added

  • 动态丝印填充扩展正式发布
  • 交互式绘制:点击画布拾取多边形顶点,Enter完成,Esc取消
  • 自动避让:自动收集6类障碍物(组件BBox、位号、游离焊盘、过孔、文本、挖槽/禁止区域)
  • 填充避让:选中已有丝印层填充区域,一键自动避让(支持圆形/矩形/多边形)
  • 布尔运算:基于 polyclip-ts 的多边形布尔差集生成最终填充
  • 双层支持:支持顶层丝印(Layer 3)和底层丝印(Layer 4)

技术特性

  • 障碍物按间隙外扩,重叠区域自动合并(polyclip-ts 布尔并集)
  • 多边形偏移算法:顶点法线外扩 + 圆弧径向外扩
  • 支持 primitiveType="Region" + regionName="Fill Region" 填充区域检测
  • 圆形障碍物径向外扩保持圆润
  • 位号和文本支持旋转角度精确BBox
暂无数据
暂无数据

Comment

LoginorRegisterto add a comment
All Comments(1)
Sort by time|Sort by popularity

Type

PCB

Keyword

PCBSilkscreenFillDynamicSilkscreenFill

Extension Info

Versionv1.3.1
Author

EasyEDA

Published at2026-06-10 09:19:07
Name

dynamic-fill-silkscreen-region

UUID

94d632e61f0c4ca38e7dea890adc7f9c

Works with^3.0.0
Report

Report abuse

Related links

Homepage:https://github.com/easyeda/eext-dynamic-fill-region-for-silkscreen
Product
Online Editor(Pro Edition)
Online Editor(Std Edition)
Client Download
Education Edition
On-Premises-Hosting
Services
Prototyping - JLCPCB
Component Purchasing - LCSC
Open Source Hardware - OSHWLab
Policy Terms
Legal
Privacy Policy
Project License Agreement
Cookie Notice
Contribute
Thanks
Help
Tutorials (Pro Edition)
Tutorials (Std Edition)
Edition Update History (Pro Edition)
Edition Update History (Std Edition)
Forum
About Us
About Team
Contact Us

© 2026 EasyEDA All rights reserved

ISO/IEC
Cookie Notice
Our website uses essential cookies to help us ensure that it is working as expected, and uses optional analytics cookies to offer you a better browsing experience. To find out more, read our Cookie Notice