Commit graph

429 commits

Author SHA1 Message Date
Paulo Henrique Silva
404384cf91
Fix #98 2019-11-25 23:56:24 -03:00
Paulo Henrique Silva
ab6aa538c1
Merge pull request #100 from chintal/multilayer
Add a new transparent theme for multilayer renders.
2019-11-25 23:51:37 -03:00
Paulo Henrique Silva
281c26ec37
Merge pull request #101 from chintal/outline
Add hook for outline layer to PCB class
2019-11-25 23:50:28 -03:00
Paulo Henrique Silva
b75d2f8d90
Merge branch 'master' into outline 2019-11-25 23:45:19 -03:00
Paulo Henrique Silva
d5d618f058
Merge branch 'master' into multilayer 2019-11-25 23:43:04 -03:00
Paulo Henrique Silva
cee1fcff3a
Run workflow checks on PRs 2019-11-25 23:40:59 -03:00
Paulo Henrique Silva
7125380c1a
Merge branch 'master' into outline 2019-11-25 23:35:43 -03:00
Paulo Henrique Silva
a40de7b827
Merge pull request #108 from curtacircuitos/dependabot/pip/numpydoc-0.9.1
Bump numpydoc from 0.5 to 0.9.1
2019-11-25 21:16:08 -03:00
Paulo Henrique Silva
b671ea915e
Merge branch 'master' into dependabot/pip/numpydoc-0.9.1 2019-11-25 21:15:13 -03:00
Paulo Henrique Silva
acd406c9dd
Merge pull request #110 from curtacircuitos/dependabot/pip/sphinx-2.2.1
Bump sphinx from 1.2.3 to 2.2.1
2019-11-25 21:14:31 -03:00
dependabot-preview[bot]
e952aedbc3
Bump sphinx from 1.2.3 to 2.2.1
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 1.2.3 to 2.2.1.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v1.2.3...v2.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 21:10:40 +00:00
dependabot-preview[bot]
d54bdf3769
Bump numpydoc from 0.5 to 0.9.1
Bumps [numpydoc](https://github.com/numpy/numpydoc) from 0.5 to 0.9.1.
- [Release notes](https://github.com/numpy/numpydoc/releases)
- [Commits](https://github.com/numpy/numpydoc/compare/v0.5...v0.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 21:09:59 +00:00
Paulo Henrique Silva
4cdb652399
Merge pull request #107 from curtacircuitos/ph-move-to-gh-actions
Move CI to GitHub Actions
2019-11-25 16:39:27 -03:00
Paulo Henrique Silva
db54393f4e
Remove travis, coverage still missing on gh actions 2019-11-25 16:31:41 -03:00
Paulo Henrique Silva
79428db321
Update pcb-tools.yml 2019-11-25 16:19:10 -03:00
Paulo Henrique Silva
3602ce4d68
Update pcb-tools.yml 2019-11-25 16:16:35 -03:00
Paulo Henrique Silva
5d05e7db8e
Update and rename pythonapp.yml to pcb-tools.yml 2019-11-25 16:10:33 -03:00
Paulo Henrique Silva
5afe26d124
Create pythonapp.yml 2019-11-25 15:56:42 -03:00
Paulo Henrique Silva
1efc9035ae
Merge pull request #105 from johnthagen/patch-1
Add support for latest Python releases
2019-11-25 15:49:14 -03:00
Paulo Henrique Silva
0a45f0ae57
Merge branch 'master' into patch-1 2019-11-25 15:45:47 -03:00
Paulo Henrique Silva
2830fd268d
Merge pull request #106 from curtacircuitos/ph-upgrade-requirements
Upgrade nose and coverage
2019-11-25 15:38:43 -03:00
Paulo Henrique Silva
2b6ea5ead8
Upgrade for new requirements-dev.txt 2019-11-25 15:34:37 -03:00
Paulo Henrique Silva
e5094c04a7
Rename requirements for docs and dev and upgrade nose and coverage packages 2019-11-25 15:34:10 -03:00
Paulo Henrique Silva
2e32abef6a
Merge pull request #104 from MarinMikael/allow_float_fmt_and_fix_3.7
Allow float fmt and fix 3.7
2019-11-25 11:30:53 -03:00
johnthagen
c87bad8ded
Drop end of life Python 3.3 2019-11-24 17:10:43 -05:00
johnthagen
2cfe657000
Add support for latest Python releases 2019-11-24 17:07:48 -05:00
C4dmium
c08457f7ad
Update excellon_statements.py 2019-08-01 22:26:06 +09:00
C4dmium
dbd92e58c9
Update utils.py 2019-08-01 22:25:01 +09:00
Chintalagiri Shashank
37dfd86368
Add hook for outline layer to PCB class 2019-05-11 04:03:59 +05:30
Chintalagiri Shashank
0c86289565
Add a new transparant theme for multilayer renders. 2019-05-11 03:27:48 +05:30
Hamilton Kibbe
2601ae8eab fix reversed layer bug 2019-03-02 10:41:37 -05:00
Hamilton Kibbe
256cd7ec6b
Merge pull request #94 from jaseg/master
Make primitives with unset level polarity inherit from region
2019-02-04 09:28:51 -05:00
jaseg
a7a5981e0e Make primitives with unset level polarity inherit from region
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-02-03 14:37:26 +09:00
Hamilton Kibbe
f59d78b7fe
Merge pull request #92 from curtacircuitos/subclass-bugfix
Fix hard requirement of cairo per #83, and add stubs for required sub…
2019-01-26 13:52:32 -05:00
Hamilton Kibbe
292f74dee9
Merge pull request #91 from cejpmart/patch-1
IPC356: Do not crash on record type 367
2019-01-26 13:48:05 -05:00
Hamilton Kibbe
5d7def47f1
Merge pull request #88 from jaseg/fixes
Fix cairo matrix clone op to not use copy.copy
2019-01-26 13:47:32 -05:00
Martin Cejp
e002975249
IPC356: Do not crash on record type 367 2019-01-26 16:07:45 +01:00
jaseg
17924398fa Fix cairo matrix clone op to not use copy.copy
For some reason, copy.copy would barf saying it can't deepcopy cairo
matrices.
2018-07-06 19:57:01 +02:00
Hamilton Kibbe
7c20bd3699
Merge pull request #87 from ju5t/full-filename-regex
Match full filename instead of the base name
2018-06-27 12:31:00 -05:00
Hamilton Kibbe
66a1a1ca69
Merge pull request #85 from ju5t/skip-subdirectories
Skip subdirectories during import
2018-06-27 12:30:04 -05:00
ju5t
8dd8a87fc0 Match full filename instead of the base name
Regular expressions only matched the base name. This matches the
entire filename which allows for more advanced regular expressions.
2018-06-26 22:17:45 +02:00
ju5t
7cd3d53252 Skip subdirectories during import
If a directory contains subdirectories from_directory throws an
exception.
2018-06-25 09:43:23 +02: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
31062ba2ce
Merge pull request #80 from jaseg/master
Add hole support to ADParamStmt.rect and fix cairocffi compatibility
2017-12-01 15:21:55 -05:00
jaseg
e5597e84a8 Use positional arguments for cairo.Context.arc
cairocffi 0.6 does not support keyword args.
2017-11-25 16:15:00 +01:00
jaseg
b87629c2ae Add hole support to ADParamStmt.rect 2017-11-25 16:14:23 +01:00
Hamilton Kibbe
fa9f2c3a74
Merge pull request #76 from ju5t/guess-layer
Check gerber content for layer hints
2017-11-22 11:15:13 -05:00
Hamilton Kibbe
4bd2f6c7da
Merge pull request #79 from curtacircuitos/fix-slot-position
Fix slot position
2017-11-16 09:56:03 -05:00
Hamilton Kibbe
c2ed707b52 Fix bounding box calculation for Slot primitives per #77 2017-11-14 09:15:06 -05:00
Hamilton Kibbe
ca6c819ca8 Add test that reproduces #77 2017-11-14 09:11:49 -05:00