-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
847 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Introduction | ||
# 🧭 Introduction | ||
|
||
## What you will find 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Introduction | ||
# 🧭 Introduction | ||
|
||
## Overview | ||
|
||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Custom color maps | ||
# 🧁 Custom color maps | ||
|
||
## Introduction | ||
|
||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Stateless Introspection | ||
# 🧪 Stateless Introspection | ||
|
||
Unfortunately, this documentation is yet to be written. I am doing my best to provide it | ||
before release 3.0.0 so stay tuned! |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Stateful Introspection | ||
# 🧬 Stateful Introspection | ||
|
||
Unfortunately, this documentation is yet to be written. I am doing my best to provide it | ||
before release 3.0.0 so stay tuned! |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Code optimization | ||
# 🧴 Code optimization | ||
|
||
Unfortunately, this documentation is yet to be written. I am doing my best to provide it | ||
before release 3.0.0 so stay tuned! |
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 |
---|---|---|
@@ -1 +1 @@ | ||
# Extending Formatter | ||
# 🥠 Extending Formatter |
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 |
---|---|---|
@@ -1,4 +1,26 @@ | ||
# Introduction | ||
# 🧭 Introduction | ||
|
||
Unfortunately, this documentation is yet to be written. I am doing my best to provide it | ||
before release 3.0.0 so stay tuned! | ||
## Overview | ||
|
||
PyGerber provides a linter (diagnostic tool) for analyzing Gerber code. The linter is a | ||
tool that focuses on checking the code itself, not the design of the PCB. Therefore it | ||
includes checks for deprecated features, common deviations from Gerber standard and | ||
other Gerber focused checks, but does not contain any check that verify the quality of | ||
the PCB design, like connectivity, trace width, etc. | ||
|
||
The Gerber linter is a tool that has limited usefulness for the average user, but can be | ||
very handy for verifying the quality of generated Gerber code, especially while working | ||
on solutions that modify or generate Gerber code, to ensure compliance with latest | ||
Gerber standard. | ||
|
||
## API | ||
|
||
Gerber linter API is available in the `pygerber.gerber.linter` module. Simplified | ||
interface consists of a single function `lint` that takes a Gerber AST as input and | ||
returns a list of rule violations detected in AST. | ||
|
||
Here is a simple example of how to use the linter: | ||
|
||
{{ include_code("test/examples/gerberx3/linter/_00_linter.example.py", "docspygerberlexer", title="custom_color_map.py", linenums="1") }} | ||
|
||
{{ run_capture_stdout("python test/examples/gerberx3/linter/_00_linter.example.py", "python example.py") }} |
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,6 @@ | ||
# 📄 Rule list | ||
|
||
Below you can find full list of all rules implemented in PyGerber for Gerber format | ||
diagnostics. | ||
|
||
{{ gerber_linter_rule_list() }} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Introduction | ||
# 🧭 Introduction | ||
|
||
Unfortunately, this documentation is yet to be written. I am doing my best to provide it | ||
before release 3.0.0 so stay tuned! |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Visual Studio Code Integration | ||
# 🥨 Visual Studio Code Integration | ||
|
||
Unfortunately, this documentation is yet to be written. I am doing my best to provide it | ||
before release 3.0.0 so stay tuned! |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Features | ||
# 🧰 Features | ||
|
||
Unfortunately, this documentation is yet to be written. I am doing my best to provide it | ||
before release 3.0.0 so stay tuned! |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Introduction | ||
# 🧭 Introduction | ||
|
||
Unfortunately, this documentation is yet to be written. I am doing my best to provide it | ||
before release 3.0.0 so stay tuned! |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Extending AST Nodes | ||
# 🥥 Extending AST Nodes | ||
|
||
Unfortunately, this documentation is yet to be written. I am doing my best to provide it | ||
before release 3.0.0 so stay tuned! |
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 |
---|---|---|
@@ -1 +1,4 @@ | ||
# Extending Parser | ||
# 🧽 Extending Parser | ||
|
||
Unfortunately, this documentation is yet to be written. I am doing my best to provide it | ||
before release 3.0.0 so stay tuned! |
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 |
---|---|---|
@@ -1 +1,4 @@ | ||
# Extending Compiler | ||
# 🧶 Extending Compiler | ||
|
||
Unfortunately, this documentation is yet to be written. I am doing my best to provide it | ||
before release 3.0.0 so stay tuned! |
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 |
---|---|---|
@@ -1 +1,4 @@ | ||
# Extending Virtual Machines | ||
# 🧩 Extending Virtual Machines | ||
|
||
Unfortunately, this documentation is yet to be written. I am doing my best to provide it | ||
before release 3.0.0 so stay tuned! |
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 |
---|---|---|
@@ -1 +1 @@ | ||
# Introduction | ||
# 🧭 Introduction |
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 |
---|---|---|
@@ -1 +1,15 @@ | ||
# Introduction | ||
# 🧭 Introduction | ||
|
||
## Overview | ||
|
||
Welcome to the documentation of the code generation feature of PyGerber library! | ||
Considering that to develop PyGerber core functionality of parsing Gerber files it was | ||
necessary to design a lot of tools to verify the correctness of the implementation, it | ||
became apparent that is will be much easier to compliment existing tool set with a code | ||
generation tools rather than develop separate package for that purpose. Therefore, the | ||
decision was made to develop a code generation feature as a part of PyGerber library. | ||
|
||
Currently, there are two code generation APIs, one for generation of Gerber code and the | ||
second one for generation of RVMC code (internal geometry representation used by | ||
PyGerber). Those APIs are available in the `pygerber.builder.gerber` and | ||
`pygerber.builder.rvmc` respectively. |
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 |
---|---|---|
@@ -1 +1,7 @@ | ||
# Introduction | ||
# 🧭 Introduction | ||
|
||
## Overview | ||
|
||
Welcome to collection of development related guides for PyGerber project. Those guides | ||
will be helpful if you are considering contributing to the project or if you want to | ||
review the code in more detail. |
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
Oops, something went wrong.