Commit graph

643 commits

Author SHA1 Message Date
johnthagen
2cfe657000
Add support for latest Python releases 2019-11-24 17:07:48 -05:00
Hiroshi Murayama
d7a0693242 fix a issue that coordinate normalization for excellon is imperfect 2019-09-30 18:52:17 +09:00
Hiroshi Murayama
242dc2ae17 change README 2019-09-29 19:53:53 +09:00
Hiroshi Murayama
48b35377b1 minor refactoring 2019-09-28 20:42:11 +09:00
Hiroshi Murayama
a3c750fc06 update setup.py 2019-09-28 17:52:37 +09:00
Hiroshi Murayama
fc3f1a23b8 improve DXF file handling functions:
- DM_LINE mode support to generate Excellon routing sequence
- DM_MOUSE_BITES mode support to generate mouse bites along all path also,  not only line object
2019-09-28 17:40:09 +09:00
Hiroshi Murayama
882bf14a8d change README 2019-09-15 21:31:39 +09:00
Hiroshi Murayama
00351ebe27 add IP command handling function 2019-09-12 23:44:50 +09:00
Hiroshi Murayama
4c4ba0762b fix issue #2: single quadrant mode is supported 2019-09-09 21:52:52 +09:00
Hiroshi Murayama
2b1c751ff7 improve compatibility with RS-274x specification:
- can merge multiple files having different file scope modifier, such as AS, MI, OF, SF, and IR
- support modal coordinate notation
2019-09-09 09:15:01 +09:00
Hiroshi Murayama
13ab9db6e7 support incremental coordinate for excellon 2019-08-25 20:16:53 +09:00
Hiroshi Murayama
36956f93fe improve routing mode compatibility with excellon specification 2019-08-25 12:40:37 +09:00
Hiroshi Murayama
f8fe167085 zero supressing in aperture macro definition 2019-08-18 18:33:41 +09:00
Hiroshi Murayama
0225820279 fix a bug that unit traslation of excellon fail 2019-08-18 14:17:13 +09:00
Hiroshi Murayama
22f4c8a3f5 router mode and G85 slot in excellon file is supported 2019-08-17 23:38:30 +09: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
opiopan
4c7aef6a82 modify test codes 2019-07-28 01:11:40 +09:00
Marin Mikaël
0854d35758
Update am_expression.py
String format to %f instead of %g. Scientific notation is supportd by Kicad and Ucamco's reference viewer, but causes artefacts on Altium and pcb-tools.
2019-07-24 01:24:41 +09:00
Marin Mikaël
415bdbc2e4
Update am_primitive.py
Fix bug when circle doesn't have any rotation by adding a default 0 degree rotation.
2019-07-24 01:20:15 +09:00
Marin Mikaël
89b5b714c9
Update composition.py
Add DrillSlot support to excellon composition.
2019-07-24 01:19:09 +09:00
opiopan
a33e9a1686 change supported python version 2019-05-12 08:21:41 +09:00
Chintalagiri Shashank
9cc42d9b77
Make __main__ functional again and install a script entry point. 2019-05-11 04:24:09 +05:30
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
Chintalagiri Shashank
4aca5b8a02
Correctly recognize gEDA pcb generated gerber filenames 2019-05-10 23:40:56 +05:30
opiopan
6ec5884203 fix a genarating closed path issue 2019-04-24 22:55:23 +09:00
opiopan
0d91ed834d compliant with PyPi repository 2019-04-07 23:32:03 +09:00
opiopan
e3c59e39cf expand test and fix many issues 2019-04-07 22:22:33 +09:00
opiopan
d53293a609 add move and rotation capability to DxfFile object 2019-04-03 19:05:20 +09:00
opiopan
6b4603af21 add rectangle generator 2019-04-03 12:17:59 +09:00
opiopan
cb420e39e2 fix a rotaion issue 2019-04-03 00:30:00 +09:00
opiopan
b72d891998 fix a document issue 2019-04-01 22:22:47 +09:00
opiopan
166e3dfe2b fix a document issue 2019-04-01 22:21:43 +09:00
opiopan
eda7527550 compliant with Python 2.7 2019-04-01 22:07:56 +09:00
opiopan
b7320a6b58 add examples 2019-04-01 21:26:26 +09:00
opiopan
06ba3e6843 change document 2019-03-31 23:38:07 +09:00
opiopan
53816574a9 fix a minor issue 2019-03-31 18:16:34 +09:00
opiopan
900d992fa3 auto detection closed paths in the collection of DXF arc object and line object, then fill these closed path 2019-03-31 13:30:15 +09:00
opiopan
fcd704e1ee add mouse bites generator function 2019-03-30 11:16:13 +09:00
opiopan
7e8f90b372 fix a setup issue 2019-03-25 20:21:41 +09:00
opiopan
0d5e6744d1 change README 2019-03-24 11:07:13 +09:00
opiopan
690df56bb7 add rotation fuction 2019-03-23 21:59:13 +09:00
opiopan
9febca7da6 initial commit 2019-03-21 22:00:32 +09:00
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