Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-05-11 | Make __main__ functional again and install a script entry point. | Chintalagiri Shashank | 2 | -23/+108 | |
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 | 3 | -17/+17 | |
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 | 6 | -67/+86 | |
Fix hard requirement of cairo per #83, and add stubs for required sub… | |||||
2019-01-26 | Merge pull request #91 from cejpmart/patch-1 | Hamilton Kibbe | 1 | -1/+2 | |
IPC356: Do not crash on record type 367 | |||||
2019-01-26 | IPC356: Do not crash on record type 367 | Martin Cejp | 1 | -1/+2 | |
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-27 | Merge pull request #87 from ju5t/full-filename-regex | Hamilton Kibbe | 2 | -4/+4 | |
Match full filename instead of the base name | |||||
2018-06-26 | Match full filename instead of the base name | ju5t | 2 | -4/+4 | |
Regular expressions only matched the base name. This matches the entire filename which allows for more advanced regular expressions. | |||||
2018-06-25 | Skip subdirectories during import | ju5t | 1 | -0/+3 | |
If a directory contains subdirectories from_directory throws an exception. | |||||
2018-06-05 | Fix hard requirement of cairo per #83, and add stubs for required subclass ↵ | Hamilton Kibbe | 6 | -67/+86 | |
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-11-25 | Add hole support to ADParamStmt.rect | jaseg | 1 | -2/+6 | |
2017-11-22 | Merge pull request #76 from ju5t/guess-layer | Hamilton Kibbe | 3 | -14/+236 | |
Check gerber content for layer hints | |||||
2017-11-14 | Fix bounding box calculation for Slot primitives per #77 | Hamilton Kibbe | 1 | -3/+6 | |
2017-11-14 | Add test that reproduces #77 | Hamilton Kibbe | 1 | -0/+14 | |
2017-11-01 | Fix error in slot rendering from #77 | Hamilton Kibbe | 1 | -0/+1 | |
2017-11-01 | Check gerber content for layer hints | ju5t | 3 | -14/+236 | |
2017-09-16 | Implement quickhull to remove scipy dependency | Kliment Yanev | 1 | -3/+112 | |
2017-07-04 | Fix handling of multi-line strings per #66 | Hamilton Kibbe | 2 | -890/+928 | |
2017-07-04 | Merge pull request #67 from jmargeta/python_3_fix | Hamilton Kibbe | 1 | -1/+1 | |
Add GerberParser fix for Python 3.x | |||||
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 #69 from jmargeta/sweep_angle_tolerance | Hamilton Kibbe | 1 | -4/+7 | |
Add tolerance to center finding | |||||
2017-06-12 | Merge pull request #68 from jmargeta/cairo_python_3_fix | Hamilton Kibbe | 2 | -2/+40 | |
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 | Add tolerance to center finding | Jan Margeta | 1 | -4/+7 | |
In some cases, the computation of valid sweep angle hit numerical limits and no centers are found. This commit adds a small amount of tolerance. | |||||
2017-04-15 | Fix Cairo backend for svg saving and Python 3 | Jan Margeta | 2 | -2/+40 | |
2017-04-15 | Replace sys.maxint with sys.maxsize | Jan Margeta | 1 | -1/+1 | |
In Python 3, sys.maxint was removed, however its current use can be safely substituted with sys.maxsize (also in Python 2) See also: https://docs.python.org/3.1/whatsnew/3.0.html#integers | |||||
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-12-01 | (#61) Add regex option to discover layer classes | ju5t | 2 | -12/+49 | |
2016-11-18 | Fix drill tests | Hamilton Kibbe | 1 | -6/+6 | |
2016-11-18 | Clean up rs274x output tests | Hamilton Kibbe | 1 | -19/+19 | |
2016-11-18 | Add more tests for primitives | Hamilton Kibbe | 1 | -12/+87 | |
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-18 | Finish adding square hole support, fix some primitive calculations, etc. | Hamilton Kibbe | 3 | -132/+222 | |
2016-11-18 | Add support for IF (Include File) rs274x command | Hamilton Kibbe | 1 | -2/+24 | |
2016-11-18 | Add support for square holes in basic primitives | Hamilton Kibbe | 1 | -5/+19 | |
2016-11-18 | Excellon update | Hamilton Kibbe | 4 | -93/+242 | |
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 | 2 | -4/+2 | |
2016-11-06 | Remove debug print" | Hamilton Kibbe | 1 | -1/+0 | |
2016-11-06 | temporarily disable tests faillin g on CI | Hamilton Kibbe | 1 | -5/+5 | |
2016-11-06 | Merge upstream changes | Hamilton Kibbe | 23 | -525/+665 | |
2016-11-05 | Finish Merge, most tests passing | Hamilton Kibbe | 10 | -465/+402 | |
2016-11-05 | Fix tests | Hamilton Kibbe | 1 | -2/+2 | |