summaryrefslogtreecommitdiff
path: root/gerber
AgeCommit message (Collapse)AuthorFilesLines
2016-05-08Don't render null itemsGarret Fick1-0/+2
2016-04-23Correctly find the center for single quadrant arcsGarret Fick2-1/+38
2016-04-08Update cairo_backend.pyQau Lau1-2/+5
If cairo module import error use cairocffi
2016-04-05Fix converting values for excellon files. Give error for incremental modeGarret Fick2-16/+13
2016-03-27Merge pull request #2 from qaulau/masterGarret Fick1-2/+2
Update rs274x.py
2016-03-27Actually fix the rout rendering to be correctGarret Fick3-14/+102
2016-03-26Correctly render M15 slot holesGarret Fick1-1/+19
2016-03-26D02 in the middle of a region starts a new regionGarret Fick1-1/+7
2016-03-26Support for the G85 slot statementGarret Fick6-32/+322
2016-03-24Basic rendering of excellon works, but still has issuesGarret Fick2-9/+29
2016-03-22Update rs274x.pyQau Lau1-2/+2
python 2.6 bug re incompatibility in sre, see https://bugs.python.org/issue214033
2016-03-19Correctly handle empty command statementsGarret Fick1-0/+6
2016-03-13Better detection of plated toolsGarret Fick4-23/+162
2016-03-10Make sure apertures get a unitRobert Kirberich1-0/+1
2016-03-05More robust writing, even for bad files. Remove accidentally added importsGarret Fick2-2/+3
2016-03-05Remove some testing code from gerber writer. More implementation for ↵Garret Fick3-28/+100
excellon writer - not working yet
2016-03-05AM group hasn't implemented offsetGarret Fick1-4/+7
2016-03-05Make rendering more robust for bad gerber filesGarret Fick1-2/+14
2016-03-05Write polygons to macrosGarret Fick3-1/+29
2016-03-05Make writer resilient to similar macro defsGarret Fick1-8/+17
2016-03-01More rendering of AMGroup to statementsGarret Fick5-7/+133
2016-02-27Fix critical issue with rotatin points (when the angle is zero the y would ↵Garret Fick6-14/+89
be flipped). Render AM with outline to gerber
2016-02-27RS274X backend for rendering. Incompelte stillGarret Fick4-4/+403
2016-02-21Additional bounding box calcuation that considers only actual positions, not ↵Garret Fick1-0/+15
the movement of the machine
2016-02-16Keep aperature macros as single statement. Don't generate regions with no pointsGarret Fick1-3/+16
2016-02-16Handle multiple commands on a single lineGarret Fick1-3/+22
2016-02-15Don't throw an exception for missing zero suppress, even though it is wrongGarret Fick1-3/+4
2016-02-14Fix convertion of units for apertures and regionsGarret Fick1-4/+4
2016-02-02Draw thermal aperture macros (as approximation)Garret Fick2-4/+84
2016-01-31Keep track of quadrant mode so we can draw full circlesGarret Fick3-4/+8
2016-01-31Add support for more excellon formats. Dont consider line width when ↵Garret Fick3-3/+15
determinging region bounding box
2016-01-28Cleanup, rendering fixes.Hamilton Kibbe16-195/+343
fixed rendering of tented vias fixed rendering of semi-transparent layers fixed file type detection issues added some examples
2016-01-25Excellon format detection uses ExcelonFile.bounds nowPaulo Henrique Silva1-2/+2
Long term we should have only one .bounds method. But ExcellonParser right now is not correct for cases with two drills in the same line (it will report one dimension being zero)
2016-01-22Fix NameError on Polygon primitive renderingPaulo Henrique Silva1-1/+1
2016-01-21Add support for mirrored renderingHamilton Kibbe2-12/+18
- The default theme now renders the bottom layers mirrored. - see https://github.com/curtacircuitos/pcb-tools/blob/master/examples/pcb_bottom.png for an example.
2016-01-21Fix a bunch of rendering bugs.Hamilton Kibbe29-936/+1766
- 'clear' polarity primitives no longer erase background - Added aperture macro support for polygons - Added aperture macro rendring support - Renderer now creates a new surface for each layer and merges them instead of working directly on a single surface - Updated examples accordingly
2016-01-16Skip over a strange excellon statementGarret Fick2-3/+31
2016-01-16Fix converting polygons to outlines for macrosGarret Fick1-1/+3
2016-01-08More stability fixes for poorly constructed filesGarret Fick2-4/+8
2016-01-01Refactor a littleHamilton Kibbe5-74/+68
pulled all rendering stuff out of the pcb/layer objects
2015-12-30Render polygon flashesGarret Fick3-3/+32
2015-12-30Work with Diptrace that calls things D3 not D03Garret Fick1-3/+3
2015-12-30Support KiCad format statement where FMAT,2 is 2:4 with inchGarret Fick2-0/+5
2015-12-30Render primitives for some aperture macrosGarret Fick3-5/+56
2015-12-30First time any macro rendersGarret Fick5-0/+125
2015-12-28Wrongly using mil def for mmGarret Fick1-1/+1
2015-12-25Identify flashes and bounding box without apertureGarret Fick1-3/+133
2015-12-22Python3 fixHamilton Kibbe1-2/+2
2015-12-22Add PCB interfaceHamilton Kibbe11-117/+496
this incorporates some of @chintal's layers.py changes PCB.from_directory() simplifies loading of multiple gerbers the PCB() class should be pretty helpful going forward... the context classes could use some cleaning up, although I'd like to wait until the freecad stuff gets merged, that way we can try to refactor the context base to support more use cases
2015-12-20Allow renderer to write to memory per #38Hamilton Kibbe5-11/+35
Some updates to rendering colors/themes