{"id":17275419,"url":"https://github.com/devbisme/drmgr","last_synced_at":"2025-04-14T09:12:34.607Z","repository":{"id":141189369,"uuid":"190839272","full_name":"devbisme/DRMgr","owner":"devbisme","description":"A PCBNEW plugin that saves and restores design rules for a KiCad PCB.","archived":false,"fork":false,"pushed_at":"2021-09-17T13:43:57.000Z","size":88,"stargazers_count":23,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-14T09:11:59.823Z","etag":null,"topics":["design-rules","drc","kicad","kicad-plugin","pcbnew"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devbisme.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-08T03:06:17.000Z","updated_at":"2024-11-14T23:03:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"4c6f3995-1943-4c3f-86eb-166cd5d760f7","html_url":"https://github.com/devbisme/DRMgr","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbisme%2FDRMgr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbisme%2FDRMgr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbisme%2FDRMgr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbisme%2FDRMgr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devbisme","download_url":"https://codeload.github.com/devbisme/DRMgr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248852181,"owners_count":21171842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["design-rules","drc","kicad","kicad-plugin","pcbnew"],"created_at":"2024-10-15T08:56:12.482Z","updated_at":"2025-04-14T09:12:34.589Z","avatar_url":"https://github.com/devbisme.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DRMgr Plugin\n\nThis PCBNEW plugin lets you save and restore the board settings for a PCB.\nThis is useful for storing the design rules of a particular PCB fab and then\napplying them to an existing or new project.\n\n* Free software: MIT license\n\n\n## Features\n\n* Save current PCBNEW board settings into a file.\n* Apply board settings from a file into a current PCBNEW session.\n* Select portions of the board settings for storage or retrieval.\n\n\n## Installation\n\nJust copy `DRMgr.py` file to one of the following directories:\n\n* Windows: `kicad/share/kicad/scripting/plugins`.\n* Linux: `kicad/scripting/plugins`.\n\nYou will also have to install the [KinJector Python package](https://github.com/devbisme/kinjector) using these\n[instructions](https://devbisme.github.io/kinjector/docs/_build/singlehtml/index.html).\n\n\n## Usage\n\nThe plugin is started by pressing the `Tools =\u003e External Plugins... =\u003e DRMgr` button.\nThis brings up a dialog window with three buttons:\n\n![](DRMgr_dialog.png)\n\n* `Open`: Opens a file containing board settings and applies them to the current board.\n* `Save`: Stores the settings for the current board into a file.\n* `Cancel`: Oh, just forget it!\n\nThere are also checkboxes to enable the portions of the board settings that are\nsaved or restored:\n\n* `Layers`: List of enabled/visible PCB layers along with number of wiring layers and PCB thickness.\n* `Design Rules`: The minimum track/via/microvia dimensions and some miscellaneous flags.\n* `Tracks \u0026 Vias`: Dimensions for pre-defined tracks and vias.\n* `Solder Mask/Paste`: Dimensions and clearances for solder mask and paste.\n* `Net Class Definitions`: Width/clearance/via/microvia/ dimensions for classes of nets.\n* `Net Class Assignments`: Assignments of nets to net classes.\n* `Plot Settings`: Parameters and options controlling the output of Gerber or other plotting files.\n* `Drill Settings`: Parameters and options controlling the output of drill files (not currently working).\n\n\n### Applying Design Rules\n\nPressing the `Open` button brings up the following window:\n\n![](DRMgr_open_dialog.png)\n\nSelecting a design rule file (having the default suffix of `.kidr`) and then clicking the\n`Open` button will apply the settings in the file to the board currently open\nin PCBNEW.\nThe state of the dialog checkboxes will determine which sections of the file\nwill be applied to the board.\n \n\n### Saving Design Rules\n\nPressing the `Save` button brings up the following window:\n\n![](DRMgr_save_dialog.png)\n\nSelecting a design rule file or typing a file name and then clicking the\n`Save` button will load the file with all the settings for the board currently open\nin PCBNEW.\nThe state of the dialog checkboxes will determine which portions of the board settings\nwill be stored in the file.\n\n\n### Editing Design Rules\n\nThe dialog checkboxes will determine which board settings are saved in the\ndesign rule file.\nIf you do not want to apply some of these settings (e.g., layer visibility flags\nor net class assignments), just uncheck the appropriate boxes.\n\nIf you want finer control of which settings are saved or restored, you can open the\nfile and delete those portions of the hierarchy you don't need.\n\nIf you want more detailed control of the design rule values, it's usually\neasier to open the file in PCBNEW, make changes in the\n`File =\u003e Board Setup...` dialog, and then save the altered board settings\ninto the original file or a new file.\n\n\n### Caveats\n\nDue to deficiencies in the PCBNEW Python API, DRMgr is currently unable to \nstore or update design rules for the following board features:\n\n* Text and graphic dimensions for all layers,\n* Widths, gaps, and via gaps for pre-defined differential pairs.\n\n\n## Credits\n\n### Development Lead\n\n* Dave Vandenbout \u003cdevb@xess.com\u003e\n\n### [Contributors](https://github.com/devbisme/zyc/graphs/contributors)\n\n\n## History\n\n### 1.0.0 (2021-09-17)\n\n* Decided this tool was mature to the point it could be called 1.0.0.\n\n### 0.1.0 (2019-06-08)\n\n* First release.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevbisme%2Fdrmgr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevbisme%2Fdrmgr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevbisme%2Fdrmgr/lists"}