Giter Site home page Giter Site logo

kicad_action_plugins's Introduction

KiCad Action Plugin(s)

This repo contains Kicad pcbnew Action Plugins()

Replicate layout

This plugin has been tested on Windows 7 Kicad nightly 2017-09-19 revision dddaa7e69.

This plugin has been developed as a complex plugin according the Python Plugin Development for Pcbnew.

within the plugin folder only *.py files are required for operation.

While the action plugin works within pcbnew, the replicatelayout module can be used also in pcbnew scripting console or even without pcbnew running. For example look at lines 210, 211 in replicatelayout.py. Additionally the replicatelayout.py module if run standalone will test itself aginst known correct layouts (provided within the plugin folder). This is to ease testing if pcbnew API changes in the future. The replicatelayout module does not work with Kicad 4.0.7 as the Python API lacks certain methods.

This plugin replicates layout section. The replication is based upon hierarchical sheets. Basic requirement for replication is that the section for replication is completely contained within one hierarchical sheet, and replicated sections are just a copy of the same sheet. Plugin also replicates module text layout (References, Values and other text bound to a module). The example can be seen in this two pictures.

Top sheet schematics Hierarchical sheet to replicate

Once the section for replication (pivot section) has been laid out (modules, tracks and zones placed) you need to select any of the modules within this section and run the plugin.

The plugin will ask for x and y offset (in mm) with respect to pivot section where replicated sections will be placed. Additionally you can choose wheather you want to replicate also zones and/or tracks. By default only tracks and zones which are contained in bounding box constituted by all the modules in the section will be replicated. You can seledt to replicate also zones and tracks which intersect this bounding box. Additionally tracks and zones already laid out in replicated bounding boxes can be removed (useful when updating)

Bounding box, contained, intersecting definitions

Example of replication of only contained tracks and zones

Replication of only contained tracks and zones

Example of replication including intersecting zones and tracks

Replication including intersecting zones and tracks

Example of replication of module layout only (no tracks or zones)

Replication of modules only

kicad_action_plugins's People

Contributors

mitjanemec avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.