Commit graph

30 commits

Author SHA1 Message Date
jaseg
1872df4a33 Make split_commands faster 2022-02-06 14:20:13 +01:00
jaseg
5c4e180316 Strip down outline highlight example 2022-02-05 13:28:56 +01:00
jaseg
1944521bb9 Add outline highlight example 2022-02-05 13:27:08 +01:00
jaseg
57941b1b76 Arc approx WIP 2022-02-05 12:34:28 +01:00
jaseg
125eb821b9 Parser half-refactored 2021-11-08 13:06:23 +01:00
jaseg
889ea37d9b Graft pcb-tools-extension master onto gerbonara main 2021-06-06 13:28:42 +02:00
Hiroshi Murayama
244fcaa534 add a function that generate filled gerberdata with representing internal shape by fliping polarity 2019-12-28 23:45:33 +09:00
opiopan
cb420e39e2 fix a rotaion issue 2019-04-03 00:30:00 +09:00
opiopan
b7320a6b58 add examples 2019-04-01 21:26:26 +09:00
Hamilton Kibbe
5245fb9256 Fix hard requirement of cairo per #83, and add stubs for required subclass methods to GerberContext per #84 2018-06-05 08:57:37 -04:00
Hamilton Kibbe
19a8fb0048 Add max_width and max_height arguments to 2016-12-13 20:22:54 -05:00
Hamilton Kibbe
7c4ec8a768 Clip context to axis- and pixel- aligned bounds before rendering primitives. Significantly speeds up render 2016-12-13 00:01:05 -05:00
Hamilton Kibbe
3b1cf729be Add script to render gerbv test files 2016-11-18 07:43:02 -05:00
Hamilton Kibbe
422c86bcc6 Merge upstream changes 2016-11-06 14:44:40 -05:00
Hamilton Kibbe
8cd842a41a Manually mere rendering changes 2016-08-06 09:40:40 +08:00
Hamilton Kibbe
5df38c014f Cleanup, rendering fixes.
fixed rendering of tented vias
fixed rendering of semi-transparent layers
fixed file type detection issues
added some examples
2016-01-28 12:19:03 -05:00
Hamilton Kibbe
66a0d09e72 Add support for mirrored rendering
- The default theme now renders the bottom layers mirrored.
  - see https://github.com/curtacircuitos/pcb-tools/blob/master/examples/pcb_bottom.png
    for an example.
2016-01-21 04:39:55 -05:00
Hamilton Kibbe
5476da8aa3 Fix a bunch of rendering bugs.
- 'clear' polarity primitives no longer erase background
  - Added aperture macro support for polygons
  - Added aperture macro rendring support
  - Renderer now creates a new surface for each layer and merges them instead of working
    directly on a single surface
  - Updated examples accordingly
2016-01-21 03:57:44 -05:00
Hamilton Kibbe
6f876edd09 Add PCB interface
this incorporates some of @chintal's layers.py changes
PCB.from_directory() simplifies loading of multiple gerbers
the PCB() class should be pretty helpful going forward...

the context classes could use some cleaning up, although I'd like to wait until the freecad stuff gets merged, that way we can try to refactor the context base to support more use cases
2015-12-22 02:47:23 -05:00
Hamilton Kibbe
1cb269131b Allow negative render of soldermask per #50
Update example code and rendering to show change
2015-12-19 21:54:29 -05:00
Hamilton Kibbe
dd63b169f1 Allow files to be read from strings per #37
Adds a loads() method to the top level module which generates a GerberFile or ExcellonFile from a string
2015-10-10 16:51:21 -04:00
Hamilton Kibbe
b81c9d4bf9 Merge pull request #40 from curtacircuitos/cairo-render-unification
Cairo render unification
2015-09-10 15:54:29 -04:00
Hamilton Kibbe
39726e3936 Fix multiple layer issue in cairo-unification branch (see #33) 2015-07-22 22:13:09 -04:00
Hamilton Kibbe
15254a5bb7 Add tool path optimization example
Add example demonstrating use of tsp-solver with pcb-tools to optimize
tool paths in an excellon file. This is based on @koppi's script in #30
2015-07-06 12:13:59 -04:00
Hamilton Kibbe
b3e0ceb5c3 Add IPC-D-356 Netlist Parsing 2015-02-20 22:24:34 -05:00
Hamilton Kibbe
d63bf0d68a Fix cairo image size 2015-02-15 13:29:50 -05:00
Hamilton Kibbe
bfe1484160 Add cairo example code, and use example-generated image in readme 2015-02-15 03:29:47 -05:00
Hamilton Kibbe
8c5c7ec8bb update docs and example images 2014-10-12 12:38:40 -04:00
Hamilton Kibbe
62c689be17 Doc update 2014-10-11 13:12:21 -04:00
Paulo Henrique Silva
4723852d96 New TODO file and small repo cleanup.
* idea files outside of repo now.
2014-02-04 23:37:37 +01:00