summaryrefslogtreecommitdiff
path: root/gerber/render
AgeCommit message (Collapse)AuthorFilesLines
2016-12-13Clip context to axis- and pixel- aligned bounds before rendering primitives. ↵Hamilton Kibbe1-563/+610
Significantly speeds up render
2016-11-18Fix rs274x output bugsHamilton Kibbe1-19/+32
2016-11-18Fix a bunch of bugs in rendering that showed up when rendering the gerbv ↵Hamilton Kibbe1-183/+305
test suite
2016-11-07Merge upstream changeHamilton Kibbe1-6/+3
2016-11-07cairo_backend.py: use BytesIO instead of StringIOGirts Folkmanis1-6/+3
This fixes a crash in cairocffi on Python3, and should be compatible with both python2 and python3. In python2, byte strings are just strings. In python3, when getting binary data, the user probably wants a byte string instead of a regular string.
2016-11-06Fix tests on python3Hamilton Kibbe1-2/+1
2016-11-06Remove debug print"Hamilton Kibbe1-1/+0
2016-11-06Merge upstream changesHamilton Kibbe5-279/+289
2016-11-05Finish Merge, most tests passingHamilton Kibbe1-124/+43
2016-09-29Add more layer hints as seen in the wildHamilton Kibbe1-1/+1
2016-09-24Commit partial merge so I can work on the planeHamilton Kibbe2-3/+90
2016-08-06Fix multiple problems with the merge. There are still errors, but I will ↵Garret Fick2-1/+9
intentionally leave them because future merges might resolve them
2016-08-06Manually mere rendering changesHamilton Kibbe3-193/+214
2016-07-24Add more tests for rendering to PNG. Start adding tests for rendering to ↵Garret Fick1-1/+18
Gerber format. Changed definition of no hole to use None instead of 0 so we can differentiate when writing to Gerber format. Makde polygon use hole diameter instead of hole radius to match other primitives
2016-07-24Add many render tests based on the Umaco gerger specification. Fix multiple ↵Garret Fick2-27/+90
rendering bugs, especially related to holes in flashed apertures
2016-07-20Merge in 6a005436b475e3517fd6a583473b60e601bcc661Garret Fick3-57/+65
2016-07-20Manually merge change 5430fa6738b74f324c47c947477dd5b779db5d1cGarret Fick1-3/+4
2016-07-20Manually merge change 6f876edd09d9b81649691e529f85653f14b8fd1cGarret Fick3-42/+76
2016-07-17Manually merge af5541ac93b222c05229ee05c9def8dbae5f6e25Garret Fick2-10/+32
2016-07-17Create first test that renders and validates the the rendered PNG is correct.Garret Fick1-3/+2
2016-07-17Merge in negative soldermask. Still required further changes to support ↵Garret Fick3-67/+184
negatives for shapes that dont exist in the merge source
2016-07-10Fix issue with chaning region mode via flash. Add options for controlling ↵Garret Fick2-3/+45
output from rendered gerber
2016-06-25Add support for polygon aperturesGarret Fick2-4/+37
2016-06-25Render aperture macros with clear regionsGarret Fick1-0/+3
2016-05-28Fix issue with switching between ROUT and normal drill modesGarret Fick2-7/+16
2016-05-28Use the known macro statement to render. Fix thermal not setting rotationGarret Fick1-22/+32
2016-05-28Fix units statement. Keep track of original macro statement in the AMGroupGarret Fick1-1/+1
2016-05-19Merge pull request #3 from qaulau/patch-2Garret Fick1-2/+5
Update cairo_backend.py
2016-05-19Fix issue where did not always switch into the G01 mode after G03 when the ↵Garret Fick1-0/+2
point was unchanged
2016-05-08Don't render null itemsGarret Fick1-0/+2
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 Fick1-0/+5
2016-03-27Actually fix the rout rendering to be correctGarret Fick1-9/+89
2016-03-26Support for the G85 slot statementGarret Fick3-4/+48
2016-03-24Basic rendering of excellon works, but still has issuesGarret Fick1-7/+10
2016-03-05More robust writing, even for bad files. Remove accidentally added importsGarret Fick1-0/+3
2016-03-05Remove some testing code from gerber writer. More implementation for ↵Garret Fick2-28/+80
excellon writer - not working yet
2016-03-05Make rendering more robust for bad gerber filesGarret Fick1-2/+14
2016-03-05Write polygons to macrosGarret Fick1-1/+6
2016-03-05Make writer resilient to similar macro defsGarret Fick1-8/+17
2016-03-01More rendering of AMGroup to statementsGarret Fick1-7/+65
2016-02-27Fix critical issue with rotatin points (when the angle is zero the y would ↵Garret Fick1-4/+57
be flipped). Render AM with outline to gerber
2016-02-27RS274X backend for rendering. Incompelte stillGarret Fick1-0/+290
2016-01-31Keep track of quadrant mode so we can draw full circlesGarret Fick1-0/+3
2016-01-28Cleanup, rendering fixes.Hamilton Kibbe4-102/+113
fixed rendering of tented vias fixed rendering of semi-transparent layers fixed file type detection issues added some examples
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 Kibbe3-119/+148
- '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-08More stability fixes for poorly constructed filesGarret Fick1-2/+4
2016-01-01Refactor a littleHamilton Kibbe3-58/+65
pulled all rendering stuff out of the pcb/layer objects
2015-12-30Render polygon flashesGarret Fick1-0/+16