summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-05-10Correctly recognize gEDA pcb generated gerber filenamesChintalagiri Shashank2-13/+31
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
2017-04-15Add tolerance to center findingJan Margeta1-4/+7
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-15Fix Cairo backend for svg saving and Python 3Jan Margeta2-2/+40
2017-04-15Replace sys.maxint with sys.maxsizeJan Margeta1-1/+1
In Python 3, sys.maxint was removed, however its current use can be safely substituted with sys.maxsize (also in Python 2) See also: https://docs.python.org/3.1/whatsnew/3.0.html#integers
2017-02-24Merge pull request #65 from curtacircuitos/auto_scale_rendersHamilton Kibbe5-5/+25
Add max_width and max_height arguments to cairo context render_layers method
2016-12-16setup.py: sync with requirements.txtPaulo Henrique Silva1-1/+1
2016-12-13Add max_width and max_height arguments toHamilton Kibbe5-5/+25
2016-12-13Clip context to axis- and pixel- aligned bounds before rendering primitives. ↵Hamilton Kibbe3-563/+610
Significantly speeds up render
2016-12-03Merge pull request #62 from ju5t/developHamilton Kibbe2-12/+49
(#61) Add regex option to discover layer classes
2016-12-01Merge branch 'master' into developju5t1-0/+1
2016-12-01(#61) Add regex option to discover layer classesju5t2-12/+49
2016-11-29Update Installation InstructionsHamilton Kibbe1-0/+1
2016-11-18Merge pull request #59 from curtacircuitos/render_updatesPaulo Henrique Silva46-473/+1779
Render updates