Commit graph

366 commits

Author SHA1 Message Date
Hamilton Kibbe
872c2db250 Merge pull request #69 from jmargeta/sweep_angle_tolerance
Add tolerance to center finding
2017-06-12 07:59:39 -04:00
Hamilton Kibbe
b85021d9b8 Merge pull request #68 from jmargeta/cairo_python_3_fix
Fix Cairo backend for svg saving and Python 3
2017-06-12 07:58:59 -04:00
Hamilton Kibbe
f7a719e6f7 Fix error when unpacking colors in cairo backend 2017-06-12 07:58:06 -04:00
Hamilton Kibbe
a5aa8bc9ba Merge pull request #70 from bryant1410/master
Fix broken headings in Markdown files
2017-04-20 09:50:20 -04:00
Santiago Castro
6a77023bb0 Fix broken Markdown headings 2017-04-16 16:46:15 -03:00
Jan Margeta
dd1676ad8a Add tolerance to center finding
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 15:40:55 +02:00
Jan Margeta
7873999926 Fix Cairo backend for svg saving and Python 3 2017-04-15 15:29:58 +02:00
Hamilton Kibbe
dd0abbf307 Merge pull request #65 from curtacircuitos/auto_scale_renders
Add max_width and max_height arguments to cairo context render_layers method
2017-02-24 08:38:13 -05:00
Paulo Henrique Silva
b5e7b021ee setup.py: sync with requirements.txt 2016-12-16 22:19:43 -02: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
1c0005437e Merge pull request #62 from ju5t/develop
(#61) Add regex option to discover layer classes
2016-12-03 18:27:36 -05:00
ju5t
d6a815225b Merge branch 'master' into develop 2016-12-01 21:15:33 +01:00
ju5t
ffeaf788f0 (#61) Add regex option to discover layer classes 2016-12-01 21:08:17 +01:00
Hamilton Kibbe
467bcdbc2a Update Installation Instructions 2016-11-29 23:31:53 -05:00
Paulo Henrique Silva
c15033a783 Merge pull request #59 from curtacircuitos/render_updates
Render updates
2016-11-18 13:26:35 -02:00
Hamilton Kibbe
c1b2903521 Try using wheel for scipy 2016-11-18 08:26:06 -05:00
Hamilton Kibbe
845737ebd8 Temporarily disable python3.3 until i can sort out the issue with py3.3 and scipy on travis CI 2016-11-18 08:23:02 -05:00
Hamilton Kibbe
e07ccc805f Fix drill tests 2016-11-18 08:14:26 -05:00
Hamilton Kibbe
389c273a87 Clean up rs274x output tests 2016-11-18 08:12:55 -05:00
Hamilton Kibbe
33e8494318 Add more tests for primitives 2016-11-18 08:11:56 -05:00
Hamilton Kibbe
0ae5c48a65 Fix rs274x output bugs 2016-11-18 08:10:32 -05:00
Hamilton Kibbe
5696fc7064 Fix a bunch of bugs in rendering that showed up when rendering the gerbv test suite 2016-11-18 08:09:03 -05:00
Hamilton Kibbe
a7f1f6ef0f Finish adding square hole support, fix some primitive calculations, etc. 2016-11-18 08:05:57 -05:00
Hamilton Kibbe
6b672e98ff Add support for IF (Include File) rs274x command 2016-11-18 08:02:22 -05:00
Hamilton Kibbe
c70ece73ea Add support for square holes in basic primitives 2016-11-18 07:56:51 -05:00
Hamilton Kibbe
41a7b90dff Excellon update 2016-11-18 07:55:43 -05:00
Hamilton Kibbe
ca2143380f Add python3.5 to CI test versions 2016-11-18 07:45:07 -05:00
Hamilton Kibbe
3b1cf729be Add script to render gerbv test files 2016-11-18 07:43:02 -05:00
Paulo Henrique Silva
521fe89150 Merge pull request #58 from garretfick/merge-curtacircuitos
Epic merge from @garretfick 

Thanks a lot @garretfick and @hamiltonkibbe.
2016-11-16 23:54:09 -02:00
Garret Fick
1e868763a1 Merge pull request #5 from hamiltonkibbe/merge-curtacircuitos
Merge curtacircuitos
2016-11-11 15:54:42 +08:00
Hamilton Kibbe
60d08dc8ad Merge upstream change 2016-11-07 21:20:26 -05:00
Hamilton Kibbe
7030eee5e2 Merge pull request #57 from girtsf/master
cairo_backend.py: use BytesIO instead of StringIO
2016-11-07 21:18:31 -05:00
Girts Folkmanis
369ac7b2a3 cairo_backend.py: use BytesIO instead of StringIO
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-07 17:11:07 -08:00
Hamilton Kibbe
6db0658e23 Fix tests on python3 2016-11-06 15:08:00 -05:00
Hamilton Kibbe
d7a0f3ad2b Remove debug print" 2016-11-06 14:58:32 -05:00
Hamilton Kibbe
56c3c88c57 temporarily disable tests faillin g on CI 2016-11-06 14:55:59 -05:00
Hamilton Kibbe
422c86bcc6 Merge upstream changes 2016-11-06 14:44:40 -05:00
Hamilton Kibbe
ede065e6d1 Merge branch 'merge-curtacircuitos' of github.com:hamiltonkibbe/gerber-tools into merge-curtacircuitos 2016-11-05 21:16:58 -04:00
Hamilton Kibbe
d2fe444166 Merge pull request #3 from garretfick/merge-curtacircuitos
Merge curtacircuitos
2016-11-05 21:11:09 -04:00
Hamilton Kibbe
724c2b3bce Finish Merge, most tests passing 2016-11-05 20:56:47 -04:00
Hamilton Kibbe
22e668c75f Fix tests 2016-11-05 18:30:21 -04:00
Hamilton Kibbe
0fedaedb6e Add more layer hints as seen in the wild 2016-09-29 19:43:28 -04:00
Hamilton Kibbe
5af19af190 Commit partial merge so I can work on the plane 2016-09-24 02:28:36 +08:00
Garret Fick
8d5e782ccf Fix multiple problems with the merge. There are still errors, but I will intentionally leave them because future merges might resolve them 2016-08-06 09:51:58 +08:00
Hamilton Kibbe
8cd842a41a Manually mere rendering changes 2016-08-06 09:40:40 +08:00
Garret Fick
965d3ce23b Add more tests for rendering to PNG. Start adding tests for rendering to 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 22:08:31 +08:00
Garret Fick
7cd6acf126 Add many render tests based on the Umaco gerger specification. Fix multiple rendering bugs, especially related to holes in flashed apertures 2016-07-24 17:08:47 +08:00
Garret Fick
cd4614f997 Merge commit '2fa585853b' into merge-curtacircuitos 2016-07-24 11:18:28 +08:00
Garret Fick
d9bc53190d Merge commit '7a53251463' into merge-curtacircuitos 2016-07-20 23:41:26 +08:00