-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Release 2.1.0 - Fixed #37 - Added latest Gerber spec file revision 2023.08 to documentation. - Added command line interface for PyGerber 2D rendering. - Added Gerber X3/X2 language server which can be acquired with `pip install pygerber[language-server]`. Currently server capabilities include hover messages with Gerber reference cited and minimal amount of suggestions. We are planning to further extend this server in future releases. - Added `is-language-server-available` CLI command for checking if `pygerber[language-sever]` is available. - Added support for arc region boundaries (#61). - Added warning messages whenever zero surface flash is created. - Improved documentation for many of supported Gerber commands. This documentation is used by language server to provide specification reference. - Refactored tokenizer implementation, as a result #67 was fixed and #64 is no longer an issue in some cases.
- Loading branch information
Showing
164 changed files
with
66,011 additions
and
2,647 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
name: Compatibility request | ||
about: Create request for compatibility with some other tool. | ||
title: "" | ||
labels: ["compatibility", "question"] | ||
assignees: "" | ||
--- | ||
|
||
**Describe compatibility issue** | ||
|
||
A clear and concise description of what is not working the way expected. | ||
|
||
**To Reproduce** | ||
|
||
Steps to reproduce the behavior: | ||
|
||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
|
||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
|
||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
|
||
- OS: [e.g. iOS] | ||
- Python version: [e.g. 3.8.13] | ||
- PyGerber version: [e.g. 2.0.0] | ||
|
||
**Additional context** | ||
|
||
Add any other context about the problem here. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Functional feature request | ||
about: Request new functional feature for PyGerber. | ||
title: "Great new function of PyGerber" | ||
labels: "enhancement" | ||
assignees: "" | ||
--- | ||
|
||
**Describe how this feature should work** | ||
|
||
A clear and concise description of what the problem is. Ex. I'm always frustrated when | ||
[...] | ||
|
||
**Describe why this supporting this feature is important** | ||
|
||
A clear and concise description of what you want to happen. | ||
|
||
**Additional context** | ||
|
||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -297,3 +297,4 @@ pyrightconfig.json | |
|
||
*.prof | ||
output.png | ||
\#*.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
// Place your pygerber_new workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and | ||
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope | ||
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is | ||
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | ||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. | ||
// Placeholders with the same ids are connected. | ||
// Example: | ||
// "Print to console": { | ||
// "scope": "javascript,typescript", | ||
// "prefix": "log", | ||
// "body": [ | ||
// "console.log('$1');", | ||
// "$2" | ||
// ], | ||
// "description": "Log output to console" | ||
// } | ||
"token comment": { | ||
"scode": "python", | ||
"prefix": "!td", | ||
"body": [ | ||
"\"\"\"## ${1:spec section} ${2:section title}", | ||
"", | ||
"${4:description}", | ||
"", | ||
"```ebnf", | ||
"${5:syntax}", | ||
"```" | ||
"", | ||
"---", | ||
"", | ||
"## Example", | ||
"", | ||
"```gerber", | ||
"${6:example gerber code}", | ||
"```" | ||
"" | ||
"---", | ||
"", | ||
"See section $1 of [The Gerber Layer Format Specification](https://www.ucamco.com/files/downloads/file_en/456/gerber-layer-format-specification-revision-2023-08_en.pdf#page=${3:page})", | ||
"", | ||
"\"\"\" # noqa: E501", | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.