Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alhadis/language-pcb
Syntax highlighting for various PCB (Printed Circuit Board) formats.
https://github.com/alhadis/language-pcb
circuit-boards gerber kicad pcb-layout syntax-highlighting
Last synced: about 1 month ago
JSON representation
Syntax highlighting for various PCB (Printed Circuit Board) formats.
- Host: GitHub
- URL: https://github.com/alhadis/language-pcb
- Owner: Alhadis
- License: isc
- Created: 2017-07-27T18:20:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-10T10:25:39.000Z (almost 3 years ago)
- Last Synced: 2024-01-24T00:44:36.543Z (10 months ago)
- Topics: circuit-boards, gerber, kicad, pcb-layout, syntax-highlighting
- Size: 209 KB
- Stars: 18
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
PCB Languages
=============Syntax highlighting for various [PCB][1] (Printed Circuit Board) formats.
![Man, don't even ask](preview.png)
Currently included:
* [Gerber Images][2]
* [KiCad PCB Boards][3]
* [KiCad PCB Schematics][3]
* [KiCad PCB Layouts][3]
* [LTSpice Symbols][8]Stuff that could be included:
* [OrCAD `.dsn` files][4]
* [Excellon drills][5]
* [G-Code][6]
* Whatever [`pcb`][7] uses as its native format:~~~ini
# release: pcb 4.0.1
PCB["" 6000.00mil 5000.00mil]
Symbol['!' 12.00mil]
(
SymbolLine[0.0000 45.00mil 0.0000 50.00mil 8.00mil]
SymbolLine[0.0000 10.00mil 0.0000 35.00mil 8.00mil]
)
# To read pcb files, the pcb version (or the git source date) must be >= the file version
FileVersion[20091103]
Grid[10.00mil 0.0000 0.0000 0]
Flags("nameonpcb,uniquename,clearnew,snappin")
~~~[Referenced links]:_____________________________________________________________
[1]: https://en.wikipedia.org/wiki/Printed_circuit_board
[2]: https://www.ucamco.com/files/downloads/file/81/the_gerber_file_format_specification.pdf
[3]: http://bazaar.launchpad.net/~stambaughw/kicad/doc-read-only/download/head:/1115%4016bec504-3128-0410-b3e8-8e38c2123bca:trunk%252Fkicad-doc%252Fdoc%252Fhelp%252Ffile_formats%252Ffile_formats.pdf/file_formats.pdf
[4]: https://fileinfo.com/extension/dsn
[5]: http://www.artwork.com/gerber/drl2laser/excellon/index.htm
[6]: http://www.johnjohnson.info/wp-content/uploads/2013/05/pcbgcode.pdf
[7]: http://pcb.geda-project.org/
[8]: http://www.zen22142.zen.co.uk/ltspice/newsymbols.htm