summaryrefslogtreecommitdiff
path: root/gerber/render
AgeCommit message (Collapse)AuthorFilesLines
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-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
2015-12-30Render primitives for some aperture macrosGarret Fick1-0/+2
2015-12-30First time any macro rendersGarret Fick2-0/+25
2015-12-22Python3 fixHamilton Kibbe1-2/+2
2015-12-22Add PCB interfaceHamilton Kibbe3-40/+75
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 Kibbe2-7/+29
Some updates to rendering colors/themes
2015-12-20Clean up negative render codeHamilton Kibbe1-76/+69
2015-12-19Allow negative render of soldermask per #50Hamilton Kibbe3-40/+152
Update example code and rendering to show change
2015-12-16Fix drawing arcs. Dont crash for arcs with rectangular apertures. Fix crash ↵Garret Fick1-0/+1
with board size of zero for only one drill
2015-12-02Make the hit accessible from the drawable Hit, fix crash with cario drawing rectGarret Fick1-1/+1
2015-11-23More fixes to work with cairoGarret Fick1-9/+8
2015-11-23Render with cairo instead of cairocffi - I would like to make it use either, ↵Garret Fick1-7/+8
but for now, using the one that works with wxpython
2015-11-15Remove svgwrite backendPaulo Henrique Silva2-131/+0
We moved the functionality to cairo backend, it can write png and svg and maybe more (pdfs?)
2015-10-10Allow files to be read from strings per #37Hamilton Kibbe2-0/+7
Adds a loads() method to the top level module which generates a GerberFile or ExcellonFile from a string
2015-08-09Add support for arcs in regions.Hamilton Kibbe1-5/+17
This fixes the circular cutout issue described in #32. Regions were previously stored as a collection of points, now they are stored as a collection of line and arc primitives.
2015-07-25Fix windows permission errorHamilton Kibbe1-1/+3
per #33 the issue was trying to re-open the temporary file. it works on everything but windows. I've changed it to seek to the beginning and read from the file without re-opening, which should fix the issue.
2015-07-22Fix multiple layer issue in cairo-unification branch (see #33)Hamilton Kibbe1-10/+13
2015-07-09Fix arcs and ackground paintingPaulo Henrique Silva1-1/+5
2015-07-09Initial patch to unify our render towards cairoPaulo Henrique Silva2-37/+59
This branch allows a pure cairo based render for both PNG and SVG. Cairo backend is mostly the same but with improved support for configurable scale, orientation and inverted color drawing. API is not yet final.