Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-03-02 | fix reversed layer bug | Hamilton Kibbe | 1 | -1/+1 | |
2019-02-03 | Make primitives with unset level polarity inherit from region | jaseg | 1 | -10/+13 | |
This fixes region rendering with programatically generated primitives such that clear level polarity works in an intuitive way. This is useful for e.g. cutouts in regions. Before, the renderer would set level polarity twice, both when starting the region and then again once for each region primitive (line or arc). The problem was that the primitives in a region with "clear" polarity would when constructed with unset polarity default to "dark". Thus the renderer would emit something like LPC (clear polarity) -> G36 (start region) -> LPD (dark polarity) -> {lines...} instead of LPC -> G36 -> {lines...}. After this commit, Line and Arc will retain None as level polarity when created with unset level polarity, and region rendering will override None with the region's polarity. Outside regions, the old dark default remains unchanged. Note on verification: Somehow, gEDA gerbv would still render the broken regions the way one would have intended, but other viewers (KiCAD gerbview, the online EasyEDA one and whatever JLC uses to make their silkscreens) would not. | |||||
2019-01-26 | Merge pull request #92 from curtacircuitos/subclass-bugfix | Hamilton Kibbe | 5 | -64/+79 | |
Fix hard requirement of cairo per #83, and add stubs for required sub… | |||||
2018-07-06 | Fix cairo matrix clone op to not use copy.copy | jaseg | 1 | -1/+1 | |
For some reason, copy.copy would barf saying it can't deepcopy cairo matrices. | |||||
2018-06-05 | Fix hard requirement of cairo per #83, and add stubs for required subclass ↵ | Hamilton Kibbe | 5 | -64/+79 | |
methods to GerberContext per #84 | |||||
2017-11-25 | Use positional arguments for cairo.Context.arc | jaseg | 1 | -21/+5 | |
cairocffi 0.6 does not support keyword args. | |||||
2017-07-04 | Remove rest of mixed unpack/kwarg syntax to fix #72 | Hamilton Kibbe | 1 | -9/+9 | |
2017-06-12 | Merge pull request #71 from tomacorp/layer_bounds_arg | Hamilton Kibbe | 1 | -2/+5 | |
Added bounds argument to render_layer() | |||||
2017-06-12 | Merge pull request #68 from jmargeta/cairo_python_3_fix | Hamilton Kibbe | 1 | -1/+1 | |
Fix Cairo backend for svg saving and Python 3 | |||||
2017-06-12 | Fix error when unpacking colors in cairo backend | Hamilton Kibbe | 1 | -2/+2 | |
2017-05-24 | Added bounds argument to render_layer() | Tom Anderson | 1 | -2/+5 | |
2017-04-15 | Fix Cairo backend for svg saving and Python 3 | Jan Margeta | 1 | -1/+1 | |
2016-12-13 | Add max_width and max_height arguments to | Hamilton Kibbe | 1 | -2/+22 | |
2016-12-13 | Clip context to axis- and pixel- aligned bounds before rendering primitives. ↵ | Hamilton Kibbe | 1 | -563/+610 | |
Significantly speeds up render | |||||
2016-11-18 | Fix rs274x output bugs | Hamilton Kibbe | 1 | -19/+32 | |
2016-11-18 | Fix a bunch of bugs in rendering that showed up when rendering the gerbv ↵ | Hamilton Kibbe | 1 | -183/+305 | |
test suite | |||||
2016-11-07 | Merge upstream change | Hamilton Kibbe | 1 | -6/+3 | |
2016-11-07 | cairo_backend.py: use BytesIO instead of StringIO | Girts Folkmanis | 1 | -6/+3 | |
This fixes a crash in cairocffi on Python3, and should be compatible with both python2 and python3. In python2, byte strings are just strings. In python3, when getting binary data, the user probably wants a byte string instead of a regular string. | |||||
2016-11-06 | Fix tests on python3 | Hamilton Kibbe | 1 | -2/+1 | |
2016-11-06 | Remove debug print" | Hamilton Kibbe | 1 | -1/+0 | |
2016-11-06 | Merge upstream changes | Hamilton Kibbe | 5 | -279/+289 | |
2016-11-05 | Finish Merge, most tests passing | Hamilton Kibbe | 1 | -124/+43 | |
2016-09-29 | Add more layer hints as seen in the wild | Hamilton Kibbe | 1 | -1/+1 | |
2016-09-24 | Commit partial merge so I can work on the plane | Hamilton Kibbe | 2 | -3/+90 | |
2016-08-06 | Fix multiple problems with the merge. There are still errors, but I will ↵ | Garret Fick | 2 | -1/+9 | |
intentionally leave them because future merges might resolve them | |||||
2016-08-06 | Manually mere rendering changes | Hamilton Kibbe | 3 | -193/+214 | |
2016-07-24 | Add more tests for rendering to PNG. Start adding tests for rendering to ↵ | Garret Fick | 1 | -1/+18 | |
Gerber format. Changed definition of no hole to use None instead of 0 so we can differentiate when writing to Gerber format. Makde polygon use hole diameter instead of hole radius to match other primitives | |||||
2016-07-24 | Add many render tests based on the Umaco gerger specification. Fix multiple ↵ | Garret Fick | 2 | -27/+90 | |
rendering bugs, especially related to holes in flashed apertures | |||||
2016-07-20 | Merge in 6a005436b475e3517fd6a583473b60e601bcc661 | Garret Fick | 3 | -57/+65 | |
2016-07-20 | Manually merge change 5430fa6738b74f324c47c947477dd5b779db5d1c | Garret Fick | 1 | -3/+4 | |
2016-07-20 | Manually merge change 6f876edd09d9b81649691e529f85653f14b8fd1c | Garret Fick | 3 | -42/+76 | |
2016-07-17 | Manually merge af5541ac93b222c05229ee05c9def8dbae5f6e25 | Garret Fick | 2 | -10/+32 | |
2016-07-17 | Create first test that renders and validates the the rendered PNG is correct. | Garret Fick | 1 | -3/+2 | |
2016-07-17 | Merge in negative soldermask. Still required further changes to support ↵ | Garret Fick | 3 | -67/+184 | |
negatives for shapes that dont exist in the merge source | |||||
2016-07-10 | Fix issue with chaning region mode via flash. Add options for controlling ↵ | Garret Fick | 2 | -3/+45 | |
output from rendered gerber | |||||
2016-06-25 | Add support for polygon apertures | Garret Fick | 2 | -4/+37 | |
2016-06-25 | Render aperture macros with clear regions | Garret Fick | 1 | -0/+3 | |
2016-05-28 | Fix issue with switching between ROUT and normal drill modes | Garret Fick | 2 | -7/+16 | |
2016-05-28 | Use the known macro statement to render. Fix thermal not setting rotation | Garret Fick | 1 | -22/+32 | |
2016-05-28 | Fix units statement. Keep track of original macro statement in the AMGroup | Garret Fick | 1 | -1/+1 | |
2016-05-19 | Merge pull request #3 from qaulau/patch-2 | Garret Fick | 1 | -2/+5 | |
Update cairo_backend.py | |||||
2016-05-19 | Fix issue where did not always switch into the G01 mode after G03 when the ↵ | Garret Fick | 1 | -0/+2 | |
point was unchanged | |||||
2016-05-08 | Don't render null items | Garret Fick | 1 | -0/+2 | |
2016-04-08 | Update cairo_backend.py | Qau Lau | 1 | -2/+5 | |
If cairo module import error use cairocffi | |||||
2016-04-05 | Fix converting values for excellon files. Give error for incremental mode | Garret Fick | 1 | -0/+5 | |
2016-03-27 | Actually fix the rout rendering to be correct | Garret Fick | 1 | -9/+89 | |
2016-03-26 | Support for the G85 slot statement | Garret Fick | 3 | -4/+48 | |
2016-03-24 | Basic rendering of excellon works, but still has issues | Garret Fick | 1 | -7/+10 | |
2016-03-05 | More robust writing, even for bad files. Remove accidentally added imports | Garret Fick | 1 | -0/+3 | |
2016-03-05 | Remove some testing code from gerber writer. More implementation for ↵ | Garret Fick | 2 | -28/+80 | |
excellon writer - not working yet |