Go to file
MitjaNemec 1f0762a0a5 Update version.txt 2023-02-19 21:21:28 +01:00
replicate_layout_fp_text Remove .kicad_prl 2022-02-03 18:55:31 +01:00
replicate_layout_test_project Improve error messages that user sees 2022-12-14 19:35:33 +01:00
.gitattributes add gitattributes to forse lf line endings 2022-10-10 12:18:14 +02:00
.gitignore Add connectivity check and warning, refactor net_pairs() 2023-02-19 21:14:30 +01:00
LICENSE
README.md fixed releases link in README.md 2022-10-30 12:23:11 +01:00
__init__.py Fix a bug when layout only footprints are present 2022-02-19 21:26:06 +01:00
action_replicate_layout.py Add connectivity check and warning, refactor net_pairs() 2023-02-19 21:14:30 +01:00
compare_boards.py slight refactoring 2022-01-27 08:49:40 +01:00
conn_issue_dialog_GUI.fbp Add connectivity check and warning, refactor net_pairs() 2023-02-19 21:14:30 +01:00
error_dialog_GUI.fbp Revert removal of wxhyperlinkctrl, make footprint parsing more robust, add logging to netpairs search 2023-01-23 19:09:14 +01:00
make_a_package.sh Significant refactoring of item selection code, expand selection to outside sheet items which are within src group 2022-11-14 21:41:12 +01:00
metadata_source.json Add an option to leave alone locked items 2022-08-06 21:02:23 +02:00
parse_metadata_json.py
remove_duplicates.py slight refactoring 2022-01-27 08:49:40 +01:00
replicate_layout.py Add connectivity check and warning, refactor net_pairs() 2023-02-19 21:14:30 +01:00
replicate_layout_GUI.fbp Properly invert the locked item UI (so it is consistent with code) 2023-01-05 20:03:25 +01:00
replicate_layout_dark.svg
replicate_layout_light.svg Significant refactoring of item selection code, expand selection to outside sheet items which are within src group 2022-11-14 21:41:12 +01:00
test_replicate_layout.py Add connectivity check and warning, refactor net_pairs() 2023-02-19 21:14:30 +01:00
version.txt Update version.txt 2023-02-19 21:21:28 +01:00

README.md

Replicate Layout

Replicate layout of one hierarchical sheet to other hierarchical sheets. The replication is based upon hierarchical sheets in eeschema. The basic requirement for replication is that the section to be replicated (source) is completely contained within a single hierarchical sheet, and replicated sections (destination) are just copies of the same sheet. Complex hierarchies are supported therefore replicated sheet can contain subsheets. The plugin replicates footprints, zones, tracks, text and drawings.

After the section for replication (source section) has been laid out (footprints, tracks, text objects and zones placed) you need to:

  1. Place the anchor footprints for the destiantion sections you want to replicate. This defines the position and orientation of replicated sections. You can use PlaceFootprints action plugin for this.
  2. Select the same anchor footprint within the source section.
  3. Run the plugin.
  4. Choose which hierarchical level you wish to replicate.
  5. Select which sheets you want to replicate (default is all of them)
  6. Select whether you want to replicate also tracks, zones and/or text objects.
  7. Select whether you want to replicate tracks/zones/text which intersect the pivot bounding box or just those contained within the bounding box.
  8. Select whether you want to delete already laid out tracks/zones/text (this is useful when updating an already replicated layout).
  9. Hit OK.

By default, only objects which are fully contained in the bounding box constituted by all the footprints in the section will be replicated. You can select to also replicate zones and tracks which intersect this bounding box. Additionally, tracks, text and zones which are already laid out in the replicated bounding boxes can be removed (useful when updating). Note that bounding boxes are squares aligned with the x and y axis, regardless of section orientation.

Installation

The preferred way to install the plugin is via KiCad's PCM (Plugin and Content Manager). Installation on non-networked can be done by downloading the latest release and installing in with PCM with Install from file option