diff options
Diffstat (limited to 'docs/index.rst')
-rw-r--r-- | docs/index.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst index f3fb872..07bb084 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -57,6 +57,21 @@ Features Quick Start =========== +First, install gerbonara from PyPI using pip: + +.. highlight:: shell + + pip install --user gerbonara + +Then, you are ready to read and write gerber files: + +.. highlight:: python + + from gerbonara import LayerStack + + stack = LayerStack.from_directory('output/gerber') + w, h = stack.outline.size('mm') + print(f'Board size is {w:.1f} mm x {h:.1f} mm') Development |