go-gerber

module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2023 License: Apache-2.0

README

go-gerber: Write Gerber RS274X files (for PCBs) in Go

Test Status

This is an experimental package used to write Gerber (RS274X) files and bundle them into a ZIP file to send to printed circuit board (PCB) manufacturers, all from Go code.

Examples

Please see the examples in the various directories:

Documentation

GoDoc


Webfonts using go-fonts

Webfont support has been switched to using github.com/gmlewis/go-fonts.

Below are some example fonts but there are many more in the go-fonts repo to choose from.

AaarghNormal

aaarghnormal

Fascinate_InlineRegular

fascinate_inlineregular

GoodDogRegular

gooddogregular

HelsinkiRegular

helsinkiregular

LatoRegular

latoregular

OverlockRegular

overlockregular

Pacifico

pacifico

Snickles

snickles

UbuntuMonoRegular

ubuntumonoregular


Enjoy!


License

Copyright 2019 Glenn M. Lewis. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
cmd
rendergb
rendergb renders Gerber files to a PNG image in Go.
rendergb renders Gerber files to a PNG image in Go.
examples
bifilar-coil
bifilar-coil creates Gerber files (and a bundled ZIP) representing a bifilar coil (https://en.wikipedia.org/wiki/Bifilar_coil) for manufacture on a printed circuit board (PCB).
bifilar-coil creates Gerber files (and a bundled ZIP) representing a bifilar coil (https://en.wikipedia.org/wiki/Bifilar_coil) for manufacture on a printed circuit board (PCB).
bifilar-with-capacitor
bifilar-with-capacitor creates Gerber files (and a bundled ZIP) representing a bifilar coil (https://en.wikipedia.org/wiki/Bifilar_coil) with the ability to connect the two windings with a capacitor (or not) for manufacture on a printed circuit board (PCB).
bifilar-with-capacitor creates Gerber files (and a bundled ZIP) representing a bifilar coil (https://en.wikipedia.org/wiki/Bifilar_coil) with the ability to connect the two windings with a capacitor (or not) for manufacture on a printed circuit board (PCB).
dual-bifilar-coil
dual-bifilar-coil creates Gerber files (and a bundled ZIP) representing two bifilar coils (https://en.wikipedia.org/wiki/Bifilar_coil) (one on top layer and one on the bottom layer) for manufacture on a printed circuit board (PCB).
dual-bifilar-coil creates Gerber files (and a bundled ZIP) representing two bifilar coils (https://en.wikipedia.org/wiki/Bifilar_coil) (one on top layer and one on the bottom layer) for manufacture on a printed circuit board (PCB).
dual-capacitor
dual-capacitor creates Gerber files (and a bundled ZIP) representing two-layer capactors for manufacture on a printed circuit board (PCB).
dual-capacitor creates Gerber files (and a bundled ZIP) representing two-layer capactors for manufacture on a printed circuit board (PCB).
hex-bifilar-coil
hex-bifilar-coil creates Gerber files (and a bundled ZIP) representing six bifilar coils (https://en.wikipedia.org/wiki/Bifilar_coil) (one on each layer of a six-layer PCB) for manufacture on a printed circuit board (PCB).
hex-bifilar-coil creates Gerber files (and a bundled ZIP) representing six bifilar coils (https://en.wikipedia.org/wiki/Bifilar_coil) (one on each layer of a six-layer PCB) for manufacture on a printed circuit board (PCB).
hex-capacitor
hex-capacitor creates Gerber files (and a bundled ZIP) representing six-layer capactors for manufacture on a printed circuit board (PCB).
hex-capacitor creates Gerber files (and a bundled ZIP) representing six-layer capactors for manufacture on a printed circuit board (PCB).
icosi-bifilar-coil
icosi-bifilar-coil creates Gerber files (and a bundled ZIP) representing 20 bifilar coils (https://en.wikipedia.org/wiki/Bifilar_coil) (one on each layer of a 20-layer PCB) for manufacture on a printed circuit board (PCB).
icosi-bifilar-coil creates Gerber files (and a bundled ZIP) representing 20 bifilar coils (https://en.wikipedia.org/wiki/Bifilar_coil) (one on each layer of a 20-layer PCB) for manufacture on a printed circuit board (PCB).
n333-bifilar-coil
n333-bifilar-coil creates Gerber files (and a bundled ZIP) representing 333 bifilar coils (https://en.wikipedia.org/wiki/Bifilar_coil).
n333-bifilar-coil creates Gerber files (and a bundled ZIP) representing 333 bifilar coils (https://en.wikipedia.org/wiki/Bifilar_coil).
oct-bifilar-coil
oct-bifilar-coil creates Gerber files (and a bundled ZIP) representing 8 bifilar coils (https://en.wikipedia.org/wiki/Bifilar_coil) (one on each layer of a 8-layer PCB) for manufacture on a printed circuit board (PCB).
oct-bifilar-coil creates Gerber files (and a bundled ZIP) representing 8 bifilar coils (https://en.wikipedia.org/wiki/Bifilar_coil) (one on each layer of a 8-layer PCB) for manufacture on a printed circuit board (PCB).
quad-bifilar-coil
quad-bifilar-coil creates Gerber files (and a bundled ZIP) representing four bifilar coils (https://en.wikipedia.org/wiki/Bifilar_coil) (one on each layer of a four-layer PCB) for manufacture on a printed circuit board (PCB).
quad-bifilar-coil creates Gerber files (and a bundled ZIP) representing four bifilar coils (https://en.wikipedia.org/wiki/Bifilar_coil) (one on each layer of a four-layer PCB) for manufacture on a printed circuit board (PCB).
quad-capacitor
quad-capacitor creates Gerber files (and a bundled ZIP) representing four-layer capactors for manufacture on a printed circuit board (PCB).
quad-capacitor creates Gerber files (and a bundled ZIP) representing four-layer capactors for manufacture on a printed circuit board (PCB).
test-fonts
test-fonts creates Gerber files (and a bundled ZIP) with the given message in all imported fonts in order to test out the font rendering.
test-fonts creates Gerber files (and a bundled ZIP) with the given message in all imported fonts in order to test out the font rendering.
Package gerber writes Gerber RS274X files (for PCBs).
Package gerber writes Gerber RS274X files (for PCBs).
viewer
Package viewer views a Gerber design using Fyne.
Package viewer views a Gerber design using Fyne.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL