Skip to content

Commit

Permalink
Release 2.0.0 (#48)
Browse files Browse the repository at this point in the history
- Added Gerber X3 format tokenizer with support for selective feature
support:

- Supported Gerber X3 features: `G04`, `MO`, `FS`, `AD`, `AM`, `Dnn`
(nn≥10), `D01`,
`D02`, `D03`, `G01`, `G02`, `G03`, `G75`, `LP`, `LM`, `LR`, `LS`, `G36`,
`G37`,
    `AB`, `SR`, `TF`, `TA`, `TO`,`TD`, `M02`.

- Supported **DEPRECATED** Gerber features: `G54`, `G70`, `G71`, `G90`,
`G91`, `G74`,
    `M00`, `M01`, `IP`, `LN`,
    `Combining G01/G02/G03 and D01/D02/D03 in a single command`,
`Coordinate Data without Operation Code`, `Style Variations in Command
Codes`, `FS`,
    `Draws and Arcs with Rectangular Apertures`.

For more detailed descriptions of supported features please refer to
documentation or
  README.md.

- Added Gerber X3 format parser with support for selective feature
support:

- Supported Gerber X3 features: `G04`, `MO`, `FS`, `AD`, `AM`, `Dnn`
(nn≥10), `D01`,
`D02`, `D03`, `G01`, `G02`, `G03`, `G75`, `LP`, `LM`, `LR`, `LS`, `G36`,
`G37`,
    `M02`.

- Supported **DEPRECATED** Gerber features: `G54`, `G70`, `G71`, `G90`,
`G91`, `G74`,
`M00`, `M01`, `IP`, `LN`, `Combining G01/G02/G03 and D01 in a single
command`,
`Coordinate Data without Operation Code`, `Style Variations in Command
Codes`,
    `Draws and Arcs with Rectangular Apertures`.

For more detailed descriptions of supported features please refer to
documentation or
  README.md.

- Added rendering backend capable of producing 2D rasterized images
based on parser
  instructions. Supported drawing elements:
  - Aperture definition with circle
  - Aperture definition with rectangle
  - Aperture definition with obround
  - Aperture definition with polygon
  - Draw flash with circle aperture
  - Draw flash with rectangle aperture
  - Draw flash with obround aperture
  - Draw flash with polygon aperture
  - Draw line
  - Draw clockwise arc
  - Draw counterclockwise arc
  • Loading branch information
Argmaster authored Sep 6, 2023
2 parents 9a0ec25 + 28ec883 commit 5862a7f
Show file tree
Hide file tree
Showing 5 changed files with 127 additions and 117 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build_n_deploy_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Build & Deploy Docs

on:
push:
branches:
- main
tags:
- "^v.*$"

workflow_dispatch:

Expand Down Expand Up @@ -38,5 +38,9 @@ jobs:
- name: Install dependencies
run: poetry install --with=docs --no-cache --sync

- name: Install Mike
run: poetry run pip install mike

- name: Run build & deploy documentation
run: poetry run poe run-build-n-deploy-docs
run: |
poetry run mike deploy --push --update-aliases $(poetry version | awk '{ print $2 }') latest -F mkdocs.yaml
2 changes: 2 additions & 0 deletions .github/workflows/release_to_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
tags:
- "^v.*$"

workflow_dispatch:

jobs:
deploy-to-pypi:
if: github.repository_owner == 'Argmaster'
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ extra_css:
- css/mkdocstrings.css
- css/extra.css

extra_js:
extra_javascript:
- js/extra.js

extra:
Expand Down
Loading

0 comments on commit 5862a7f

Please sign in to comment.