summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2017-09-22Merge pull request #73 from kliment/masterHamilton Kibbe4-6/+115
Remove dependency on scipy by adding quickhull implementation to utils
2017-09-18Set travis distro to preciseKliment Yanev1-0/+1
2017-09-18Remove references to scipy from travis config and setup.pyKliment Yanev2-2/+2
2017-09-16Remove scipy from requirements.txtKliment Yanev1-1/+0
2017-09-16Implement quickhull to remove scipy dependencyKliment Yanev1-3/+112
2017-07-04Fix handling of multi-line strings per #66Hamilton Kibbe2-890/+928
2017-07-04Merge pull request #67 from jmargeta/python_3_fixHamilton Kibbe1-1/+1
Add GerberParser fix for Python 3.x
2017-07-04Remove rest of mixed unpack/kwarg syntax to fix #72Hamilton Kibbe1-9/+9
2017-06-12Merge pull request #71 from tomacorp/layer_bounds_argHamilton Kibbe1-2/+5
Added bounds argument to render_layer()
2017-06-12Merge pull request #69 from jmargeta/sweep_angle_toleranceHamilton Kibbe1-4/+7
Add tolerance to center finding
2017-06-12Merge pull request #68 from jmargeta/cairo_python_3_fixHamilton Kibbe2-2/+40
Fix Cairo backend for svg saving and Python 3
2017-06-12Fix error when unpacking colors in cairo backendHamilton Kibbe1-2/+2
2017-05-24Added bounds argument to render_layer()Tom Anderson1-2/+5
2017-04-20Merge pull request #70 from bryant1410/masterHamilton Kibbe1-60/+60
Fix broken headings in Markdown files
2017-04-16Fix broken Markdown headingsSantiago Castro1-60/+60