summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-08-01Update utils.pyC4dmium1-0/+4
2019-07-28modify test codesopiopan7-72/+73
2019-07-24Update am_expression.pyMarin Mikaël1-1/+1
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-24Update am_primitive.pyMarin Mikaël1-1/+1
Fix bug when circle doesn't have any rotation by adding a default 0 degree rotation.
2019-07-24Update composition.pyMarin Mikaël1-1/+5
Add DrillSlot support to excellon composition.
2019-05-12change supported python versionopiopan2-4/+1
2019-05-11Make __main__ functional again and install a script entry point.Chintalagiri Shashank3-26/+118
2019-05-11Add hook for outline layer to PCB classChintalagiri Shashank1-0/+6
2019-05-11Add a new transparant theme for multilayer renders.Chintalagiri Shashank1-0/+32
2019-05-10Correctly recognize gEDA pcb generated gerber filenamesChintalagiri Shashank2-13/+31
2019-04-24fix a genarating closed path issueopiopan2-4/+21
2019-04-07compliant with PyPi repositoryopiopan3-10/+10
2019-04-07expand test and fix many issuesopiopan41-100/+2634
2019-04-03add move and rotation capability to DxfFile objectopiopan2-7/+68
2019-04-03add rectangle generatoropiopan3-27/+64
2019-04-03fix a rotaion issueopiopan5-13/+28
2019-04-01fix a document issueopiopan1-1/+1
2019-04-01fix a document issueopiopan1-1/+1
2019-04-01compliant with Python 2.7opiopan2-2/+4
2019-04-01add examplesopiopan57-2/+94376
2019-03-31change documentopiopan1-3/+3
2019-03-31fix a minor issueopiopan3-10/+11
2019-03-31auto detection closed paths in the collection of DXF arc object and line ↵opiopan17-14744/+345
object, then fill these closed path
2019-03-30add mouse bites generator functionopiopan9-49/+2786
2019-03-25fix a setup issueopiopan2-2/+18
2019-03-24change READMEopiopan2-7/+32
2019-03-23add rotation fuctionopiopan17-19/+12374
2019-03-21initial commitopiopan14-0/+1551
2019-03-02fix reversed layer bugHamilton Kibbe1-1/+1
2019-02-04Merge pull request #94 from jaseg/masterHamilton Kibbe3-17/+17
Make primitives with unset level polarity inherit from region
2019-02-03Make primitives with unset level polarity inherit from regionjaseg3-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-26Merge pull request #92 from curtacircuitos/subclass-bugfixHamilton Kibbe8-69/+90
Fix hard requirement of cairo per #83, and add stubs for required sub…
2019-01-26Merge pull request #91 from cejpmart/patch-1Hamilton Kibbe1-1/+2
IPC356: Do not crash on record type 367
2019-01-26Merge pull request #88 from jaseg/fixesHamilton Kibbe1-1/+1
Fix cairo matrix clone op to not use copy.copy
2019-01-26IPC356: Do not crash on record type 367Martin Cejp1-1/+2
2018-07-06Fix cairo matrix clone op to not use copy.copyjaseg1-1/+1
For some reason, copy.copy would barf saying it can't deepcopy cairo matrices.
2018-06-27Merge pull request #87 from ju5t/full-filename-regexHamilton Kibbe2-4/+4
Match full filename instead of the base name
2018-06-27Merge pull request #85 from ju5t/skip-subdirectoriesHamilton Kibbe1-0/+3
Skip subdirectories during import
2018-06-26Match full filename instead of the base nameju5t2-4/+4
Regular expressions only matched the base name. This matches the entire filename which allows for more advanced regular expressions.
2018-06-25Skip subdirectories during importju5t1-0/+3
If a directory contains subdirectories from_directory throws an exception.
2018-06-05Fix hard requirement of cairo per #83, and add stubs for required subclass ↵Hamilton Kibbe8-69/+90
methods to GerberContext per #84
2017-12-01Merge pull request #80 from jaseg/masterHamilton Kibbe2-23/+11
Add hole support to ADParamStmt.rect and fix cairocffi compatibility
2017-11-25Use positional arguments for cairo.Context.arcjaseg1-21/+5
cairocffi 0.6 does not support keyword args.
2017-11-25Add hole support to ADParamStmt.rectjaseg1-2/+6
2017-11-22Merge pull request #76 from ju5t/guess-layerHamilton Kibbe3-14/+236
Check gerber content for layer hints
2017-11-16Merge pull request #79 from curtacircuitos/fix-slot-positionHamilton Kibbe2-3/+20
Fix slot position
2017-11-14Fix bounding box calculation for Slot primitives per #77Hamilton Kibbe1-3/+6
2017-11-14Add test that reproduces #77Hamilton Kibbe1-0/+14
2017-11-01Fix error in slot rendering from #77Hamilton Kibbe1-0/+1
2017-11-01Check gerber content for layer hintsju5t3-14/+236