All Projects → devbisme → DRMgr

devbisme / DRMgr

Licence: MIT license
A PCBNEW plugin that saves and restores design rules for a KiCad PCB.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to DRMgr

viastitching
ViaStitching action-plugin for KiCAD
Stars: ✭ 21 (+31.25%)
Mutual labels:  kicad, kicad-plugin, pcbnew
Interactivehtmlbom
Interactive HTML BOM generation plugin for KiCad
Stars: ✭ 1,924 (+11925%)
Mutual labels:  kicad, pcbnew
gerber to order
A KiCad plugin project to create gerber files and zip files.
Stars: ✭ 35 (+118.75%)
Mutual labels:  kicad, kicad-plugin
kicad-bom-seeedstudio
KiCad BOM plugin to follow Seeed Studio's Fusion PCBA template
Stars: ✭ 20 (+25%)
Mutual labels:  kicad, kicad-plugin
splendida
256 WS2812B LEDs arranged in Fermat's Spiral Shape
Stars: ✭ 28 (+75%)
Mutual labels:  kicad, pcbnew
Qucs-RFlayout
Export Qucs RF schematics to KiCad layouts & OpenEMS scripts
Stars: ✭ 78 (+387.5%)
Mutual labels:  kicad, pcbnew
Stretch
KiCad to SVG and then back again
Stars: ✭ 56 (+250%)
Mutual labels:  kicad, pcbnew
pykicad
Library for working with KiCAD file formats
Stars: ✭ 46 (+187.5%)
Mutual labels:  kicad
Pinion
Generate interactive and nice-looking diagrams for your PCBs!
Stars: ✭ 264 (+1550%)
Mutual labels:  kicad
stack-chan
A JavaScript-driven M5Stack-embedded super-kawaii robot.
Stars: ✭ 242 (+1412.5%)
Mutual labels:  kicad
CM4 MATX
CM4_MATX is an open source, micro-ATX standard compliant motherboard for the Raspberry Pi Compute Module 4
Stars: ✭ 117 (+631.25%)
Mutual labels:  kicad
Xassette-Asterisk
Evaluation board for AllWinner's RISC-V 64 SoC F133/D1s
Stars: ✭ 168 (+950%)
Mutual labels:  kicad
Lotus58
A 58 key split ergo linear keyboard derived from the Lily58 family
Stars: ✭ 142 (+787.5%)
Mutual labels:  kicad
nestronic
Nestronic Game Music Synthesizer Alarm Clock
Stars: ✭ 24 (+50%)
Mutual labels:  kicad
ecad-models
Random 3D models and such for CAD/ECAD
Stars: ✭ 18 (+12.5%)
Mutual labels:  kicad
snackymini-keyboard
Snackymini Keyboard
Stars: ✭ 28 (+75%)
Mutual labels:  kicad
LC2KiCad
A C++ utility that converts EasyEDA (LCEDA) file to KiCad 5 Documents.
Stars: ✭ 103 (+543.75%)
Mutual labels:  kicad
RetroWiFiModem
An ESP8266 based RS232 <-> WiFi modem with Hayes AT style commands and LED indicators
Stars: ✭ 65 (+306.25%)
Mutual labels:  kicad
awesome-kicad
A curated list of awesome KiCad plugins and resources
Stars: ✭ 105 (+556.25%)
Mutual labels:  kicad
BE6502-Build-a-65c02-computer
A PCB being made while watching Ben Eaters "Build a 6502 computer" video series. Includes the computer itself, a standalone slow clock and an Arduino Mega shield for the bus monitor sketch..
Stars: ✭ 70 (+337.5%)
Mutual labels:  kicad

DRMgr Plugin

This PCBNEW plugin lets you save and restore the board settings for a PCB. This is useful for storing the design rules of a particular PCB fab and then applying them to an existing or new project.

  • Free software: MIT license

Features

  • Save current PCBNEW board settings into a file.
  • Apply board settings from a file into a current PCBNEW session.
  • Select portions of the board settings for storage or retrieval.

Installation

Just copy DRMgr.py file to one of the following directories:

  • Windows: kicad/share/kicad/scripting/plugins.
  • Linux: kicad/scripting/plugins.

You will also have to install the KinJector Python package using these instructions.

Usage

The plugin is started by pressing the Tools => External Plugins... => DRMgr button. This brings up a dialog window with three buttons:

  • Open: Opens a file containing board settings and applies them to the current board.
  • Save: Stores the settings for the current board into a file.
  • Cancel: Oh, just forget it!

There are also checkboxes to enable the portions of the board settings that are saved or restored:

  • Layers: List of enabled/visible PCB layers along with number of wiring layers and PCB thickness.
  • Design Rules: The minimum track/via/microvia dimensions and some miscellaneous flags.
  • Tracks & Vias: Dimensions for pre-defined tracks and vias.
  • Solder Mask/Paste: Dimensions and clearances for solder mask and paste.
  • Net Class Definitions: Width/clearance/via/microvia/ dimensions for classes of nets.
  • Net Class Assignments: Assignments of nets to net classes.
  • Plot Settings: Parameters and options controlling the output of Gerber or other plotting files.
  • Drill Settings: Parameters and options controlling the output of drill files (not currently working).

Applying Design Rules

Pressing the Open button brings up the following window:

Selecting a design rule file (having the default suffix of .kidr) and then clicking the Open button will apply the settings in the file to the board currently open in PCBNEW. The state of the dialog checkboxes will determine which sections of the file will be applied to the board.

Saving Design Rules

Pressing the Save button brings up the following window:

Selecting a design rule file or typing a file name and then clicking the Save button will load the file with all the settings for the board currently open in PCBNEW. The state of the dialog checkboxes will determine which portions of the board settings will be stored in the file.

Editing Design Rules

The dialog checkboxes will determine which board settings are saved in the design rule file. If you do not want to apply some of these settings (e.g., layer visibility flags or net class assignments), just uncheck the appropriate boxes.

If you want finer control of which settings are saved or restored, you can open the file and delete those portions of the hierarchy you don't need.

If you want more detailed control of the design rule values, it's usually easier to open the file in PCBNEW, make changes in the File => Board Setup... dialog, and then save the altered board settings into the original file or a new file.

Caveats

Due to deficiencies in the PCBNEW Python API, DRMgr is currently unable to store or update design rules for the following board features:

  • Text and graphic dimensions for all layers,
  • Widths, gaps, and via gaps for pre-defined differential pairs.

Credits

Development Lead

Contributors

History

1.0.0 (2021-09-17)

  • Decided this tool was mature to the point it could be called 1.0.0.

0.1.0 (2019-06-08)

  • First release.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].