Add Layout Replicator plugin

Replicates component placement from one hierarchical sheet instance to
another. Pick source/target sheets and a reference component — all other
components in the target sheet are placed using a rigid body transform
(rotate around source ref position, then translate to target ref position).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-13 17:05:53 +00:00
parent 2ce08cc091
commit 9902348c07
2 changed files with 244 additions and 0 deletions

View File

@@ -3,6 +3,8 @@ import wx
import wx.lib.mixins.listctrl as listmix
import traceback
from .replicate import Layout_Replicator_Action
COLUMNS = ['Designation', 'Value', 'Library', 'Package', 'Sheet']
@@ -113,3 +115,4 @@ class Component_Table_Action(pcbnew.ActionPlugin):
Component_Table_Action().register()
Layout_Replicator_Action().register()