Skip to content

Commit

Permalink
Add arc construction to GerberX3Builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Argmaster committed Oct 15, 2024
1 parent e3f4563 commit ddd599b
Show file tree
Hide file tree
Showing 4 changed files with 256 additions and 46 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -300,3 +300,5 @@ output.png
\#*.*
.reference-assets/
.reference-assets.lock
output.svg
formatted.gbr
2 changes: 1 addition & 1 deletion docs/80_code_generation/10_gerber.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ For full reference of shapes available in `PadCreator` check out
class also provides means to add traces to the Gerber image. You can use
[`new_trace()`](../reference/pygerber/builder/gerber.md#pygerber.builder.gerber.GerberX3Builder.add_trace)
and
[`add_arc_trace()`](../reference/pygerber/builder/gerber.md#pygerber.builder.gerber.GerberX3Builder.add_arc_trace)
[`add_clockwise_arc_trace()`](../reference/pygerber/builder/gerber.md#pygerber.builder.gerber.GerberX3Builder.add_clockwise_arc_trace)
methods to do that. Fist one creates a straight lines, second one creates arcs. You
don't need to create pads to add traces, but you have to provide width of the trace as
first argument.
Expand Down
Loading

0 comments on commit ddd599b

Please sign in to comment.