{"id":29226999,"url":"https://github.com/makerpnp/gerber-parser","last_synced_at":"2025-07-03T09:05:44.429Z","repository":{"id":41205968,"uuid":"508028217","full_name":"MakerPnP/gerber-parser","owner":"MakerPnP","description":"Simple gerber parser meant to be used in conjuction with the gerber-types crate","archived":false,"fork":false,"pushed_at":"2025-06-30T09:13:32.000Z","size":430,"stargazers_count":7,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-30T09:16:00.993Z","etag":null,"topics":["gerber","gerber-files","parser"],"latest_commit_sha":null,"homepage":"https://docs.rs/gerber_parser/latest/gerber_parser/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MakerPnP.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,"zenodo":null}},"created_at":"2022-06-27T18:56:51.000Z","updated_at":"2025-06-30T09:13:34.000Z","dependencies_parsed_at":"2025-06-10T20:04:38.578Z","dependency_job_id":null,"html_url":"https://github.com/MakerPnP/gerber-parser","commit_stats":null,"previous_names":["makerpnp/gerber-parser","nemoandrea/gerber-parser"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MakerPnP/gerber-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerPnP%2Fgerber-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerPnP%2Fgerber-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerPnP%2Fgerber-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerPnP%2Fgerber-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MakerPnP","download_url":"https://codeload.github.com/MakerPnP/gerber-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerPnP%2Fgerber-parser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263296418,"owners_count":23444489,"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":["gerber","gerber-files","parser"],"created_at":"2025-07-03T09:05:41.231Z","updated_at":"2025-07-03T09:05:44.396Z","avatar_url":"https://github.com/MakerPnP.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Gerber Parser\n[![Build status][build-status-badge]][build-status]\n[![Crates.io][crates-io-badge]][crates-io]\n[![MakerPnP Discord][discord-badge]][discord]\n\n- [Docs (released)](https://docs.rs/gerber-parser/)\n\nThis crate implements a `gerber` parser written in rust to be used with the `gerber-types` crate.\n\n## Example\n\nSee the `examples` folder of the repository, run it as follows:\n\n    $ cargo run --example example1\n\n## Spec compliance\n\nThe gerber specification 2024.05 is the latest version of the Gerber file format that is used for reference.\n\n### Supported gerber features\n\n| Supported | Feature                          | Notes                                           |\n|-----------|----------------------------------|-------------------------------------------------|\n| ✅         | Comments (G04)                   |                                                 |\n| ✅         | Units (MO)                       |                                                 |\n| ✅         | Format specification (FS)        |                                                 |\n| ✅         | Aperture definition (AD)         |                                                 |\n| ✅         | Standard aperture templates      |                                                 |\n| ✅         | Aperture macros (AM)             |                                                 |\n| ✅         | Select aperture (Dnn)            |                                                 |\n| ✅         | Plot state (G01, G02, G03, G75)  |                                                 |\n| ✅         | Operations (D01, D02, D03)       |                                                 |\n| ✅         | Transformations (LP, LM, LR, LS) |                                                 |\n| ✅         | Regions (G36/G37)                |                                                 |\n| ✅         | Block aperture (AB)              |                                                 |\n| ✅         | Step repeat (SR)                 |                                                 |\n| ✅         | End-of-file (M02)                |                                                 |\n| ✅         | File attributes (TF)             |                                                 |\n| ✅         | Aperture attributes (TA)         |                                                 |\n| ✅         | Object attributes (TO)           |                                                 |\n| ✅         | Delete attribute (TD)            |                                                 |\n| ✅         | Standard attributes              | Full support, including .N, .P, .C, .CXxxx, etc |\n| ✅         | User defined attributes          |                                                 |\n| ❌         | Comment attributes               | See spec 2024.5 - 5.1.1, 'G04 #@! ...*          |\n| ✅         | Legacy/deprecated attributes     | Partial                                         |\n\nContributions to improve support welcomed!\n\n## Related crates\n\n### Gerber Types\n\nA rust crate for definition of gerber types in test.\n\nCrates.io: https://crates.io/crates/gerber-types\nGithub: https://github.com/MakerPnP/gerber-types\n\n### Gerber Viewer\n\nA rust crate for rendering gerber layers, also uses this crate as a dependency:\n\nGithub: https://github.com/MakerPnP/gerber-viewer\n\n## Related projects\n\nFor a list of other projects that use this crate you can check the github 'dependents' page.\n\nhttps://github.com/MakerPnP/gerber-parser/network/dependents\n\n## Timeline\n\n- 2022/06/27 - Initial version by Nemo Adrea, licensed on AGPL.\n  The original author used f360, the initial implementation was written to support files it generated.\n- 2024/04/23 - Crate went under heavy development to broaden the support for Gerber files, e.g. ones generated by KiCad, DipTrace,\n  LibrePcb, etc.\n- 2025/05/05 - gerber-types crate transferred to the MakerPnP organization, primary maintainer is now Dominic Clifton\n- 2025/06/04 - gerber-parser crate transferred the repository to the MakerPnP organization, primary maintainer is now Dominic Clifton.\n- 2025/06/13 - All gerber commands are now supported. License changed to MIT or APACHE.\n\n\n## Authors\n\n* Nemo Andrea (Original author)\n* Dominic Clifton (Current maintainer)\n\n## License\n\nAvailable under APACHE *or* MIT licenses, the same as the gerber-types crate.\n\n* [APACHE](LICENSE-APACHE)\n* [MIT](LICENSE-MIT)\n\n\u003c!-- Badges --\u003e\n\n[build-status]: https://github.com/makerpnp/gerber-parser/actions/workflows/ci.yml\n[build-status-badge]: https://github.com/makerpnp/gerber-parser/workflows/CI/badge.svg\n[crates-io]: https://crates.io/crates/gerber-parser\n[crates-io-badge]: https://img.shields.io/crates/v/gerber-parser.svg\n[discord]: https://discord.gg/ffwj5rKZuf\n[discord-badge]: https://img.shields.io/discord/1255867192503832688?label=MakerPnP%20discord\u0026color=%2332c955\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakerpnp%2Fgerber-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakerpnp%2Fgerber-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakerpnp%2Fgerber-parser/lists"}